check_point.mgmt.cp_mgmt_resource_uri module – Manages resource-uri objects on Checkpoint over Web Services API
Note
This module is part of the check_point.mgmt collection (version 6.5.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install check_point.mgmt.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_resource_uri.
New in check_point.mgmt 6.0.0
Synopsis
- Manages resource-uri objects on Checkpoint devices including creating, updating and removing objects. 
- All operations are performed over Web Services API. 
- Available from R82 management version. 
Parameters
| Parameter | Comments | 
|---|---|
| Action settings. | |
| If the Action in a rule which uses this resource is Drop or Reject, then the Replacement URI is displayed instead of the one requested by the user. | |
| Strip activeX tags. Choices: 
 | |
| Strip JAVA applets. Choices: 
 | |
| Strip ftp links. Choices: 
 | |
| Strip ports. Choices: 
 | |
| Strip JAVA scripts. Choices: 
 | |
| Publish the current session if changes have been performed after task completes. Choices: 
 | |
| Color of the object. Should be one of existing colors. Choices: 
 | |
| Comments string. | |
| Connection methods. | |
| The Resource is applied when people specify the Check Point Security Gateway as a proxy in their browser. Choices: 
 | |
| The security server is invisible to the client that originates the connection, and to the server. The Transparent connection method is the most secure. Choices: 
 | |
| The Resource is applied when people specify the Security Gateway as a proxy in their browser, and is used for connections where Security Gateway cannot examine the contents of the packets, not even the URL. Choices: 
 | |
| CVP settings. | |
| Configures the CVP server to inspect but not modify content. Choices: 
 | |
| Select to enable the Content Vectoring Protocol. Choices: 
 | |
| Designates when the CVP server returns data to the Security Gateway security server. Choices: 
 | |
| Select, if you would like the CVP server to check the HTTP headers of the message packets. Choices: 
 | |
| Used to protect against undesirable content in the HTTP request, for example, when inspecting peer-to-peer connections. Choices: 
 | |
| Improves the performance of the CVP server. This option does not send to the CVP server traffic that is considered safe. Choices: 
 | |
| The UID or Name of the CVP server, make sure the CVP server is already be defined as an OPSEC Application. | |
| 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. Choices: 
 | |
| Configures 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. Choices: 
 | |
| 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. Choices: 
 | |
| Apply changes ignoring warnings. Choices: 
 | |
| Match-Ufp settings. | |
| Specifies if and how caching is to be enabled. Choices: 
 | |
| The UFP server will be ignored after numerous UFP server connections were unsuccessful. Choices: 
 | |
| Signifies at what point the UFP server should be ignored. | |
| The UID or Name of the UFP server that is an OPSEC certified third party application that checks URLs against a list of permitted categories. | |
| The amount of time that must pass before a UFP server connection should be attempted. | |
| Match-Wildcards settings. | |
| The functionality of the Host parameter depends on the DNS setup of the addressed server. For the host, only the IP address or the full DNS name should be used. | |
| Select the URI Schemes to which this resource applies. | |
| GET method. Choices: 
 | |
| HEAD method. Choices: 
 | |
| You can specify another method in the Other field. You can use wildcards. | |
| POST method. Choices: 
 | |
| PUT method. Choices: 
 | |
| Name matching is based on appending the file name in the request to the current working directory (unless the file name is already a full path name) and comparing the result to the path specified in the Resource definition. | |
| The parameters that are sent to the URI when it is accessed. | |
| Select the URI Schemes to which this resource applies. | |
| Ftp scheme. Choices: 
 | |
| Gopher scheme. Choices: 
 | |
| Http scheme. Choices: 
 | |
| Mailto scheme. Choices: 
 | |
| News scheme. Choices: 
 | |
| You can specify another scheme in the Other field. You can use wildcards. | |
| Wais scheme. Choices: 
 | |
| Object name. | |
| SOAP settings. | |
| A file containing SOAP requests. Choices: 
 | |
| Allow all SOAP Requests, or Allow only SOAP requests specified in the following file-id. Choices: 
 | |
| The method of tracking SOAP connections. Choices: 
 | |
| State of the access rule (present or absent). Choices: 
 | |
| Collection of tag identifiers. | |
| The type can be Wild Cards or UFP, where a UFP server holds categories of forbidden web sites. Choices: 
 | |
| Select the use of the URI resource. Choices: 
 | |
| Version of checkpoint. If not given one, the latest version taken. | |
| Wait for the task to end. Such as publish task. Choices: 
 | |
| How many minutes to wait until throwing a timeout error. Default:  | 
Examples
- name: add-resource-uri
  cp_mgmt_resource_uri:
    connection_methods:
      transparent: 'false'
      tunneling: 'true'
    match_wildcards:
      host: hostName
      path: pathName
    name: newUriResource
    state: present
    uri_match_specification_type: wildcards
    use_this_resource_to: optimize_url_logging
- name: set-resource-uri
  cp_mgmt_resource_uri:
    connection_methods:
      transparent: 'false'
      tunneling: 'true'
    match_wildcards:
      host: hostName
      path: pathName
    name: newUriResource
    state: present
    uri_match_specification_type: wildcards
    use_this_resource_to: optimize_url_logging
- name: delete-resource-uri
  cp_mgmt_resource_uri:
    name: newUriResource
    state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| The checkpoint object created or updated. Returned: always, except when deleting the object. | 
