Skip to content

Commit 048443e

Browse files
DocUpdate for v1.22.1
1 parent 97773d5 commit 048443e

File tree

7 files changed

+342
-8
lines changed

7 files changed

+342
-8
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the links to the left to learn about the available resources and data source
1818
terraform {
1919
required_providers {
2020
dynatrace = {
21-
version = "1.22.0"
21+
version = "1.22.1"
2222
source = "dynatrace-oss/dynatrace"
2323
}
2424
}

docs/resources/application_data_privacy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: |-
77

88
# dynatrace_application_data_privacy (Resource)
99

10-
-> Certain field(s) of this resource has overlap with `dynatrace_session_replay_web_privacy`, please review the schema for additional information.
10+
-> Certain field(s) of this resource has overlap with `dynatrace_data_privacy`, please review the schema for additional information.
1111

1212
## Dynatrace Documentation
1313

@@ -26,18 +26,18 @@ The full documentation of the export feature is available [here](https://registr
2626

2727
### Required
2828

29-
- `do_not_track_behaviour` (String) How to handle the "Do Not Track" header:
29+
- `do_not_track_behaviour` (String) (Field has overlap with `dynatrace_data_privacy`) How to handle the "Do Not Track" header:
3030

3131
* `IGNORE_DO_NOT_TRACK`: ignore the header and capture the data.
3232
* `CAPTURE_ANONYMIZED`: capture the data but do not tie it to the user.
3333
* `DO_NOT_CAPTURE`: respect the header and do not capture.
34-
- `session_replay_data_privacy` (Block List, Min: 1, Max: 1) Data privacy settings for Session Replay (see [below for nested schema](#nestedblock--session_replay_data_privacy))
34+
- `session_replay_data_privacy` (Block List, Min: 1, Max: 1) (Field has overlap with `dynatrace_session_replay_web_privacy`) Data privacy settings for Session Replay (see [below for nested schema](#nestedblock--session_replay_data_privacy))
3535
- `web_application_id` (String) Dynatrace entity ID of the web application
3636

3737
### Optional
3838

39-
- `data_capture_opt_in` (Boolean) Set to `true` to disable data capture and cookies until JavaScriptAPI `dtrum.enable()` is called
40-
- `persistent_cookie_for_user_tracking` (Boolean) Set to `true` to set persistent cookie in order to recognize returning devices
39+
- `data_capture_opt_in` (Boolean) (Field has overlap with `dynatrace_data_privacy`) Set to `true` to disable data capture and cookies until JavaScriptAPI `dtrum.enable()` is called
40+
- `persistent_cookie_for_user_tracking` (Boolean) (Field has overlap with `dynatrace_data_privacy`) Set to `true` to set persistent cookie in order to recognize returning devices
4141

4242
### Read-Only
4343

docs/resources/data_privacy.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
layout: ""
3+
page_title: "dynatrace_data_privacy Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_data_privacy` covers configuration for end users' data privacy
6+
---
7+
8+
# dynatrace_data_privacy (Resource)
9+
10+
-> **Settings 2.0** Certain field(s) of this resource has overlap with `dynatrace_application_data_privacy`, therefore it is excluded from the default export. To retrieve this resource via export, directly specify it as a command line argument.
11+
12+
## Dynatrace Documentation
13+
14+
- Data privacy and security - https://www.dynatrace.com/support/help/manage/data-privacy-and-security
15+
16+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:preferences.privacy`)
17+
18+
## Export Example Usage
19+
20+
- `terraform-provider-dynatrace -export dynatrace_data_privacy` downloads all existing end users' data privacy configuration
21+
22+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
23+
24+
## Resource Example Usage
25+
26+
```terraform
27+
resource "dynatrace_data_privacy" "#name#" {
28+
application_id = "environment"
29+
data_collection {
30+
opt_in_mode_enabled = true
31+
}
32+
do_not_track {
33+
comply_with_do_not_track = false
34+
}
35+
masking {
36+
ip_address_masking = "public"
37+
ip_address_masking_enabled = true
38+
personal_data_uri_masking_enabled = true
39+
user_action_masking_enabled = true
40+
}
41+
user_tracking {
42+
persistent_cookie_enabled = true
43+
}
44+
}
45+
```
46+
47+
<!-- schema generated by tfplugindocs -->
48+
## Schema
49+
50+
### Required
51+
52+
- `data_collection` (Block List, Min: 1, Max: 1) (Field has overlap with `dynatrace_application_data_privacy`) To provide your end users with the ability to decide for themselves if their activities should be tracked to measure application performance and usage, enable opt-in mode. (see [below for nested schema](#nestedblock--data_collection))
53+
- `do_not_track` (Block List, Min: 1, Max: 1) (Field has overlap with `dynatrace_application_data_privacy`) Most modern web browsers have a privacy feature called ["Do Not Track"](https://dt-url.net/sb3n0pnl) that individual users may have enabled on their devices. Customize how Dynatrace should behave when it encounters this setting. (see [below for nested schema](#nestedblock--do_not_track))
54+
- `masking` (Block List, Min: 1, Max: 1) (Field has overlap with `dynatrace_application_data_privacy`) (see [below for nested schema](#nestedblock--masking))
55+
- `user_tracking` (Block List, Min: 1, Max: 1) (Field has overlap with `dynatrace_application_data_privacy`) User tracking (see [below for nested schema](#nestedblock--user_tracking))
56+
57+
### Optional
58+
59+
- `application_id` (String) The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
60+
61+
### Read-Only
62+
63+
- `id` (String) The ID of this resource.
64+
65+
<a id="nestedblock--data_collection"></a>
66+
### Nested Schema for `data_collection`
67+
68+
Required:
69+
70+
- `opt_in_mode_enabled` (Boolean) With [Data-collection and opt-in mode](https://dt-url.net/7l3p0p3h) enabled, Real User Monitoring data isn't captured until dtrum.enable() is called for specific user sessions.
71+
72+
73+
<a id="nestedblock--do_not_track"></a>
74+
### Nested Schema for `do_not_track`
75+
76+
Required:
77+
78+
- `comply_with_do_not_track` (Boolean) Comply with "Do Not Track" browser settings
79+
80+
Optional:
81+
82+
- `do_not_track` (String) Possible Values: `Anonymous`, `Disable_rum`
83+
84+
85+
<a id="nestedblock--masking"></a>
86+
### Nested Schema for `masking`
87+
88+
Required:
89+
90+
- `ip_address_masking_enabled` (Boolean) Dynatrace captures the IP addresses of your end-users to determine the regions from which they access your application. To learn more, visit [Mask IPs and GPS coordinates](https://dt-url.net/mask-end-users-ip-addresses).. Dynatrace also captures GPS data from mobile apps that provide their users with the option of sharing geolocation data. On the server side, Dynatrace captures IP addresses to enable detailed troubleshooting for Dynatrace service calls.
91+
92+
Once enabled, IP address masking sets the last octet of monitored IPv4 addresses and the last 80 bits of IPv6 addresses to zeroes. GPS coordinates are rounded up to 1 decimal place (~10 km). This masking occurs in memory. Full IP addresses are never written to disk. Location lookups are made using anonymized IP addresses and GPS coordinates.
93+
- `personal_data_uri_masking_enabled` (Boolean) Dynatrace captures the URIs and request headers sent from desktop and mobile browsers. Dynatrace also captures full URIs on the server-side to enable detailed performance analysis of your applications. For complete details, visit [Mask personal data in URIs](https://dt-url.net/mask-personal-data-in-URIs).. URIs and request headers contain personal data. When this setting is enabled, Dynatrace automatically detects UUIDs, credit card numbers, email addresses, IP addresses, and other IDs and replaces those values with placeholders. The personal data is then masked in PurePath analysis, error analysis, user action naming for RUM, and elsewhere in Dynatrace.
94+
- `user_action_masking_enabled` (Boolean) When Dynatrace detects a user action that triggers a page load or an AJAX/XHR action. To learn more about masking user actions, visit [Mask user actions](https://dt-url.net/mask-user-action).. When Dynatrace detects a user action that triggers a page load or an AJAX/XHR action, it constructs a name for the user action based on:
95+
96+
- User event type (click on..., loading of page..., or keypress on...)
97+
- Title, caption, label, value, ID, className, or other available property of the related HTML element (for example, an image, button, checkbox, or text input field).
98+
99+
In most instances, the default approach to user-action naming works well, resulting in user-action names such as:
100+
101+
- click on "Search" on page /search.html
102+
- keypress on "Feedback" on page /contact.html
103+
- touch on "Homescreen" of page /list.jsf
104+
105+
In rare circumstances, confidential data (for example, email addresses, usernames, or account numbers) can be unintentionally included in user action names because the confidential data itself is included in an HTML element label, attribute, or other value (for example, click on "my Account Number: 1231231"...). If such confidential data appears in your application's user action names, enable the Mask user action names setting. This setting replaces specific HTML element names and values with generic HTML element names. With user-action name masking enabled, the user action names listed above appear as:
106+
107+
- click on INPUT on page /search.html
108+
- keypress on TEXTAREA on page /contact.html
109+
- touch on DIV of page /list.jsf
110+
111+
Optional:
112+
113+
- `ip_address_masking` (String) Possible Values: `All`, `Public`
114+
115+
116+
<a id="nestedblock--user_tracking"></a>
117+
### Nested Schema for `user_tracking`
118+
119+
Required:
120+
121+
- `persistent_cookie_enabled` (Boolean) When enabled, Dynatrace places a [persistent cookie](https://dt-url.net/313o0p4n) on all end-user devices to identify returning users.
122+

docs/resources/service_failure.md

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
---
2+
layout: ""
3+
page_title: dynatrace_service_failure Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_service_failure` covers configuration for service-level general failure detection parameters
6+
---
7+
8+
# dynatrace_service_failure (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Configure service failure detection - https://www.dynatrace.com/support/help/platform-modules/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:failure-detection.service.general-parameters`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_service_failure` downloads all existing service-level general failure detection parameters
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_service_failure" "#name#" {
26+
enabled = true
27+
service_id = "SERVICE-1234567890000000"
28+
exception_rules {
29+
ignore_all_exceptions = false
30+
ignore_span_failure_detection = true
31+
custom_error_rules {
32+
custom_error_rule {
33+
request_attribute = "00000000-0000-0000-0000-000000000000"
34+
condition {
35+
compare_operation_type = "STRING_EXISTS"
36+
}
37+
}
38+
}
39+
custom_handled_exceptions {
40+
custom_handled_exception {
41+
class_pattern = "ClassPatternExample"
42+
message_pattern = "ExceptionMessagePatternExample"
43+
}
44+
}
45+
ignored_exceptions {
46+
custom_handled_exception {
47+
class_pattern = "ClassPatternExample"
48+
message_pattern = "ExceptionMessagePatternExample"
49+
}
50+
}
51+
success_forcing_exceptions {
52+
custom_handled_exception {
53+
class_pattern = "ClassPatternExample"
54+
message_pattern = "ExceptionMessagePatternExample"
55+
}
56+
}
57+
}
58+
}
59+
```
60+
61+
<!-- schema generated by tfplugindocs -->
62+
## Schema
63+
64+
### Required
65+
66+
- `enabled` (Boolean) This setting is enabled (`true`) or disabled (`false`)
67+
- `service_id` (String) The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
68+
69+
### Optional
70+
71+
- `exception_rules` (Block List, Max: 1) Customize failure detection for specific exceptions and errors (see [below for nested schema](#nestedblock--exception_rules))
72+
73+
### Read-Only
74+
75+
- `id` (String) The ID of this resource.
76+
77+
<a id="nestedblock--exception_rules"></a>
78+
### Nested Schema for `exception_rules`
79+
80+
Required:
81+
82+
- `ignore_all_exceptions` (Boolean) Ignore all exceptions
83+
- `ignore_span_failure_detection` (Boolean) Ignore span failure detection
84+
85+
Optional:
86+
87+
- `custom_error_rules` (Block List, Max: 1) Some custom error situations are only detectable via a return value or other means. To support such cases, [define a request attribute](https://dt-url.net/ys5k0p4y) that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute. (see [below for nested schema](#nestedblock--exception_rules--custom_error_rules))
88+
- `custom_handled_exceptions` (Block List, Max: 1) There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures. (see [below for nested schema](#nestedblock--exception_rules--custom_handled_exceptions))
89+
- `ignored_exceptions` (Block List, Max: 1) Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed. (see [below for nested schema](#nestedblock--exception_rules--ignored_exceptions))
90+
- `success_forcing_exceptions` (Block List, Max: 1) Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request. (see [below for nested schema](#nestedblock--exception_rules--success_forcing_exceptions))
91+
92+
<a id="nestedblock--exception_rules--custom_error_rules"></a>
93+
### Nested Schema for `exception_rules.custom_error_rules`
94+
95+
Required:
96+
97+
- `custom_error_rule` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--exception_rules--custom_error_rules--custom_error_rule))
98+
99+
<a id="nestedblock--exception_rules--custom_error_rules--custom_error_rule"></a>
100+
### Nested Schema for `exception_rules.custom_error_rules.custom_error_rule`
101+
102+
Required:
103+
104+
- `condition` (Block List, Min: 1, Max: 1) Request attribute condition (see [below for nested schema](#nestedblock--exception_rules--custom_error_rules--custom_error_rule--condition))
105+
- `request_attribute` (String) Request attribute
106+
107+
<a id="nestedblock--exception_rules--custom_error_rules--custom_error_rule--condition"></a>
108+
### Nested Schema for `exception_rules.custom_error_rules.custom_error_rule.condition`
109+
110+
Required:
111+
112+
- `compare_operation_type` (String) Apply this comparison
113+
114+
Optional:
115+
116+
- `case_sensitive` (Boolean) Case sensitive
117+
- `double_value` (Number) Value
118+
- `int_value` (Number) Value
119+
- `text_value` (String) Value
120+
121+
122+
123+
124+
<a id="nestedblock--exception_rules--custom_handled_exceptions"></a>
125+
### Nested Schema for `exception_rules.custom_handled_exceptions`
126+
127+
Required:
128+
129+
- `custom_handled_exception` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--exception_rules--custom_handled_exceptions--custom_handled_exception))
130+
131+
<a id="nestedblock--exception_rules--custom_handled_exceptions--custom_handled_exception"></a>
132+
### Nested Schema for `exception_rules.custom_handled_exceptions.custom_handled_exception`
133+
134+
Optional:
135+
136+
- `class_pattern` (String) The pattern will match if it is contained within the actual class name.
137+
- `message_pattern` (String) Optionally, define an exception message pattern. The pattern will match if the actual exception message contains the pattern.
138+
139+
140+
141+
<a id="nestedblock--exception_rules--ignored_exceptions"></a>
142+
### Nested Schema for `exception_rules.ignored_exceptions`
143+
144+
Required:
145+
146+
- `custom_handled_exception` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--exception_rules--ignored_exceptions--custom_handled_exception))
147+
148+
<a id="nestedblock--exception_rules--ignored_exceptions--custom_handled_exception"></a>
149+
### Nested Schema for `exception_rules.ignored_exceptions.custom_handled_exception`
150+
151+
Optional:
152+
153+
- `class_pattern` (String) The pattern will match if it is contained within the actual class name.
154+
- `message_pattern` (String) Optionally, define an exception message pattern. The pattern will match if the actual exception message contains the pattern.
155+
156+
157+
158+
<a id="nestedblock--exception_rules--success_forcing_exceptions"></a>
159+
### Nested Schema for `exception_rules.success_forcing_exceptions`
160+
161+
Required:
162+
163+
- `custom_handled_exception` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--exception_rules--success_forcing_exceptions--custom_handled_exception))
164+
165+
<a id="nestedblock--exception_rules--success_forcing_exceptions--custom_handled_exception"></a>
166+
### Nested Schema for `exception_rules.success_forcing_exceptions.custom_handled_exception`
167+
168+
Optional:
169+
170+
- `class_pattern` (String) The pattern will match if it is contained within the actual class name.
171+
- `message_pattern` (String) Optionally, define an exception message pattern. The pattern will match if the actual exception message contains the pattern.
172+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
layout: ""
3+
page_title: "dynatrace_slo_normalization Resource - terraform-provider-dynatrace"
4+
description: |-
5+
The resource `dynatrace_slo_normalization` covers configuration for service-level objective setup
6+
---
7+
8+
# dynatrace_slo_normalization (Resource)
9+
10+
## Dynatrace Documentation
11+
12+
- Normalize error budget - https://www.dynatrace.com/support/help/platform-modules/cloud-automation/service-level-objectives/configure-and-monitor-slo#normalize-error-budget
13+
14+
- Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:monitoring.slo.normalization`)
15+
16+
## Export Example Usage
17+
18+
- `terraform-provider-dynatrace -export dynatrace_slo_normalization` downloads all existing service-level objective setup configuration
19+
20+
The full documentation of the export feature is available [here](https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest/docs/guides/export-v2).
21+
22+
## Resource Example Usage
23+
24+
```terraform
25+
resource "dynatrace_slo_normalization" "#name#" {
26+
normalize = true
27+
}
28+
```
29+
30+
<!-- schema generated by tfplugindocs -->
31+
## Schema
32+
33+
### Required
34+
35+
- `normalize` (Boolean) When set to true, the error budget left will be shown in percent of the total error budget. For more details see [SLO normalization help](https://dt-url.net/slo-normalize-error-budget).
36+
37+
### Read-Only
38+
39+
- `id` (String) The ID of this resource.
40+

provider/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
package version
1919

20-
const Current = "1.22.0"
20+
const Current = "1.22.1"

templates/index.md.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use the links to the left to learn about the available resources and data source
1818
terraform {
1919
required_providers {
2020
dynatrace = {
21-
version = "1.22.0"
21+
version = "1.22.1"
2222
source = "dynatrace-oss/dynatrace"
2323
}
2424
}

0 commit comments

Comments
 (0)