Delete a Rule for the given a ID.
Bad Request
Internal server error
A boolean whether the delete was successful or not
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Enqueues job for execution.
Request body for queuing the governance job
Bad Request
Internal server error
Returns success when job is enqueued
{- "ruleEnforcementId": "string",
- "roleArn": "string",
- "externalId": "string",
- "ruleCloudProviderType": "AWS",
- "ruleId": "string",
- "policy": "string",
- "targetAccountId": "string",
- "targetRegion": "string",
- "isDryRun": true,
- "isOOTB": true
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Fetch rules
Bad Request
Internal server error
Returns List of rules
{- "query": {
- "accountId": "string",
- "isOOTB": true,
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "tags": "string",
- "cloudProvider": "string",
- "policyIds": [
- "string"
], - "isStablePolicy": true,
- "search": "string",
- "limit": 0,
- "offset": 0
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get Schema for entity
Bad Request
Internal server error
Schema
"account"
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update a Rule
Bad Request
Internal server error
update an existing Rule
{- "rule": {
- "uuid": "string",
- "accountId": "string",
- "name": "string",
- "description": "string",
- "rulesYaml": "string",
- "tags": [
- "string"
], - "orgIdentifier": "string",
- "projectIdentifier": "string",
- "cloudProvider": "AWS",
- "versionLabel": "string",
- "isStablePolicy": true,
- "storeType": "INLINE",
- "isOOTB": true,
- "deleted": true,
- "createdAt": 0,
- "lastUpdatedAt": 0,
- "createdBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}, - "lastUpdatedBy": {
- "uuid": "string",
- "name": "string",
- "email": "string",
- "externalUserId": "string"
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}