-
Notifications
You must be signed in to change notification settings - Fork 2
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
aa6248a
commit 3c90500
Showing
5 changed files
with
404 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,76 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "mondoo_integration_zendesk Resource - terraform-provider-mondoo" | ||
subcategory: "" | ||
description: |- | ||
Zendesk integration to keep track of security tasks and add Zendesk tickets directly from within the Mondoo Console. | ||
--- | ||
|
||
# mondoo_integration_zendesk (Resource) | ||
|
||
Zendesk integration to keep track of security tasks and add Zendesk tickets directly from within the Mondoo Console. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
variable "zendesk_token" { | ||
description = "The GitHub Token" | ||
type = string | ||
sensitive = true | ||
} | ||
provider "mondoo" { | ||
space = "hungry-poet-123456" | ||
} | ||
# Setup the zendesk integration | ||
resource "mondoo_integration_zendesk" "zendesk_integration" { | ||
name = "My Zendesk Integration" | ||
subdomain = "your-subdomain" | ||
email = "[email protected]" | ||
api_token = var.zendesk_token | ||
custom_fields = [ | ||
{ | ||
id = "123456" | ||
value = "custom_value_1" | ||
}, | ||
{ | ||
id = "123457" | ||
value = "custom_value_2" | ||
} | ||
] | ||
auto_create = true | ||
auto_close = true | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `api_token` (String, Sensitive) Zendesk API token. | ||
- `email` (String) Zendesk email. | ||
- `name` (String) Name of the integration. | ||
- `subdomain` (String) Zendesk subdomain. | ||
|
||
### Optional | ||
|
||
- `auto_close` (Boolean) Automatically close tickets. | ||
- `auto_create` (Boolean) Automatically create tickets. | ||
- `custom_fields` (Attributes List) Custom fields to be added to the Zendesk ticket. (see [below for nested schema](#nestedatt--custom_fields)) | ||
- `space_id` (String) Mondoo Space Identifier. If it is not provided, the provider space is used. | ||
|
||
### Read-Only | ||
|
||
- `mrn` (String) Integration identifier | ||
|
||
<a id="nestedatt--custom_fields"></a> | ||
### Nested Schema for `custom_fields` | ||
|
||
Required: | ||
|
||
- `id` (Number) Custom field ID. | ||
- `value` (String) Custom field value. |
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,8 @@ | ||
terraform { | ||
required_providers { | ||
mondoo = { | ||
source = "mondoohq/mondoo" | ||
version = ">= 0.19" | ||
} | ||
} | ||
} |
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,31 @@ | ||
variable "zendesk_token" { | ||
description = "The GitHub Token" | ||
type = string | ||
sensitive = true | ||
} | ||
|
||
provider "mondoo" { | ||
space = "hungry-poet-123456" | ||
} | ||
|
||
# Setup the zendesk integration | ||
resource "mondoo_integration_zendesk" "zendesk_integration" { | ||
name = "My Zendesk Integration" | ||
subdomain = "your-subdomain" | ||
email = "[email protected]" | ||
api_token = var.zendesk_token | ||
|
||
custom_fields = [ | ||
{ | ||
id = "123456" | ||
value = "custom_value_1" | ||
}, | ||
{ | ||
id = "123457" | ||
value = "custom_value_2" | ||
} | ||
] | ||
|
||
auto_create = true | ||
auto_close = true | ||
} |
Oops, something went wrong.