Firewall Management#

Those classes are used to interface with the Checkpoint Firewall API in Python

class FirewallManagement#

A Controller to access Endpoints in the Checkpoint Firewall Management API. The ManagementAPI object stores the session token and simplifies access to CRUD options within the Checkpoint firewalls.

__init__(**kw)#

Class constructor

Parameters

**kw (dict) – Arbitrary keyword arguments for parameters.

Keyword Arguments
  • **user (str, optional) – User name to use to authenticate (instead of api_key)

  • **password (str, optional) – Password to use to authenticate (instead of api_key)

  • **api_key (str, optional) – API key to use to authenticate (instead of user/password)

  • **hostname (str, optional) – Hostname used to reach the Firewall Checkpoint

  • **port (str, optional) – Port used to reach the Firewall Checkpoint.

  • **version (str, optional) – Current API version used by the Firewall Checkpoint

Examples

>>> firewall = FirewallManagement(hostname="localhost",port=443,
... api_key="<API_KEY>",version="1.8",domain="Local Domain"",ssl_verify=False,)
property access_control_nat#

The interface object for the Access Control & NAT Management.

Returns

an AccessControlNAT instance

Return type

AccessControlNAT

Examples

>>> firewall.access_control_nat
property misc#

The interface object for the MISC (Miscellaneous) Management.

Returns

a MISC instance

Return type

MISC

Examples

>>> firewall.misc
property network_objects#

The interface object for the Network Objects Management.

Returns

a NetworkObjects instance

Return type

NetworkObjects

Examples

>>> firewall.network_objects
property policy#

The interface object for the Policy Management.

Returns

a Policy instance

Return type

Policy

Examples

>>> firewall.policy
property service_applications#

The interface object for the Service & Applications Management.

Returns

a ServiceApplications instance

Return type

ServiceApplications

Examples

>>> firewall.service_applications
property session#

The interface object for the Session Management.

Returns

a Session instance

Return type

Session

Examples

>>> firewall.session