Skip to content

Add two options to require rule ID and justification for inline annotations#1671

Merged
ccojocar merged 1 commit into
securego:masterfrom
ccojocar:nosec_required_id_justification
May 11, 2026
Merged

Add two options to require rule ID and justification for inline annotations#1671
ccojocar merged 1 commit into
securego:masterfrom
ccojocar:nosec_required_id_justification

Conversation

@ccojocar
Copy link
Copy Markdown
Member

fixes #1662

…ations

Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
@ccojocar ccojocar deployed to security-review May 11, 2026 19:40 — with GitHub Actions Active
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

❌ Patch coverage is 78.57143% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.56%. Comparing base (e354c57) to head (5eb9c84).

Files with missing lines Patch % Lines
analyzer.go 86.84% 3 Missing and 2 partials ⚠️
cmd/gosec/main.go 0.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1671      +/-   ##
==========================================
- Coverage   80.58%   80.56%   -0.02%     
==========================================
  Files         109      109              
  Lines       10186    10207      +21     
==========================================
+ Hits         8208     8223      +15     
- Misses       1495     1498       +3     
- Partials      483      486       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ccojocar ccojocar merged commit de65614 into securego:master May 11, 2026
12 of 14 checks passed
@scop
Copy link
Copy Markdown
Contributor

scop commented May 11, 2026

Thanks!

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.

RFE: options to require rules and justfication for inline annotations

2 participants