Rule Check: String Presence
The String Presence check determines whether a particular text string is (or is not) present in any of one or more specified files. You use a syntax similar to regular expressions to specify the string to find. You specify the files using full pathnames.
Results are reported separately for each file—passed, failed, or indeterminate.
Note: The pattern-matching for this check processes each line in a multiple-line text file as a separate target string, and stops analyzing that file as soon as a match occurs.
The name of the file to look for the string in. If none of the specified files is present, the check is indeterminate for that file.
Any valid, full path to a single file or a comma-delimited list of paths to individual files is acceptable. Wildcards are not supported.
Some valid examples:
Some examples that will not work:
If you choose this, the check fails for each of the listed files in which the specified string is not present.
|Does not contain||
If you choose this, the check fails for each of the listed files in which the specified string is present.
|...the following pattern:||
Enter the string to be found, or an expression that represents the string. See Search Expression Syntax in the Halo Operations Guide for an explanation of the supported syntax. It is similar to a subset of regular expression syntax.
Some valid search-string examples (all will match "cloud 9"):
Some examples that will not work as expected (if you are familiar with regular expressions):
Some example search strings that might be useful for server security:
|Remedial Suggestion (optional)||
Description of how you plan to remediate situations in which this check fails.