forked from Checkmarx/kics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(secrets regex): added "Avoiding Secrets Manager arn" (Checkmarx#5048
- Loading branch information
1 parent
042f2d7
commit daeae25
Showing
2 changed files
with
29 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
assets/queries/common/passwords_and_secrets/test/negative48.yaml
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,25 @@ | ||
Type: AWS::Glue::Connection | ||
Properties: | ||
CatalogId: "1111111111111" | ||
ConnectionInput: | ||
ConnectionProperties: | ||
CONNECTION_URL: | ||
Fn::Join: | ||
- "" | ||
- - "mongodb://{{resolve:secretsmanager:arn:" | ||
- Ref: AWS::Partition | ||
- :secretsmanager:eu-west-1:1111111111111:secret:/test/resources/docdb-test:SecretString:endpoint::}}/test | ||
USERNAME: | ||
Fn::Join: | ||
- "" | ||
- - "{{resolve:secretsmanager:arn:" | ||
- Ref: AWS::Partition | ||
- :secretsmanager:eu-west-1:1111111111111:secret:/test/resources/docdb-test:SecretString:username::}} | ||
PASSWORD: | ||
Fn::Join: | ||
- "" | ||
- - "{{resolve:secretsmanager:arn:" | ||
- Ref: AWS::Partition | ||
- :secretsmanager:eu-west-1:1111111111111:secret:/test/resources/docdb-test:SecretString:password::}} | ||
JDBC_ENFORCE_SSL: true | ||
ConnectionType: MONGODB |