Skip to main content
Security & Audit/Security
POSTSecuritySince 1.0SynchronousAuth Required

ValidateRulesJSON

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

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

Body Fields

  • dataStringRequired

    Raw JSON bytes of CVE rules to validate

    Example: aGVsbG8=

Responses

200 OK

On success, this API returns the following response structure.

  • validBoolean

    Whether the submitted rules JSON is structurally valid

    Example: false

  • errorCountInteger

    Total number of validation errors found in the payload

    Example: 3

  • sampleErrorsList

    Sample error messages from validation

    Example: item1,item2

Endpoint

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

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

Operation ID

ValidateRulesJSON

Permalink

Request Example

curl -X POST '{host}/api/v1/security/cve/rules/validate' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"data":"aGVsbG8="}'

Response Example

200
{
  "valid": false,
  "errorCount": 3,
  "sampleErrors": []
}

Change History

This API has no change history records yet.

View all change history