Overview

Suppression rules in Aqua Supply Chain Security reduce noise from accepted or context-specific findings. Suppressions scope to repositories, branches, and individual findings. 


Understanding whether a rule follows content fingerprints or fixed line numbers is essential when the same file differs across branches or when developers insert lines above a previously suppressed issue.


Understanding Suppression Matching

Aqua matches many code findings (SAST, sensitive data, and vulnerability-scoped suppressions) using finding signatures or fingerprints tied to the issue type—for example a CVE identifier, secret type, or rule identity—not only a static line integer.


Scenario

Expected behavior (fingerprint-based rule)

Same file on another branch at a different line number

Suppression still applies when path and finding signature match

New lines added above the original finding

Suppression follows the flagged code; it does not suppress unrelated code on the old line

Repository-wide scope, no branch condition

Rule applies across all branches unless scoped to a specific branch


Branch matters only when the suppression explicitly limits scope to one branch.


UI: “Apply Rule to This Specific Instance Only”

When suppressing from the Aqua UI, choosing Apply rule to this specific instance only still creates a fingerprint-based suppression for checks such as CVEs, sensitive data detections, or SAST rules. The UI may reference a file and line for context, but the durable match is tied to the finding identity (for example CVE number or secret type), not a line number alone.


Because every suppression is created in the context of a specific check, pure line-number-only suppressions are not supported in current Supply Chain Security workflows.


Best Practices

  1. Prefer repository scope when the same acceptance applies on every branch.

  2. After large refactors, spot-check that suppressed findings remain suppressed on the moved code block.

  3. Use explicit branch scope only when policy differs per branch.

  4. Document suppressions with business justification for auditability.

Verification

  1. Create a repository-scoped suppression for a known finding on branch main.

  2. Merge equivalent code to another branch at a different line; rescan and confirm the finding stays suppressed.

  3. Insert harmless lines above the code block; confirm suppression follows the original issue and does not hide new issues on the vacated line.


Platform Coverage

  • Component: Suppressions, Supply Chain Security

  • Platform: Aqua SaaS