Rule Sets

Rule sets serve as logical bindings on top of individual rules that help you organize and manage rules.

Update a Rule set

Update a Rule set

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Request body containing Rule Set object

object (RuleSet)

This object will contain the complete definition of a Cloud Cost Policy set

Responses
400

Bad Request

500

Internal server error

default

update a existing Rule Set

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

Add a rule Set

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Request body containing rule Set object

object (RuleSet)

This object will contain the complete definition of a Cloud Cost Policy set

Responses
400

Bad Request

500

Internal server error

default

Returns newly created rule Set

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

Delete a rule set

Delete a Rule set for the given a ID.

Securityx-api-key
Request
path Parameters
ruleSetId
required
string

Unique identifier for the rule

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

A boolean whether the delete was successful or not

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

Fetch rule sets for account

List all rule sets

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Request body containing rule set object

object (RuleSetRequest)

This has the query to list the policy packs

Responses
400

Bad Request

500

Internal server error

default

Returns List of rule sets

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