Recently Viewed Topics
This policy item checks if the file content matches the content provided by normalizing the values to use common newline, escaping patterns, and stripping white space from the beginning and end of policy text.
file: ["path to file"]
content: ["banner content"]
The following are descriptions of the keywords:
- file: The path and filename for the banner to reside in.
content: What you expect the banner to display. New lines in the banner are represented by adding an
\nwhere the new line should be placed.
is_substring: An optional flag that supports the possibility of location specific information being placed in a banner. By setting it to
YES, the expected banner can be a substring of the file content, and not require a full match.
type : BANNER_CHECK
description : "Banner is configured in /etc/issue"
file : "/etc/issue"
content : "** No Unauthorized Access **"