Update Organization IAC Settings
Update the Infrastructure as Code Settings for an org.
Parameters
Parameter | Description |
---|---|
Custom Rules Inherit From Parent | Which parent to inherit settings from. |
Custom Rules Is Enabled | Whether the custom rules feature is enabled or not. |
Custom Rules OCI Registry Tag | The tag for an OCI artifact inside an OCI registry. |
Custom Rules OCI Registry URL | The URL to an OCI registry. |
Organization ID | The id of the org whose Infrastructure as Code settings are getting updated. |
Example Output
{
"data": {
"attributes": {
"custom_rules": {
"is_enabled": true,
"oci_registry_tag": "latest",
"oci_registry_url": "https://registry-1.docker.io/account/bundle"
},
"updated": "2021-11-12T10:31:06.026Z"
},
"id": "ea536a06-0566-40ca-b96b-155568aa2027",
"type": "iac_settings"
},
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource",
"last": "https://example.com/api/resource",
"next": "https://example.com/api/resource",
"prev": "https://example.com/api/resource",
"related": "https://example.com/api/resource",
"self": "https://example.com/api/resource"
}
}
Workflow Library Example
Update Organization Iac Settings with Snyk and Send Results Via Email