Created
July 23, 2021 01:07
-
-
Save iknowjason/64914c08c0512f7380dbe7240812d69d to your computer and use it in GitHub Desktop.
AWS gitleaks configuration for access keys and secret
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = "gitleaks aws secrets config" | |
[[rules]] | |
description = "AWS Key ID" | |
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}''' | |
tags = ["key", "AWS"] | |
[[rules]] | |
description = "AWS Secret Key2" | |
regex = '''(?i)aws_secret_key=''' | |
tags = ["key", "AWS"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment