Recently Viewed Topics
As with testing the existence and settings of a file, the content of text files can also be analyzed. Regular expressions can be used to search one or more locations for existing content. Use the “
ignore” keyword to ignore one or more files from the specified search location(s).
string_required field can be set to specify if the audited string being searched for is required to be present or not. If this option is not set, it is assumed it is required. The
file_required field can be set to specify if the audited file is required to be present or not. If this option is not set, it is assumed it is required. Use the "json_transform" tag to evaluate specific JSON formatted data within a file.
description: "This check reports a problem when the log level setting in the sendmail.cf file is less than the value set in your security policy."
# ignore single file
# ignore all files in a directory
#ignore certain files from a directory
By adding a “~” to a file parameter, it is possible to have FILE_CONTENT_CHECK scan user’s home directories for non-compliant content.
description: "Check all user home directories"