provider Security Monitoring POST /api/v2/security/vulnerabilities/notification_rules
@utdk/datadog /api/v2/security/vulnerabilities/notification_rules
Create a new vulnerability-based notification rule
Create a new notification rule for security vulnerabilities and return the created rule.

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.

createvulnerabilitynotificationrule
POST/api/v2/security/vulnerabilities/notification_rules
Create a new notification rule for security vulnerabilities and return the created rule.

Input

Data of the notification rule create request: the rule type, and the rule attributes. All fields are required.

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.createvulnerabilitynotificationrule()