SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1
David van Schalkwyk
 

Tendances (20)

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

Similaire à Check Point automatizace a orchestrace

Modernizing Software Development in the US Navy
Modernizing Software Development in the US NavyModernizing Software Development in the US Navy
Modernizing Software Development in the US Navy
Amazon Web Services
 
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
Amazon Web Services Korea
 

Similaire à Check Point automatizace a orchestrace (20)

Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
 
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
 
Modernizing Software Development in the US Navy
Modernizing Software Development in the US NavyModernizing Software Development in the US Navy
Modernizing Software Development in the US Navy
 
DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Application Modernization with PKS / Kubernetes
Application Modernization with PKS / KubernetesApplication Modernization with PKS / Kubernetes
Application Modernization with PKS / Kubernetes
 
Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
 Architect Your Legacy Microsoft Apps into Modern Cloud Workloads Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
 
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
 
Black Belt Tips for IT Operations - AWS Summit Sydney 2018
Black Belt Tips for IT Operations - AWS Summit Sydney 2018Black Belt Tips for IT Operations - AWS Summit Sydney 2018
Black Belt Tips for IT Operations - AWS Summit Sydney 2018
 
How Nubank Automates Fine-Grained Security with IAM, AWS Lambda, and CI/CD (F...
How Nubank Automates Fine-Grained Security with IAM, AWS Lambda, and CI/CD (F...How Nubank Automates Fine-Grained Security with IAM, AWS Lambda, and CI/CD (F...
How Nubank Automates Fine-Grained Security with IAM, AWS Lambda, and CI/CD (F...
 
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
AWS 기반 Microservice 운영을 위한 데브옵스 사례와 Spinnaker 소개::김영욱::AWS Summit Seoul 2018
 
How Zalando integrates Kubernetes with AWS
How Zalando integrates Kubernetes with AWSHow Zalando integrates Kubernetes with AWS
How Zalando integrates Kubernetes with AWS
 
AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2
 
Drive Self-Service & Standardization in the First 100 Days of Your Cloud Migr...
Drive Self-Service & Standardization in the First 100 Days of Your Cloud Migr...Drive Self-Service & Standardization in the First 100 Days of Your Cloud Migr...
Drive Self-Service & Standardization in the First 100 Days of Your Cloud Migr...
 
Architecting for Real-Time Insights with Amazon Kinesis (ANT310) - AWS re:Inv...
Architecting for Real-Time Insights with Amazon Kinesis (ANT310) - AWS re:Inv...Architecting for Real-Time Insights with Amazon Kinesis (ANT310) - AWS re:Inv...
Architecting for Real-Time Insights with Amazon Kinesis (ANT310) - AWS re:Inv...
 
CI/CD using AWS developer tools
CI/CD using AWS developer toolsCI/CD using AWS developer tools
CI/CD using AWS developer tools
 
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
 
Serverless patterns
Serverless patternsServerless patterns
Serverless patterns
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 
CI/CD@Scale
CI/CD@ScaleCI/CD@Scale
CI/CD@Scale
 

Plus de MarketingArrowECS_CZ

Plus de MarketingArrowECS_CZ (20)

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

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

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