Dell OS10 BANNER_CHECK
This policy item checks if the config content matches the content provided by normalizing the values to use common newline, escaping patterns, and stripping whitespace from beginning and end of policy text.
Dell OS10 banners use delimiters and multi-line format:
banner login ^C
Unauthorized access prohibited
All activity is monitored
^C
banner motd #
System maintenance window: Sunday 2-4 AM
#
The plugin automatically:
-
Identifies banner delimiters.
-
Extracts multi-line content.
-
Normalizes newlines and whitespace.
-
Handles different delimiter characters.
Usage
<custom_item>
type: BANNER_CHECK
description: ["description"]
item: ["config item"]
content: ["banner content"]
(optional) is_substring: [YES|NO]
</custom_item>
content
The content is what the expected banner should be. New lines in the banner are automatically processed through functions that determine delimiters and context.
<custom_item>
type : BANNER_CHECK
description : "Banner login is configured"
item : "banner login"
content : "All access is monitored and recorded."
</custom_item>
is_substring
Use is_substring: YES for location-specific banner content:
<custom_item>
type : BANNER_CHECK
description : "Login banner contains warning"
item : "banner login"
content : "Unauthorized access"
is_substring : YES
</custom_item>
This allows the actual banner to contain additional text as long as it includes "Unauthorized access".