List Aws/Azure Regions for filtering resources.
Bad Request
Internal server error
Return List of Aws/Azure Regions
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Clone a Rule with the given ID.
Bad Request
Internal server error
Newly Created Cloned Rule
{- "ruleClone": {
- "uuid": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update a Rule
Bad Request
Internal server error
Updated 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,
- "forRecommendation": true,
- "resourceType": "string",
- "isMultiPolicyRule": false,
- "subRulePolicyDetails": [
- {
- "name": "string",
- "yaml": "string",
- "resourceType": "string"
}
], - "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"
}
]
}
Create a new governance rule.
Bad Request
Internal server error
Returns newly created 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,
- "forRecommendation": true,
- "resourceType": "string",
- "isMultiPolicyRule": false,
- "subRulePolicyDetails": [
- {
- "name": "string",
- "yaml": "string",
- "resourceType": "string"
}
], - "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"
}
]
}
Delete a Rule with the given 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"
}
]
}
Enqueue rule for execution
Request body for queuing the governance rule for execution
Enqueued governance rule for evaluation and return list evaluation ids
Bad Request
Internal server error
{- "targetAccountDetails": {
- "property1": {
- "roleInfo": "string",
- "roleId": "string",
- "tenantInfo": "string",
- "cloudConnectorId": "string",
- "targetInfo": "string",
- "type": "string"
}, - "property2": {
- "roleInfo": "string",
- "roleId": "string",
- "tenantInfo": "string",
- "cloudConnectorId": "string",
- "targetInfo": "string",
- "type": "string"
}
}, - "targetAccounts": [
- "string"
], - "targetRegions": [
- "string"
], - "ruleId": "string",
- "policy": "string",
- "isDryRun": true,
- "isOOTB": true,
- "ruleCloudProviderType": "AWS"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Simple Request to enqueue rule for execution
Request body for queuing the governance rule for execution
Enqueued governance rule for evaluation and return list evaluation ids
Bad Request
Internal server error
{- "targetAccounts": [
- "string"
], - "targetRegions": [
- "string"
], - "ruleId": "string",
- "isDryRun": true
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get custodian schema for governance rule validation
Bad Request
Internal server error
Custodian Governance Rule Schema
{- "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,
- "orderBy": [
- {
- "field": "PERSPECTIVE_ID",
- "order": "ASCENDING"
}
], - "resourceType": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get connectors with governance enabled and valid permission
Bad Request
Internal server error
List of Governance Enabled Connectors
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Validate governance rule for syntactical errors.
Bad Request
Internal server error
{- "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,
- "forRecommendation": true,
- "resourceType": "string",
- "isMultiPolicyRule": false,
- "subRulePolicyDetails": [
- {
- "name": "string",
- "yaml": "string",
- "resourceType": "string"
}
], - "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"
}
]
}