check_point.mgmt.cp_mgmt_md_permissions_profile module – Manages md-permissions-profile objects on Checkpoint over Web Services API
Note
This module is part of the check_point.mgmt collection (version 5.2.3).
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_md_permissions_profile
.
New in check_point.mgmt 3.0.0
Synopsis
Manages md-permissions-profile objects on Checkpoint devices including creating, updating and removing objects.
All operations are performed over Web Services API.
Parameters
Parameter |
Comments |
---|---|
Publish the current session if changes have been performed after task completes. Choices:
|
|
Permission to read / edit the Cloud Management Extension (CME) configuration. Choices:
|
|
Color of the object. Should be one of existing colors. Choices:
|
|
Comments string. |
|
Name or UID of the required default profile for all global domains. |
|
Name or UID of the required default profile for all local domains. |
|
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:
|
|
Indicates 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. |
|
Enable the option to specify a default profile for all global domains. Choices:
|
|
Enable the option to specify a default profile for all local domains. Choices:
|
|
Lets the administrator select Enable global use for a Security Gateway shown in the MDS Gateways & Servers view.<br>Only a ‘Manager’ permission-level profile can edit this permission. 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:
|
|
Create and manage Multi-Domain Security Management administrators with the same or lower permission level. For example, a Domain manager cannot create Superusers or global managers.<br>Only a ‘Manager’ permission-level profile can edit this permission. Choices:
|
|
Controls the ability to create, edit and delete global assignment and not the ability to reassign, which is set according to the specific Domain’s permission profile. Choices:
|
|
Connect/disconnect Domain sessions, publish changes, and delete other administrator sessions.<br>Only a ‘Manager’ permission-level profile can edit this permission. Choices:
|
|
Permission to log in to the Security Management Server and run API commands using these tools, mgmt_cli (Linux and Windows binaries), Gaia CLI (clish) and Web Services (REST). Useful if you want to prevent administrators from running automatic scripts on the Management.<br>Note, This permission is not required to run commands from within the API terminal in SmartConsole. Choices:
|
|
Create and manage Multi-Domain Servers and Multi-Domain Log Servers.<br>Only a “Super User” permission-level profile can select this option. Choices:
|
|
Object name. |
|
The level of the Multi Domain Permissions Profile.<br>The level cannot be changed after creation. Choices:
|
|
State of the access rule (present or absent). Choices:
|
|
Collection of tag identifiers. |
|
Version of checkpoint. If not given one, the latest version taken. |
|
Lets an administrator with no global objects permissions view the global objects in the domain. This option is required for valid domain management. Choices:
|
|
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-md-permissions-profile
cp_mgmt_md_permissions_profile:
name: manager profile
state: present
- name: set-md-permissions-profile
cp_mgmt_md_permissions_profile:
default_profile_global_domains: read write all
name: manager profile
permission_level: domain level only
state: present
- name: delete-md-permissions-profile
cp_mgmt_md_permissions_profile:
name: profile
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. |