greping files question
Posted
by tearman
on Server Fault
See other posts from Server Fault
or by tearman
Published on 2010-03-17T17:44:50Z
Indexed on
2010/03/17
17:51 UTC
Read the original article
Hit count: 252
grep
I've been using grep to run a few PII scans and while its finding results, its indeed finding too many false positives.
Is there a way that I can tell grep not to trigger a match for a file unless it contains other data?
For instance, can I tell it not to trigger an alert on a regex for a SSN unless the file includes text like "ssn" or "social security number"?
© Server Fault or respective owner