Skip to main content

Risk Acceptance

Overview​

Risk Acceptance allows you to formally acknowledge that certain security controls are not detected — and that this is an accepted risk rather than a gap to fix.

Accepting Risk​

  1. In Analytics → All Executions, find the unprotected test, control or stage
  2. Select Accept risk in its detail panel, or tick several runs and use Accept risk in the bulk bar
  3. Choose the scope using the toggle:
    • All Hosts (default) — excludes the test/control from Defense Score across the entire organization
    • This Host Only — scopes the exclusion to the specific hostname where the failure occurred
  4. Provide a justification (required, at least 10 characters)
  5. The control is marked as "Risk Accepted" and excluded from the Defense Score calculation

Risk Acceptances tab — accepted controls with scope, justification, who accepted them, and a revoke action

Audit Trail​

All risk acceptance decisions are tracked with:

  • Who accepted the risk (Clerk user ID)
  • When the decision was made
  • Why (the justification provided)

Revoking Acceptance​

Risk acceptance can be revoked at any time, from the result or from the Risk Acceptances tab. A reason of at least 10 characters is required. Revoking returns the control to the "Unprotected" category and recalculates the Defense Score.

Accepting and revoking need the analytics:risk:write permission.

Acceptance Scope​

The Accept Risk dialog provides a scope toggle with two options:

ScopeBehaviorExample Use Case
All Hosts (global)Excludes the test/control from Defense Score across all endpointsA test that triggers false positives everywhere, or a CIS control that conflicts with business requirements
This Host Only (host)Excludes only on the specific hostname where the failure occurredA legacy server that cannot be patched, while other endpoints should still be tracked

The hostname is always stored for audit trail regardless of scope. When choosing scope, prefer This Host Only unless the business justification applies organization-wide.

Legacy Records

Risk acceptances created before the scope toggle was added fall back to current behavior: records with a hostname are treated as host-scoped, records without are treated as global.

Risk Scoring Model​

Accepted risks are excluded from the Defense Score calculation through an Elasticsearch exclusion filter. The flow works as follows:

The exclusion filter generates Elasticsearch must_not clauses that match the test_name, control_id, and hostname fields of each active acceptance. This means:

  • Accepted tests no longer count as "Unprotected" in the Defense Score
  • The Defense Score ledger shows how many test × endpoint pairs are excluded (Risk-accepted) and the score without the exclusions (Actual)
  • The Outcome breakdown card leaves accepted pairs out and says how many ("N risk-accepted pairs not counted")
Performance

Active acceptances are cached in memory for 60 seconds to avoid hitting Elasticsearch on every Defense Score query. The cache is automatically invalidated when a new acceptance is created or revoked.

Where accepted risks show​

Accepted risks stay visible, so an exclusion never hides a gap silently:

PlaceWhat it shows
All ExecutionsA Revoke button in place of Accept risk on the affected result. Hover it for the justification and who accepted the risk
Risk Acceptances tabEvery acceptance with its scope, justification and who accepted it. The tab shows the number of active acceptances
Defense Score ledgerRisk-accepted: N excluded, and the Actual score before exclusions
Trend OverviewA dashed Actual Score line while acceptances are active
Execution report (PDF)The accepted risks in scope, for users allowed to read them, and the score before accepted risks

Acceptance Workflow​

The full lifecycle of a risk acceptance:

Data Model​

Each risk acceptance is stored as an immutable document in the achilles-risk-acceptances Elasticsearch index:

FieldTypeDescription
acceptance_idkeywordUnique UUID
test_namekeywordSecurity test name
control_idkeywordBundle control ID (optional)
hostnamekeywordTarget hostname (always stored for audit)
scopekeywordglobal (all hosts) or host (this host only)
justificationtextBusiness justification (required)
accepted_bykeywordClerk user ID
accepted_by_namekeywordDisplay name
accepted_atdateISO timestamp
statuskeywordactive or revoked
revoked_atdateRevocation timestamp (if revoked)
revoked_bykeywordRevoker user ID (if revoked)
revoked_by_namekeywordRevoker display name (if revoked)
revocation_reasontextReason for revocation (if revoked)
Immutable Records

Revoking an acceptance does not delete the original record. Instead, the document is updated with status: 'revoked' and the revocation metadata fields are populated. This preserves the complete audit trail for compliance reporting.

Audit Trail​

The audit trail captures every risk decision with full context:

  • Who accepted or revoked the risk (Clerk user ID and display name)
  • When the action was taken (ISO timestamp)
  • What was accepted (test name, control ID, hostname)
  • Why the decision was made (justification or revocation reason)

Use the Risk Acceptances table in the Analytics dashboard to review all active and historical acceptances. Filter by status: active, revoked or all.