PARALLAX

cp_mgmt_service_other

Manages service-other 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_service_other

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

Synopsis

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

Parameters

NameTypeRequiredDefaultDescription
accept_repliesboolSpecifies whether Other Service replies are to be accepted.
actionstrContains an INSPECT expression that defines the action to take if a rule containing this service is matched. Example, set r_mhandler &open_ssl_handler sets a handler on the connection. Available from R80.10 management version.
aggressive_agingdictSets short (aggressive) timeouts for idle connections.
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
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.
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.
ip_protocolintIP protocol number.
keep_connections_open_after_policy_installationboolKeep connections open after policy has been installed even if they are not allowed under the new policy. This overrides the settings in the Connection Persistence page. If you change this property, the change will not affect open connections, but only future connections.
matchstrContains an INSPECT expression that defines the matching criteria. The connection is examined against the expression during the first packet. Example, tcp, dport = 21, direction = 0 matches incoming FTP control connections. Available from R80.10 management version.
match_for_anyboolIndicates whether this service is used when ‘Any’ is set as the rule’s service and there are several service objects with the same source port and protocol.
namestryesObject name.
override_default_settingsboolIndicates whether this service is a Data Domain service which has been overridden. Available from R80.10 management version.
session_timeoutintTime (in seconds) before the session times out.
statestrpresentDesired object presence.
sync_connections_on_clusterboolEnables state-synchronized High Availability or Load Sharing on a ClusterXL or OPSEC-certified cluster.
tagslistCollection of tag identifiers.
use_default_session_timeoutboolUse default virtual session timeout. Available from R80.10 management version.
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-service-other
  check_point.mgmt.cp_mgmt_service_other:
    aggressive_aging:
      enable: true
      timeout: 360
      use_default_timeout: false
    ip_protocol: 51
    keep_connections_open_after_policy_installation: false
    match_for_any: true
    name: New_Service_1
    session_timeout: 0
    state: present
    sync_connections_on_cluster: true

- name: set-service-other
  check_point.mgmt.cp_mgmt_service_other:
    aggressive_aging:
      default_timeout: 3600
    color: dark green
    name: New_Service_1
    state: present

- name: delete-service-other
  check_point.mgmt.cp_mgmt_service_other:
    name: New_Service_2
    state: absent
Search
    ↑ ↓ move↵ openesc close