BRKCOC-2006
BRKCOC-2006
BRKCOC-2006
Inside Cisco IT
A GITOps Approach to Managing Firepower Firewall
ACLs
#CiscoLive
Agenda
• Introduction and Background
• GIT as Access-List SSOT
• GITOps Process
• GITOps Automation Pipelines
• GITOps Supporting Software
• Conclusion
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
DC Security
Zones
Security Zones in the DC
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Security Zones in the DC
DMZ Network Internal Network
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Firepower
Firewalls
Controller First Strategy
MAS
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ACL Management Status Quo
DC Firewalls
Firepower
Linux RCS
Custom CLI scripts
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
GITOps:
GIT as the Single
Source of Truth
Access Control List Management
Text file
Linux RCS
No validation
No process automation
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
• Modern version control
solution
- Officially IT supported platform
- Programmatic access
BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Enhanced Access Control List Management
Atlassian
Bitbucket
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
ACL Format
ACL Format – Network Objects
network-objects:
- name: dns_all.bsh-devstage-autofs.esl.cisco.com
hosts:
- 10.115.62.195
- 10.226.85.6
- 10.31.64.5
- 173.36.154.142
- 64.103.211.40
- name: dns_rtpnbu1
hosts:
- 64.102.102.127
- 2001:420:adef:0b32::1
- name: dns_rtpnbu1ms1
hosts:
- 64.102.102.126
- name: rfc1918
networks:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- name: local_backup
hosts:
- 10.120.43.128/25
- 2001:420:16fe:9ba0::/64
- name: dns_firedrill.cisco.com
hosts:
- 171.70.139.30
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
ACL Format – Access Rules
access-list:
- action: trust
source:
zones:
- protected
destination:
objects:
- dns_all.bsh-devstage-autofs.esl.cisco.com
name: 4b6f3b_f4aa5a200ab89076
- action: trust
protocol: tcp
source:
zones:
- protected
destination:
ports:
- '1556'
- '13782'
- '13783'
- '13724'
- '13722'
objects:
- dns_rtpnbu1
- dns_rtpnbu1ms1
- dns_rtpnbu
- dns_rtpnbu2ms1
name: 4b6f3b_276a4eed4844b5b2
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
ACL Format - Modularization
global-repo/global-rules.yaml
global-repo/site-local-rules.yaml
global-repo/dc-firewall-1.yaml
client-1/rules.yaml
access-list:
client-2/rules.yaml - include: global-repo/global-rules.yaml
- include: global-repo/site-local-rules.yaml
- include: client-1/rules.yaml
- include: client-2/rules.yaml
- include: client-3/rules.yaml
client-3/rules.yaml
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
GITOps:
ACL Update
Process
ACL Update Process: Approval
Create Edit and Create pull
branch from commit request
master branch
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Change Audit Trail
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
GIT Commit History
Who? When?
What?
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
ACL Update Process: Approval
Create Edit and Create pull Pull request Merge
branch from commit request approval branch to
master branch master
Infosec Infosec
or or
Network Network
Lead Lead
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
GIT Pull Request - Approvals
Approvals
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
GITOps:
Pipelines
ACL Change Process: CI/CD Pipeline
Merge to
master branch
triggers check,
test, deploy
Infosec
or
Infosec
or pipeline
Network Network
Lead Lead
Commit triggers
ACL validation
pipeline #CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Change Triggered Jenkins Pipeline
Stage-1
Change in repository
Stage-2
Stage-3
Atlassian
Bitbucket
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Pipelines
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Validation Pipeline
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Validation Pipeline
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
ACL Manager
Software
ACL Manager
ACL Manager
Software Suite
User Install
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
ACL Manager
aclmgr
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
ACL Manager
ACL stored in modular repos/files
aclmgr
Simplifies GIT Interactions
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
ACL Manager
ACL stored in modular repos/files
aclmgr
Simplifies GIT Interactions
Firepower
Threat Defence
Deployment
Firepower
Mgmt Center
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
ACL Manager Container
Container
Repository
ACL Manager
Software Suite
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
ACL Manager Container
Container
Event Triggered
Repository
Automation
ACL Manager
Software Suite
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
ACL Manager Container
Container
Event Triggered
Repository
Automation
ACL Manager
Software Suite
Time Triggered
Cisco IT Container
Platform
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Lessons Learnt
Not Everyone is
Familiar with
Software Practices
BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
1 2 3
Network Engineer
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Wrap GIT Functions
#CiscoLive BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
• Two weeks sprints
Agile Methodology: • Regular demos to key
stakeholders
BRKCOC-2006 © 2021 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Conclusion
Thank you
#CiscoLive
#CiscoLive