Skip to main content
PATCH
Update a rule owned by the active account.

Authorizations

X-API-Key
string
header
required

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

Path Parameters

rule_uuid
string<uuid>
required

Body

application/json
expected_revision
integer<int64>
required
Required range: x >= 1
category_slugs
string[]
Maximum array length: 50
Required string length: 1 - 100
Pattern: ^[a-z0-9][a-z0-9-]{0,99}(/[a-z0-9][a-z0-9-]{0,99})*$
classification
enum<string>
Available options:
benign,
suspicious,
malicious
description
string
Maximum string length: 4000
enabled
boolean
input_kind
enum<string>
Available options:
scan_result,
certificate_event
name
string
Required string length: 1 - 200
source
string
Required string length: 1 - 1048576
tag_uuids
string<uuid>[]
Maximum array length: 100

Response

Updated rule.

rule
object
required