We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63375ed commit a285a86Copy full SHA for a285a86
detect_secrets/plugins/artifactory.py
@@ -15,6 +15,8 @@ class ArtifactoryDetector(RegexBasedDetector):
15
re.compile(r'(?:(?<==|:|")|(?<=\s)|(?<=^))AKC[a-zA-Z0-9]{10,}'), # api token
16
# artifactory encrypted passwords begin with AP[A-Z]
17
re.compile(r'(?:(?<==|:|")|(?<=\s)|(?<=^))AP[\dABCDEF][a-zA-Z0-9]{8,}'), # password
18
+ # artifactory identity tokens are different (base64 encoded reftkn:) and 64 chars
19
+ re.compile(r'(?:(?<==|:|")|(?<=\s)|(?<=^))cmVmdGtuOg{54,54}'), #identity token
20
]
21
22
artifactory_url = 'na.artifactory.swg-devops.com/artifactory'
0 commit comments