Skip to main content
Skip table of contents

Hiding false positives, revoked credentials, etc.

Sometimes, Security for Bitbucket will find vulnerabilities which are false positives, credentials which have already been revoked, etc. If this happens, you can review the finding. This marks the finding, as well as any other findings which exactly match it, as reviewed in the current and future scans. This feature is available from the Repository-level Scan Report.

In the global dashboard, Reviewed findings are not counted towards the total vulnerability count when determining whether a repository is secure.

Marking findings as reviewed only applies to committed content. When introducing a new false positive, it is preferable to allowlist each false positive with an inline pragma in the commit which introduces it.

Reviewing a finding from the Scan Report

Open the finding that you want to review, and click on the “Mark reviewed” button to open the confirmation window:

Marking a finding as reviewed saves the exact string captured by the rule (in this case, example_api_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX). That exact string will be marked as reviewed for all existing and future scans.

Once reviewed, the finding can be shown again with the “Show reviewed” toggle, where it can be unmarked.

Note that reviewed vulnerabilities are scoped to a repository – identical findings across multiple repositories must be reviewed separately.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.