@@ -45,14 +45,15 @@ resource "sysdig_secure_posture_zone" "example" {
4545
4646## Argument Reference
4747
48- * ` name ` - (Required) The name of the Posture Zone.
49- * ` description ` - (Optional) The description of the Posture Zone.
50- * ` policy_ids ` - (Optional) The list of Posture Policy IDs attached to Zone.
51- * ` scopes ` - (Optional) Scopes block defines list of scopes attached to Zone.
48+ - ` name ` - (Required) The name of the Posture Zone.
49+ - ` description ` - (Optional) The description of the Posture Zone.
50+ - ` policy_ids ` - (Optional) The list of Posture Policy IDs attached to Zone.
51+ - ` scopes ` - (Optional) Scopes block defines list of scopes attached to Zone.
5252
5353### Scopes block
5454
55- * ` target_type ` - (Required) The target type for the scope. Supported types:
55+ - ` target_type ` - (Required) The target type for the scope. Supported types:
56+
5657 - AWS - ` aws `
5758 - GCP - ` gcp `
5859 - Azure - ` azure `
@@ -61,16 +62,16 @@ resource "sysdig_secure_posture_zone" "example" {
6162 - Host - ` host `
6263 - Git - ` git `
6364
64- * ` rules ` - (Optional) Query language expression for filtering results. Empty rules means no filtering.
65+ - ` rules ` - (Optional) Query language expression for filtering results. Empty rules means no filtering.
6566
6667 Operators:
67- - ` and ` , ` or ` and ` not ` logical operators
68- - ` = ` , ` != `
69- - ` > ` , ` >= ` , ` < ` , ` <= `
68+
69+ - ` and ` , ` or ` logical operators
7070 - ` in `
71- - ` contains ` and ` startsWith ` to check partial values of attributes
72-
71+ - ` contains ` to check partial values of attributes
72+
7373 List of supported fields by target type:
74+
7475 - ` aws ` :
7576 - ` account `
7677 - Type: string
@@ -123,22 +124,22 @@ resource "sysdig_secure_posture_zone" "example" {
123124 - Description: Azure account location
124125 - Example query: ` location in ("us-east-1") `
125126 - ` kubernetes ` :
126- - ` clusterId `
127- - Type: string
128- - Description: Kubernetes cluster ID
129- - Example query: ` clusterId in ("cluster") `
130- - ` namespace `
131- - Type: string
132- - Description: Kubernetes namespace
133- - Example query: ` namespace in ("namespace") `
134- - ` labelValues `
135- - Type: string
136- - Description: Kubernetes label values
137- - Example query: ` labelValues in ("label1") `
138- - ` distribution `
139- - Type: string
140- - Description: Kubernetes distribution
141- - Example query: ` distribution in ("eks") `
127+ - ` clusterId `
128+ - Type: string
129+ - Description: Kubernetes cluster ID
130+ - Example query: ` clusterId in ("cluster") `
131+ - ` namespace `
132+ - Type: string
133+ - Description: Kubernetes namespace
134+ - Example query: ` namespace in ("namespace") `
135+ - ` labelValues `
136+ - Type: string
137+ - Description: Kubernetes label values
138+ - Example query: ` labelValues in ("label1") `
139+ - ` distribution `
140+ - Type: string
141+ - Description: Kubernetes distribution
142+ - Example query: ` distribution in ("eks") `
142143 - ` host ` :
143144 - ` clusterId `
144145 - Type: string
@@ -158,25 +159,25 @@ resource "sysdig_secure_posture_zone" "example" {
158159 - Description: Image repository
159160 - Example query: ` repository in ("repository") `
160161 - ` git ` :
161- - ` gitIntegrationId `
162- - Type: string
163- - Description: Git integration ID
164- - Example query: ` gitIntegrationId in ("gitIntegrationId") `
165- - ` gitSourceId `
166- - Type: string
167- - Description: Git source ID
168- - Example query: ` gitSourceId in ("gitSourceId") `
169-
162+ - ` gitIntegrationId `
163+ - Type: string
164+ - Description: Git integration ID
165+ - Example query: ` gitIntegrationId in ("gitIntegrationId") `
166+ - ` gitSourceId `
167+ - Type: string
168+ - Description: Git source ID
169+ - Example query: ` gitSourceId in ("gitSourceId") `
170+
170171 ** Note** : Whenever filtering for values with special characters, the values need to be encoded.
171172 When “ or \ are the special characters, they need to be escaped with \ and then encoded.
172173
173174## Attributes Reference
174175
175176In addition to all arguments above, the following attributes are exported:
176177
177- * ` author ` - (Computed) The zone author.
178- * ` last_modified_by ` - (Computed) By whom is last modification made.
179- * ` last_updated ` - (Computed) Timestamp of last modification of zone.
178+ - ` author ` - (Computed) The zone author.
179+ - ` last_modified_by ` - (Computed) By whom is last modification made.
180+ - ` last_updated ` - (Computed) Timestamp of last modification of zone.
180181
181182## Import
182183
0 commit comments