Skip to main content

FPSetRule

This Script is part of the Forcepoint Pack.#

Adds (or updates an existing) rule in Forcepoint Triton. Preserves orders of rules and modifies policy in-place if a rule exists with the exact type and value.

Script Data#


NameDescription
Script Typepython
Tagsforcepoint, triton

Dependencies#


This script uses the following commands and scripts.

  • ssh

Inputs#


Argument NameDescription
policyThe policy/action assigned to the rule. Can be, "allow" or "deny" only.
typeThe Triton rule type. Can be, "dest_domain", "dest_ip", "dest_host" or "url_regex".
valueThe value to match for this rule. Can be, "domain", "regex", etc... depending on the type.
remoteaccessnameIf the Forcepoint Triton instance is configured as a RemoteAccess integration instance โ€ insert its name here. Replaces argument "tritonsystem".
tritonsystemThe system name of the linux host on which Forcepoint Triton is installed. Only use this if it is not working with Triton as a RemoteAccess integration instance โ€ if so, use the "remoteaccessname" argument instead.

Outputs#


There are no outputs for this script.