Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Ryan_Ryan
Advisor

Get objects and number of references

Hi all,

 

Is there a way I can retrieve a list of objects, lets say hosts, and get a numeric value output of how many times they are used across all policies?

 

 

0 Kudos
1 Reply
Amir_Senn
Employee
Employee

Show hosts reference in MGMT API reference guide:

https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-hosts~v1.9.1%20

I think that hits can be seen by number of logs containing host name either by source or destination, so you can try show logs with filter source host name OR dst host name and collect number of logs in the timeframe.

Show logs reference in MGMT API reference guide:

https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-logs~v1.9.1%20

I think you can also try to use SmartView to create a more comprehensive views and reports.

Kind regards, Amir Senn
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events