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
For more readability it will be great to add more lines in the rule code section (like in Bandit)
{ "severity": "HIGH", "confidence": "HIGH", "rule_id": "G402", "details": "TLS InsecureSkipVerify set true.", "file": "request.go", "code": "122 //some previous code\n 123 InsecureSkipVerify: true\n 124 //...", "line": "123" }
{ "severity": "HIGH", "confidence": "HIGH", "rule_id": "G402", "details": "TLS InsecureSkipVerify set true.", "file": "request.go", "code": "InsecureSkipVerify: true", "line": "123" }
The text was updated successfully, but these errors were encountered:
We extract the code segment from the file by using the positional coordinates reported by the AST node here: https://github.com/securego/gosec/blob/master/issue.go#L107
It should be possible to add more context there.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
For more readability it will be great to add more lines in the rule code section (like in Bandit)
Steps to reproduce the behavior
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: