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
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.

Configure credentials above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.createvulnerabilitynotificationrule()