- Products
- Learn
- Local User Groups
- Partners
-
More
Celebrate the New Year
With CheckMates!
Value of Security
Vendor Self-Awareness
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
Mobile Security
Buyer's Guide Out Now
Important! R80 and R80.10
End Of Support around the corner (May 2021)
On 15th August 2017 we did a webinar with Ryan Darst about the automation and orchestration capabilities you can achieve with the R80.10 API. Specifically, this session covered:
The content presented is below:
Slides: How to use R80.10 API for Automation and Streamlined Security (PPT)
Video: How to use R80.10 API for Automation and Streamlined Security (Video)
Scripts: CheckMates_Aug15_Demos.zip
It was really a great presentation and demo by Ryan Darst.
Question-1: Is this automation limited to cloud or can we create objects, rules etc in VSX environment?
Question-2: Any suggestions on integration with ticketing systems - to get the source, destination, ports and create objects and rules based on that information?
Automation can be done with on-premise gateways with VSX as well (though creation and some configuration of VS still requires a CLI command)
Integration with ticketing systems requires some business-specific logic.
I know (in general) we are working on specific integrations with some of these systems to assist with that.
q1 : You can use the API's put-file and run-script:
Check Point - Management API reference
put-file file-path "/home/admin/" file-name "vsx_conf" file-content "vs ip 192.0.2.1\nvs2 ip 192.0.2.2" targets.1 "corporate-gateway" --format json
Check Point - Management API referencerun-script script-name "Script Example: run /home/admin/vsx_conf" script "/home/admin/vsx_conf" targets.1 "corporate-gateway" --format json
Webinar was absolutely fantastic!
We want to test automation in our company so I downloaded a trial R80.10 version. Seems like Management API is not available there (nothing in Manage & Settings). Is it available only in licensed versions?
In these environments, Automatic start is selected by default:
In other environments, to reduce the memory consumption on the management server, Automatic start is not selected by default.
Configure IP addresses from which the API server accepts requests:
mgmt_cli
utility to send API requests.To apply changes, you must publish the session, and run the api restart
command on the Security Management Server.
The options mentioned by Ofir Sh can be found here in the SmartConsole:
MANAGE & SETTINGS > Blades > Management API > Advanced Settings...
I would also like to add that you can use the API over HTTPS also in the cloud demo. You have to: set an administrator's password, enable the API access, publish the session, copy the demo server's IP address.
Guys, I know how to read documentation. I said I don't have such option on a trial license:
By trial license, do you mean the built-in 15-day one you get on install?
I know it works with ones generated from User Center.
Even so I did a fresh install with R80.10, using the built-in license, and found the GUI option there.
Another way to enable the API is through the CLI, which I describe here: https://community.checkpoint.com/thread/1082
are you using MDM (MDS)?
From your screenshot I see it's a Multi-Domain deployment and you have logged into one of your domain. API settings are managed in the MDS domain since it's one process for the server (since it has no inner state).
Please log into your MDS domain and set the settings.
Dameon Welch Abernathy Ofir Sh Václav Brožík I challenge u to spot my proof for that being a multi-domain screenshot
Challenge accepted
The key appears to be here:
In an MDM (or at least the screenshot Stefan Stefanov), there is no Permissions & Administrators and Sync with UserCenter options.
The above screenshot is from my standalone (not MDM) manager.
Hi,
I am using Terraform for infrastructure provisioning and Ansible for configuration in AWS to deploy checkpoint FIrewall R80, I am stuck on few points below,
1. How to add URL for Egress filtering. We need to policy through Ansible so that Internal subnet can access the Some URL on the Internet and rest should be blocked.
2. How to add gateways in the Management server.
3.How to enable other blades(IPS etc.) if required.
4. How to config for lag management, I am planning to send to Splunk server.
4. How we can define instance as the Management server. For Gateway I am using below in user data file.
my_user_data: |
#!/bin/bash
clish -c 'set user admin shell /bin/bash' -s
clish -c 'set static-route {{ aws_lb1_subnet_cidr }} nexthop gateway address {{ aws_internal_route }} on' -s
clish -c 'set static-route {{ aws_lb2_subnet_cidr }} nexthop gateway address {{ aws_internal_route }} on' -s
clish -c 'set static-route {{ aws_webserver_subnet_cidr }} nexthop gateway address {{ aws_internal_route }} on' -s
clish -c 'set static-route {{ aws_database_subnet_cidr }} nexthop gateway address {{ aws_internal_route }} on' -s
config_system -s 'install_security_gw=true&install_ppak=true&gateway_cluster_member=false&install_security_managment=false&ftw_sic_key=vpn12345';shutdown -r now;
Any help would be highly appreciable.
Questions 1-3 can be answered by reading the API documentation: Tip of the Day: Local R80.x API Documentation
I would search for and ask the specific API questions as seperate thread(s) here: Developers (Code Hub)
Question 4 should be solved with Log Exporter, see: Log Exporter guide and Log Exporter - Splunk Integration Update
Question 5, you need to (at a minimum) modify the config_system line, see: How to run the First Time Configuration Wizard through CLI in Gaia R76 and above
You probably need to do other things as well and it might be worth reviewing the CloudFormation script for installing Management in AWS.
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY