security tests as part of ci - nir koren, sap - devopsdays tel aviv 2015

21
Ignite Session DevOpsDays TLV 2015

Upload: devopsdays-tel-aviv

Post on 14-Apr-2017

286 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Ignite SessionDevOpsDays TLV 2015

Page 2: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Nir KorenDevOps Tech Lead, SAP Labs Israel

SECURITY TESTS as part of

CONTINUOUS INTEGRATION

Page 3: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

DevOps Tech Lead, SAP Labs Israel

WHOAMI

WHOAREWE

https://il.linkedin.com/in/nirkoren

https://www.facebook.com/koren.nir

@KorenNir

@nir_koren

SAP HANA Cloud Portal solution

Page 4: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

FIXING A BUG COSTS

Coding Unit Test QA Testing Field Test Post release

25 $

16,000 $

1,000 $

App

lied

Sof

twar

e M

easu

rem

ent,

Cap

ers

Jone

s 19

96

Page 5: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

NORMALLY WE RUN

STATIC (MILESTONE) DYNAMIC (QUARTERLY)

Page 6: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

DEV NEEDS

FAST FEEDBACKTO BE AGILED

FREQUENT SCANS

Page 7: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

WE PROVIDES

FULL AUTOMATIONREPORTS & NOTIFICATIONS

TRANSPERENCY

Page 8: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Identify the vulnerabilities

www.agilerecord.com

Define the important to be addressed

Page 9: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Transparency in Continuous Integration

www.agilerecord.com

Make sure everyone knows the status

Page 10: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Automated Processes

www.agilerecord.com

Find a way to automate everything you can

Page 11: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Automate reporting and notifications

www.agilerecord.com

Push relevant info automatically to all

Page 12: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

SECURITY KEYPLAYERS

IBM AppScan

STATIC TOOLS DYNAMIC TOOLS

Page 13: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

CheckMarx

AppScan

Fortify

RESULTS ANALYSIS

Build the Dev

Deploy AUT

Various Tests

EXPOSE DATASECURITYNIGHTLYSCM

IMPLEMENTATION

Page 14: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

IBM AppScan implementation

Create a new scan Add your application URL Configure Policy and details

Live System URL and Login details

Predefined scan policy and scan configuration

Page 15: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

HP Fortify implementation

Create a new scanOn local server

Upload the FPRTo F360 server

Scan and AuditOn F360 server

Generate ReportsPDF and XML

Page 16: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

implementation

Connect to my projectOn my local server

Create a scanOn Cx Central server

CheckMarx Jenkins plugin

Scan and UploadOn my local server

Scan and reportOn Cx Central server

Generate ReportsPDF and XML

bi-directional

Page 17: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

HTTP XML Exposed to all

Page 18: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

HTTP XML Exposed to all

Page 19: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

The status contains links and info (internally developed)

Link to the PDF report

Relevant info from the scan

Status by our definition

Page 20: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015

Everyone knows the status. Always.

Both product and implementation teams are updated

New issues fixed immediately

We never spend time for security fixes

Security awareness in our group

Page 21: Security Tests as Part of CI - Nir Koren, SAP - DevOpsDays Tel Aviv 2015