Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor how ignored issues are tracked #1043

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

ccojocar
Copy link
Member

Track ignored issues using file location instead of a AST node. There are issues linked to a different AST node than the original node used to start the scan.

fixes #1041

Track ignored issues using file location instead of a AST node. There are issues linked to a different AST node than the original node used to start the scan.

Signed-off-by: Cosmin Cojocar <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (f338a98) 72.35% compared to head (940bc27) 72.30%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1043      +/-   ##
==========================================
- Coverage   72.35%   72.30%   -0.05%     
==========================================
  Files          50       50              
  Lines        3389     3394       +5     
==========================================
+ Hits         2452     2454       +2     
- Misses        865      868       +3     
  Partials       72       72              
Files Coverage Δ
analyzer.go 87.50% <96.66%> (+0.06%) ⬆️
issue/issue.go 0.00% <0.00%> (ø)

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

@ccojocar ccojocar merged commit 0ec6cd9 into securego:master Oct 13, 2023
6 checks passed
@ccojocar ccojocar deleted the refactor-ignore branch May 13, 2024 16:18
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.

Regression of '#nosec' handling in SQL rule
3 participants