We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Doesn't seem to work to pass a single -include
-include
$ gosec -include=G115 ./... [gosec] 2024/09/19 10:06:50 Including rules: G115 [gosec] 2024/09/19 10:06:50 Excluding rules: default [gosec] 2024/09/19 10:06:50 No rules are configured
2.21.3
go version go1.22.7 darwin/arm64
macOS
runs G115 scan
No rules are configured
Also tried
$ gosec -include=G115 --exclude="" ./... [gosec] 2024/09/19 10:10:27 Including rules: G115 [gosec] 2024/09/19 10:10:27 Excluding rules: default [gosec] 2024/09/19 10:10:27 No rules are configured
which btw I think is... wrong too... should say Excluding rules: none or some such ?
and to check I don't have a typo:
$ gosec 2>&1 |grep G115 G115: Type conversion which leads to integer overflow
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
Doesn't seem to work to pass a single
-include
Steps to reproduce the behavior
gosec version
2.21.3
Go version (output of 'go version')
go version go1.22.7 darwin/arm64
Operating system / Environment
macOS
Expected behavior
runs G115 scan
Actual behavior
No rules are configured
Also tried
which btw I think is... wrong too... should say Excluding rules: none or some such ?
and to check I don't have a typo:
The text was updated successfully, but these errors were encountered: