provider Security Monitoring GET /api/v2/security_monitoring/rules
@utdk/datadog /api/v2/security_monitoring/rules
List rules
List rules.
page[size] query
Size for a given page. The maximum allowed value is 100.
integer
page[number] query
Specific page number to return.
integer
query query
A search query to filter security rules. You can filter by attributes such as `type`, `source`, `tags`.
string
sort query
Attribute used to sort rules. Prefix with `-` to sort in descending order.
enum: name, creation_date, update_date, enabled…

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listsecuritymonitoringrules
GET/api/v2/security_monitoring/rules
List rules.

Size for a given page. The maximum allowed value is 100.

Specific page number to return.

A search query to filter security rules. You can filter by attributes such as `type`, `source`, `tags`.

Attribute used to sort rules. Prefix with `-` to sort in descending order.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.listsecuritymonitoringrules({
  "page[size]": 10,
  "page[number]": 0
})