From 2ac73a0b2a5cd8c6aebc5596489bd620edfb114c Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Thu, 18 Apr 2024 16:03:19 +0200 Subject: [PATCH 1/6] Bump API client --- datadog/fwprovider/resource_datadog_apm_retention_filter.go | 4 ++-- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/datadog/fwprovider/resource_datadog_apm_retention_filter.go b/datadog/fwprovider/resource_datadog_apm_retention_filter.go index 422bd30cf9..8f2d1c4ea9 100644 --- a/datadog/fwprovider/resource_datadog_apm_retention_filter.go +++ b/datadog/fwprovider/resource_datadog_apm_retention_filter.go @@ -263,10 +263,10 @@ func (r *ApmRetentionFilterResource) buildRetentionFilterCreateRequestBody(ctx c func (r *ApmRetentionFilterResource) buildApmRetentionFilterUpdateRequestBody(ctx context.Context, state *ApmRetentionFilterModel) (*datadogV2.RetentionFilterUpdateRequest, diag.Diagnostics) { diags := diag.Diagnostics{} - attributes := datadogV2.NewRetentionFilterCreateAttributesWithDefaults() + attributes := datadogV2.NewRetentionFilterUpdateAttributesWithDefaults() attributes.SetName(state.Name.ValueString()) - attributes.SetFilterType(datadogV2.RetentionFilterType(state.FilterType.ValueString())) + attributes.SetFilterType(datadogV2.RetentionFilterAllType(state.FilterType.ValueString())) fValue, err := strconv.ParseFloat(state.Rate.ValueString(), 64) if err != nil { diags.AddError("rate", fmt.Sprintf("error parsing rate: %s", err)) diff --git a/go.mod b/go.mod index 83d8bc8a11..bd69e480a6 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/terraform-providers/terraform-provider-datadog require ( - github.com/DataDog/datadog-api-client-go/v2 v2.24.1-0.20240409135118-20ba5258d381 + github.com/DataDog/datadog-api-client-go/v2 v2.25.0 github.com/DataDog/dd-sdk-go-testing v0.0.0-20211116174033-1cd082e322ad github.com/google/uuid v1.5.0 github.com/hashicorp/go-cleanhttp v0.5.2 diff --git a/go.sum b/go.sum index c20b1271d2..4f621e7736 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/DataDog/datadog-api-client-go/v2 v2.24.1-0.20240409135118-20ba5258d381 h1:SO0+y1ReTaKArZtdphoUPhR556pRAGvOv/gk3KY8eIA= github.com/DataDog/datadog-api-client-go/v2 v2.24.1-0.20240409135118-20ba5258d381/go.mod h1:QKOu6vscsh87fMY1lHfLEmNSunyXImj8BUaUWJXOehc= +github.com/DataDog/datadog-api-client-go/v2 v2.25.0 h1:9Zq42D6M3U///VDxjx2SS1g+EW55WhZYZFHtzM+cO4k= +github.com/DataDog/datadog-api-client-go/v2 v2.25.0/go.mod h1:QKOu6vscsh87fMY1lHfLEmNSunyXImj8BUaUWJXOehc= github.com/DataDog/datadog-go v4.4.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/datadog-go v4.8.3+incompatible h1:fNGaYSuObuQb5nzeTQqowRAd9bpDIRRV4/gUtIBjh8Q= github.com/DataDog/datadog-go v4.8.3+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= From 52a93e42332ac319342fae74aafc5c3598ce9d8d Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Thu, 11 Apr 2024 18:38:20 +0200 Subject: [PATCH 2/6] [security_monitoring_suppression] Make suppression_query field optional --- ...ource_datadog_security_monitoring_suppression.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go index 6f37d28295..e354725bef 100644 --- a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go +++ b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go @@ -73,7 +73,7 @@ func (r *securityMonitoringSuppressionResource) Schema(_ context.Context, _ reso Description: "The rule query of the suppression rule, with the same syntax as the search bar for detection rules.", }, "suppression_query": schema.StringAttribute{ - Required: true, + Optional: true, Description: "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer.", }, }, @@ -191,7 +191,8 @@ func (r *securityMonitoringSuppressionResource) buildCreateSecurityMonitoringSup return nil, err } - attributes := datadogV2.NewSecurityMonitoringSuppressionCreateAttributes(enabled, name, ruleQuery, suppressionQuery) + attributes := datadogV2.NewSecurityMonitoringSuppressionCreateAttributes(enabled, name, ruleQuery) + attributes.SuppressionQuery = suppressionQuery attributes.Description = description attributes.ExpirationDate = expirationDate @@ -216,30 +217,30 @@ func (r *securityMonitoringSuppressionResource) buildUpdateSecurityMonitoringSup attributes.SetExpirationDateNil() } attributes.SetRuleQuery(ruleQuery) - attributes.SetSuppressionQuery(suppressionQuery) + attributes.SuppressionQuery = suppressionQuery data := datadogV2.NewSecurityMonitoringSuppressionUpdateData(*attributes, datadogV2.SECURITYMONITORINGSUPPRESSIONTYPE_SUPPRESSIONS) return datadogV2.NewSecurityMonitoringSuppressionUpdateRequest(*data), nil } -func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFromResource(state *securityMonitoringSuppressionModel) (string, *string, bool, *int64, string, string, error) { +func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFromResource(state *securityMonitoringSuppressionModel) (string, *string, bool, *int64, string, *string, error) { // Mandatory fields name := state.Name.ValueString() enabled := state.Enabled.ValueBool() ruleQuery := state.RuleQuery.ValueString() - suppressionQuery := state.SuppressionQuery.ValueString() // Optional fields description := state.Description.ValueStringPointer() + suppressionQuery := state.SuppressionQuery.ValueStringPointer() var expirationDate *int64 if tfExpirationDate := state.ExpirationDate.ValueStringPointer(); tfExpirationDate != nil { expirationDateTime, err := time.Parse(time.RFC3339, *tfExpirationDate) if err != nil { - return "", nil, false, nil, "", "", err + return "", nil, false, nil, "", nil, err } expirationDateTimestamp := expirationDateTime.UnixMilli() From e540d2533e5c9d198e4ffcdc9f70408eadf0b944 Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Fri, 12 Apr 2024 17:53:39 +0200 Subject: [PATCH 3/6] Add data_exclusion_query to suppression schema --- ..._source_security_monitoring_suppression.go | 15 ++--- ...datadog_security_monitoring_suppression.go | 56 ++++++++++++++----- 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/datadog/fwprovider/data_source_security_monitoring_suppression.go b/datadog/fwprovider/data_source_security_monitoring_suppression.go index 8cb0dc33fa..a5f2e12f24 100644 --- a/datadog/fwprovider/data_source_security_monitoring_suppression.go +++ b/datadog/fwprovider/data_source_security_monitoring_suppression.go @@ -108,13 +108,14 @@ func (*securityMonitoringSuppressionDataSource) Schema(_ context.Context, _ data Description: "List of suppressions", ElementType: types.ObjectType{ AttrTypes: map[string]attr.Type{ - "id": types.StringType, - "name": types.StringType, - "description": types.StringType, - "enabled": types.BoolType, - "expiration_date": types.StringType, - "rule_query": types.StringType, - "suppression_query": types.StringType, + "id": types.StringType, + "name": types.StringType, + "description": types.StringType, + "enabled": types.BoolType, + "expiration_date": types.StringType, + "rule_query": types.StringType, + "suppression_query": types.StringType, + "data_exclusion_query": types.StringType, }, }, }, diff --git a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go index e354725bef..9578b42e12 100644 --- a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go +++ b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go @@ -19,13 +19,14 @@ var ( ) type securityMonitoringSuppressionModel struct { - Id types.String `tfsdk:"id"` - Name types.String `tfsdk:"name"` - Description types.String `tfsdk:"description"` - Enabled types.Bool `tfsdk:"enabled"` - ExpirationDate types.String `tfsdk:"expiration_date"` - RuleQuery types.String `tfsdk:"rule_query"` - SuppressionQuery types.String `tfsdk:"suppression_query"` + Id types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + Description types.String `tfsdk:"description"` + Enabled types.Bool `tfsdk:"enabled"` + ExpirationDate types.String `tfsdk:"expiration_date"` + RuleQuery types.String `tfsdk:"rule_query"` + SuppressionQuery types.String `tfsdk:"suppression_query"` + DataExclusionQuery types.String `tfsdk:"data_exclusion_query"` } type securityMonitoringSuppressionResource struct { @@ -76,6 +77,10 @@ func (r *securityMonitoringSuppressionResource) Schema(_ context.Context, _ reso Optional: true, Description: "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer.", }, + "data_exclusion_query": schema.StringAttribute{ + Optional: true, + Description: "An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule.", + }, }, } } @@ -185,7 +190,7 @@ func (r *securityMonitoringSuppressionResource) Delete(ctx context.Context, requ } func (r *securityMonitoringSuppressionResource) buildCreateSecurityMonitoringSuppressionPayload(state *securityMonitoringSuppressionModel) (*datadogV2.SecurityMonitoringSuppressionCreateRequest, error) { - name, description, enabled, expirationDate, ruleQuery, suppressionQuery, err := r.extractSuppressionAttributesFromResource(state) + name, description, enabled, expirationDate, ruleQuery, suppressionQuery, dataExclusionQuery, err := r.extractSuppressionAttributesFromResource(state) if err != nil { return nil, err @@ -193,6 +198,7 @@ func (r *securityMonitoringSuppressionResource) buildCreateSecurityMonitoringSup attributes := datadogV2.NewSecurityMonitoringSuppressionCreateAttributes(enabled, name, ruleQuery) attributes.SuppressionQuery = suppressionQuery + attributes.DataExclusionQuery = dataExclusionQuery attributes.Description = description attributes.ExpirationDate = expirationDate @@ -201,7 +207,7 @@ func (r *securityMonitoringSuppressionResource) buildCreateSecurityMonitoringSup } func (r *securityMonitoringSuppressionResource) buildUpdateSecurityMonitoringSuppressionPayload(state *securityMonitoringSuppressionModel) (*datadogV2.SecurityMonitoringSuppressionUpdateRequest, error) { - name, description, enabled, expirationDate, ruleQuery, suppressionQuery, err := r.extractSuppressionAttributesFromResource(state) + name, description, enabled, expirationDate, ruleQuery, suppressionQuery, dataExclusionQuery, err := r.extractSuppressionAttributesFromResource(state) if err != nil { return nil, err @@ -217,13 +223,24 @@ func (r *securityMonitoringSuppressionResource) buildUpdateSecurityMonitoringSup attributes.SetExpirationDateNil() } attributes.SetRuleQuery(ruleQuery) - attributes.SuppressionQuery = suppressionQuery + + if suppressionQuery != nil { + attributes.SuppressionQuery = suppressionQuery + } else { + attributes.SetSuppressionQuery("") + } + + if dataExclusionQuery != nil { + attributes.DataExclusionQuery = dataExclusionQuery + } else { + attributes.SetDataExclusionQuery("") + } data := datadogV2.NewSecurityMonitoringSuppressionUpdateData(*attributes, datadogV2.SECURITYMONITORINGSUPPRESSIONTYPE_SUPPRESSIONS) return datadogV2.NewSecurityMonitoringSuppressionUpdateRequest(*data), nil } -func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFromResource(state *securityMonitoringSuppressionModel) (string, *string, bool, *int64, string, *string, error) { +func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFromResource(state *securityMonitoringSuppressionModel) (string, *string, bool, *int64, string, *string, *string, error) { // Mandatory fields name := state.Name.ValueString() @@ -234,13 +251,14 @@ func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFrom description := state.Description.ValueStringPointer() suppressionQuery := state.SuppressionQuery.ValueStringPointer() + dataExclusionQuery := state.DataExclusionQuery.ValueStringPointer() var expirationDate *int64 if tfExpirationDate := state.ExpirationDate.ValueStringPointer(); tfExpirationDate != nil { expirationDateTime, err := time.Parse(time.RFC3339, *tfExpirationDate) if err != nil { - return "", nil, false, nil, "", nil, err + return "", nil, false, nil, "", nil, nil, err } expirationDateTimestamp := expirationDateTime.UnixMilli() @@ -248,7 +266,7 @@ func (r *securityMonitoringSuppressionResource) extractSuppressionAttributesFrom } - return name, description, enabled, expirationDate, ruleQuery, suppressionQuery, nil + return name, description, enabled, expirationDate, ruleQuery, suppressionQuery, dataExclusionQuery, nil } func (r *securityMonitoringSuppressionResource) updateStateFromResponse(ctx context.Context, state *securityMonitoringSuppressionModel, res *datadogV2.SecurityMonitoringSuppressionResponse) { @@ -269,6 +287,18 @@ func (r *securityMonitoringSuppressionResource) updateStateFromResponse(ctx cont state.RuleQuery = types.StringValue(attributes.GetRuleQuery()) state.SuppressionQuery = types.StringValue(attributes.GetSuppressionQuery()) + if suppressionQuery := attributes.GetSuppressionQuery(); suppressionQuery != "" { + state.SuppressionQuery = types.StringValue(suppressionQuery) + } else { + state.SuppressionQuery = types.StringNull() + } + + if dataExclusionQuery := attributes.GetDataExclusionQuery(); dataExclusionQuery != "" { + state.DataExclusionQuery = types.StringValue(dataExclusionQuery) + } else { + state.DataExclusionQuery = types.StringNull() + } + if attributes.ExpirationDate != nil { responseExpirationDate := time.UnixMilli(*attributes.ExpirationDate).UTC() expirationDate := responseExpirationDate.Format(time.RFC3339) From ebb08222eba4f1da97aa3417fed74dce89322eaf Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Fri, 12 Apr 2024 17:54:14 +0200 Subject: [PATCH 4/6] Add tests for data_exclusion_query field in suppressions --- ...rityMonitoringSuppressionDataSource.freeze | 2 +- ...curityMonitoringSuppressionDataSource.yaml | 64 +- ...n_CreateAndUpdateDataExclusionQuery.freeze | 1 + ...ion_CreateAndUpdateDataExclusionQuery.yaml | 608 ++++++++++++++++++ ...reateAndUpdateWithoutExpirationDate.freeze | 2 +- ..._CreateAndUpdateWithoutExpirationDate.yaml | 56 +- ...reateThenAddAndRemoveExpirationDate.freeze | 2 +- ..._CreateThenAddAndRemoveExpirationDate.yaml | 140 ++-- ...og_security_monitoring_suppression_test.go | 129 ++++ 9 files changed, 871 insertions(+), 133 deletions(-) create mode 100644 datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.freeze create mode 100644 datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.yaml diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.freeze b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.freeze index e23e9c149d..7d0a9f66eb 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.freeze +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.freeze @@ -1 +1 @@ -2024-01-17T13:01:37.594717+01:00 \ No newline at end of file +2024-04-12T14:55:01.345861+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.yaml b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.yaml index c7a5a3f2d4..e4fd72be01 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.yaml +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppressionDataSource.yaml @@ -13,7 +13,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"enabled":true,"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","rule_query":"source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"enabled":true,"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","rule_query":"source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: @@ -32,13 +32,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 427.851ms + duration: 491.836084ms - id: 1 request: proto: HTTP/1.1 @@ -55,7 +55,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: GET response: proto: HTTP/1.1 @@ -67,13 +67,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 159.341792ms + duration: 180.107166ms - id: 2 request: proto: HTTP/1.1 @@ -90,7 +90,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: GET response: proto: HTTP/1.1 @@ -102,13 +102,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 156.559375ms + duration: 172.205333ms - id: 3 request: proto: HTTP/1.1 @@ -137,13 +137,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 157.708166ms + duration: 187.834916ms - id: 4 request: proto: HTTP/1.1 @@ -160,7 +160,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: GET response: proto: HTTP/1.1 @@ -172,13 +172,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 304.006125ms + duration: 359.006208ms - id: 5 request: proto: HTTP/1.1 @@ -207,13 +207,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 149.030542ms + duration: 179.180541ms - id: 6 request: proto: HTTP/1.1 @@ -242,13 +242,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 148.468708ms + duration: 189.798166ms - id: 7 request: proto: HTTP/1.1 @@ -277,13 +277,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 145.217709ms + duration: 175.631833ms - id: 8 request: proto: HTTP/1.1 @@ -312,13 +312,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 151.084125ms + duration: 167.046959ms - id: 9 request: proto: HTTP/1.1 @@ -335,7 +335,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: GET response: proto: HTTP/1.1 @@ -347,13 +347,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 155.019292ms + duration: 178.535875ms - id: 10 request: proto: HTTP/1.1 @@ -382,13 +382,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":[{"id":"l0a-5z6-xob","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1705402734","rule_query":"source:cloudtrail","suppression_query":"env:test","version":1,"creation_date":1705402735052,"update_date":1705402735052,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"b3e-u7h-fzf","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705418042","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705418045009,"update_date":1705418045009,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"a8q-ojv-csp","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705445935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705445935397,"update_date":1705445935397,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"aea-ivb-riu","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1705460335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","expiration_date":1703187336000,"version":1,"creation_date":1705460336160,"update_date":1705460336160,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rvx-mv0-rxk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1705492897","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705492899231,"update_date":1705492899231,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} + {"data":[{"id":"oof-g1w-dil","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708700335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708700335419,"update_date":1708700335419,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9mt-od5-ne0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1708858735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1708858735413,"update_date":1708858735413,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"vsw-dty-cjy","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709089135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709089135386,"update_date":1709089135386,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"eea-itn-fea","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709103535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709103535389,"update_date":1709103535389,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"0rz-yp9-8ii","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709218735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709218735395,"update_date":1709218735395,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"tsp-szb-yut","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709420335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709420335412,"update_date":1709420335412,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"7ca-zxx-aum","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709650735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709650735401,"update_date":1709650735401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"duf-4c3-e8u","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709852335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709852335383,"update_date":1709852335383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"q19-l4a-veg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1709967535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1709967535405,"update_date":1709967535405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"kjb-ihp-s6x","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710068334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710068334888,"update_date":1710068334888,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"etq-nfj-6rz","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710097135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710097135405,"update_date":1710097135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"i8g-fay-9ya","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1710356334","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1710356334898,"update_date":1710356334898,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"nm7-hbq-ozn","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710687535","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710687535414,"update_date":1710687535414,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zpv-9hl-kfv","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710860335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710860335429,"update_date":1710860335429,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"gxb-1iv-wqs","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710889135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710889135405,"update_date":1710889135405,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"rz9-d6t-orw","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710946735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710946735431,"update_date":1710946735431,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"9ql-wco-tls","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1710989935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1710989935434,"update_date":1710989935434,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"lpm-l13-ve0","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711004335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711004335480,"update_date":1711004335480,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jvm-kzp-wfl","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711234735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711234735383,"update_date":1711234735383,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1vt-ewu-p4r","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711277934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711277934835,"update_date":1711277934835,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"2v0-mpc-h2s","attributes":{"name":"Test-Create_a_suppression_rule_returns_OK_response-1711550926","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711550926776,"update_date":1711550926776,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"icu-xtl-nnd","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711637935","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711637936845,"update_date":1711637936845,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n3c-wm6-re7","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711738735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711738735478,"update_date":1711738735478,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"8t1-h6q-1ym","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711810735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711810735439,"update_date":1711810735439,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"fsh-45y-vee","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711853934","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711853934868,"update_date":1711853934868,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"goh-vth-bpg","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1711897135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711897136848,"update_date":1711897136848,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"1ix-zmz-mfj","attributes":{"name":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","enabled":true,"description":"Example-Get_a_suppression_rule_returns_OK_response_1711911534","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711911534865,"update_date":1711911534865,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"jxw-i9a-jex","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1711970059","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1711970059384,"update_date":1711970059384,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"grt-2ip-kcb","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1711970060","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970061301,"update_date":1711970061301,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"udh-n2s-dtf","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1711970063","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970063812,"update_date":1711970063812,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"clj-9e6-t5j","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1711970066","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1711970066370,"update_date":1711970066370,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"hbm-pvt-sqj","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712012334","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712012335373,"update_date":1712012335373,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"quz-woc-0bq","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712257135","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712257135437,"update_date":1712257135437,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"s6l-kog-me1","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712372335","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712372335398,"update_date":1712372335398,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"3cz-z3f-o5r","attributes":{"name":"Example-Create_a_suppression_rule_returns_OK_response_1712386735","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712386735410,"update_date":1712386735410,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"zm0-bgy-ctw","attributes":{"name":"Test-Typescript-Create_a_suppression_rule_returns_OK_response-1712574714","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","expiration_date":1703187336000,"version":1,"creation_date":1712574714214,"update_date":1712574714214,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"ygl-zgl-vbs","attributes":{"name":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","enabled":true,"description":"Test-Typescript-Delete_a_suppression_rule_returns_OK_response-1712574715","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574715503,"update_date":1712574715503,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"bvr-ixz-fyh","attributes":{"name":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","enabled":true,"description":"Test-Typescript-Get_a_suppression_rule_returns_OK_response-1712574716","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574717049,"update_date":1712574717049,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"l6a-rhn-bx2","attributes":{"name":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","enabled":true,"description":"Test-Typescript-Update_a_suppression_rule_returns_OK_response-1712574718","rule_query":"source:cloudtrail","suppression_query":"env:test","data_exclusion_query":"","version":1,"creation_date":1712574718850,"update_date":1712574718850,"creator":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"},"updater":{"name":"CI Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}},"type":"suppressions"},{"id":"qdp-i6t-f7h","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712783921","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712783922321,"update_date":1712783922764,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"pgp-pdw-ufq","attributes":{"name":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","enabled":true,"description":"Example-Update_a_suppression_rule_returns_OK_response_1712812721","rule_query":"source:cloudtrail","suppression_query":"env:staging status:low","data_exclusion_query":"","version":2,"creation_date":1712812722320,"update_date":1712812722761,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"n9m-hjz-pvf","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712841521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712841522289,"update_date":1712841522289,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"iwj-dbk-dea","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712855921","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712855922351,"update_date":1712855922351,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"hsz-5eo-fpe","attributes":{"name":"Example-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response_1712913521","enabled":true,"description":"This rule suppresses low-severity signals in staging environments.","rule_query":"type:log_detection source:cloudtrail","suppression_query":"","data_exclusion_query":"account_id:12345","expiration_date":1703187336000,"version":1,"creation_date":1712913522319,"update_date":1712913522319,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"},{"id":"udc-adk-gkl","attributes":{"name":"tf-TestAccSecurityMonitoringSuppressionDataSource-local-1712926501","enabled":true,"description":"","rule_query":"source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926504718,"update_date":1712926504718,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}]} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 159.929625ms + duration: 171.865834ms - id: 11 request: proto: HTTP/1.1 @@ -405,7 +405,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: DELETE response: proto: HTTP/1.1 @@ -421,7 +421,7 @@ interactions: - text/html; charset=utf-8 status: 204 No Content code: 204 - duration: 148.116042ms + duration: 202.262917ms - id: 12 request: proto: HTTP/1.1 @@ -438,7 +438,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rvx-mv0-rxk + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/udc-adk-gkl method: GET response: proto: HTTP/1.1 @@ -450,10 +450,10 @@ interactions: content_length: -1 uncompressed: true body: | - {"errors":["not_found(Suppression with ID rvx-mv0-rxk not found)"]} + {"errors":["not_found(Suppression with ID udc-adk-gkl not found)"]} headers: Content-Type: - application/json status: 404 Not Found code: 404 - duration: 140.169542ms + duration: 162.755958ms diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.freeze b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.freeze new file mode 100644 index 0000000000..313c9a6664 --- /dev/null +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.freeze @@ -0,0 +1 @@ +2024-04-12T14:55:24.193307+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.yaml b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.yaml new file mode 100644 index 0000000000..91675a3203 --- /dev/null +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery.yaml @@ -0,0 +1,608 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 323 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: | + {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing"},"type":"suppressions"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions + method: POST + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":1,"creation_date":1712926525097,"update_date":1712926525097,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 184.838833ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":1,"creation_date":1712926525097,"update_date":1712926525097,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 161.6975ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":1,"creation_date":1712926525097,"update_date":1712926525097,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 171.580375ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":1,"creation_date":1712926525097,"update_date":1712926525097,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 175.575792ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 358 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: | + {"data":{"attributes":{"data_exclusion_query":"@account_name:staging","description":"suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","rule_query":"severity:low source:cloudtrail","suppression_query":""},"type":"suppressions"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: PATCH + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"","data_exclusion_query":"@account_name:staging","version":2,"creation_date":1712926525097,"update_date":1712926527109,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 193.637083ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"","data_exclusion_query":"@account_name:staging","version":2,"creation_date":1712926525097,"update_date":1712926527109,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 186.702334ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"","data_exclusion_query":"@account_name:staging","version":2,"creation_date":1712926525097,"update_date":1712926527109,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 164.232083ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"","data_exclusion_query":"@account_name:staging","version":2,"creation_date":1712926525097,"update_date":1712926527109,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 162.757042ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 393 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: | + {"data":{"attributes":{"data_exclusion_query":"@account_name:staging","description":"suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing"},"type":"suppressions"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: PATCH + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"@account_name:staging","version":3,"creation_date":1712926525097,"update_date":1712926529141,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 194.196209ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"@account_name:staging","version":3,"creation_date":1712926525097,"update_date":1712926529141,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 156.924916ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"@account_name:staging","version":3,"creation_date":1712926525097,"update_date":1712926529141,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 158.432917ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"@account_name:staging","version":3,"creation_date":1712926525097,"update_date":1712926529141,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 171.605792ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 372 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: | + {"data":{"attributes":{"data_exclusion_query":"","description":"suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing"},"type":"suppressions"}} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: PATCH + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":4,"creation_date":1712926525097,"update_date":1712926531107,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 186.296084ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":4,"creation_date":1712926525097,"update_date":1712926531107,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 157.769583ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"data":{"id":"cie-qt2-bni","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery-local-1712926524","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"@usr.team:internal-security-testing","data_exclusion_query":"","version":4,"creation_date":1712926525097,"update_date":1712926531107,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + headers: + Content-Type: + - application/json + status: 200 OK + code: 200 + duration: 164.158625ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - '*/*' + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: DELETE + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - text/html; charset=utf-8 + status: 204 No Content + code: 204 + duration: 184.56825ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.datadoghq.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Accept: + - application/json + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/cie-qt2-bni + method: GET + response: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + transfer_encoding: + - chunked + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"errors":["not_found(Suppression with ID cie-qt2-bni not found)"]} + headers: + Content-Type: + - application/json + status: 404 Not Found + code: 404 + duration: 154.33725ms diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.freeze b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.freeze index af0f515412..bad4d1b4e3 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.freeze +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.freeze @@ -1 +1 @@ -2024-01-16T16:46:26.086813+01:00 \ No newline at end of file +2024-04-12T14:55:08.944143+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.yaml b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.yaml index 599d994379..3d4036c464 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.yaml +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate.yaml @@ -13,7 +13,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: @@ -32,13 +32,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419987777,"update_date":1705419987777,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926509810,"update_date":1712926509810,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 424.512583ms + duration: 182.798875ms - id: 1 request: proto: HTTP/1.1 @@ -55,7 +55,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -67,13 +67,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419987777,"update_date":1705419987777,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926509810,"update_date":1712926509810,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 154.897125ms + duration: 167.905458ms - id: 2 request: proto: HTTP/1.1 @@ -90,7 +90,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -102,13 +102,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419987777,"update_date":1705419987777,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926509810,"update_date":1712926509810,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 158.626292ms + duration: 170.231167ms - id: 3 request: proto: HTTP/1.1 @@ -125,7 +125,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -137,33 +137,33 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419987777,"update_date":1705419987777,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926509810,"update_date":1712926509810,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 162.342417ms + duration: 173.7535ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 344 + content_length: 370 transfer_encoding: [] trailer: {} host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"updated suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"data_exclusion_query":"","description":"updated suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: PATCH response: proto: HTTP/1.1 @@ -175,13 +175,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","version":2,"creation_date":1705419987777,"update_date":1705419989821,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","data_exclusion_query":"","version":2,"creation_date":1712926509810,"update_date":1712926511752,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 172.614125ms + duration: 193.517583ms - id: 5 request: proto: HTTP/1.1 @@ -198,7 +198,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -210,13 +210,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","version":2,"creation_date":1705419987777,"update_date":1705419989821,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","data_exclusion_query":"","version":2,"creation_date":1712926509810,"update_date":1712926511752,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 151.499958ms + duration: 172.617875ms - id: 6 request: proto: HTTP/1.1 @@ -233,7 +233,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -245,13 +245,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"utu-fdy-cih","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1705419986","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","version":2,"creation_date":1705419987777,"update_date":1705419989821,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"xag-x5b-lnq","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateAndUpdateWithoutExpirationDate-local-1712926508","enabled":true,"description":"updated suppression for terraform provider test","rule_query":"severity:low source:(cloudtrail OR azure)","suppression_query":"env:staging","data_exclusion_query":"","version":2,"creation_date":1712926509810,"update_date":1712926511752,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 202.058375ms + duration: 183.615ms - id: 7 request: proto: HTTP/1.1 @@ -268,7 +268,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: DELETE response: proto: HTTP/1.1 @@ -284,7 +284,7 @@ interactions: - text/html; charset=utf-8 status: 204 No Content code: 204 - duration: 156.270666ms + duration: 190.986083ms - id: 8 request: proto: HTTP/1.1 @@ -301,7 +301,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/utu-fdy-cih + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/xag-x5b-lnq method: GET response: proto: HTTP/1.1 @@ -313,10 +313,10 @@ interactions: content_length: -1 uncompressed: true body: | - {"errors":["not_found(Suppression with ID utu-fdy-cih not found)"]} + {"errors":["not_found(Suppression with ID xag-x5b-lnq not found)"]} headers: Content-Type: - application/json status: 404 Not Found code: 404 - duration: 152.61625ms + duration: 161.441208ms diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.freeze b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.freeze index 4818971475..17491fdb22 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.freeze +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.freeze @@ -1 +1 @@ -2024-01-16T16:46:31.6328+01:00 \ No newline at end of file +2024-04-12T14:55:13.486533+02:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.yaml b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.yaml index fccb06c5af..2ddf1996f6 100644 --- a/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.yaml +++ b/datadog/tests/cassettes/TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate.yaml @@ -13,7 +13,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: @@ -32,13 +32,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419992562,"update_date":1705419992562,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926514341,"update_date":1712926514341,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 151.7115ms + duration: 189.225042ms - id: 1 request: proto: HTTP/1.1 @@ -55,7 +55,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -67,13 +67,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419992562,"update_date":1705419992562,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926514341,"update_date":1712926514341,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 155.704958ms + duration: 173.246083ms - id: 2 request: proto: HTTP/1.1 @@ -90,7 +90,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -102,13 +102,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419992562,"update_date":1705419992562,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926514341,"update_date":1712926514341,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 144.386834ms + duration: 171.907375ms - id: 3 request: proto: HTTP/1.1 @@ -125,7 +125,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -137,33 +137,33 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":1,"creation_date":1705419992562,"update_date":1705419992562,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":1,"creation_date":1712926514341,"update_date":1712926514341,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 152.249208ms + duration: 158.867ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 334 + content_length: 360 transfer_encoding: [] trailer: {} host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"expiration_date":1705924800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"data_exclusion_query":"","description":"suppression for terraform provider test","enabled":true,"expiration_date":1705924800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: PATCH response: proto: HTTP/1.1 @@ -175,13 +175,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":2,"creation_date":1705419992562,"update_date":1705419994608,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":2,"creation_date":1712926514341,"update_date":1712926516330,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 157.934833ms + duration: 192.757ms - id: 5 request: proto: HTTP/1.1 @@ -198,7 +198,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -210,13 +210,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":2,"creation_date":1705419992562,"update_date":1705419994608,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":2,"creation_date":1712926514341,"update_date":1712926516330,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 149.875542ms + duration: 183.884417ms - id: 6 request: proto: HTTP/1.1 @@ -233,7 +233,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -245,13 +245,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":2,"creation_date":1705419992562,"update_date":1705419994608,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":2,"creation_date":1712926514341,"update_date":1712926516330,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 171.907125ms + duration: 166.059084ms - id: 7 request: proto: HTTP/1.1 @@ -268,7 +268,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -280,33 +280,33 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":2,"creation_date":1705419992562,"update_date":1705419994608,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":2,"creation_date":1712926514341,"update_date":1712926516330,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 145.435625ms + duration: 174.887708ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 334 + content_length: 360 transfer_encoding: [] trailer: {} host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"expiration_date":1705924800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"data_exclusion_query":"","description":"suppression for terraform provider test","enabled":true,"expiration_date":1705924800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: PATCH response: proto: HTTP/1.1 @@ -318,13 +318,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":3,"creation_date":1705419992562,"update_date":1705419996684,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":3,"creation_date":1712926514341,"update_date":1712926518360,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 178.172083ms + duration: 186.54225ms - id: 9 request: proto: HTTP/1.1 @@ -341,7 +341,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -353,13 +353,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":3,"creation_date":1705419992562,"update_date":1705419996684,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":3,"creation_date":1712926514341,"update_date":1712926518360,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 159.435916ms + duration: 158.328208ms - id: 10 request: proto: HTTP/1.1 @@ -376,7 +376,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -388,13 +388,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":3,"creation_date":1705419992562,"update_date":1705419996684,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":3,"creation_date":1712926514341,"update_date":1712926518360,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 162.931792ms + duration: 170.368958ms - id: 11 request: proto: HTTP/1.1 @@ -411,7 +411,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -423,33 +423,33 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705924800000,"version":3,"creation_date":1705419992562,"update_date":1705419996684,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705924800000,"version":3,"creation_date":1712926514341,"update_date":1712926518360,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 171.506708ms + duration: 173.958916ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 334 + content_length: 360 transfer_encoding: [] trailer: {} host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"expiration_date":1705933800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"data_exclusion_query":"","description":"suppression for terraform provider test","enabled":true,"expiration_date":1705933800000,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: PATCH response: proto: HTTP/1.1 @@ -461,13 +461,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705933800000,"version":4,"creation_date":1705419992562,"update_date":1705419998808,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705933800000,"version":4,"creation_date":1712926514341,"update_date":1712926520401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 167.859708ms + duration: 201.747542ms - id: 13 request: proto: HTTP/1.1 @@ -484,7 +484,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -496,13 +496,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705933800000,"version":4,"creation_date":1705419992562,"update_date":1705419998808,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705933800000,"version":4,"creation_date":1712926514341,"update_date":1712926520401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 155.115417ms + duration: 155.701041ms - id: 14 request: proto: HTTP/1.1 @@ -519,7 +519,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -531,13 +531,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705933800000,"version":4,"creation_date":1705419992562,"update_date":1705419998808,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705933800000,"version":4,"creation_date":1712926514341,"update_date":1712926520401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 160.929292ms + duration: 190.206167ms - id: 15 request: proto: HTTP/1.1 @@ -554,7 +554,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -566,33 +566,33 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","expiration_date":1705933800000,"version":4,"creation_date":1705419992562,"update_date":1705419998808,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","expiration_date":1705933800000,"version":4,"creation_date":1712926514341,"update_date":1712926520401,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 150.693791ms + duration: 172.181375ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 325 + content_length: 351 transfer_encoding: [] trailer: {} host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"description":"suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} + {"data":{"attributes":{"data_exclusion_query":"","description":"suppression for terraform provider test","enabled":true,"expiration_date":null,"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging"},"type":"suppressions"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: PATCH response: proto: HTTP/1.1 @@ -604,13 +604,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":5,"creation_date":1705419992562,"update_date":1705420000750,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":5,"creation_date":1712926514341,"update_date":1712926522479,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 150.42175ms + duration: 189.682458ms - id: 17 request: proto: HTTP/1.1 @@ -627,7 +627,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -639,13 +639,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":5,"creation_date":1705419992562,"update_date":1705420000750,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":5,"creation_date":1712926514341,"update_date":1712926522479,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 144.479667ms + duration: 169.1645ms - id: 18 request: proto: HTTP/1.1 @@ -662,7 +662,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -674,13 +674,13 @@ interactions: content_length: -1 uncompressed: true body: | - {"data":{"id":"ipt-cev-yza","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1705419991","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","version":5,"creation_date":1705419992562,"update_date":1705420000750,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} + {"data":{"id":"dwt-kkz-ckk","attributes":{"name":"tf-TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate-local-1712926513","enabled":true,"description":"suppression for terraform provider test","rule_query":"severity:low source:cloudtrail","suppression_query":"env:staging","data_exclusion_query":"","version":5,"creation_date":1712926514341,"update_date":1712926522479,"creator":{"name":null,"handle":"frog@datadoghq.com"},"updater":{"name":null,"handle":"frog@datadoghq.com"}},"type":"suppressions"}} headers: Content-Type: - application/json status: 200 OK code: 200 - duration: 158.670458ms + duration: 173.779458ms - id: 19 request: proto: HTTP/1.1 @@ -697,7 +697,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: DELETE response: proto: HTTP/1.1 @@ -713,7 +713,7 @@ interactions: - text/html; charset=utf-8 status: 204 No Content code: 204 - duration: 144.745542ms + duration: 194.305333ms - id: 20 request: proto: HTTP/1.1 @@ -730,7 +730,7 @@ interactions: headers: Accept: - application/json - url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/ipt-cev-yza + url: https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dwt-kkz-ckk method: GET response: proto: HTTP/1.1 @@ -742,10 +742,10 @@ interactions: content_length: -1 uncompressed: true body: | - {"errors":["not_found(Suppression with ID ipt-cev-yza not found)"]} + {"errors":["not_found(Suppression with ID dwt-kkz-ckk not found)"]} headers: Content-Type: - application/json status: 404 Not Found code: 404 - duration: 146.199334ms + duration: 155.109375ms diff --git a/datadog/tests/resource_datadog_security_monitoring_suppression_test.go b/datadog/tests/resource_datadog_security_monitoring_suppression_test.go index 5682e8794d..b634930043 100644 --- a/datadog/tests/resource_datadog_security_monitoring_suppression_test.go +++ b/datadog/tests/resource_datadog_security_monitoring_suppression_test.go @@ -182,6 +182,114 @@ func TestAccSecurityMonitoringSuppression_CreateThenAddAndRemoveExpirationDate(t }) } +// Create a suppression with a suppression query, then replace it with an exclusion query, then add another suppression query +func TestAccSecurityMonitoringSuppression_CreateAndUpdateDataExclusionQuery(t *testing.T) { + ctx, providers, accProviders := testAccFrameworkMuxProviders(context.Background(), t) + suppressionName := uniqueEntityName(ctx, t) + resourceName := "datadog_security_monitoring_suppression.suppression_test_exclusion" + dataExclusionQuery := "@account_name:staging" + suppressionQuery := "@usr.team:internal-security-testing" + + configWithSuppressionQuery := fmt.Sprintf(` + resource "datadog_security_monitoring_suppression" "suppression_test_exclusion" { + name = "%s" + description = "suppression for terraform provider test" + enabled = true + rule_query = "severity:low source:cloudtrail" + suppression_query = "%s" + } + `, suppressionName, suppressionQuery) + + configWithDataExclusionQuery := fmt.Sprintf(` + resource "datadog_security_monitoring_suppression" "suppression_test_exclusion" { + name = "%s" + description = "suppression for terraform provider test" + enabled = true + rule_query = "severity:low source:cloudtrail" + data_exclusion_query = "%s" + } + `, suppressionName, dataExclusionQuery) + + configWithBoth := fmt.Sprintf(` + resource "datadog_security_monitoring_suppression" "suppression_test_exclusion" { + name = "%s" + description = "suppression for terraform provider test" + enabled = true + rule_query = "severity:low source:cloudtrail" + suppression_query = "%s" + data_exclusion_query = "%s" + } + `, suppressionName, suppressionQuery, dataExclusionQuery) + + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV5ProviderFactories: accProviders, + CheckDestroy: testAccCheckSecurityMonitoringSuppressionDestroy(providers.frameworkProvider), + Steps: []resource.TestStep{ + // Create with suppression query + { + Config: configWithSuppressionQuery, + Check: resource.ComposeTestCheckFunc( + testAccCheckSecurityMonitoringSuppressionExists(providers.frameworkProvider, resourceName), + checkSecurityMonitoringSuppressionContentWithDataExclusionQuery( + resourceName, + suppressionName, + "suppression for terraform provider test", + "severity:low source:cloudtrail", + &suppressionQuery, + nil, + ), + ), + }, + // Replace by data exclusion query + { + Config: configWithDataExclusionQuery, + Check: resource.ComposeTestCheckFunc( + testAccCheckSecurityMonitoringSuppressionExists(providers.frameworkProvider, resourceName), + checkSecurityMonitoringSuppressionContentWithDataExclusionQuery( + resourceName, + suppressionName, + "suppression for terraform provider test", + "severity:low source:cloudtrail", + nil, + &dataExclusionQuery, + ), + ), + }, + // Add the suppression query without removing the exclusion query + { + Config: configWithBoth, + Check: resource.ComposeTestCheckFunc( + testAccCheckSecurityMonitoringSuppressionExists(providers.frameworkProvider, resourceName), + checkSecurityMonitoringSuppressionContentWithDataExclusionQuery( + resourceName, + suppressionName, + "suppression for terraform provider test", + "severity:low source:cloudtrail", + &suppressionQuery, + &dataExclusionQuery, + ), + ), + }, + // Remove exclusion query + { + Config: configWithSuppressionQuery, + Check: resource.ComposeTestCheckFunc( + testAccCheckSecurityMonitoringSuppressionExists(providers.frameworkProvider, resourceName), + checkSecurityMonitoringSuppressionContentWithDataExclusionQuery( + resourceName, + suppressionName, + "suppression for terraform provider test", + "severity:low source:cloudtrail", + &suppressionQuery, + nil, + ), + ), + }, + }, + }) +} + func checkSecurityMonitoringSuppressionContent(resourceName string, name string, description string, ruleQuery string, suppressionQuery string) resource.TestCheckFunc { return resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "name", name), @@ -190,6 +298,7 @@ func checkSecurityMonitoringSuppressionContent(resourceName string, name string, resource.TestCheckResourceAttr(resourceName, "rule_query", ruleQuery), resource.TestCheckResourceAttr(resourceName, "suppression_query", suppressionQuery), resource.TestCheckNoResourceAttr(resourceName, "expiration_date"), + resource.TestCheckNoResourceAttr(resourceName, "data_exclusion_query"), ) } @@ -201,9 +310,29 @@ func checkSecurityMonitoringSuppressionContentWithExpirationDate(resourceName st resource.TestCheckResourceAttr(resourceName, "rule_query", ruleQuery), resource.TestCheckResourceAttr(resourceName, "suppression_query", suppressionQuery), resource.TestCheckResourceAttr(resourceName, "expiration_date", expirationDate), + resource.TestCheckNoResourceAttr(resourceName, "data_exclusion_query"), ) } +func testCheckOptionalResourceAttr(name string, key string, value *string) resource.TestCheckFunc { + if value == nil { + return resource.TestCheckNoResourceAttr(name, key) + } else { + return resource.TestCheckResourceAttr(name, key, *value) + } +} + +func checkSecurityMonitoringSuppressionContentWithDataExclusionQuery(resourceName string, name string, description string, ruleQuery string, suppressionQuery *string, dataExclusionQuery *string) resource.TestCheckFunc { + return resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr(resourceName, "name", name), + resource.TestCheckResourceAttr(resourceName, "description", description), + resource.TestCheckResourceAttr(resourceName, "enabled", "true"), + resource.TestCheckResourceAttr(resourceName, "rule_query", ruleQuery), + testCheckOptionalResourceAttr(resourceName, "suppression_query", suppressionQuery), + testCheckOptionalResourceAttr(resourceName, "data_exclusion_query", dataExclusionQuery), + resource.TestCheckNoResourceAttr(resourceName, "expiration_date"), + ) +} func testAccCheckSecurityMonitoringSuppressionExists(accProvider *fwprovider.FrameworkProvider, resourceName string) resource.TestCheckFunc { return func(s *terraform.State) error { resource, ok := s.RootModule().Resources[resourceName] From ce98c244189f0c91176e94d0aa88b986e6c68c0a Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Fri, 12 Apr 2024 18:02:13 +0200 Subject: [PATCH 5/6] Generate docs --- docs/data-sources/security_monitoring_suppressions.md | 1 + docs/resources/security_monitoring_suppression.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/data-sources/security_monitoring_suppressions.md b/docs/data-sources/security_monitoring_suppressions.md index 1cc0ed81a0..266e80b6c7 100644 --- a/docs/data-sources/security_monitoring_suppressions.md +++ b/docs/data-sources/security_monitoring_suppressions.md @@ -26,6 +26,7 @@ Use this data source to retrieve information about existing suppression rules, a Read-Only: +- `data_exclusion_query` (String) - `description` (String) - `enabled` (Boolean) - `expiration_date` (String) diff --git a/docs/resources/security_monitoring_suppression.md b/docs/resources/security_monitoring_suppression.md index fa1b61e83a..e132058543 100644 --- a/docs/resources/security_monitoring_suppression.md +++ b/docs/resources/security_monitoring_suppression.md @@ -31,12 +31,13 @@ resource "datadog_security_monitoring_suppression" "my_suppression" { - `enabled` (Boolean) Whether the suppression rule is enabled. - `name` (String) The name of the suppression rule. - `rule_query` (String) The rule query of the suppression rule, with the same syntax as the search bar for detection rules. -- `suppression_query` (String) The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer. ### Optional +- `data_exclusion_query` (String) An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule. - `description` (String) A description for the suppression rule. - `expiration_date` (String) A RFC3339 timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. +- `suppression_query` (String) The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer. ### Read-Only From 3283355a46b6d614806662cf72119b81ecd07065 Mon Sep 17 00:00:00 2001 From: Pietro Dellino Date: Thu, 18 Apr 2024 16:12:34 +0200 Subject: [PATCH 6/6] Fix suppression_query documentation based on API spec --- .../resource_datadog_security_monitoring_suppression.go | 2 +- docs/resources/security_monitoring_suppression.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go index 9578b42e12..e3adfe95c1 100644 --- a/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go +++ b/datadog/fwprovider/resource_datadog_security_monitoring_suppression.go @@ -75,7 +75,7 @@ func (r *securityMonitoringSuppressionResource) Schema(_ context.Context, _ reso }, "suppression_query": schema.StringAttribute{ Optional: true, - Description: "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer.", + Description: "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.", }, "data_exclusion_query": schema.StringAttribute{ Optional: true, diff --git a/docs/resources/security_monitoring_suppression.md b/docs/resources/security_monitoring_suppression.md index e132058543..89bfd01554 100644 --- a/docs/resources/security_monitoring_suppression.md +++ b/docs/resources/security_monitoring_suppression.md @@ -37,7 +37,7 @@ resource "datadog_security_monitoring_suppression" "my_suppression" { - `data_exclusion_query` (String) An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule. - `description` (String) A description for the suppression rule. - `expiration_date` (String) A RFC3339 timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore. -- `suppression_query` (String) The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. Same syntax as the queries to search signals in the signal explorer. +- `suppression_query` (String) The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer. ### Read-Only