Skip to content

Show, annotate, and revoke accepted audit findings #598

Closed

Description

@runkids

Follow-up from #454 (comment).

Accepted audit findings are recorded in .metadata.json under audit_accepted when an update overrides the gate (--force, answering y, or the dashboard's Force Retry). Today the record is only a list of finding keys per resource (rule, file, matched text), so users cannot tell what they accepted, when, or why, and cannot undo a single acceptance.

Requested:

  • When: show when each finding was accepted.
  • Why: allow an optional review note when accepting.
  • Revoke: remove individual acceptances, from the CLI and the dashboard.

Notes:

  • audit_accepted is map[string][]string (internal/install/metadata.go), so time and note need a schema change that still reads existing records.
  • Revoking means editing audit_accepted; today the only way is to edit .metadata.json by hand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions