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

Add ruletype to verify if gosec is enabled in a golangci-lint configuration #245

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Dec 19, 2024

Signed-off-by: Juan Antonio Osorio [email protected]

@JAORMX JAORMX requested a review from a team as a code owner December 19, 2024 15:56
glcilint_str := file.read(gosec_config_file)
gcilintcfg := parse_yaml(glcilint_str)

print(gcilintcfg)
Copy link
Member

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?

Comment on lines +5 to +6
display_name: Gitlab release contains evidence
short_failure_message: Release does not contain evidence
Copy link
Member

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?

Comment on lines +5 to +6
display_name: Gitlab release contains signature and certificate
short_failure_message: Release does not contain signature and certificate
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Foo
This sample repository explicitly does not contain a `.golangci.yml` at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants