Skip to main content
Security & Audit/Security

ImportCVERules

Import CVE vulnerability rules into the system for scanning.

POST/api/v1/security/cve-rules/import

Operation ID

ImportCVERules

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Body Fields

  • rules
    ListRequired

    List of CVE rules to import into the system

    Example: (nested array)

    • cveId
      String

      CVE identifier in standard format

      Example: CVE-2021-44228

    • severity
      String

      Severity level of the vulnerability

      Example: CVE_SEVERITY_UNSPECIFIED

    • cvssScore
      Long

      CVSS base score for this vulnerability

      Example: 9.8

    • description
      String

      Human-readable description of the vulnerability

      Example: Remote code execution via Log4Shell

    • affectedPackages
      List

      List of packages affected by this CVE rule

      Example: (nested array)

      • name
        String

        Package name affected by the CVE vulnerability

        Example: openssl

      • affectedVersionsRange
        String

        Version range expression describing affected versions

        Example: >=1.0.0,<1.1.1l

      • fixVersion
        String

        Version in which the vulnerability is fixed

        Example: 1.1.1l

    • fixVersion
      String

      Version that resolves this CVE

      Example: 2.17.0

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • imported
    Integer

    Number of CVE rules successfully imported

    Example: 500