Skip to main content
POST
Validate authored rule source without saving it.

Authorizations

X-API-Key
string
header
required

Infrawatch API key. Supply the complete key directly as the header value.

Body

application/json
source
string
required
Required string length: 1 - 1048576
input_kind
enum<string>

Omit to infer the input kind from the parsed rule source.

Available options:
scan_result,
certificate_event
name
string

Optional analyst-facing label; the rule identifier in source is used when omitted.

Required string length: 1 - 200

Response

Validation result.

validation
object
required