hawkeyesec / scanner-cli

A project security/vulnerability/risk scanning tool
Other
358 stars 89 forks source link

Enhancement [file-contents]: Relax rule to match 'password' case insensitive #151

Closed jafin closed 4 years ago

jafin commented 4 years ago

Description

Enable file-contents match on 'password' (code 1) to be case insensitive

Type of change

[Please delete options that are not relevant.]

Toolchain

How Has This Been Tested?

Nill / ruleset only.

Issue

Scanner was not identifying file with line:

PASSWORD="foo"

but did identify

password="foo"