SlideShare a Scribd company logo
1©2018 Check Point Software Technologies Ltd.©2018 Check Point Software Technologies Ltd.
Jan Kurdík | Security Engineer
jan.kurdik@arrow.com
R80.10
AUTOMATION AND
ORCHESTRATION
[Protected] Distribution or modification is subject to approval ​
2©2018 Check Point Software Technologies Ltd.©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
• Orchestration Needs
• Intro to API, JSON & YAML
• Check Point Automation Solutions
• Introduction to Ansible
• Orchestra and automate Check Point
• Blink
Agenda
3©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
Automation is about codifying tasks
Orchestration is about codifying processes
Orchestration takes advantage of automation
by reusing these basic building blocks.
4©2018 Check Point Software Technologies Ltd.
Key Drivers
Public Cloud
SD-WAN
Private Cloud Efficiency Improvements
5©2018 Check Point Software Technologies Ltd.
Orchestration Deployment Example
Deploy an entire web environment including
Check Point gateways in Open Stack
“all from a template configuration file”
6©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
7©2018 Check Point Software Technologies Ltd.
Intro to API, JSON & YAML
[Protected] Distribution or modification is subject to approval ​
8©2018 Check Point Software Technologies Ltd.
RESTful API ?? , what is that?
[Protected] Distribution or modification is subject to approval ​
• HTTP-based RESTful APIs are defined with the following aspects:
̶ Using standard HTTP methods (e.g., OPTIONS, GET, PUT, POST, and DELETE)
̶ Called via a base URL such as https://<mgmt>/web_api/
̶ An internet content type that tells the client how to compose requests in the body
to the server (e.g. HTML , JSON , XML)
GET POST PUT DELETE
9©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
• JavaScript Object Notation (JSON) is a textual representation defined by
a small set of governing rules in which data is structured.
• This makes it:
̶ Easy for humans to read and write.
̶ Easy for machines to parse and generate.
• YAML – YAML Ain’t Markup Language (YAML)
̶ YAML is a superset of the JSON serialization language
̶ YAML and JSON aim to be human readable as a data interchange format
̶ YAML is similar to Python and indentation-based scoping is used
What is JSON & YAML?
10©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content
Comparison of JSON vs YAML
{
"name" : "host1",
"ip-address" : "1.1.1.1",
"tags" : ["1st", "2nd", "3rd"],
"nat-settings" : {
"auto-rule" : true,
"ip-address" : "192.0.0.1"
}
}
---
name: host1
ip-address: 1.1.1.1
tags:
- 1st
- 2nd
- 3rd
nat-settings:
auto-rule: true
ip-address: 192.0.0.1
11©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content
https://community.checkpoint.com/docs/DOC-2894
12©2018 Check Point Software Technologies Ltd.
Check Point Automation Solutions
[Protected] Distribution or modification is subject to approval ​
13©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
SK121360 - Check Point APIs Homepage
• Management
̶ Policy
̶ IoT API
̶ Gaia
̶ SmartConsole
̶ Log Events
̶ Provisioning
̶ Identity
• Mobile
̶ SandBlast Mobile
• Threat Prevention
̶ SandBlast API
̶ Block Lists
̶ IoC Feeds
14©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
Introduction to the
R80.10 Management API
15©2018 Check Point Software Technologies Ltd.
What type of API does the “Management API” use?
[Protected] Distribution or modification is subject to approval ​
• Security Management API uses a HTTP-based RESTful API
̶ All calls are sent using the “POST” HTTP method
̶ Base URL is https://<mgmt>/web_api/
̶ Header is defined with content type JavaScript Object Notation (JSON)
̶ Payload is written in JSON style format for the HTTP body
HTTP POST https://<mgmt>/web_api/login
Headers Content-Type: application/json
Body {
"user" : "Jim",
"password" : "MyPwd",
"domain" : "Nordics"
}
HTTP Method
Content type
16©2018 Check Point Software Technologies Ltd.
Gaia CLI
Configuration templates
mgmt add host name host1
ip-address 1.1.1.1
API Guide : https://sc1.checkpoint.com/documents/latest/APIs/index.html
[Protected] Distribution or modification is subject to approval ​
SmartConsolemgmt_cli toolWeb Services
Four ways to interact with management API Server
RESTFul API / JSON format Shell Scripting Faster operations
Which are all sending HTTP-based RESTful API calls to the management API server
--------------------------------------
2017-01-26 16:17:57,647 INFO [GUI] org.apache.cxf.interceptor.LoggingInInterceptor.log:250 [qtp-578874734-25] - Inbound Message
----------------------------
ID: 26
Address: http://127.0.0.1:50276/web_api/add-host
Encoding: ISO-8859-1
Http-Method: POST
Content-Type: application/json
Headers: {Accept=[text/plain], Content-Length=[42], content-type=[application/json], Host=[127.0.0.1:50276], Max-Forwards=[10],
X-chkp-debug=[GUI], X-chkp-sid=[9NOURe8pOk1hL8qPlFXdM6hScj6XbKLatZhD96JLQQ8], X-Forwarded-For=[127.0.0.1], X-Forwarded-
Host=[127.0.0.1], X-Forwarded-Host-Port=[443], X-Forwarded-Server=[192.168.233.20]}
Payload: {"ip-address":“1.1.1.1","name":"host1"}
# mgmt_cli –r true add host
name host1 ip-address 1.1.1.1
$FWDIR/log/api.elg
17©2018 Check Point Software Technologies Ltd.
Always remember the flow
Login
(Get session ID)
Make
Changes Publish Logout
https://<mgmt>/web_api/login https://<mgmt>/web_api/add-host https://<mgmt>/web_api/publish https://<mgmt>/web_api/logout
Install Policy
https://<mgmt>/web_api/install_policy
[Protected] Distribution or modification is subject to approval ​
18©2018 Check Point Software Technologies Ltd.
• To troubleshoot the API calls
• Check the API status
• Restart the API
• Reconfigure the API (Faster than restart)
Useful commands
# tail –f $FWDIR/log/api.elg
# api status
# api restart
# api reconf
[Protected] Distribution or modification is subject to approval ​
19©2018 Check Point Software Technologies Ltd.
Testing the API calls
[Protected] Distribution or modification is subject to approval ​
• Postman
̶ Can import R80 collections
̶ https://community.checkpoint.com/message/5648
̶ Can export calls as scripts
20©2018 Check Point Software Technologies Ltd.
Introduction to Ansible
[Protected] Distribution or modification is subject to approval ​
21©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
What is this “Ansible” thing…
22©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content
In short…
Ansible can automate IT environments whether they are hosted
on traditional bare metal servers, virtualization platforms, or in the
cloud.
It can also automate the configuration of a wide range of systems
and devices such as databases, storage devices, networks,
firewalls, and many others.
23©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
• Ansible is software that automates software provisioning, configuration
management, and application deployment.
̶ Commands are sent to the end modules via SSH
̶ Modules are available to make Ansible extensible
̶ Many are included by default
̶ Check Point’s module is currently included by default
Ansible – What is it???
24©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
• The "Ansible Check Point Management" module provides the ability to
automate Check Point management tasks (e.g. add objects, manipulate
the rule base, push policy) into the Ansible automation platform.
̶ More information is available on communit.checkpoint.com
̶ https://community.checkpoint.com/docs/DOC-1928
̶ The latest version is available on GitHub
̶ https://github.com/CheckPoint-APIs-Team/cpAnsible
Sk121360 - Automate management using "Ansible"
25©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
• Ansible uses an inventory system
̶ Simple Text Files (/etc/ansible/hosts)
̶ Dynamic Inventory – think AWS, Azure, or OpenStack
• Ansible Playbooks are used to orchestrate move/add/changes
̶ Multiple tasks can be run in a Playbook
̶ Playbooks can be combined
• Ansible is driven by Python
• Ansible playbooks are written in YAML
Ansible – What is it???
26©2018 Check Point Software Technologies Ltd.
Orchestration Deployment Example
• Deploy and configure:
̶ Primary & Secondary Management Server
̶ Establish SIC between Management Servers
̶ Access Control and Threat Prevention Policy
̶ To protect our new WebShop
̶ Security Gateway
̶ Establish SIC with Security Gateway
̶ Install Access Control and Threat Prevention Policy
̶ Deploy new WebShop Web Server
“all from a template configuration file”
27©2018 Check Point Software Technologies Ltd.
Blink
[Protected] Distribution or modification is subject to approval ​
28©2018 Check Point Software Technologies Ltd.
Gateway provisioning
• Provisioning a gateway with
̶ Any clish command
̶ Latest JHF
̶ IP-address
̶ Default Gateway
̶ NTP
̶ DNS
̶ SIC
• Using blink under 4 minutes
30©2018 Check Point Software Technologies Ltd.
31©2018 Check Point Software Technologies Ltd.
Thank You

More Related Content

PDF
Oracle Cloud Infrastructure – Compute
PDF
Benefity Oracle Cloudu (4/4): Storage
PDF
Výhody a benefity nasazení Oracle Database Appliance
PDF
Konfigurace sítí v Oracle Cloudu
PDF
Úvod do Oracle Cloud infrastruktury
PDF
Oracle Data Protection - 2. část
PPTX
OCI Overview
PDF
Multitenant Full Deck Jan 2015 Cloud Team AJ Linkedin
Oracle Cloud Infrastructure – Compute
Benefity Oracle Cloudu (4/4): Storage
Výhody a benefity nasazení Oracle Database Appliance
Konfigurace sítí v Oracle Cloudu
Úvod do Oracle Cloud infrastruktury
Oracle Data Protection - 2. část
OCI Overview
Multitenant Full Deck Jan 2015 Cloud Team AJ Linkedin

What's hot (20)

PPT
Oracle Virtualization "OVM"
PDF
Camel Riders in the Cloud
PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
PPTX
OpenStack + Nano Server + Hyper-V + S2D
PPTX
Presenta completaoow2013
PDF
Oracle database in cloud, dr in cloud and overview of oracle database 18c
PPT
Exadata x3 workshop
PPTX
Scaling with the Cloud:  Strategies for Storage in Cloud Deployments
PDF
Oow Ppt 2
PPTX
2021 March Pravega Community Meeting
PPTX
Exalogic workshop overview__hardwarev4
PPTX
Oracle big data appliance and solutions
PDF
MOUG17 Keynote: Oracle OpenWorld Major Announcements
PPTX
AWS Storage Tiering for Enterprise Workloads
PPTX
IBM Power Systems Announcement Update
PPTX
Exalogic Technical Overview
PPTX
Oracle Solutions on AWS : May 2014
PPT
PDoolan Oracle Overview PPT Version
PPTX
CON6492 - Oracle Database Public Cloud Services v1 1
PDF
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Oracle Virtualization "OVM"
Camel Riders in the Cloud
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
OpenStack + Nano Server + Hyper-V + S2D
Presenta completaoow2013
Oracle database in cloud, dr in cloud and overview of oracle database 18c
Exadata x3 workshop
Scaling with the Cloud:  Strategies for Storage in Cloud Deployments
Oow Ppt 2
2021 March Pravega Community Meeting
Exalogic workshop overview__hardwarev4
Oracle big data appliance and solutions
MOUG17 Keynote: Oracle OpenWorld Major Announcements
AWS Storage Tiering for Enterprise Workloads
IBM Power Systems Announcement Update
Exalogic Technical Overview
Oracle Solutions on AWS : May 2014
PDoolan Oracle Overview PPT Version
CON6492 - Oracle Database Public Cloud Services v1 1
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Ad

Similar to Check Point automatizace a orchestrace (10)

PPTX
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
PPTX
Application Modernization with PKS / Kubernetes
PDF
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
PPTX
How Zalando integrates Kubernetes with AWS
PDF
CI/CD using AWS developer tools
PPTX
Serverless patterns
PDF
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
PDF
Peteris Arajs - Where is my data
PPTX
F5 Meetup presentation automation 2017
PDF
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Application Modernization with PKS / Kubernetes
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
How Zalando integrates Kubernetes with AWS
CI/CD using AWS developer tools
Serverless patterns
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
Peteris Arajs - Where is my data
F5 Meetup presentation automation 2017
Transformation Track AWS Cloud Experience Argentina - Why Enterprise Workload...
Ad

More from MarketingArrowECS_CZ (20)

PDF
INFINIDAT InfiniGuard - 20220330.pdf
PDF
Využijte svou Oracle databázi na maximum!
PDF
Jak konsolidovat Vaše databáze s využitím Cloud služeb?
PDF
Chráníte správně svoje data?
PDF
Oracle databáze – Konsolidovaná Data Management Platforma
PDF
Nové vlastnosti Oracle Database Appliance
PDF
Infinidat InfiniGuard
PDF
Infinidat InfiniBox
PDF
Novinky ve světě Oracle DB a koncept konvergované databáze
PDF
Základy licencování Oracle software
PDF
Garance 100% dostupnosti dat! Kdo z vás to má?
PDF
Využijte svou Oracle databázi naplno
PDF
Oracle Data Protection - 1. část
PDF
Benefity Oracle Cloudu (3/4): Compute
PDF
InfiniBox z pohledu zákazníka
PDF
Exadata z pohledu zákazníka a novinky generace X8M - 2. část
PDF
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
PDF
vSAN a FileServices
PDF
Oracle databáze - zkonsolidovat, ochránit a ještě ušetřit! (1. část)
PDF
Oracle databáze - zkonsolidovat, ochránit a ještě ušetřit! (2. část)
INFINIDAT InfiniGuard - 20220330.pdf
Využijte svou Oracle databázi na maximum!
Jak konsolidovat Vaše databáze s využitím Cloud služeb?
Chráníte správně svoje data?
Oracle databáze – Konsolidovaná Data Management Platforma
Nové vlastnosti Oracle Database Appliance
Infinidat InfiniGuard
Infinidat InfiniBox
Novinky ve světě Oracle DB a koncept konvergované databáze
Základy licencování Oracle software
Garance 100% dostupnosti dat! Kdo z vás to má?
Využijte svou Oracle databázi naplno
Oracle Data Protection - 1. část
Benefity Oracle Cloudu (3/4): Compute
InfiniBox z pohledu zákazníka
Exadata z pohledu zákazníka a novinky generace X8M - 2. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
vSAN a FileServices
Oracle databáze - zkonsolidovat, ochránit a ještě ušetřit! (1. část)
Oracle databáze - zkonsolidovat, ochránit a ještě ušetřit! (2. část)

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Spectroscopy.pptx food analysis technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Spectroscopy.pptx food analysis technology
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
20250228 LYD VKU AI Blended-Learning.pptx

Check Point automatizace a orchestrace

  • 1. 1©2018 Check Point Software Technologies Ltd.©2018 Check Point Software Technologies Ltd. Jan Kurdík | Security Engineer jan.kurdik@arrow.com R80.10 AUTOMATION AND ORCHESTRATION [Protected] Distribution or modification is subject to approval ​
  • 2. 2©2018 Check Point Software Technologies Ltd.©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ • Orchestration Needs • Intro to API, JSON & YAML • Check Point Automation Solutions • Introduction to Ansible • Orchestra and automate Check Point • Blink Agenda
  • 3. 3©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ Automation is about codifying tasks Orchestration is about codifying processes Orchestration takes advantage of automation by reusing these basic building blocks.
  • 4. 4©2018 Check Point Software Technologies Ltd. Key Drivers Public Cloud SD-WAN Private Cloud Efficiency Improvements
  • 5. 5©2018 Check Point Software Technologies Ltd. Orchestration Deployment Example Deploy an entire web environment including Check Point gateways in Open Stack “all from a template configuration file”
  • 6. 6©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​
  • 7. 7©2018 Check Point Software Technologies Ltd. Intro to API, JSON & YAML [Protected] Distribution or modification is subject to approval ​
  • 8. 8©2018 Check Point Software Technologies Ltd. RESTful API ?? , what is that? [Protected] Distribution or modification is subject to approval ​ • HTTP-based RESTful APIs are defined with the following aspects: ̶ Using standard HTTP methods (e.g., OPTIONS, GET, PUT, POST, and DELETE) ̶ Called via a base URL such as https://<mgmt>/web_api/ ̶ An internet content type that tells the client how to compose requests in the body to the server (e.g. HTML , JSON , XML) GET POST PUT DELETE
  • 9. 9©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ • JavaScript Object Notation (JSON) is a textual representation defined by a small set of governing rules in which data is structured. • This makes it: ̶ Easy for humans to read and write. ̶ Easy for machines to parse and generate. • YAML – YAML Ain’t Markup Language (YAML) ̶ YAML is a superset of the JSON serialization language ̶ YAML and JSON aim to be human readable as a data interchange format ̶ YAML is similar to Python and indentation-based scoping is used What is JSON & YAML?
  • 10. 10©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content Comparison of JSON vs YAML { "name" : "host1", "ip-address" : "1.1.1.1", "tags" : ["1st", "2nd", "3rd"], "nat-settings" : { "auto-rule" : true, "ip-address" : "192.0.0.1" } } --- name: host1 ip-address: 1.1.1.1 tags: - 1st - 2nd - 3rd nat-settings: auto-rule: true ip-address: 192.0.0.1
  • 11. 11©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content https://community.checkpoint.com/docs/DOC-2894
  • 12. 12©2018 Check Point Software Technologies Ltd. Check Point Automation Solutions [Protected] Distribution or modification is subject to approval ​
  • 13. 13©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ SK121360 - Check Point APIs Homepage • Management ̶ Policy ̶ IoT API ̶ Gaia ̶ SmartConsole ̶ Log Events ̶ Provisioning ̶ Identity • Mobile ̶ SandBlast Mobile • Threat Prevention ̶ SandBlast API ̶ Block Lists ̶ IoC Feeds
  • 14. 14©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ Introduction to the R80.10 Management API
  • 15. 15©2018 Check Point Software Technologies Ltd. What type of API does the “Management API” use? [Protected] Distribution or modification is subject to approval ​ • Security Management API uses a HTTP-based RESTful API ̶ All calls are sent using the “POST” HTTP method ̶ Base URL is https://<mgmt>/web_api/ ̶ Header is defined with content type JavaScript Object Notation (JSON) ̶ Payload is written in JSON style format for the HTTP body HTTP POST https://<mgmt>/web_api/login Headers Content-Type: application/json Body { "user" : "Jim", "password" : "MyPwd", "domain" : "Nordics" } HTTP Method Content type
  • 16. 16©2018 Check Point Software Technologies Ltd. Gaia CLI Configuration templates mgmt add host name host1 ip-address 1.1.1.1 API Guide : https://sc1.checkpoint.com/documents/latest/APIs/index.html [Protected] Distribution or modification is subject to approval ​ SmartConsolemgmt_cli toolWeb Services Four ways to interact with management API Server RESTFul API / JSON format Shell Scripting Faster operations Which are all sending HTTP-based RESTful API calls to the management API server -------------------------------------- 2017-01-26 16:17:57,647 INFO [GUI] org.apache.cxf.interceptor.LoggingInInterceptor.log:250 [qtp-578874734-25] - Inbound Message ---------------------------- ID: 26 Address: http://127.0.0.1:50276/web_api/add-host Encoding: ISO-8859-1 Http-Method: POST Content-Type: application/json Headers: {Accept=[text/plain], Content-Length=[42], content-type=[application/json], Host=[127.0.0.1:50276], Max-Forwards=[10], X-chkp-debug=[GUI], X-chkp-sid=[9NOURe8pOk1hL8qPlFXdM6hScj6XbKLatZhD96JLQQ8], X-Forwarded-For=[127.0.0.1], X-Forwarded- Host=[127.0.0.1], X-Forwarded-Host-Port=[443], X-Forwarded-Server=[192.168.233.20]} Payload: {"ip-address":“1.1.1.1","name":"host1"} # mgmt_cli –r true add host name host1 ip-address 1.1.1.1 $FWDIR/log/api.elg
  • 17. 17©2018 Check Point Software Technologies Ltd. Always remember the flow Login (Get session ID) Make Changes Publish Logout https://<mgmt>/web_api/login https://<mgmt>/web_api/add-host https://<mgmt>/web_api/publish https://<mgmt>/web_api/logout Install Policy https://<mgmt>/web_api/install_policy [Protected] Distribution or modification is subject to approval ​
  • 18. 18©2018 Check Point Software Technologies Ltd. • To troubleshoot the API calls • Check the API status • Restart the API • Reconfigure the API (Faster than restart) Useful commands # tail –f $FWDIR/log/api.elg # api status # api restart # api reconf [Protected] Distribution or modification is subject to approval ​
  • 19. 19©2018 Check Point Software Technologies Ltd. Testing the API calls [Protected] Distribution or modification is subject to approval ​ • Postman ̶ Can import R80 collections ̶ https://community.checkpoint.com/message/5648 ̶ Can export calls as scripts
  • 20. 20©2018 Check Point Software Technologies Ltd. Introduction to Ansible [Protected] Distribution or modification is subject to approval ​
  • 21. 21©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ What is this “Ansible” thing…
  • 22. 22©2018 Check Point Software Technologies Ltd. [Protected] Non-confidential content In short… Ansible can automate IT environments whether they are hosted on traditional bare metal servers, virtualization platforms, or in the cloud. It can also automate the configuration of a wide range of systems and devices such as databases, storage devices, networks, firewalls, and many others.
  • 23. 23©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ • Ansible is software that automates software provisioning, configuration management, and application deployment. ̶ Commands are sent to the end modules via SSH ̶ Modules are available to make Ansible extensible ̶ Many are included by default ̶ Check Point’s module is currently included by default Ansible – What is it???
  • 24. 24©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ • The "Ansible Check Point Management" module provides the ability to automate Check Point management tasks (e.g. add objects, manipulate the rule base, push policy) into the Ansible automation platform. ̶ More information is available on communit.checkpoint.com ̶ https://community.checkpoint.com/docs/DOC-1928 ̶ The latest version is available on GitHub ̶ https://github.com/CheckPoint-APIs-Team/cpAnsible Sk121360 - Automate management using "Ansible"
  • 25. 25©2018 Check Point Software Technologies Ltd. [Protected] Distribution or modification is subject to approval ​ • Ansible uses an inventory system ̶ Simple Text Files (/etc/ansible/hosts) ̶ Dynamic Inventory – think AWS, Azure, or OpenStack • Ansible Playbooks are used to orchestrate move/add/changes ̶ Multiple tasks can be run in a Playbook ̶ Playbooks can be combined • Ansible is driven by Python • Ansible playbooks are written in YAML Ansible – What is it???
  • 26. 26©2018 Check Point Software Technologies Ltd. Orchestration Deployment Example • Deploy and configure: ̶ Primary & Secondary Management Server ̶ Establish SIC between Management Servers ̶ Access Control and Threat Prevention Policy ̶ To protect our new WebShop ̶ Security Gateway ̶ Establish SIC with Security Gateway ̶ Install Access Control and Threat Prevention Policy ̶ Deploy new WebShop Web Server “all from a template configuration file”
  • 27. 27©2018 Check Point Software Technologies Ltd. Blink [Protected] Distribution or modification is subject to approval ​
  • 28. 28©2018 Check Point Software Technologies Ltd. Gateway provisioning • Provisioning a gateway with ̶ Any clish command ̶ Latest JHF ̶ IP-address ̶ Default Gateway ̶ NTP ̶ DNS ̶ SIC • Using blink under 4 minutes
  • 29. 30©2018 Check Point Software Technologies Ltd.
  • 30. 31©2018 Check Point Software Technologies Ltd. Thank You