Skip to content

Commit

Permalink
Generate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodll committed Jan 17, 2024
1 parent 0547057 commit b60b55d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/data-sources/security_monitoring_suppressions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "datadog_security_monitoring_suppressions Data Source - terraform-provider-datadog"
subcategory: ""
description: |-
Use this data source to retrieve information about existing suppression rules, and use them in other resources.
---

# datadog_security_monitoring_suppressions (Data Source)

Use this data source to retrieve information about existing suppression rules, and use them in other resources.



<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `id` (String) The ID of this resource.
- `suppression_ids` (List of String) List of IDs of suppressions
- `suppressions` (List of Object) List of suppressions (see [below for nested schema](#nestedatt--suppressions))

<a id="nestedatt--suppressions"></a>
### Nested Schema for `suppressions`

Read-Only:

- `description` (String)
- `enabled` (Boolean)
- `expiration_date` (String)
- `name` (String)
- `rule_query` (String)
- `suppression_query` (String)
32 changes: 32 additions & 0 deletions docs/resources/security_monitoring_suppression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "datadog_security_monitoring_suppression Resource - terraform-provider-datadog"
subcategory: ""
description: |-
Provides a Datadog Security Monitoring Suppression API resource. It can be used to create and manage Datadog security monitoring suppression rules.
---

# datadog_security_monitoring_suppression (Resource)

Provides a Datadog Security Monitoring Suppression API resource. It can be used to create and manage Datadog security monitoring suppression rules.



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `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

- `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.

### Read-Only

- `id` (String) The ID of this resource.

0 comments on commit b60b55d

Please sign in to comment.