GET /api/v1/postureExceptionPolicy

GET /api/v1/postureExceptionPolicy

Returns exception object or list of objects

Query params

  • customerGUID - required
    • Returns list of all policies of the given customer
  • policyName
  • policyGUID
  • list - return just list of names of exceptions of current customer

Get all exceptions of the customer

/api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7

Get filtered exceptions of the customer
  • /api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&scope.cluster=cluster-name&scope.namespace&posturePolicies.frameworkName=NSA
  • /api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7?name=exceptionPolicyName

Get specific policy

/api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&policyName=reg-policy1
/api/v1/postureExceptionPolicy?customerGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7&policyGUID=31fb54a9-6e8f-4289-8506-f4e875ac19f7

Response body object

Exception object as described above