Skip to main content

List suppression rules

GET 

/code/api/v1/suppressions

Every suppression rule has a type indicating scope (aka suppression type) and details on the scope. Resources answering the scope of the suppression will not return an error on a misconfigured resource and will appear as "suppressed". The possible suppression scopes are: Policy - The entire policy is turned off. Account - Resources in specific accounts or repositories are suppressed. Tags - Resource with specific set tags are suppressed. Resources- Resource by specific IDs are suppressed.

Request

Responses

Returns all the suppressions

Schema
  • Array [
  • anyOf
    accountIds string[]required
    suppressionType stringrequired

    Possible values: [Accounts]

    policyId stringrequired
    comment stringrequired
    creationDate string
    id stringrequired
  • ]
Loading...