-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbd0604
commit 7642b7f
Showing
8 changed files
with
143 additions
and
7 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
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
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
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 @@ | ||
--- | ||
layout: "" | ||
page_title: dynatrace_business_events_security_context Resource - terraform-provider-dynatrace" | ||
subcategory: "Business Events" | ||
description: |- | ||
The resource `dynatrace_business_events_security_context` covers configuration for business security context | ||
--- | ||
|
||
# dynatrace_business_events_security_context (Resource) | ||
|
||
-> This resource requires the API token scopes **Read settings** (`settings.read`) and **Write settings** (`settings.write`) | ||
|
||
## Dynatrace Documentation | ||
|
||
- Business Analytics - https://www.dynatrace.com/support/help/platform-modules/business-analytics | ||
|
||
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:bizevents-security-context-rules`) | ||
|
||
## Export Example Usage | ||
|
||
- `terraform-provider-dynatrace -export dynatrace_business_events_security_context` downloads all existing business event security context configuration | ||
|
||
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2). | ||
|
||
## Resource Example Usage | ||
|
||
```terraform | ||
resource "dynatrace_business_events_security_context" "#name#" { | ||
security_context_rule { | ||
query = "matchesPhrase(content, \"#name#\")" | ||
rule_name = "#name#" | ||
value_source_field = "#name#" | ||
value_source = "FIELD" | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `security_context_rule` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--security_context_rule)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--security_context_rule"></a> | ||
### Nested Schema for `security_context_rule` | ||
|
||
Required: | ||
|
||
- `query` (String) Matcher | ||
- `rule_name` (String) Rule name | ||
- `value_source` (String) Possible Values: `FIELD`, `LITERAL` | ||
|
||
Optional: | ||
|
||
- `value` (String) Literal value to be set | ||
- `value_source_field` (String) Name of field used to copy 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,62 @@ | ||
--- | ||
layout: "" | ||
page_title: dynatrace_log_security_context Resource - terraform-provider-dynatrace" | ||
subcategory: "Log Monitoring" | ||
description: |- | ||
The resource `dynatrace_log_security_context` covers configuration for log security context rules | ||
--- | ||
|
||
# dynatrace_log_security_context (Resource) | ||
|
||
-> This resource requires the API token scopes **Read settings** (`settings.read`) and **Write settings** (`settings.write`) | ||
|
||
## Dynatrace Documentation | ||
|
||
- Log Management and Analytics - https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics | ||
|
||
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:logmonitoring.log-security-context-rules`) | ||
|
||
## Export Example Usage | ||
|
||
- `terraform-provider-dynatrace -export dynatrace_log_security_context` downloads all existing log security context configuration | ||
|
||
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2). | ||
|
||
## Resource Example Usage | ||
|
||
```terraform | ||
resource "dynatrace_log_security_context" "#name#" { | ||
security_context_rule { | ||
query = "matchesPhrase(content, \"#name#\")" | ||
rule_name = "#name#" | ||
value_source_field = "#name#" | ||
value_source = "FIELD" | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `security_context_rule` (Block List, Min: 1, Max: 1) no documentation available (see [below for nested schema](#nestedblock--security_context_rule)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--security_context_rule"></a> | ||
### Nested Schema for `security_context_rule` | ||
|
||
Required: | ||
|
||
- `query` (String) Matcher | ||
- `rule_name` (String) Rule name | ||
- `value_source` (String) Possible Values: `FIELD`, `LITERAL` | ||
|
||
Optional: | ||
|
||
- `value` (String) Literal value to be set | ||
- `value_source_field` (String) Name of field used to copy 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
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
|
||
package version | ||
|
||
const Current = "1.38.0" | ||
const Current = "1.39.0" |
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