PARALLAX

cp_mgmt_simple_gateway

Manages simple-gateway objects on Check Point over Web Services API through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_simple_gateway

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manages simple-gateway objects on Check Point over Web Services API through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
anti_botboolAnti-Bot blade enabled.
anti_virusboolAnti-Virus blade enabled.
application_controlboolApplication Control blade enabled.
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
content_awarenessboolContent Awareness blade enabled. Available from R80.10 management version.
details_levelstrThe 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.
enable_https_inspectionboolEnable HTTPS Inspection after defining an outbound inspection certificate.
To define the outbound certificate use outbound inspection certificate API.
firewallboolFirewall blade enabled.
firewall_settingsdictN/A
gateway_versionstrGateway platform version.
groupslistCollection of group identifiers.
ignore_errorsboolApply 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_warningsboolApply changes ignoring warnings.
interfaceslistNetwork interfaces. When a gateway is updated with a new interfaces, the existing interfaces are removed.
ip_addressstrIPv4 or IPv6 address. If both addresses are required use ipv4-address and ipv6-address fields explicitly.
ipsboolIntrusion Prevention System blade enabled.
ips_settingsdictGateway IPS settings. Available from R82 JHF management version.
ipv4_addressstrIPv4 address.
ipv6_addressstrIPv6 address.
logs_settingsdictN/A
namestryesObject name.
one_time_passwordstrN/A
os_namestrGateway platform operating system.
save_logs_locallyboolSave logs locally on the gateway.
send_alerts_to_serverlistServer(s) to send alerts to.
send_logs_to_backup_serverlistBackup server(s) to send logs to.
send_logs_to_serverlistServer(s) to send logs to.
statestrpresentDesired object presence.
tagslistCollection of tag identifiers.
threat_emulationboolThreat Emulation blade enabled.
threat_extractionboolThreat Extraction blade enabled. Available from R80.20.M2 management version.
url_filteringboolURL Filtering blade enabled.
versionstrManagement API version path; omitted uses the default API version.
vpnboolVPN blade enabled.
vpn_settingsdictGateway VPN settings.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: add-simple-gateway
  check_point.mgmt.cp_mgmt_simple_gateway:
    ip_address: 192.0.2.1
    name: gw1
    state: present

- name: set-simple-gateway
  check_point.mgmt.cp_mgmt_simple_gateway:
    anti_bot: true
    anti_virus: true
    application_control: true
    ips: true
    name: test_gateway
    state: present
    threat_emulation: true
    url_filtering: true

- name: delete-simple-gateway
  check_point.mgmt.cp_mgmt_simple_gateway:
    name: gw1
    state: absent
Search
    ↑ ↓ move↵ openesc close