-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor / additional flag autoGenerateIamPermissions
- remove CreationType (Single, Multi) - replace with ResourceType (PARAMETER_MULTI) and move it to properties fixes: #1076 - add property 'autoGenerateIamPermissions' fixes: #1087 - add property 'role' for SopsSyncProvider fixes: #1087 - move resourceType from syncOptions to syncProperties, as it shouldn't be set by users - move permissionhandling to own functions, to reduce cyclomatic compexity
- Loading branch information
1 parent
1e69765
commit b466435
Showing
19 changed files
with
428 additions
and
344 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
[extend] | ||
useDefault = true | ||
|
||
[[rules]] | ||
id = "generic-api-key" | ||
# all the other attributes from the default rule are inherited | ||
|
||
[[rules.allowlists]] | ||
regexTarget = "line" | ||
regexes = [ | ||
'''objectKey''', | ||
'''S3Key''', | ||
'''SopsAgeKey''', | ||
'''s3Key''', | ||
] | ||
|
||
[[rules]] | ||
id = "private-key" | ||
|
||
[[rules.allowlists]] | ||
regexTarget = "line" | ||
regexes = [ | ||
'''(.*)OAdqlMznWINBDoyR\+PESgQJlUptwnh(.*)''', | ||
] | ||
|
||
[allowlist] | ||
description = "global allow list" | ||
paths = [ | ||
'''\.gitleaks\.toml''', | ||
'''lambda/events/(.*?)json''', | ||
'''lambda/__snapshots__/(.*?)snap''', | ||
'''test-secrets/(.*?)(json|yaml|yml|env|binary)''', | ||
'''test/(.*)\.integ\.snapshot/(.*?)json''' | ||
] | ||
|
||
regexTarget = "match" | ||
regexes = [ | ||
'''AGE-SECRET-KEY-1EFUWJ0G2XJTJFWTAM2DGMA4VCK3R05W58FSMHZP3MZQ0ZTAQEAFQC6T7T3''', | ||
] | ||
|
This file contains 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 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 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 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 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 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 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.