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

feat: custom regex rule #102

Merged
merged 10 commits into from
Jun 23, 2023
Merged

feat: custom regex rule #102

merged 10 commits into from
Jun 23, 2023

Conversation

SHA65536
Copy link
Contributor

Closes #98

Proposed Changes

  • Add a --regex flag on the main command to let the user supply a custom regex rule

I tested this with the filesystem plugin, but did not try with other plugins, would love if someone could test

I submit this contribution under the Apache-2.0 license.

Copy link
Contributor

@baruchiro baruchiro left a comment

Choose a reason for hiding this comment

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

Clean and Simple 😁

cmd/main.go Outdated Show resolved Hide resolved
cmd/main.go Show resolved Hide resolved
cmd/main.go Outdated Show resolved Hide resolved
secrets/secrets.go Outdated Show resolved Hide resolved
@baruchiro baruchiro requested a review from jossef June 22, 2023 08:02
secrets/secrets.go Outdated Show resolved Hide resolved
secrets/secrets.go Outdated Show resolved Hide resolved
@jossef jossef changed the title feat: Custom Regex Rule feat: custom regex rule Jun 23, 2023
@jossef
Copy link
Member

jossef commented Jun 23, 2023

assigning @baruchiro to resolve his comments and merge if lgtm
thanks @SHA65536

cmd/main.go Fixed Show fixed Hide fixed
cmd/main.go Fixed Show fixed Hide fixed
@baruchiro baruchiro merged commit ac4f75a into Checkmarx:master Jun 23, 2023
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.

dynamic custom regex rule specified by user argument
4 participants