SuggestPropertyValue

Syntax

sub SuggestPropertyValue

Back to top

Description

This function is called for every change request in which the work order contains a Palo Alto or Fortimanager device. It returns a suggested value for the specified property in the change request's work order.

Back to top

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.

$trafficLineNumber

The current traffic line in the change request.

$propertyName

The name of the property to suggest. One or more of the following:

  • SecurityProfileGroup (for Panorama and Fortimanager)
  • LogForwardingProfile (for Panorama)
  • Tags (for Panorama)
  • QualityOfService (for Panorama)
$currentValue

The current value of the property, string, or reference to array.

Back to top

Return Values

The suggested value for the property. This may be a string, or any array of strings. The string or array may be empty.

Note: Regardless of whether you suggest values for these properties with this hook, you can modify them by editing individual work orders. Any property excluded from the hook's logic will appear in the work order with FireFlow's default value. If desired, you can set custom default values for the SecurityProfileGroup and LogForwardingProfile properties. See Configuring the Security Profile and Log Forwarding Profile for Panorama Devices (see Configure security and log forwarding profiles for panorama devices).

Back to top