Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hf committed Oct 7, 2024
1 parent f7668b2 commit dddf6b2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/data-sources/security_monitoring_rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Read-Only:
- `name` (String)
- `options` (List of Object) (see [below for nested schema](#nestedobjatt--rules--options))
- `query` (List of Object) (see [below for nested schema](#nestedobjatt--rules--query))
- `reference_tables` (List of Object) (see [below for nested schema](#nestedobjatt--rules--reference_tables))
- `signal_query` (List of Object) (see [below for nested schema](#nestedobjatt--rules--signal_query))
- `tags` (Set of String)
- `third_party_case` (List of Object) (see [below for nested schema](#nestedobjatt--rules--third_party_case))
Expand Down Expand Up @@ -152,6 +153,18 @@ Read-Only:



<a id="nestedobjatt--rules--reference_tables"></a>
### Nested Schema for `rules.reference_tables`

Read-Only:

- `check_presence` (Boolean)
- `column_name` (String)
- `log_field_path` (String)
- `rule_query_name` (String)
- `table_name` (String)


<a id="nestedobjatt--rules--signal_query"></a>
### Nested Schema for `rules.signal_query`

Expand Down
13 changes: 13 additions & 0 deletions docs/resources/security_monitoring_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ resource "datadog_security_monitoring_rule" "myrule" {
- `has_extended_title` (Boolean) Whether the notifications include the triggering group-by values in their title. Defaults to `false`.
- `options` (Block List, Max: 1) Options on rules. (see [below for nested schema](#nestedblock--options))
- `query` (Block List) Queries for selecting logs which are part of the rule. (see [below for nested schema](#nestedblock--query))
- `reference_tables` (Block List) Reference tables for filtering query results. (see [below for nested schema](#nestedblock--reference_tables))
- `signal_query` (Block List) Queries for selecting logs which are part of the rule. (see [below for nested schema](#nestedblock--signal_query))
- `tags` (Set of String) Tags for generated signals.
- `third_party_case` (Block List, Max: 10) Cases for generating signals for third-party rules. Only required and accepted for third-party rules (see [below for nested schema](#nestedblock--third_party_case))
Expand Down Expand Up @@ -188,6 +189,18 @@ Required:



<a id="nestedblock--reference_tables"></a>
### Nested Schema for `reference_tables`

Required:

- `check_presence` (Boolean) Whether to include or exclude logs that match the reference table.
- `column_name` (String) The name of the column in the reference table.
- `log_field_path` (String) The field in the log that should be matched against the reference table.
- `rule_query_name` (String) The name of the query to filter.
- `table_name` (String) The name of the reference table.


<a id="nestedblock--signal_query"></a>
### Nested Schema for `signal_query`

Expand Down

0 comments on commit dddf6b2

Please sign in to comment.