Skip to main content
POST
Canonicalise and format 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

Response

Canonical formatted source.

format
object
required