PARALLAX

cp_mgmt_ldap_group

Manages ldap-group 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_ldap_group

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

Synopsis

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

Parameters

NameTypeRequiredDefaultDescription
account_unitstrLDAP account unit of the group. Identified by name or UID.
account_unit_branchstrBranch of the selected LDAP Account Unit.
apply_filter_for_dynamic_groupboolIndicate whether to apply LDAP filter for dynamic group. Relevant only when ‘scope’ is not set to ‘only_group_in_branch’.
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.
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.
group_prefixstrGroup name in the selected branch. Required only when ‘scope’ is set to ‘only_group_in_branch’. Must be in DN syntax.
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.
ldap_filterstrLDAP filter for the dynamic group. Relevant only when ‘apply-filter-for-dynamic-group’ is set to ’true’.
namestryesObject name.
scopestrGroup’s scope. There are three possible ways of defining a group, based on the users defined on the Account Unit.
statestrpresentDesired object presence.
sub_tree_prefixstrSub tree prefix of the selected branch. Relevant only when ‘scope’ is set to ‘only_sub_prefix’. Must be in DN syntax.
tagslistCollection of tag identifiers.
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-ldap-group
  check_point.mgmt.cp_mgmt_ldap_group:
    account_unit: TestLdapAccountUnit
    account_unit_branch: OU=Test
    apply_filter_for_dynamic_group: true
    group_prefix: N=TestGroup
    ldap_filter: N=AnotherGroup
    name: TestLdapGroup
    scope: only_sub_tree
    state: present
    sub_tree_prefix: CA=AC

- name: set-ldap-group
  check_point.mgmt.cp_mgmt_ldap_group:
    account_unit_branch: A=B
    group_prefix: N=TestGroup2
    ldap_filter: N=none
    name: TestLdapGroup
    state: present
    sub_tree_prefix: X=Y

- name: delete-ldap-group
  check_point.mgmt.cp_mgmt_ldap_group:
    name: TestLdapGroup
    state: absent
Search
    ↑ ↓ move↵ openesc close