Skip to content

Design proposal: Dismiss vulnerability (API + GitOps docs)#45651

Draft
justinehg wants to merge 2 commits into
fleetdm:mainfrom
justinehg:docs/dismiss-vulnerability-design
Draft

Design proposal: Dismiss vulnerability (API + GitOps docs)#45651
justinehg wants to merge 2 commits into
fleetdm:mainfrom
justinehg:docs/dismiss-vulnerability-design

Conversation

@justinehg
Copy link
Copy Markdown

Design-stage draft PR. Submitted as part of the Product Designer design challenge.

Proposes the documentation for a new dismiss vulnerability feature: a way for security engineers to hide evaluated CVEs from active reports while preserving the audit trail.

The full design lives in the companion Figma file. This PR captures only the API + GitOps surface.

Companion artifacts

Changes

docs/REST API/rest-api.md — extends the existing ## Vulnerabilities section:

  • New Dismiss vulnerability endpoint (POST /api/v1/fleet/vulnerabilities/:cve/dismiss)
  • New Restore vulnerability endpoint (POST /api/v1/fleet/vulnerabilities/:cve/restore)
  • Adds status and dismissed_by query params to List vulnerabilities
  • Adds dismissed and dismissal fields to List and Get response objects

docs/Configuration/yaml-files.md — adds new top-level ## vulnerabilities section:

  • spec.vulnerabilities.dismissed[] schema (mirrors the API one-to-one)
  • GitOps conflict resolution (GitOps wins on next sync)
  • Premium gating for mode: on_cvss_increase
  • Admin role requirement for mode: never

justinehg added 2 commits May 14, 2026 23:59
Proposes new REST API surface for dismissing vulnerabilities, as part of the Product Designer design challenge.

Changes to `docs/REST API/rest-api.md` in the `## Vulnerabilities` section:

- Adds `POST /api/v1/fleet/vulnerabilities/:cve/dismiss`
- Adds `POST /api/v1/fleet/vulnerabilities/:cve/restore`
- Adds `status` and `dismissed_by` query params to `List vulnerabilities`
- Adds `dismissed` / `dismissal` fields to `List` and `Get` response objects
- Updates section TOC
Companion to the API endpoints in the previous commit. Proposes the GitOps YAML schema for managing vulnerability dismissals as code.

Changes to `docs/Configuration/yaml-files.md`:

- Adds new `## vulnerabilities` top-level section
- Documents `dismissed[]` list with `cve`, `reason`, `re_evaluate`, `scope` fields
- Documents `path:` / `paths:` support consistent with policies, reports, labels
- Notes GitOps conflict resolution (GitOps wins on next sync)
- Notes Premium gating for `mode: on_cvss_increase`
- Notes admin role requirement for `mode: never`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant