File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -68,29 +68,6 @@ func TestDetect(t *testing.T) {
68
68
}{
69
69
// General
70
70
"valid allow comment (1)" : {
71
- cfgName : "simple" ,
72
- fragment : Fragment {
73
- Raw : `Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB` ,
74
- FilePath : "tmp.go" ,
75
- },
76
- expectedFindings : []report.Finding {
77
- {
78
- Description : "1Password Secret Key" ,
79
- Secret : "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB" ,
80
- Match : "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB" ,
81
- Line : "Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB" ,
82
- File : "tmp.go" ,
83
- RuleID : "1password-secret-key" ,
84
- Tags : []string {"1Password" },
85
- StartLine : 0 ,
86
- EndLine : 0 ,
87
- StartColumn : 6 ,
88
- EndColumn : 45 ,
89
- Entropy : 4.3153114 ,
90
- },
91
- },
92
- },
93
- {
94
71
cfgName : "simple" ,
95
72
fragment : Fragment {
96
73
Raw : `awsToken := \"AKIALALEMEL33243OKIA\ // gitleaks:allow"` ,
You can’t perform that action at this time.
0 commit comments