Update suppression by policy id and suppression id

Bridgecrew 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.
Visit Bridgecrew documentation for more information here (https://docs.bridgecrew.io/docs/suppress ).

To use the API request, add your token to the header.

Use this API function to update an existing Bridgecrew Suppression rule for the given policyId and suppressionId mentioned in the path.
The input includes comment (Justification for such rule), SuppressionType (Resources (by default), Accounts, Policy OR Tags)
and expirationTime (in Unix epoch time).

  • for Resources - resources - array of { id, accountId }
  • for Accounts - accountIds - array of strings
  • for Policy - nothing
  • for Tags - tags - array of { key, value }
    The output will be -
  • Success - 200, suppressionId
  • Error - 400, Couldn't update suppression ${suppressionId}

Use the example below as a reference for configuring the API request body for saving new suppression rules.

Click Try It! to start a request and see the response here!