forked from ferchosur/Practica-DevSecOps-HackLab
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix fetch-depth #3
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
7 commits
Select commit
Hold shift + click to select a range
06a0323
Fix fetch-depth
kerobero b883d20
Force clean
kerobero 4c45be7
Create .gitleaks.toml
kerobero 8657dc2
Test permisssions for gitleaks
kerobero 1ef91e8
Add .gitleaksignore
kerobero ac166c0
Minor fixes
kerobero 18a8f28
Minor fixes
kerobero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| title = "gitleaks config" | ||
|
|
||
| [extend] | ||
| useDefault = true | ||
|
|
||
| [[rules]] | ||
| description = "AWS Access Key" | ||
| id = "aws-access-key" | ||
| regex = '''AKIA[0-9A-Z]{16}''' | ||
| tags = ["key", "AWS"] | ||
|
|
||
| [[rules]] | ||
| description = "AWS Secret Key" | ||
| id = "aws-secret-key" | ||
| aregex = '''([^A-Za-z0-9/+=]{0,20}[A-Za-z0-9/+=]{40})?''' | ||
| tags = ["key", "AWS"] | ||
|
|
||
| [[rules]] | ||
| description = "Generic API Key" | ||
| id = "generic-api-key" | ||
| regex = '''key|token|secret|password.*=.*['\"][0-9a-zA-Z]{20,45}['\"]''' | ||
| tags = ["key", "API"] | ||
|
|
||
| [[rules]] | ||
| description = "Private Key" | ||
| id = "private-key" | ||
| regex = '''-----BEGIN (RSA|DSA|EC|OPENSSH|PGP) PRIVATE KEY-----''' | ||
| tags = ["key", "private"] | ||
|
|
||
| [[rules]] | ||
| description = "Password in URL" | ||
| id = "password-in-url" | ||
| regex = '''[a-zA-Z]{3,10}://[^/\\s:@]{3,20}:[^/\\s:@]{3,20}@.{1,100}["'\s]''' | ||
| tags = ["password", "URL"] | ||
|
|
||
| [[rules]] | ||
| description = "Slack Token" | ||
| id = "slack-token" | ||
| regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?''' | ||
| tags = ["key", "Slack"] |
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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Ignore specific patterns in JSON files | ||
| **/*.json:prisidio_xapikey | ||
|
|
||
| # Ignore specific values in JSON files | ||
| **/*.json:{"prisidio_xapikey": "*"} | ||
|
|
||
| # Ignore specific pattern | ||
| *.toml | ||
| .gitleaksignore |
This file was deleted.
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.