Skip to content

Scan report output can overwrite its selected suppression baseline #984

Open

Description

@chrisknvidia

When a scan reads a suppression baseline and writes its report to the same path, the report replaces the baseline and the command exits successfully. Reusing that file loses the saved suppressions.

Reproduced on e14c450b260958ed3ebd83c94c09c4b093e3e656 with explicit JSON/SARIF output and the selected shipped baseline. A separate output path preserves the baseline.

Expected: reject a report destination that would overwrite the selected baseline before scanning, while preserving stdout, explicit baseline precedence, separate outputs and intentional baseline generation.

Activity

  1. self-assigned this
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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