-
Notifications
You must be signed in to change notification settings - Fork 32
feat: add support for custom rules. Move rules and gitleaks logic to 2ms #367
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
dd1fa79
feat: move rules from gitleaks: target feature branch (#340)
cx-diogo-rocha 4e84238
feat: support custom rules in CLI: target feature branch (#347)
cx-diogo-rocha ee4e9e2
feat: add interface custom rules (#349)
cx-diogo-rocha f1398a3
chore: change rulename to optional in custom rules and improve README…
cx-diogo-rocha 763ebc5
Merge branch 'master' of https://github.com/Checkmarx/2ms into AST-75…
cx-diogo-rocha 4a66d1e
Fixing test after merge from main
cx-diogo-rocha d0b66c2
chore: removed ScoreParameters, Category and RuleType are now fields …
cx-diogo-rocha 4bca7fd
feat: implement hard limits for scan control and fix last-line detect…
cx-leonardo-fontes fd2c16d
fix: max findings warning (#366)
cx-leonardo-fontes ffe8d87
feat: change 2ms version to v5 and other small fixes (#364)
cx-diogo-rocha 81fb13f
Merge branch 'master' into AST-75295-custom-rules
cx-diogo-rocha b2fa4d5
Removed unnecessary test cases
cx-diogo-rocha 18c2576
Updated ignored secrets
cx-diogo-rocha b7fe66c
Removed rule remediations script
cx-diogo-rocha d8c2401
Adding omitempty to rule object
cx-diogo-rocha 00ebc5f
Fix hardcoded file name. Fix linter issue
cx-diogo-rocha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,6 @@ name: PR Validation | |
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| merge_group: | ||
|
|
||
| jobs: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,8 +5,6 @@ on: | |
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| merge_group: | ||
| schedule: | ||
| - cron: "0 0 * * *" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,6 @@ name: Validate README | |
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| merge_group: | ||
|
|
||
| jobs: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.