---
title: "Get all suppression rules"
method: GET
path: "/api/v2/security_monitoring/configuration/suppressions"
tags: ["Security Monitoring"]
---

# Get all suppression rules

`GET /api/v2/security_monitoring/configuration/suppressions`

Get the list of all suppression rules.

## Query parameters

- `query` string
- `sort` 'name' | 'start_date' | 'expiration_date' | 'update_date' | 'enabled' | '-name' | '-start_date' | '-expiration_date' | '-update_date' | '-creation_date' | '-enabled' — The sort parameters used for querying suppression rules.
- `page[size]` integer
- `page[number]` integer

## Response `200`

OK

- SecurityMonitoringPaginatedSuppressionsResponse — Response object containing the available suppression rules with pagination metadata.
  - `data` SecurityMonitoringSuppression[] — A list of suppressions objects.
    - `attributes` SecurityMonitoringSuppressionAttributes — The attributes of the suppression rule.
      - `creation_date` integer — A Unix millisecond timestamp given the creation date of the suppression rule.
      - `creator` SecurityMonitoringUser — A user.
        - `handle` string — The handle of the user.
        - `name` string, nullable — The name of the user.
      - `data_exclusion_query` string — An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule.
      - `description` string — A description for the suppression rule.
      - `editable` boolean — Whether the suppression rule is editable.
      - `enabled` boolean — Whether the suppression rule is enabled.
      - `expiration_date` integer — A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore.
      - `name` string — The name of the suppression rule.
      - `rule_query` string — The rule query of the suppression rule, with the same syntax as the search bar for detection rules.
      - `start_date` integer — A Unix millisecond timestamp giving the start date for the suppression rule. After this date, it starts suppressing signals.
      - `suppression_query` string — The suppression query of the suppression rule. If a signal matches this query, it is suppressed and not triggered. Same syntax as the queries to search signals in the signal explorer.
      - `tags` string[] — List of tags associated with the suppression rule.
      - `update_date` integer — A Unix millisecond timestamp given the update date of the suppression rule.
      - `updater` SecurityMonitoringUser — A user.
        - `handle` string — The handle of the user.
        - `name` string, nullable — The name of the user.
      - `version` integer — The version of the suppression rule; it starts at 1, and is incremented at each update.
    - `id` string — The ID of the suppression rule.
    - `type` 'suppressions' — The type of the resource. The value should always be `suppressions`.
  - `meta` SecurityMonitoringSuppressionsMeta — Metadata for the suppression list response.
    - `page` SecurityMonitoringSuppressionsPageMeta — Pagination metadata.
      - `pageNumber` integer — Current page number.
      - `pageSize` integer — Current page size.
      - `totalCount` integer — Total count of suppressions.

## Other responses

- `403` — Not Authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
