We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63375ed commit 4ad9d40Copy full SHA for 4ad9d40
1 file changed
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