Rule Executions

This contains APIs related to Rule Executions

Fetch RuleExecution for account

Fetch RuleExecution

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Request body containing CreateRuleExecutionFilterDTO object

object (RuleExecutionFilter)

This has the query to list the RuleExecution

Responses
400

Bad Request

500

Internal server error

default

Returns List of RuleExecution

post/ccm/api/governance/execution/list
Request samples
application/json
{
  • "policyExecutionFilter": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Rule Execution Filter Values

Rule Execution Filter Values

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

Returns filter values for Rule Execution.

get/ccm/api/governance/execution/filter-value
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Resources/logs for a rule execution

Securityx-api-key
Request
path Parameters
ruleExecutionId
required
string
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

fileType
string

Select filetype, by default RESOURCE file will be selected

Enum: "RESOURCE" "LOG"
Responses
400

Bad Request

500

Internal server error

default

Return resources/logs for a rule execution

get/ccm/api/governance/execution/{ruleExecutionId}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return logs for a rule executionDeprecated

Securityx-api-key
Request
path Parameters
ruleExecutionId
required
string
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

Return logs for a rule execution

get/ccm/api/governance/logs/{ruleExecutionId}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return resources for a rule execution

Securityx-api-key
Request
path Parameters
ruleExecutionId
required
string
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

Return resources for a rule execution

get/ccm/api/governance/status/{ruleExecutionId}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Find last execution given rules list

Find last execution given rules list

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Request body containing list of rule ids

Array
string
Responses
400

Bad Request

500

Internal server error

default

Returns List of RuleExecutions.

post/ccm/api/governance/execution/ruleLastExecution
Request samples
application/json
[
  • "string"
]
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Governance recommendation details

Securityx-api-key
Request
path Parameters
recommendationId
required
string
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

Returns governance recommendation details.

get/ccm/api/governance/recommendation/{recommendationId}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Refresh cost for a rule execution

Securityx-api-key
Request
path Parameters
ruleExecutionId
required
string
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
202

Job enqueued to refresh cost for a rule execution

400

Bad Request

500

Internal server error

get/ccm/api/governance/execution/refreshCost/{ruleExecutionId}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}