Skip to main content

updateCveNotificationSettings

Mutation

Replaces your org's CVE notification settings (whether notifications are on, the email recipients, the minimum severity and which events notify) and returns them as saved. Every field is replaced, so send the complete settings, e.g. those from cveNotificationSettings with your changes. Once saved, the defaults no longer apply (isDefault becomes false), and updatedAt and updatedBy record the change.

updateCveNotificationSettings(settings: CVENotificationSettingsInput): CVENotificationSettings

Arguments​

ArgumentTypeDefaultDescription
settingsCVENotificationSettingsInputThe complete new settings. isDefault, updatedAt and updatedBy are set by the server; values sent for them are ignored.

Returns​

CVENotificationSettings: Who your org notifies by email about its CVE findings, and for which events.

Example​

Request
mutation UpdateCveNotificationSettings($settings: CVENotificationSettingsInput) {
updateCveNotificationSettings(settings: $settings) {
enabled
isDefault
minSeverity
notifyDispositionChange
notifyNewCve
notifyReopened
notifyScanComplete
recipients
updatedAt
updatedBy
}
}