SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
SECURITY BEST
PRACTICE
APICONNECT & GATEWAY
@SHIUFUNPOON
TRADEMARK ACKNOWLEDGEMENTS
• IBM, IBM API Connect, IBM DataPower Gateway are trademarks of International Business
Machines Corporation, registered in many jurisdictions
• Other company, product and service names may be trademarks, registered marks or service
marks of their respective owners. A current list of IBM trademarks is available on the web at
"Copyright and trademark information" ibm.com/legal/copytrade.html
SECURITY
• Availability
• Configurable
• Standard
• Ease of use
• Monitoring
• Resource consumption
• …
SECURITY – THIS IS ALWAYS A BALANCING ACT
• Availability
• Configurable
• Standard
• Ease of use
• Monitoring
• Resource consumption
• …
API SECURITY
API Gateway:
• Decoupling/routing
• Traffic management
• Security
• Translation
Developer portal:
• API discovery
• Self subscription/administration
• Account usage analytics
• Monetization
• Security
API Manager:
• Plan/product design
• Policy administration
• API plan usage analytics
• API Governance
• Security
https://www.ibm.com/docs/en/api-connect/2018.x?topic=installing-
maintaining-your-api-connect-cloud
MANAGEMENT SERVER
APIC UNDER THE HOOK
• Internal services communicating vs mTLS
• Quorum, with 3 being the magic number
• APIc is the match maker, it introduces each subsystem to each others
• APIM, Portal, Analytics, Gateway
• How does APIM <-> Portal
• How does APIM <-> Analytics
• How does APIM <-> Gateway
• How does Portal <-> Analytics
• How does Gateway <-> Analytics
• Configurable, extensible
https://www.ibm.com/downloads/cas/NQBJRBDO
Ç√
API MANAGER
• API are published
• Publish in openapi v2 format
• apim vs consumer
• WebGUI/toolkits/portal/BYO
• RateLimit
Drinking Our Own Champagne
Get an access_token
access_token must contain the right scope
Permission is checked
Is token valid
Token contains necessary scope ?
Does User has the proper permission ?
HARDENED PORTAL SECURITY
Supports OpenID Connect for
accelerated developer on-boarding and
social login
Enable PSD2/ Open Banking
compliance to programmatically onboard
consumers using REST Management APIs
and OpenID Connect
Enhanced spam protection against
spam bots with CAPTCHA and honeypot
Detect and prevent malicious attacks
with perimeter and DNS check
Detect and prevent flood attacks
CONFIGURE PORTAL BEHAVIOR
APIMANAGER WITH GATEWAY
• Gateway must be 24 * 7 (without API manager)
• API gateway introduce a gateway director manager
• Using clustering technology to track configuration from APIM
• Heartbeat from APIm to make sure Gateway will have the latest information
• 911 protocol to handle catastrophic failure
• Provides the status of how where the configuration with regard to the update from the APIm
• Gateway director allows auto scaling of the additional gateway
• Configuration/Key Materials
• State of the processing
• Istio Integration for improved performance & security by
passing API header and tokens into Istio
• Open API V3 support to meet security industry standards (i.e.
PSD2) & improve reuse
• OpenBanking & PSD2 Compliant including flexible JWT and
OAuth features
• 5X Improved Performance with cloud-native API-centric
Gateway Service
• Fast Time to Value through Out of the Box policies for API
Gateway Service
• Enterprise Specific Security Support through OAuth flow
customization
• Expanded Security with OIDC, CAPTCHA, Perimeter, DNS
check on Portal, etc.
Performant and Secure
SECURE & MANAGE GRAPHQL ENDPOINTS
Next-Gen evolution of Gateway technology
beyond Web services and REST with GraphQL
support
Secure and Manage APIs with GraphQL
backends, efficiently managing compute intensive
services
Threat Protection against cyberattacks using
advance query complexity analysis to prevent API-
based attacks
Rate Limit GraphQL queries with consumer plans
based on number of API calls & backend compute
time
https://www.ibm.com/blogs/research/2019/02/graphql-api-management/
https://developer.github.com/v4/guides/resource-limitations/
1. Access Control
• Who can access the data and what data
• APIc
• Client credential (application)
• User credential (who)
2. Load Control
• How much effort for the server to fulfill the request
• Complexity
• Type (object type)
• Resolve
GraphQL Endpoints security breakdown
Up to 5X+ increased performance with natively built
API Gateway using purpose-built technology for native
OpenAPI/Swagger REST and SOAP APIs
Multi-cloud scalability and extensibility to help
meet SLAs and improve client user experience
Optimized drag & drop built-in policies for security,
traffic control and mediation including flexible OAuth,
enhanced JSON & XML threat protection
Secure to the core with self-contained signed &
encrypted image to minimize risk, plus proven security
policies to quickly protect APIs
Before: DP Multi protocol
Gateway Service
API call Backend
New: Native API
Gateway Service
API call Backend
CLOUD-NATIVE API GATEWAY SERVICE IN DATAPOWER
API GW service
POLICIES FOR ENFORCEMENT ON API GATEWAY SERVICE
Gateway Script and XSLT policy support
provides flexible message mediation & dynamic
security enforcement
Dynamic Routing support through Conditional
Policy
Enforce strong security through Parse, JSON
and XML Schema Validation policy
OpenID Connect support to enable banks to
meet PSD2 / Open Banking regulations
OAuth Token revocation to enable self-service
token management
Foundational Security Mediation
Invoke API Key Map
Activity Log JWT Validate JSON-XML
Rate Limit JWT Generate Gateway Script
Throw OAuth Policy XSLT
Set Variable Parse
(Threat Detection)
Conditional Validate
User Security
OpenID Connect
Built-in policies
Rapid OAuth policy creation to quickly
create OAuth provider security without deep
security expertise
Improved governance capabilities on
managing OAuth providers with flexible
administrative access control to enforce
enterprise standards
Ability to meet business demands with
customizable OAuth assembly
New User Security policy to enforce
authentication & authorization in API
assembly, adapting to unique enterprise
security needs
MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH
PROVIDER
FEATURE LIST OF OAUTH IN APIC V5, V2018+V5GW,
V2018+APIGW
Features V4 V5 v2018 +V5 CompatGW v2018 + APIGW
Basic OAuth Support ✅ ✅ ✅ ✅
Distinct Client ids and Secrets ⤫ ✅ ✅ ✅
Separate API ⤫ ✅ ✅ ✅
Access Control ⤫ ⤫ ✅ ✅
Seamless packaging within product ✅ ⤫ ✅ ✅
Tight coupling with Provider ⤫ ⤫ ✅* ✅
Metadata,Token introspection, Revocation/Token
Management,Advanced scope handling
⤫ ✅ ✅ ✅
Customize OAuth Assembly ⤫ ⤫ ⤫ ✅
Dynamic configuration updates ⤫ ⤫ ** ⤫ ** ✅
Context variable driven ⤫ ⤫ ⤫ ✅
Independent Resource Owner Security ⤫ ⤫ ⤫ ✅
Out of the box OIDC support ⤫ ⤫ *** ⤫ *** ✅
Out of the box JWT Authorization Grant ⤫ ⤫ ** ⤫ ** ✅
* Tight coupling is only at the APIManager API level, not in the backendV5 Gateway
** Can be done with gateway extension
*** Supported by a set of rule in the assembly
Rapid OAuth policy creation to quickly create OAuth
provider security without deep security expertise
Improved governance capabilities on managing
OAuth providers with flexible administrative access
control to enforce enterprise standards
Ability to meet business demands with
customizable OAuth assembly
New User Security policy to enforce authentication &
authorization in API assembly, adapting to unique
enterprise security needs
MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE
OAUTH PROVIDER
Out of the box JWT Grant Type Support
Out of the box OIDC Support
CUSTOMIZABLE
EASE OF USE
• Crypto material on per OAuth native provider (vs gateway level)
• End user credential gathering (context variable) *
• Consent handling
• Global Policy (and thus inject context variable for processing) *
• Token handling (allow listing vs stateless)
• Flexibility
• ….
WHAT SHOULD I DO
• Monitoring IBM PSIRT for IBM APIC, IBM DataPower
• https://www.ibm.com/security/secure-engineering/process.html
• Timely upgrade/migration to a new version of firmware
• Balance your security needs vs platform offered (hardware vs ova vs docker vs ..)
• How about cloud ? ICP ?
• APIC Connect White Paper: https://www.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=03023503USEN&
(
• Security vs ease of use vs compatibility
• Performance/usage spike
• HA (rule of 3)
• Stateless (especially across Availability Zone)
GATEWAY SPECIFIC
• Is WebGUI needed for production
• Automate deployment (which APIc solves)
• Monitoring gateway (DataPower Operations Dashboard)
• Backup administrator
• ACL
• mTLS with your backend services
• Message validation
• Payload redact
• SLM
• AllowList vs BlockList
FROM YOU, OUR AUDIENCES
• Your feedbacks ?
• What would you like to see ?
• What can you share with each others on your experience ? Good or Bad

Más contenido relacionado

La actualidad más candente

Data Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish VemuguntaData Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish Vemugunta
floridawusergroup
 
Data power use cases
Data power use casesData power use cases
Data power use cases
sflynn073
 

La actualidad más candente (20)

Gateway/APIC security
Gateway/APIC securityGateway/APIC security
Gateway/APIC security
 
Data Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish VemuguntaData Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish Vemugunta
 
What's New in API Connect & DataPower Gateway in 1H 2018
What's New in API Connect & DataPower Gateway in 1H 2018What's New in API Connect & DataPower Gateway in 1H 2018
What's New in API Connect & DataPower Gateway in 1H 2018
 
IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2
 
DataPower Restful API Security
DataPower Restful API SecurityDataPower Restful API Security
DataPower Restful API Security
 
Migrating Single-Tenant Applications to Multi-Tenant SaaS (ARC326-R1) - AWS r...
Migrating Single-Tenant Applications to Multi-Tenant SaaS (ARC326-R1) - AWS r...Migrating Single-Tenant Applications to Multi-Tenant SaaS (ARC326-R1) - AWS r...
Migrating Single-Tenant Applications to Multi-Tenant SaaS (ARC326-R1) - AWS r...
 
Token, token... From SAML to OIDC
Token, token... From SAML to OIDCToken, token... From SAML to OIDC
Token, token... From SAML to OIDC
 
OAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPowerOAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPower
 
Azure Active Directory - An Introduction
Azure Active Directory  - An IntroductionAzure Active Directory  - An Introduction
Azure Active Directory - An Introduction
 
How to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credentialHow to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credential
 
IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018
 
금융 서비스 패러다임의 전환 가속화 시대, 신한금융투자의 Cloud First 전략 - 신중훈 AWS 솔루션즈 아키텍트 / 최성봉 클라우...
금융 서비스 패러다임의 전환 가속화 시대, 신한금융투자의 Cloud First 전략  - 신중훈 AWS 솔루션즈 아키텍트 / 최성봉 클라우...금융 서비스 패러다임의 전환 가속화 시대, 신한금융투자의 Cloud First 전략  - 신중훈 AWS 솔루션즈 아키텍트 / 최성봉 클라우...
금융 서비스 패러다임의 전환 가속화 시대, 신한금융투자의 Cloud First 전략 - 신중훈 AWS 솔루션즈 아키텍트 / 최성봉 클라우...
 
AWS network services
AWS network servicesAWS network services
AWS network services
 
Automating AWS security and compliance
Automating AWS security and compliance Automating AWS security and compliance
Automating AWS security and compliance
 
Kafka with IBM Event Streams - Technical Presentation
Kafka with IBM Event Streams - Technical PresentationKafka with IBM Event Streams - Technical Presentation
Kafka with IBM Event Streams - Technical Presentation
 
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
 
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
 
Data power use cases
Data power use casesData power use cases
Data power use cases
 
02 api gateway
02 api gateway02 api gateway
02 api gateway
 
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트::  A...
실전! AWS 하이브리드 네트워킹 (AWS Direct Connect 및 VPN 데모 세션) - 강동환, AWS 솔루션즈 아키텍트:: A...
 

Similar a APIConnect Security Best Practice

The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
Whats new in data power
Whats new in data powerWhats new in data power
Whats new in data power
sflynn073
 
Api management update for optus
Api management update for optusApi management update for optus
Api management update for optus
sflynn073
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
Christian Posta
 

Similar a APIConnect Security Best Practice (20)

What's new in API Connect and DataPower - 2019
What's new in API Connect and DataPower - 2019What's new in API Connect and DataPower - 2019
What's new in API Connect and DataPower - 2019
 
[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven Integration
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET Core
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
 
Whats new in data power
Whats new in data powerWhats new in data power
Whats new in data power
 
API Gateway report
API Gateway reportAPI Gateway report
API Gateway report
 
Api management update for optus
Api management update for optusApi management update for optus
Api management update for optus
 
The Platform Big Picture
The Platform Big PictureThe Platform Big Picture
The Platform Big Picture
 
WSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIsWSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIs
 
42Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.142Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.1
 
Managing the Complexity of Microservices Deployments
Managing the Complexity of Microservices DeploymentsManaging the Complexity of Microservices Deployments
Managing the Complexity of Microservices Deployments
 
Day 1 axway apim-training
Day 1   axway apim-trainingDay 1   axway apim-training
Day 1 axway apim-training
 
Apigee Edge Overview and Roadmap
Apigee Edge Overview and RoadmapApigee Edge Overview and Roadmap
Apigee Edge Overview and Roadmap
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIP
 
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
 
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture
 
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellersCloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
 

Más de Shiu-Fun Poon

Más de Shiu-Fun Poon (12)

GraphQL Security
GraphQL SecurityGraphQL Security
GraphQL Security
 
IBM APIc API security protection mechanism
IBM APIc API security protection mechanismIBM APIc API security protection mechanism
IBM APIc API security protection mechanism
 
Cheatsheet to run DP docker
Cheatsheet to run DP dockerCheatsheet to run DP docker
Cheatsheet to run DP docker
 
DataPower as PCI
DataPower as PCIDataPower as PCI
DataPower as PCI
 
How to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIcHow to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIc
 
How to integration DataPower with Zos
How to integration DataPower with ZosHow to integration DataPower with Zos
How to integration DataPower with Zos
 
DataPower Security Hardening
DataPower Security HardeningDataPower Security Hardening
DataPower Security Hardening
 
IBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheetIBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheet
 
DataPower DoS/DDoS
DataPower DoS/DDoSDataPower DoS/DDoS
DataPower DoS/DDoS
 
Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)
 
White vs Black list
White vs Black listWhite vs Black list
White vs Black list
 
Open Banking via APIc 2018
Open Banking via APIc 2018Open Banking via APIc 2018
Open Banking via APIc 2018
 

Último

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Último (20)

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 

APIConnect Security Best Practice

  • 1. SECURITY BEST PRACTICE APICONNECT & GATEWAY @SHIUFUNPOON
  • 2. TRADEMARK ACKNOWLEDGEMENTS • IBM, IBM API Connect, IBM DataPower Gateway are trademarks of International Business Machines Corporation, registered in many jurisdictions • Other company, product and service names may be trademarks, registered marks or service marks of their respective owners. A current list of IBM trademarks is available on the web at "Copyright and trademark information" ibm.com/legal/copytrade.html
  • 3. SECURITY • Availability • Configurable • Standard • Ease of use • Monitoring • Resource consumption • …
  • 4. SECURITY – THIS IS ALWAYS A BALANCING ACT • Availability • Configurable • Standard • Ease of use • Monitoring • Resource consumption • …
  • 5. API SECURITY API Gateway: • Decoupling/routing • Traffic management • Security • Translation Developer portal: • API discovery • Self subscription/administration • Account usage analytics • Monetization • Security API Manager: • Plan/product design • Policy administration • API plan usage analytics • API Governance • Security https://www.ibm.com/docs/en/api-connect/2018.x?topic=installing- maintaining-your-api-connect-cloud
  • 7. APIC UNDER THE HOOK • Internal services communicating vs mTLS • Quorum, with 3 being the magic number • APIc is the match maker, it introduces each subsystem to each others • APIM, Portal, Analytics, Gateway • How does APIM <-> Portal • How does APIM <-> Analytics • How does APIM <-> Gateway • How does Portal <-> Analytics • How does Gateway <-> Analytics • Configurable, extensible
  • 9.
  • 10. Ç√
  • 11. API MANAGER • API are published • Publish in openapi v2 format • apim vs consumer • WebGUI/toolkits/portal/BYO • RateLimit Drinking Our Own Champagne Get an access_token access_token must contain the right scope Permission is checked Is token valid Token contains necessary scope ? Does User has the proper permission ?
  • 12. HARDENED PORTAL SECURITY Supports OpenID Connect for accelerated developer on-boarding and social login Enable PSD2/ Open Banking compliance to programmatically onboard consumers using REST Management APIs and OpenID Connect Enhanced spam protection against spam bots with CAPTCHA and honeypot Detect and prevent malicious attacks with perimeter and DNS check Detect and prevent flood attacks
  • 14. APIMANAGER WITH GATEWAY • Gateway must be 24 * 7 (without API manager) • API gateway introduce a gateway director manager • Using clustering technology to track configuration from APIM • Heartbeat from APIm to make sure Gateway will have the latest information • 911 protocol to handle catastrophic failure • Provides the status of how where the configuration with regard to the update from the APIm • Gateway director allows auto scaling of the additional gateway • Configuration/Key Materials • State of the processing
  • 15. • Istio Integration for improved performance & security by passing API header and tokens into Istio • Open API V3 support to meet security industry standards (i.e. PSD2) & improve reuse • OpenBanking & PSD2 Compliant including flexible JWT and OAuth features • 5X Improved Performance with cloud-native API-centric Gateway Service • Fast Time to Value through Out of the Box policies for API Gateway Service • Enterprise Specific Security Support through OAuth flow customization • Expanded Security with OIDC, CAPTCHA, Perimeter, DNS check on Portal, etc. Performant and Secure
  • 16. SECURE & MANAGE GRAPHQL ENDPOINTS Next-Gen evolution of Gateway technology beyond Web services and REST with GraphQL support Secure and Manage APIs with GraphQL backends, efficiently managing compute intensive services Threat Protection against cyberattacks using advance query complexity analysis to prevent API- based attacks Rate Limit GraphQL queries with consumer plans based on number of API calls & backend compute time https://www.ibm.com/blogs/research/2019/02/graphql-api-management/ https://developer.github.com/v4/guides/resource-limitations/
  • 17. 1. Access Control • Who can access the data and what data • APIc • Client credential (application) • User credential (who) 2. Load Control • How much effort for the server to fulfill the request • Complexity • Type (object type) • Resolve GraphQL Endpoints security breakdown
  • 18. Up to 5X+ increased performance with natively built API Gateway using purpose-built technology for native OpenAPI/Swagger REST and SOAP APIs Multi-cloud scalability and extensibility to help meet SLAs and improve client user experience Optimized drag & drop built-in policies for security, traffic control and mediation including flexible OAuth, enhanced JSON & XML threat protection Secure to the core with self-contained signed & encrypted image to minimize risk, plus proven security policies to quickly protect APIs Before: DP Multi protocol Gateway Service API call Backend New: Native API Gateway Service API call Backend CLOUD-NATIVE API GATEWAY SERVICE IN DATAPOWER API GW service
  • 19. POLICIES FOR ENFORCEMENT ON API GATEWAY SERVICE Gateway Script and XSLT policy support provides flexible message mediation & dynamic security enforcement Dynamic Routing support through Conditional Policy Enforce strong security through Parse, JSON and XML Schema Validation policy OpenID Connect support to enable banks to meet PSD2 / Open Banking regulations OAuth Token revocation to enable self-service token management Foundational Security Mediation Invoke API Key Map Activity Log JWT Validate JSON-XML Rate Limit JWT Generate Gateway Script Throw OAuth Policy XSLT Set Variable Parse (Threat Detection) Conditional Validate User Security OpenID Connect Built-in policies
  • 20. Rapid OAuth policy creation to quickly create OAuth provider security without deep security expertise Improved governance capabilities on managing OAuth providers with flexible administrative access control to enforce enterprise standards Ability to meet business demands with customizable OAuth assembly New User Security policy to enforce authentication & authorization in API assembly, adapting to unique enterprise security needs MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH PROVIDER
  • 21. FEATURE LIST OF OAUTH IN APIC V5, V2018+V5GW, V2018+APIGW Features V4 V5 v2018 +V5 CompatGW v2018 + APIGW Basic OAuth Support ✅ ✅ ✅ ✅ Distinct Client ids and Secrets ⤫ ✅ ✅ ✅ Separate API ⤫ ✅ ✅ ✅ Access Control ⤫ ⤫ ✅ ✅ Seamless packaging within product ✅ ⤫ ✅ ✅ Tight coupling with Provider ⤫ ⤫ ✅* ✅ Metadata,Token introspection, Revocation/Token Management,Advanced scope handling ⤫ ✅ ✅ ✅ Customize OAuth Assembly ⤫ ⤫ ⤫ ✅ Dynamic configuration updates ⤫ ⤫ ** ⤫ ** ✅ Context variable driven ⤫ ⤫ ⤫ ✅ Independent Resource Owner Security ⤫ ⤫ ⤫ ✅ Out of the box OIDC support ⤫ ⤫ *** ⤫ *** ✅ Out of the box JWT Authorization Grant ⤫ ⤫ ** ⤫ ** ✅ * Tight coupling is only at the APIManager API level, not in the backendV5 Gateway ** Can be done with gateway extension *** Supported by a set of rule in the assembly
  • 22. Rapid OAuth policy creation to quickly create OAuth provider security without deep security expertise Improved governance capabilities on managing OAuth providers with flexible administrative access control to enforce enterprise standards Ability to meet business demands with customizable OAuth assembly New User Security policy to enforce authentication & authorization in API assembly, adapting to unique enterprise security needs MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH PROVIDER
  • 23. Out of the box JWT Grant Type Support
  • 24. Out of the box OIDC Support
  • 25. CUSTOMIZABLE EASE OF USE • Crypto material on per OAuth native provider (vs gateway level) • End user credential gathering (context variable) * • Consent handling • Global Policy (and thus inject context variable for processing) * • Token handling (allow listing vs stateless) • Flexibility • ….
  • 26. WHAT SHOULD I DO • Monitoring IBM PSIRT for IBM APIC, IBM DataPower • https://www.ibm.com/security/secure-engineering/process.html • Timely upgrade/migration to a new version of firmware • Balance your security needs vs platform offered (hardware vs ova vs docker vs ..) • How about cloud ? ICP ? • APIC Connect White Paper: https://www.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=03023503USEN& ( • Security vs ease of use vs compatibility • Performance/usage spike • HA (rule of 3) • Stateless (especially across Availability Zone)
  • 27. GATEWAY SPECIFIC • Is WebGUI needed for production • Automate deployment (which APIc solves) • Monitoring gateway (DataPower Operations Dashboard) • Backup administrator • ACL • mTLS with your backend services • Message validation • Payload redact • SLM • AllowList vs BlockList
  • 28. FROM YOU, OUR AUDIENCES • Your feedbacks ? • What would you like to see ? • What can you share with each others on your experience ? Good or Bad