PARALLAX

cp_mgmt_show_unused_objects

Retrieve all unused objects through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_show_unused_objects

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

Synopsis

Retrieve all unused objects through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
dereference_group_membersboolIndicates whether to dereference “members” field by details level for every object in reply. Available from R80.10 management version.
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. Available from R81 management version.
filterstrSearch expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression (‘AND’, ‘OR’) should be provided in capital letters. The search involves both a IP search and a textual search in name, comment, tags etc. Available from R81 JHF management version.
limitintThe maximal number of returned results. This parameter is relevant only for getting few objects.
offsetintNumber of the results to initially skip. This parameter is relevant only for getting few objects.
orderlistSorts the results by search criteria. Automatically sorts the results by Name, in the ascending order. This parameter is relevant only for getting few objects.
show_membershipboolIndicates whether to calculate and show “groups” field for every object in reply. 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: show-unused-objects
  check_point.mgmt.cp_mgmt_show_unused_objects:
    details_level: standard
    limit: 50
    offset: 0
Search
    ↑ ↓ move↵ openesc close