Reintroduce password and change `definition` to regex
-apiVersion: v1
rules:
- - definition: -----BEGIN [A-Z]+ PRIVATE KEY( BLOCK)?-----
+ - regex: -----BEGIN [A-Z]+ PRIVATE KEY( BLOCK)?-----
category: crypto_key
description: private key
- - definition: EAACEdEose0cBA[0-9A-Za-z]+
+ - regex: EAACEdEose0cBA[0-9A-Za-z]+
category: token
description: fb access token
- - definition: '[0-9]+-[0-9A-Za-z_]{32}\.apps\.googleusercontent\.com'
+ - regex: '[0-9]+-[0-9A-Za-z_]{32}\.apps\.googleusercontent\.com'
category: token
description: google token
- - definition: AKIA[0-9A-Z]{16}
+ - regex: AKIA[0-9A-Z]{16}
category: token
description: amazon token
- - definition: '[0-9a-fA-F]{7}\.[0-9a-fA-F]{32}'
+ - regex: '[0-9a-fA-F]{7}\.[0-9a-fA-F]{32}'
category: token
description: instagram token
- - definition: '[1-9][0-9]+-[0-9a-zA-Z]{40}'
+ - regex: '[1-9][0-9]+-[0-9a-zA-Z]{40}'
category: token
description: twitter access token
- - definition: '[A-Za-z0-9_]{21}--[A-Za-z0-9_]{8}'
+ - regex: '[A-Za-z0-9_]{21}--[A-Za-z0-9_]{8}'
category: token
description: GCP API key
- - definition: 'xox.-[0-9]{12}-[0-9]{12}-[0-9a-zA-Z]{24}'
+ - regex: 'xox.-[0-9]{12}-[0-9]{12}-[0-9a-zA-Z]{24}'
category: token
description: Slack API key
- - definition: 'access_token,production$[0-9a-z]{161[0-9a,]{32}'
+ - regex: 'access_token,production$[0-9a-z]{161[0-9a,]{32}'
category: token
description: paypal acess token
- - definition: 'amzn.mws]{8}-[0-9a-f]{4}-10-9a-f1{4}-[0-9a,]{4}-[0-9a-f]{12}'
+ - regex: 'amzn.mws]{8}-[0-9a-f]{4}-10-9a-f1{4}-[0-9a,]{4}-[0-9a-f]{12}'
category: token
description: AMS Auth Token
- - definition: 'key-[0-9a-zA-Z]{32}'
+ - regex: 'key-[0-9a-zA-Z]{32}'
category: token
description: Mailgun API key
- - definition: '[0-9a-f]{32}-us[0-9]{1,2}'
+ - regex: '[0-9a-f]{32}-us[0-9]{1,2}'
category: token
description: MailChimp API key
+
+ - regex: sshpass|password|pwd|passwd|pass
+ category: password
+ description: password keywords
\ No newline at end of file
