-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add ruletype to verify if gosec is enabled in a golangci-lint configuration #245
base: main
Are you sure you want to change the base?
Conversation
…ration Signed-off-by: Juan Antonio Osorio <[email protected]>
glcilint_str := file.read(gosec_config_file) | ||
gcilintcfg := parse_yaml(glcilint_str) | ||
|
||
print(gcilintcfg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you want to leave this print
in place?
display_name: Gitlab release contains evidence | ||
short_failure_message: Release does not contain evidence |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to include this?
display_name: Gitlab release contains signature and certificate | ||
short_failure_message: Release does not contain signature and certificate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this?
@@ -0,0 +1 @@ | |||
Foo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Foo | |
This sample repository explicitly does not contain a `.golangci.yml` at all. |
Signed-off-by: Juan Antonio Osorio [email protected]