shifting left on cloud security to develop and deploy...

41
Josh Stella- Co-founder & CTO of Fugue Shifting Left on Cloud Security to Develop and Deploy Faster

Upload: others

Post on 19-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Josh Stella- Co-founder & CTO of Fugue

Shifting Left on Cloud Security

to Develop and Deploy Faster

Page 2: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

What is Shift Left?

Shift Left is an approach to software testing

in which testing is performed earlier in the

software development lifecycle (SDLC).

Today, we’re applying Shift Left to

cloud infrastructure security.

Page 3: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

The software development lifecycle

Requirements Design Develop Test Deploy Review

Page 4: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Why Shift Left on security and compliance?

Change here

is easier, faster, and less

expensive

Change here is more

difficult, takes longer, and

is more expensive.

Requirements Design Develop Test Deploy Review

Page 5: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

A simplified representation of the SDLC

Develop Test Deploy Monitor

Page 6: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Current: security and compliance happens late

Develop Test Deploy Monitor

Security and compliance

checks usually happen

over here

Page 7: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Current: security and compliance happens late

Develop Test Deploy Monitor

…as a gating function

Approvals

Certifications

Authority to Operate (ATO)

Page 8: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Current: security and compliance happens late

Develop Test Deploy Monitor

…as a reactionary function

Monitoring

Remediating

Reporting

Auditing

Page 9: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Current: security and compliance happens late

Develop Test Deploy Monitor

Monitoring

Remediating

Reporting

Auditing

The feedback loop back to developers is poor.

Approvals

Certifications

Authority to Operate (ATO)

Page 10: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Competing priorities pit teams against each

other

Develop Test Deploy Monitor

Security Teams need to

ensure that sensitive data and

systems are secure.

Compliance Teams need to

ensure IT environments

adhere to policy

Developers and Op Teams (DevOps) need to move fast,

deploy frequently,

and innovate

Page 11: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Goal: integrate policy checks earlier in the SDLC

Develop Test Deploy Monitor

• Save time

• Save money

• Move faster

• Be more secure and compliant

Page 12: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Goal: integrate policy checks earlier in the SDLC

Develop Test Deploy Monitor

Establish trust and collaboration between teams

Page 13: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Shift Left doesn’t mean…

Develop Test Deploy Monitor

Shifting security

and compliance

from here

Page 14: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Shift Left doesn’t mean…

Develop Test Deploy Monitor

Shifting security

and compliance

from here… …to here

Page 15: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Shift Left doesn’t mean…

Develop Test Deploy Monitor

Security and compliance teams

should move the gates to the left

Page 16: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

We still need to do what we’ve been doing

Develop Test Deploy Monitor

Monitoring Remediating

Reporting Auditing

Approvals Certifications

ATO

Page 17: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

But we can empower developers to validate their work

Develop Test Deploy Monitor

Monitoring

Remediating

Reporting

Auditing

Approvals

Certifications

ATO

Unit Tests

Developer Tools

Page 18: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

But we can empower developers to validate their work

Develop Test Deploy Monitor

Monitoring

Remediating

Reporting

Auditing

Approvals

Certifications

ATO

Integration Tests

Unit Tests

Developer Tools

Page 19: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Validation reinforces security and compliance

Develop Test Deploy Monitor

Monitoring Remediating

Reporting Auditing

Approvals Certifications

ATO

Integration Tests

Unit Tests

Developer Tools

Automation

Page 20: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

What is security and compliance?

An agreed set of truths as to what’s allowed

and what is safe.

Typically expressed in English, in docs,

or worse, verbally.

Page 21: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

What is security and compliance?

Without a single source of truth,

you have multiple interpretations of truth,

and multiple sources of distrust.

And you can’t Shift Left.

Page 22: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Shift Left must live in the developer’s context

Tools that work with developers’ toolchains

Automation tools for checking their work

Policy-as-Code validation

Page 23: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

The shared-responsibility model of the cloud

The customer is responsible for the

security on the cloud – including the configuration

of the cloud services!

The Cloud Service Provider is responsible

for the security of the cloud

Data

Application

Runtime

O/S

Cloud Config

Virtualization

Servers

Storage

Networking

Page 24: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Shift Left typically ignores cloud infrastructure

Cloud infrastructure configuration

is often neglected.

This is our focus.

Data

Application

Runtime

O/S

Cloud Config

Virtualization

Servers

Storage

Networking

Page 25: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Cloud misconfiguration: a big security risk

The complexities of

cloud computing, and the

chance of human error,

