- Products
- Learn
- Local User Groups
- Partners
- More
CheckMates Fifth Birthday
Celebrate with Us!
days
hours
minutes
seconds
Join the CHECKMATES Everywhere Competition
Submit your picture to win!
Check Point Proactive support
Free trial available for 90 Days!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
The 2022 MITRE Engenuity ATT&CK®
Evaluations Results Are In!
Now Available: SmartAwareness Security Training
Training Built to Educate and Engage
MITRE ATT&CK
Inside Check Point products!
CheckFlix!
All Videos In One Space
Hi Folks,
Need your help with couple of queries.
1. I am trying to print the rulebase (with/without filters) through Ansible playbook (access_rule_facts module of checkpoint collection), but, it prints the result in Hex format (not readable), not the way how it populates the value in smart console rules. How can I print it in normal ip addr/port number/application/site format? tried doing it through postman and result was same. Postman Output:
=============
2. Is it possible to filter the output by source, destination, port and action? I assume if we choose to filter, then we need loop to print the same for all the rules. Is it possible within Ansible Playbook?
Any help here would be appreciated.
You might try the regular REST API for the second question: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-access-rulebase~v1.8%20
Possible this is also doable with Ansible
For the first question, you might need to use use_object_dictionary: false to get results that aren’t uuids.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY