ImportCVERules
Import CVE vulnerability rules into the system for scanning.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
rulesListRequiredList of CVE rules to import into the system
Example: (nested array)
cveIdStringCVE identifier in standard format
Example: CVE-2021-44228
severityStringSeverity level of the vulnerability
Example: CVE_SEVERITY_UNSPECIFIED
cvssScoreLongCVSS base score for this vulnerability
Example: 9.8
descriptionStringHuman-readable description of the vulnerability
Example: Remote code execution via Log4Shell
affectedPackagesListList of packages affected by this CVE rule
Example: (nested array)
nameStringPackage name affected by the CVE vulnerability
Example: openssl
affectedVersionsRangeStringVersion range expression describing affected versions
Example: >=1.0.0,<1.1.1l
fixVersionStringVersion in which the vulnerability is fixed
Example: 1.1.1l
fixVersionStringVersion that resolves this CVE
Example: 2.17.0
Responses
Endpoint
POST/api/v1/security/cve-rules/import
/api/v1/security/cve-rules/import
Request Example
curl -X POST '{host}/api/v1/security/cve-rules/import' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"rules":"(nested array)"}'
Response Example
200{
"imported": 500
}Change History
This API has no change history records yet.
