Skip to main content
POST
Create vulnerability disposition policy (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Body

application/json
disposition
enum<string>
required
Available options:
acknowledged,
accepted_risk
occurrence_id
string<uuid>
required
reason
string
required
Required string length: 1 - 2000
allow_unmatched
boolean
default:false
expire_when_fix_available
boolean
default:false
expires_at
string<date-time> | null
scope
enum<string>
default:organisation_addon

What the disposition is pinned to. organisation_addon (the default) pins the add-on the occurrence is attributed to across the organisation and needs a high-confidence attribution; namespace pins every workload in the occurrence's namespace on its cluster, across rollouts and image rebuilds; workload pins the one workload, and an occurrence on a Deployment's ReplicaSet pins the Deployment so the policy survives rollouts; image pins the image digest wherever it runs.

Available options:
organisation_addon,
namespace,
workload,
image

Response

Successful response

policy
object
required
preview
object
required