- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Method for listing all groups (including nested gr...
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Method for listing all groups (including nested groups) of an object
Hello CheckMates,
is there a native way to list all the groups (including the parent groups when nested) of an object?
Let's say I have object A that is in Group A, Group A is in Group B and Group B is in Group C...
I would want an output like this, or similar:
OBJECT A
Groups
- Group A
- Group B
- Group C
Could I list all groups, including parent groups, for an object with the API?
Thanks
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using a single command? No.
You’d have to programmatically list the group and any nested groups you find.
To find groups that contain a given object, you’d probably have to use something like where-used to do it.
