cp_mgmt_global_assignment
Manages global-assignment 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_global_assignment
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manages global-assignment objects on Check Point over Web Services API through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| dependent_domain | str | N/A | ||
| details_level | str | 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. | ||
| global_access_policy | str | Global domain access policy that is assigned to a dependent domain. | ||
| global_domain | str | N/A | ||
| global_threat_prevention_policy | str | Global domain threat prevention policy that is assigned to a dependent domain. | ||
| ignore_errors | bool | 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. | ||
| ignore_warnings | bool | Apply changes ignoring warnings. | ||
| manage_protection_actions | bool | N/A | ||
| state | str | present | Desired object presence. | |
| version | str | Management API version path; omitted uses the default API version. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: add-global-assignment
check_point.mgmt.cp_mgmt_global_assignment:
dependent_domain: domain2
global_access_policy: standard
global_domain: Global
global_threat_prevention_policy: standard
manage_protection_actions: true
state: present
- name: set-global-assignment
check_point.mgmt.cp_mgmt_global_assignment:
dependent_domain: domain1
global_domain: Global2
global_threat_prevention_policy: ''
manage_protection_actions: false
state: present
- name: delete-global-assignment
check_point.mgmt.cp_mgmt_global_assignment:
dependent_domain: domain1
global_domain: Global2
state: absent