mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
* Remove IAM identifiers for non-credential resources Only detects: AWS STS service bearer token Context-specific credential Access key Temporary (AWS STS) access key IDs use this prefix, but are unique only in combination with the secret access key and the session token. * Update gitleaks.toml * Update testdata * Update tests
11 lines
244 B
TOML
11 lines
244 B
TOML
title = "gitleaks extended 1"
|
|
|
|
[extend]
|
|
path="../testdata/config/extend_2.toml"
|
|
|
|
[[rules]]
|
|
description = "AWS Access Key"
|
|
id = "aws-access-key"
|
|
regex = '''(?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z0-9]{16}'''
|
|
tags = ["key", "AWS"]
|