Skip to main content

Get suppressions justifications by policy id and query accounts



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


Path Parameters

    policyId stringrequired

Query Parameters

    accounts string[]required


Suppression ID

  • Array [
  • anyOf
    comment stringrequired
    creationDate string
    id stringrequired
    policyId stringrequired
    resources string[]required
    suppressionType stringrequired

    Possible values: [Resources]

    type stringrequired
  • ]