Skip to content

Commit 2c6ae21

Browse files
generate docs
1 parent 0d839f7 commit 2c6ae21

5 files changed

+42
-84
lines changed

docs/data-sources/cloud_workload_security_agent_rules.md

-37
This file was deleted.

docs/data-sources/csm_threats_agent_rules.md

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ Use this data source to retrieve information about existing Agent rules.
1515
<!-- schema generated by tfplugindocs -->
1616
## Schema
1717

18-
### Optional
19-
20-
- `policy_id` (String) Listing only the rules in the policy with this field as the ID
21-
2218
### Read-Only
2319

2420
- `agent_rules` (List of Object) List of Agent rules (see [below for nested schema](#nestedatt--agent_rules))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "datadog_csm_threats_multi_policy_agent_rules Data Source - terraform-provider-datadog"
4+
subcategory: ""
5+
description: |-
6+
Use this data source to retrieve information about existing Agent rules.
7+
---
8+
9+
# datadog_csm_threats_multi_policy_agent_rules (Data Source)
10+
11+
Use this data source to retrieve information about existing Agent rules.
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Optional
19+
20+
- `policy_id` (String) Listing only the rules in the policy with this field as the ID
21+
22+
### Read-Only
23+
24+
- `agent_rules` (List of Object) List of Agent rules (see [below for nested schema](#nestedatt--agent_rules))
25+
- `agent_rules_ids` (List of String) List of IDs for the Agent rules.
26+
- `id` (String) The ID of the data source
27+
28+
<a id="nestedatt--agent_rules"></a>
29+
### Nested Schema for `agent_rules`
30+
31+
Read-Only:
32+
33+
- `description` (String)
34+
- `enabled` (Boolean)
35+
- `expression` (String)
36+
- `id` (String)
37+
- `name` (String)
38+
- `product_tags` (Set of String)

docs/resources/csm_threats_policies.md

-42
This file was deleted.

docs/resources/csm_threats_policy.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Provides a Datadog CSM Threats policy API resource.
1515
<!-- schema generated by tfplugindocs -->
1616
## Schema
1717

18+
### Required
19+
20+
- `name` (String) The name of the policy.
21+
1822
### Optional
1923

2024
- `description` (String) A description for the policy.
@@ -24,4 +28,3 @@ Provides a Datadog CSM Threats policy API resource.
2428
### Read-Only
2529

2630
- `id` (String) The ID of this resource.
27-
- `name` (String) The name of the policy.

0 commit comments

Comments
 (0)