provider Security Monitoring PATCH /api/v2/security/vulnerabilities/notification_rules/{id}
@utdk/datadog /api/v2/security/vulnerabilities/notification_rules/{id}
Patch a vulnerability-based notification rule
Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
id path required
ID of the notification rule.
string

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.

patchvulnerabilitynotificationrule
PATCH/api/v2/security/vulnerabilities/notification_rules/{id}
Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.

Parameters

required

ID of the notification rule.

Input

Data of the notification rule patch request: the rule ID, 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.patchvulnerabilitynotificationrule()