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

Implement Dry Run Feature #257

Merged
merged 2 commits into from Dec 21, 2021
Merged

Conversation

hi-artem
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The following PR addresses #254. Implementation is based on the logic proposed by @schosterbarak here.

Copy link
Contributor

@nimrodkor nimrodkor left a comment

Choose a reason for hiding this comment

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

@hi-artem Very, very nice!
Just looking for a test on the negative case and we'll merge.

Thanks!

src/common/clioptions/cli_test.go Outdated Show resolved Hide resolved
@nimrodkor
Copy link
Contributor

Yes, @hi-artem , that's fine. It seems the scanner doesn't pick up our suppressions 1 line before. We'll fix it soon

@hi-artem
Copy link
Contributor Author

Yes, @hi-artem , that's fine. It seems the scanner doesn't pick up our suppressions 1 line before. We'll fix it soon

Copy that! Thank you

@hi-artem
Copy link
Contributor Author

@nimrodkor i digged a little, and gosec is failing due to this issue securego/gosec#743

We can add space between comment and annotation in the affected files to make the test pass.

@hi-artem
Copy link
Contributor Author

Actually, it is even to simply change the order of annotations and comments #258

@nimrodkor nimrodkor merged commit a9cbb71 into bridgecrewio:main Dec 21, 2021
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.

None yet

2 participants