FPSetRule
Forcepoint Web Security Pack.#
This Script is part of theAdds (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 DataName | Description |
---|---|
Script Type | python |
Tags | forcepoint, triton |
#
DependenciesThis script uses the following commands and scripts.
- ssh
#
InputsArgument Name | Description |
---|---|
policy | The policy/action assigned to the rule. Can be, "allow" or "deny" only. |
type | The Triton rule type. Can be, "dest_domain", "dest_ip", "dest_host" or "url_regex". |
value | The value to match for this rule. Can be, "domain", "regex", etc... depending on the type. |
remoteaccessname | If the Forcepoint Triton instance is configured as a RemoteAccess integration instance โ insert its name here. Replaces argument "tritonsystem". |
tritonsystem | The 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. |
#
OutputsThere are no outputs for this script.