TOC & Recently Viewed

Recently Viewed Topics

BANNER_CHECK

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.

Usage

<custom_item>

type: BANNER_CHECK

description: ["description"]

file: ["path to file"]

content: ["banner content"]

is_substring: [YES|NO]

</custom_item>

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 \n where 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.

Example

<custom_item>

type : BANNER_CHECK

description : "Banner is configured in /etc/issue"

file : "/etc/issue"

content : "** No Unauthorized Access **"

</custom_item>

 

 

Copyright © 2019 Tenable, Inc. All rights reserved. Tenable, Tenable.io, Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc.. Tenable.sc, Lumin, Assure, and the Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.