Mutation APIs

POST /api/v1/postureExceptionPolicy

Create new exception

Query params

  • customerGUID - required
  • recommendationGUID - mark this recommendation as solved

Request body object

Exception object as described above

Response body object

Exception object as described above

PUT /api/v1/postureExceptionPolicy

Updating existing exception

Query params

  • customerGUID - required

Request body object

Exception object as described above

Response body object

Exception object as described above

DELETE /api/v1/postureExceptionPolicy

Deleting existing exception

Query params

  • customerGUID - required
  • policyName
    • Can appear multiple times to delete multiple policies
  • policyGUID
    • Can appear multiple times to delete multiple policies

DELETE multiple exceptions

/api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&policyName=reg-policy1&policyName=bas-policy2
/api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&policyGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&policyGUID=c62a6397-4777-4410-949e-d99c2efb1f79