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

Authorizations

ankra_session
string
cookie
required

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

Body

application/json
occurrence_id
string<uuid>
required
disposition
enum<string>
required
Available options:
acknowledged,
accepted_risk
expire_when_fix_available
boolean | null
expires_at
string<date-time> | null
policy_id
string<uuid>
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

affected_addons
integer
required
affected_clusters
integer
required
affected_findings
integer
required
affected_occurrences
integer
required
exclusions
object
required
observed_to_actionable_delta
object
required
overlaps
object[]
required
policy_id
string<uuid> | null
required
selector
object
required
selector_hash
string
required