25
DevOps to DevSecOps: Two Dimensions of Security in a DevOps Enterprise Sanjeev Sharma CTO, DevOps Technical Sales and Adoption IBM Distinguished Engineer @sd_architect

From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Embed Size (px)

Citation preview

Page 1: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOpstoDevSecOps:TwoDimensionsofSecurityinaDevOpsEnterprise

SanjeevSharmaCTO,DevOpsTechnicalSalesandAdoptionIBMDistinguishedEngineer@sd_architect

Page 2: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

#WhoAmI

• 20+ Years in Software Development and Delivery

• IBM’s Client-facing CTO for DevOps

• Author: DevOps For Dummies -http://ibm.co/devopsfordummies

• Write DevOps and Cloud Adoption Blog: http://bit.ly/sdarchitect

Page 3: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOpsOverview

Page 4: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOps:Origins

Page 5: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOpsapproach:ApplyLeanprinciplesacceleratefeedbackand

improvetimetovalue

5

People

Process

Line-of-business

Customer

1

3

2

1. Get ideas into production fast2. Get people to use it3. Get feedback

Continuously Improve:I. Application DeliveredII. Environment DeployedIII. Application and Environment Delivery Process

Page 6: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DeliveringaBusinessCapability:Multi-SpeedIT

Development SCM Build PackageRepo

Deploy

Development SCM Build PackageRepo

Deploy

Development SCM Build PackageRepo

Deploy

Development SCM Build PackageRepo

Deploy Test Stage Production Application N

Application C

Application B

Application A

EnterpriseRelease

Agile/InnovationEdgeRapidDeliveryforInnovation•Agile•Antifragile •Experimentation•NewandInnovative•HybridCloud•PaaS

IndustrializedCoreDeliveratregularcadence•Waterfall->Agile•Stability•Predictability•LeanDeliverypipeline•CoreandLegacy

HybridInfrastructure– Physical,Cloud•IaaS/PaaS

BusinessCapability

Page 7: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

SecurityandtheApplicationDelivery

Pipeline

Page 8: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Three(Two)DimensionsofSecurity

8

1. Secure the Perimeter2. Secure the Delivery Pipeline3. Secure the Deliverable

http://www.ibm.com/developerworks/library/d-security-considerations-devops-adoption/

Page 9: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

1. SecurethePerimeter

9OutofScopeforthissession

Page 10: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

2. SecuretheDeliveryPipeline

10

SecureEngineering PatchManagementSecureBuildandDeploy

AvailabilityandBusinessContinuitySeparationofDuties

SecurityEvaluationandLearning

Development SCM BuildPackage

Repo Deploy Testing Staging Production FeedbackPlanning Manage

Page 11: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

3. SecuretheDeliverable

11

Application

MiddlewareConfig

Middleware

OSConfig

HardwareFull

Stac

k Bl

uepr

int

Policies

Secure:• Code• Scripts• Packages• Components• Configurations• Content• Policies• Roles

Development SCM BuildPackage

Repo Deploy Testing Staging Production FeedbackPlanning Manage

Page 12: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

RisksandVulnerabilities- DeliveryPipelineandDeliverables

12

1. Vulnerabilities related to the supply chain2. Insider attacks3. Errors and mistakes in the development project4. Weaknesses in the design, code, and integration5. API Economy and Security

http://www.ibm.com/developerworks/library/d-security-considerations-devops-adoption/

Page 13: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Vulnerabilitiesrelatedtothesupplychain

13

ExternalSupplierA

ExternalSupplierB

InternalSupplierA

InternalSupplierB

Development SCM BuildPackage

Repo Deploy Testing Staging Production FeedbackPlanning Manage

Page 14: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Insiderattacks

14

Page 15: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Errorsandmistakesinthedevelopmentproject

15

1 per min 1 per min

4 per min 1 per min

4 per min 4 per min

• Reduced Batch size• Continuous Validation:

– Continuous Security Testing– Testing small batches in

every Sprint

• Antifragile Systems– Servers are ‘cattle’ not

‘pets’

– MTBF vs MTTR

Page 16: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Weaknessesinthedesign,code,andintegration

16http://www-03.ibm.com/security/secure-engineering/

Page 17: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

TheAPIeconomyandsecurity

17https://developer.ibm.com/architecture/gallery/APImanagement

Page 18: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

TheAPIeconomyandsecurity:Implementation

18https://developer.ibm.com/architecture/gallery/APImanagement

1. API Key management2. API provider/consumer Identity Management3. API Access control4. API Usage management/throttling5. API Security Incident Monitoring6. API Logging and audit trail

Page 19: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOpsReferenceArchitecture

Page 20: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Adoptinga(Secure)DevOpsArchitecture

https://developer.ibm.com/architecture/devOps

Page 21: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

SolutionArchitecture:DevOpsMulti-SpeedIT

https://developer.ibm.com/architecture/gallery/devOpsMultiSpeed

Page 22: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

StartHere:ValueStreamMapping

for IdentifyingandAddressingbottlenecks

Page 23: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

MappingyourDeliveryPipeline

Idea/Feature/Bug Fix/Enhancement

Production

Development Build QA SIT UAT Prod

PMORequirements/

Analyst

Developer

CustomersLine of Business

BuildEngineer

QA Team Integration Tester User/Tester Operations

Artifact Repository

Deployment Engineer

Release Management

Code Repository

Deploy

Get Feedback

Infrastructure as Code/Cloud Patterns

Feedback

Customer or Customer Surrogate

Metrics - Reporting/Dashboarding

Tasks

Artifacts

Page 24: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

DevOpsInnovationWorkshop

24

Reviewthecurrentstate1. Businessgoals,ITgoals,current

initiatives2. DevOps3. Requirements4. Environments5. Repositories6. Roles/Organization7. Metrics8. Security

PrioritizechallengestoberesolvedCreateafirstpassatanimprovementroadmap

Thewhiteboard

Page 25: From DevOps to DevSecOps: 2 Dimensions of Security for DevOps

Questions?

25