forked from mondoohq/terraform-provider-mondoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Matthias Theuermann <[email protected]>
- Loading branch information
1 parent
4778115
commit e9a66e7
Showing
6 changed files
with
473 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "mondoo_integration_sentinelone Resource - terraform-provider-mondoo" | ||
subcategory: "" | ||
description: |- | ||
Continuously scan Sentinel One subscriptions and resources for misconfigurations and vulnerabilities. | ||
--- | ||
|
||
# mondoo_integration_sentinelone (Resource) | ||
|
||
Continuously scan Sentinel One subscriptions and resources for misconfigurations and vulnerabilities. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
variable "client_secret" { | ||
description = "The SentinelOne Client Secret" | ||
type = string | ||
sensitive = true | ||
} | ||
provider "mondoo" { | ||
space = "hungry-poet-123456" | ||
} | ||
# Setup the SentinelOne integration | ||
resource "mondoo_integration_sentinelone" "sentinelone_integration" { | ||
name = "SentinelOne Integration" | ||
host = "https://example.sentinelone.net" | ||
account = "example" | ||
credentials = { | ||
client_secret = var.client_secret | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `account` (String) Sentinel One account. | ||
- `credentials` (Attributes) Credentials for Sentinel One integration. Remote changes will not be detected. (see [below for nested schema](#nestedatt--credentials)) | ||
- `host` (String) Sentinel One host. | ||
- `name` (String) Name of the integration. | ||
|
||
### Optional | ||
|
||
- `space_id` (String) Mondoo space identifier. If there is no space ID, the provider space is used. | ||
|
||
### Read-Only | ||
|
||
- `mrn` (String) Integration identifier | ||
|
||
<a id="nestedatt--credentials"></a> | ||
### Nested Schema for `credentials` | ||
|
||
Optional: | ||
|
||
- `client_secret` (String, Sensitive) Client secret for Sentinel One integration. | ||
- `pem_file` (String, Sensitive) PEM file for Sentinel One integration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
terraform { | ||
required_providers { | ||
mondoo = { | ||
source = "mondoohq/mondoo" | ||
version = ">= 0.19" | ||
} | ||
} | ||
} | ||
|
20 changes: 20 additions & 0 deletions
20
examples/resources/mondoo_integration_sentinelone/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
variable "client_secret" { | ||
description = "The SentinelOne Client Secret" | ||
type = string | ||
sensitive = true | ||
} | ||
|
||
provider "mondoo" { | ||
space = "hungry-poet-123456" | ||
} | ||
|
||
# Setup the SentinelOne integration | ||
resource "mondoo_integration_sentinelone" "sentinelone_integration" { | ||
name = "SentinelOne Integration" | ||
host = "https://example.sentinelone.net" | ||
account = "example" | ||
|
||
credentials = { | ||
client_secret = var.client_secret | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.