We do not recommend that you simply stop using the option that triggers, rather it would be better to simply ignore the false-positive files using an ignore file as per the documentation.
The best way to generate the ignore file is to create it first, e.g.:
Code: Select all
touch /etc/cxs/cxs.ignore
chmod 644 /etc/cxs/cxs.ignore
Code: Select all
cp /etc/cxs/cxs.ignore.example /etc/cxs/cxs.ignore
chmod 644 /etc/cxs/cxs.ignore
Code: Select all
file:/path/to/file/to/ignore/filename
(Note: remember to remove all entries in the scan report that you do not want in the ignore file first)
Code: Select all
cxs --generate --report cxs.scan --ignore /etc/cxs/cxs.ignore
You should be very careful when using an ignore file about listing directories to ignore as this will stop cxs scanning the directory and its contents which might not be what you intend.