Skip to main content

Get Suppressions Justifications by Policy ID and Query Accounts

GET 

/code/api/v1/suppressions/:policyId/justifications

Prisma Cloud Application Security supports advanced Suppression rule settings in order to make policy management easier by dismissing or snoozing errors (using time-bounded suppression rules) that are irrelevant in your cloud and code environments. Suppression can be applied at various levels: for all cases (Disable Policy), for a specific Source, for a Specific Resource or by tag.

To use the API request, add your token to the header. Use this API function to fetch details of Prisma Cloud Application Security Suppressions that have been set for the given policyId and accounts (array of strings) mentioned in the path. The output will be -

  • success - 200, array of objects { id, policyId, creationDate, comment, suppressionType (Resources, Policy, Tags, Accounts), resources (array of strings, for suppressionType Resources), accountIds (array of string, for suppressionType Accounts), tags (array of objects { id, accountId } for suppressionType Tags)
  • error - 400 failed to get suppression

Request

Responses

Suppression ID