mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
feat(okta): bump entropy to 4 (#1599)
This commit is contained in:
1 parent
2068870c8d
commit
0afb525e59
2 files changed
+11
-6
No files matched your search
@@ -2461,8 +2461,8 @@ keywords = [
|
||||
[[rules]]
|
||||
id = "okta-access-token"
|
||||
description = "Identified an Okta Access Token, which may compromise identity management services and user authentication data."
|
||||
regex = '''(?i)[\w.-]{0,10}?(?:okta)(?:[ \t\w.-]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{42})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
entropy = 3
|
||||
regex = '''[\w.-]{0,10}?(?i:[\w.-]{0,10}?(?:(?-i:[Oo]kta|OKTA))(?:[ \t\w.-]{0,20})(?:[\s|']|[\s|"]){0,3})(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(00[\w=\-]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
entropy = 4
|
||||
keywords = ["okta"]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user