will bite you in the butt.

⎯ David Linthicum, InfoWorld | OCT 5, 2018

93% CONCERNED FOR MAJOR SECURITY BREACH

DUE TO MISCONFIGURATION

Page 26: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Cloud risks are very real

Page 27: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

The cloud creates new security challenges

API-driven

infrastructure

Highly dynamic, on-demand

environments. Developers are making

infrastructure decisions

Challenges

at Scale

Is everything in compliance?

Can we maintain compliance

while moving fast at scale? New services and

operational

patterns Old security models are broken.

Effectively infinite configuration

options

Page 28: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Common types of cloud infrastructure policy violations

IAM

66% OBJECT STORAGE

ACCESS POLICIES

51% SECURITY

GROUP RULES

59%

ENCRYPTION IN

TRANSIT DISABLED

42%

Page 29: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

What’s causing cloud misconfiguration?

HUMAN ERROR

64% LACK OF TEAM AWARENESS

OF SECURITY & POLICIES

54% LACK OF ADEQUATE

CONTROL & OVERSIGHT

49%

HIPPA PCI

NIST 800-53

GDPR, SOC 2, CIS

ISO 27001

Page 30: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

• Manual certifications and approvals

• Locking down cloud consoles

• Provisioning guardrails

Typical response: restrict access and innovation

Page 31: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Alternate approach: Baselining

Leverage hardened baselines within infrastructure automation

practices, and maintain vetted builds in VCSs for organizational

teams to instantiate from. Audit assets at build time, delivery time

and runtime to account for new dependencies or environment drift.

⎯ Michael Isbitski, Gartner | MAY 9, 2019

Page 32: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Alternate approach: leverage baselines

Leverage hardened baselines within infrastructure

automation practices, and maintain vetted builds in

[version control systems]… to instantiate from.

Audit assets at build time, delivery time and runtime

to account for new dependencies or environment drift.

⎯ Michael Isbitski, Gartner | MAY 9, 2019

Page 33: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

• The baseline is a complete picture of a cloud infrastructure environment

and how everything is configured.

• It serves as a contract between Development, Operations, Security, and

Compliance.

• It provides the basis for shifting left on

cloud security and compliance based

on a single source of trust.

Alternate approach: Baselining

Page 34: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Baselining drives Shift Left and cloud security

DevSecOps / Shift Left Cloud Security

ESTABLISH A KNOWN-GOOD BASELINE

• Automate policy-as-code validation to identify

compliance violations early

• Integrate policy checks into CI/CD and

provisioning tools for agility and speed

ENFORCE THE KNOWN-GOOD BASELINE

• Identify unauthorized infrastructure changes

and policy violations

• Automatically revert drift back to the known-

good baseline for critical resources

Page 35: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Unit tests

Page 36: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Unit tests

Page 37: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

CLIENT VERSION CONTROL CI/CD

PROVISIONING TOOL

CLOUD ACCOUNTS

</>

Development

QA

Production

Compositions

Validation Libraries

Github Jenkins Job

Fix error in the noncompliant

composition and try again

Validation Failed

Automated Provisioning

Validation Passed

Integration tests

BUILD IN POLICY CONTROLS AT EVERY STAGE OF THE SLDC

Page 38: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Aligning teams, building trust, moving fast

Develop Test Deploy Monitor

Compliance Teams can automate policy checks earlier in the SLDC

and gain better visibility into the CI/CD pipeline.

Developers and Op Teams (DevOps) can move faster by

identifying and fixing security problems earlier in the SLDC.

Security Teams can protect critical resources and data from a

breach by eliminating misconfiguration prior to deployment.

Page 39: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Where to start?

APPLY A POLICY TO AN EXISTING CLOUD ENVIRONMENT

• Identify violations

• Work with developers

to fix issues

• Use CIS Benchmark

LEARN WHAT YOUR APP DEVELOPERS ARE DOING

• CI/CD tools

• Infrastructure-as-code

• Policy checks

• Security best practices

IDENTIFY CRITICAL CLOUD RESOURCES AND ESTABLISH BASELINES

• Sensitive data

• Access controls/IAM

• Monitor for drift

• Enforce baselines

Page 40: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Questions?

Page 41: Shifting Left on Cloud Security to Develop and Deploy Fasterfiles.devnetwork.cloud/DeveloperWeekSeattle/presentations/2019/cloud-security...Josh Stella- Co-founder & CTO of Fugue Shifting

Learn more and get in touch

[email protected]

@joshstella

www.fugue.co