mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
update to V7 (#469)
This commit is contained in:
1 parent
40545fb680
commit
c50906373c
88 files changed
+2633
-2698
No files matched your search
@@ -0,0 +1 @@
|
||||
tmp
|
||||
@@ -0,0 +1,9 @@
|
||||
# Do not hard code credentials
|
||||
client = boto3.client(
|
||||
's3',
|
||||
# Hard coded strings as credentials, not recommended.
|
||||
aws_access_key_id='AKIAIO5FODNN7EXAMPLE',
|
||||
aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'
|
||||
)
|
||||
|
||||
# adding another line
|
||||
@@ -0,0 +1,9 @@
|
||||
# Do not hard code credentials
|
||||
client = boto3.client(
|
||||
's3',
|
||||
# Hard coded strings as credentials, not recommended.
|
||||
aws_access_key_id='AKIAIO5FODNN7EXAMPLE',
|
||||
aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'
|
||||
)
|
||||
|
||||
# adding another line
|
||||
@@ -2,7 +2,8 @@
|
||||
description = "entropy"
|
||||
regex = '''['|"]([0-9a-zA-Z-._{}$\/\+=]{20,120})['|"]'''
|
||||
tags = ["entropy"]
|
||||
[[rules.Entropies]]
|
||||
Min = "3.3"
|
||||
Max = "3.5"
|
||||
Group = "1"
|
||||
[[rules.Entropies]]
|
||||
Min = "3.3"
|
||||
Max = "3.5"
|
||||
Group = "1"
|
||||
|
||||
Reference in new issue
Block a user