Commit aecef49f authored by Lucas Charles's avatar Lucas Charles

Add AWS Secret Access Key regex

Adds regex to detect AWS Secret Access Keys
parent ea887515
Pipeline #194208455 failed with stages
in 4 minutes and 20 seconds
# Secrets analyzer changelog
## v3.9.4
- Add AWS Secret Access Key regex (!76)
## v3.9.3
- Update golang dependencies (!75)
......
title = "gitleaks config"
# add regexes to the regex table
[[rules]]
description = "AWS"
description = "AWS Access Key"
regex = '''AKIA[0-9A-Z]{16}'''
[[rules]]
description = "AWS Secret Access Key"
regex = '''(?<![A-Za-z0-9/+=])[A-Za-z0-9/+=]{40}(?![A-Za-z0-9/+=])'''
[[rules]]
description = "PKCS8"
regex = '''-----BEGIN PRIVATE KEY-----'''
[[rules]]
......
......@@ -29,7 +29,7 @@ const (
var (
// AnalyzerVersion is the semantic version of the analyzer and must match the most recent version in CHANGELOG.md
AnalyzerVersion = "3.9.3"
AnalyzerVersion = "3.9.4"
// ScannerVersion is the semantic version of the scanner (gitleaks)
// TODO: ensure this version matches the one specified in the Dockerfile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment