PUT
Replace a runtime response policy

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
Maximum string length: 200
action
enum<string>
required
Available options:
kill_pod,
isolate_network,
scale_to_zero,
quarantine_label
mode
enum<string>
required
Available options:
auto,
approval
cluster_id
string<uuid>

Absent: every cluster.

categories
enum<string>[]
Available options:
crypto_mining,
reverse_shell,
execution,
container_escape,
credential_access,
privilege_escalation,
persistence,
drift,
package_management,
defense_evasion,
discovery,
unexpected_outbound
rule_ids
string[]

Curated rule ids (runtime. in the check catalogue, without the prefix).

min_severity
enum<string>
default:high
Available options:
low,
medium,
high,
critical
exclude_namespaces
string[]
dry_run
boolean
default:true
enabled
boolean
default:true

Response

The stored policy.