You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
The `resource_kind` field in `sysdig_secure_posture_control` only showed
a single example (`AWS_S3_BUCKET`) with no guidance on valid values for
other platforms. This left users — especially on IBM Cloud, GCP, or
Azure — guessing what to pass.
This adds per-platform examples, the CSPM API endpoint to discover all
valid kinds, and links to relevant Sysdig docs. Also fixes a stray `c`
in the import example that made it invalid.
Closes#684
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
-`description` - (Required) The description of the Posture Control, eg. `EC2 - Instances should not have a public IP address`
53
53
-`rego` - (Required) The Posture control Rego. `package sysdig\ndefault risky = false\nrisky {\n input.NetworkInterfaces[_].Association.PublicIp\n input. NetworkInterfaces[_].Association.PublicIp != \"\"\n}`
54
54
-`remediation_details`- (Required) The Posture control Remediation details. `Use a non-default VPC so that your instance is not assigned a public IP address by default`
55
-
-`resource_kind` - (Required) The Posture Control Resource kind. It should be a supported resource kind, eg. `AWS_S3_BUCKET`
55
+
-`resource_kind` - (Required) The resource type this control evaluates. Must be a supported resource kind string matching
56
+
a resource type in the Sysdig CSPM inventory. The format varies by platform:
0 commit comments