File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -173,8 +173,8 @@ patterns:
173
173
- " Only allows for only single-quoted passwords, to better control false positives"
174
174
test :
175
175
data : " password: 'password123'"
176
- start_offset : 10
177
- end_offset : 21
176
+ start_offset : 11
177
+ end_offset : 22
178
178
179
179
180
180
- name : YAML hardcoded passwords (double quoted strings)
@@ -201,8 +201,8 @@ patterns:
201
201
data : |
202
202
password: "password123"
203
203
204
- start_offset : 10
205
- end_offset : 21
204
+ start_offset : 11
205
+ end_offset : 22
206
206
207
207
208
208
- name : YAML hardcoded passwords (multiline strings)
@@ -228,7 +228,8 @@ patterns:
228
228
password123
229
229
andsomemore
230
230
other_field: foo
231
- # TODO: add start_offset and end_offset
231
+ start_offset : 14
232
+ end_offset : 56
232
233
233
234
234
235
- name : GitHub Actions SHA Checker
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ patterns:
556
556
data : |
557
557
google_api_key: 0123456789abcdef0123456789abcdef01234567
558
558
start_offset : 16
559
- end_offset : -1
559
+ end_offset : 56
560
560
561
561
- name : OpenStack password/API key
562
562
type : openstack_password_or_key
@@ -610,7 +610,7 @@ patterns:
610
610
data : |
611
611
key: service:my-apollo-service:aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
612
612
start_offset : 5
613
- end_offset : 71
613
+ end_offset : 67
614
614
615
615
- name : ClickUp API key
616
616
type : clickup_api_key
@@ -658,7 +658,7 @@ patterns:
658
658
data : |
659
659
jenkins_api_token="0123456789abcdef0123456789abcdef"
660
660
start_offset : 19
661
- end_offset : 52
661
+ end_offset : 51
662
662
663
663
- name : AWS S3 presigned URL
664
664
type : aws_s3_presigned_url
@@ -673,6 +673,8 @@ patterns:
673
673
test :
674
674
data : |
675
675
https://snort-org-site.s3.amazonaws.com/production/document_files/files/000/000/596/original/Rules_Writers_Guide_to_Snort_3_Rules.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXACIED2SPMSC7GA%2F20211011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211011T165700Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=1d5134d3a84db0f7b1ece95fcf98387a0cc32ff131b6c95e6a80d3cd4b616a5c
676
+ start_offset : 0
677
+ end_offset : 402
676
678
677
679
- name : Azure Access Key (legacy format)
678
680
type : azure_access_key_legacy
You can’t perform that action at this time.
0 commit comments