cp_mgmt_checkpoint_host
Manages checkpoint-host objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_checkpoint_host
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manages checkpoint-host objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| check_point_host_version | str | Check Point host platform version. | ||
| color | str | Color of the object. Should be one of existing colors. | ||
| comments | str | Comments string. | ||
| details_level | str | The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. | ||
| groups | list | Collection of group identifiers. | ||
| hardware | str | Hardware name. | ||
| ignore_errors | bool | Apply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. | ||
| ignore_warnings | bool | Apply changes ignoring warnings. | ||
| interfaces | list | Check Point host interfaces. | ||
| ip_address | str | IPv4 or IPv6 address. If both addresses are required use ipv4-address and ipv6-address fields explicitly. | ||
| ipv4_address | str | IPv4 address. | ||
| ipv6_address | str | IPv6 address. | ||
| logs_settings | dict | Logs settings. | ||
| management_blades | dict | Management blades. | ||
| name | str | yes | Object name. | |
| nat_settings | dict | NAT settings. | ||
| one_time_password | str | Secure internal connection one time password. | ||
| os | str | Operating system name. | ||
| save_logs_locally | bool | Enable save logs locally. | ||
| send_alerts_to_server | list | Collection of Server(s) to send alerts to identified by the name or UID. | ||
| send_logs_to_backup_server | list | Collection of Backup server(s) to send logs to identified by the name or UID. | ||
| send_logs_to_server | list | Collection of Server(s) to send logs to identified by the name or UID. | ||
| state | str | present | Desired object presence. | |
| tags | list | Collection of tag identifiers. | ||
| version | str | Management API version path; omitted uses the default API version. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: add-checkpoint-host
check_point.mgmt.cp_mgmt_checkpoint_host:
ipv4_address: 5.5.5.5
management_blades:
logging_and_status: true
network_policy_management: true
name: secondarylogserver
state: present
- name: set-checkpoint-host
check_point.mgmt.cp_mgmt_checkpoint_host:
hardware: Smart-1
management_blades:
compliance: true
network_policy_management: true
user_directory: true
name: secondarylogserver
os: Linux
state: present
- name: delete-checkpoint-host
check_point.mgmt.cp_mgmt_checkpoint_host:
name: secondarylogserver
state: absent