Skip to content

Commit 7c883a6

Browse files
fix docs
1 parent d5e0d86 commit 7c883a6

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

website/docs/r/secure_posture_accept_risk.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Creates a Sysdig Secure Posture Accept Risk.
1515
## Example Usage
1616

1717
```terraform
18-
resource "sysdig_secure_posture_accept_risk" "accept_risk_zone" {
18+
resource "sysdig_secure_posture_accept_risk" "accept_risk_global" {
1919
description = "Accept risk for zone"
2020
control_name = "ServiceAccounts with cluster access"
2121
reason = "Risk Transferred"
@@ -49,6 +49,33 @@ resource "sysdig_secure_posture_accept_risk" "scheduler_set_to_loopback_bind_add
4949
- `zone_name` - (Optional) The zone associated with the risk acceptance.
5050
- `description` - (Required) A description of the risk acceptance.
5151
- `filter` - (Optional) A filter for identifying the resources affected by the acceptance.
52+
List of supported fields:
53+
54+
- name
55+
Type: string
56+
Example: name in ("cf-templates-1s951ca3qbh1-us-west-2")
57+
Description: The name of the resource to accept risk for
58+
59+
- namespace
60+
Type: string
61+
Example: namespace in ("my-namespace")
62+
Description: The namespace to accept risk for
63+
64+
- kind
65+
Type: string
66+
Example: kind in ("AWS_S3_BUCKET")
67+
Description: The resource kind to accept risk for
68+
69+
- location
70+
Type: string
71+
Example: location in ("ap-southeast-2")
72+
Description: The cloud location/region to accept risk for
73+
74+
- providerType
75+
Type: string
76+
Example: providerType in ("AWS")
77+
Description: The cloud provider to accept risk for (AWS/GCP/Azure)
78+
5279
- `reason` - (Required) The reason for accepting the risk. Possible values are:
5380
- `Risk Owned`
5481
- `Risk Transferred`

0 commit comments

Comments
 (0)