Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Lijo_mathai
Contributor
Jump to solution

View network host objects in SMART CLI

Hi Mates, is there a way to export all network object from SMART CLI into .csv?

0 Kudos
1 Solution

Accepted Solutions
Tal_Paz-Fridman
Employee
Employee

Hi

Not sure about the CLI but you can easily achieve it from SmartConsole using the Object Explorer.

Just press on Ctrl + E, select the relevant categories you want and apply Actions > Export

 

Object Explorer.JPG

HTH

Tal

View solution in original post

0 Kudos
3 Replies
Maik
Advisor

Take a look at this solution:

 

https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/CLI-API-Example-for-exporting-imp...

 

It exports all kinds of objects to a csv, alternatively you can also create a small script on your own to just pass the network objects to a csv (e.g. via bash mgmt_cli commands and jq or via python).

0 Kudos
Tal_Paz-Fridman
Employee
Employee

Hi

Not sure about the CLI but you can easily achieve it from SmartConsole using the Object Explorer.

Just press on Ctrl + E, select the relevant categories you want and apply Actions > Export

 

Object Explorer.JPG

HTH

Tal

0 Kudos
Lijo_mathai
Contributor

Thanks, this works. We can see IP netmask info once we export specific Objects say Hosts under Network Objects will exports all the host objects created in the database.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events