The first scans (#340) reported 651 findings across 33 repositories; about 20 were real. The rest have no way out except nosemgrep comments or rewrites in each repository, which every user of the instance would have to repeat.
- Rules for a library apply only where it is used. Findings from opengrep-rules' library directories (
python/django,python/flask,python/requests,javascript/jquery,typescript/react/portability/i18next, …) are dropped when the scanned commit's manifests do not name the library;yaml/semgreplints apply only to repositories that author rules. Counted, not hidden: status says how many were left out and why. - Dismissal.
repo security dismiss <owner/name> <fingerprint>… --reason false-positive|wont-fix|test,repo security reopen. Stored by fingerprint, so it survives line moves; the issue lists open findings only and closes when none are left. - Repository settings.
repo settings security-ignore(path globs, assecret-scan-allow) andsecurity-exclude-rule(a rule id or family). Paths markedlinguist-vendoredorlinguist-generatedin.gitattributesare ignored without configuration. - Fingerprints keep distinct hits apart. The fingerprint leaves out the line, so every hit of one rule in one file with the same message collapses into one finding: the issue undercounts, and fixing the listed hit surfaces the next. Use the tool's own fingerprint when the SARIF has one, otherwise the matched snippet and an occurrence index.
closed by cmc in commit 96f3442ce1: Code scanning sets aside what does not apply; dismissals
2026-11-01 06:09 UTC