SuggestSectionName

Syntax

sub SuggestSectionName

Note: This hook is relevant for Check Point devices.

SuggestSectionName is used to set the value of a section of new rule when work order suggests adding a new rule.

Note: SuggestSectionName is called only after FireFlow has decided to add a new rule. If a stealth or protected section has been configured through the EditRuleSectionHeader parameter, the hook can only choose sections at or below that boundary. It does not determine whether FireFlow should modify an existing rule or add a new one; it only selects the section for the new rule.

Configuration

There is no configuration. The hook is always called.

Input Parameters

$ticket

A Perl hash reference containing a single key called flatTicket, which points to the flat ticket representation of the change request.

For details, see Flat Ticket Examples.

$sections

Hash of possible sections

$trafficLineNumber

The current traffic line in the change request

Return Values

The return value is the name of selected section or undefined if no section is selected.