Skip to main content
Security & Audit/Security

ValidateRulesJSON

Validate CVE rules JSON payload without loading it into the system.

POST/api/v1/security/cve/rules/validate

Operation ID

ValidateRulesJSON

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

  • data
    StringRequired

    Raw JSON bytes of CVE rules to validate

    Example: aGVsbG8=

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • valid
    Boolean

    Whether the submitted rules JSON is structurally valid

    Example: false

  • errorCount
    Integer

    Total number of validation errors found in the payload

    Example: 3

  • sampleErrors
    List

    Sample error messages from validation

    Example: item1,item2