PARALLAX

cp_mgmt_resource_tcp

Manages resource-tcp 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_resource_tcp

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

Synopsis

Manages resource-tcp objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
cvp_settingsdictCVP settings.
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.
domains_to_processlistIndicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
exception_trackstrConfigures how to track connections that match this rule but fail the content security checks. An example of an exception is a connection with an unsupported scheme or method.
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.
namestryesObject name.
resource_typestrThe type of the TCP resource.
statestrpresentDesired object presence.
tagslistCollection of tag identifiers.
ufp_settingsdictUFP settings.
versionstrManagement API version path; omitted uses the default API version.
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-resource-tcp
  check_point.mgmt.cp_mgmt_resource_tcp:
    name: newTcpResource
    state: present
    ufp_settings:
      caching_control: security_gateway_one_request
      ignore_ufp_server_after_failure: true
      number_of_failures_before_ignore: 3
      server: ufpServer

- name: set-resource-tcp
  check_point.mgmt.cp_mgmt_resource_tcp:
    cvp_settings:
      server: cvpServer
    name: newTcpResource
    state: present
    ufp_settings:
      caching_control: ufp_server
      ignore_ufp_server_after_failure: false
      number_of_failures_before_ignore: 0

- name: delete-resource-tcp
  check_point.mgmt.cp_mgmt_resource_tcp:
    name: tcpResource
    state: absent
Search
    ↑ ↓ move↵ openesc close