- Products
- Learn
- Local User Groups
- Partners
- More
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
Join our TechTalk: Malware 2021 to Present Day
Building a Preventative Cyber Program
Be a CloudMate!
Check out our cloud security exclusive space!
Check Point's Cyber Park is Now Open
Let the Games Begin!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
When you look a the details for a Category it mentions how many applications it contains.
Is it possible and how can you see which applications it contains?
thanks
I'm not aware of a mechanism within Smartconsole to match applications based on category.
However, it is possible to query them via the API from the command line. This is how I managed to query it from the cli and dump it to a file. This particular script is only selecting options from the additional-categories and not the primary category.
mgmt_cli -r true login > session.id
appcount="`mgmt_cli -s session.id show application-sites -f json limit 1 | jq -r .total`"
displayed=0
touch applist
while [ $displayed -lt $appcount ];
do
mgmt_cli -s session.id show application-sites -f json details-level full limit 100 offset ${displayed} | jq -r '.objects[]|select(."additional-categories"[] | contains("High Bandwidth"))|[.name,."primary-category",."additional-categories"|tostring]|@csv' >> applist
let displayed+=100
done
mgmt_cli -s session.id logout
I'm not aware of a mechanism within Smartconsole to match applications based on category.
However, it is possible to query them via the API from the command line. This is how I managed to query it from the cli and dump it to a file. This particular script is only selecting options from the additional-categories and not the primary category.
mgmt_cli -r true login > session.id
appcount="`mgmt_cli -s session.id show application-sites -f json limit 1 | jq -r .total`"
displayed=0
touch applist
while [ $displayed -lt $appcount ];
do
mgmt_cli -s session.id show application-sites -f json details-level full limit 100 offset ${displayed} | jq -r '.objects[]|select(."additional-categories"[] | contains("High Bandwidth"))|[.name,."primary-category",."additional-categories"|tostring]|@csv' >> applist
let displayed+=100
done
mgmt_cli -s session.id logout
thanks. This solution works fine.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY