Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name scanner is failing scan if severity is adjusted to low/medium for a file name. #79

Closed
utsavmaniyar opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@utsavmaniyar
Copy link
Contributor

If we pass --fail-severity=high and --fail-confidence=high config, then results are not what we are expecting for file name scanner.

Actual result

Severity Fail threshold (at or above):  high
Confidence Fail threshold (at or above):  high
Severity Display threshold (at or above):  high
Confidence Display threshold (at or above):  high
Max file size to scan:  10240000  bytes
2023/09/15 17:34:43 Go-EarlyBird version:  dev
2023/09/15 17:34:43 loading module:  content
2023/09/15 17:34:43 loading module:  filename
2023/09/15 17:34:43 loading module:  inclusivity-rules
2023/09/15 17:34:43 loading module:  password-secret
2023/09/15 17:34:43 loading module:  amex-common
2023/09/15 17:34:43 loading module:  amex-miscellaneous
2023/09/15 17:34:43 loading module:  amex-password-secret
2023/09/15 17:34:43 loading module:  ccnumber
2023/09/15 17:34:43 Scanning directory:  /tmp/data
2023/09/15 17:34:43 Failed to open ignore file open /home/golang/.ge_ignore: no such file or directory
2023/09/15 17:34:44 
368 files scanned in 1.3656482s
2023/09/15 17:34:44 
87 rules observed
Scan detected findings above the accepted threshold -- Failing.
	***** Total issues found *****
	    0 TOTAL ISSUES

Expected result

Severity Fail threshold (at or above):  high
Confidence Fail threshold (at or above):  high
Severity Display threshold (at or above):  high
Confidence Display threshold (at or above):  high
Max file size to scan:  10240000  bytes
2023/09/15 17:34:43 Go-EarlyBird version:  dev
2023/09/15 17:34:43 loading module:  content
2023/09/15 17:34:43 loading module:  filename
2023/09/15 17:34:43 loading module:  inclusivity-rules
2023/09/15 17:34:43 loading module:  password-secret
2023/09/15 17:34:43 loading module:  amex-common
2023/09/15 17:34:43 loading module:  amex-miscellaneous
2023/09/15 17:34:43 loading module:  amex-password-secret
2023/09/15 17:34:43 loading module:  ccnumber
2023/09/15 17:34:43 Scanning directory:  /tmp/data
2023/09/15 17:34:43 Failed to open ignore file open /home/golang/.ge_ignore: no such file or directory
2023/09/15 17:34:44 
368 files scanned in 1.3656482s
2023/09/15 17:34:44 
87 rules observed
	***** Total issues found *****
	    0 TOTAL ISSUES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants