Giter Club home page Giter Club logo

cfic's Introduction

Cisco Federal Innovation Challenge

Cisco Federal Innovation Challenge - APR 24 2023 - MAY 24 2023

Cisco is sponsoring a Federal Innovation Challenge to bring together ideas to accelerate modernization across the federal and defense landscape.

Event Management Site

https://www.federalinnovationchallenge.com/event/cfic

Repository Contents

This repository is intended to be opened with Visual Studio Code (VS Code) for development purposes. It can be cloned and installed in a Linux host. The documentation/README.md file is an installation and usage guide.

Playbooks

The playbooks directory contains an ansible.cfg (Ansible Configuration File) and inventory.yml (Inventory file) needed to execute the rulebooks and playbooks.

For the demonstration, the rb.kafka.yml file is used to monitor the Kafka Topic and return messages as they are published. In turn, it calls playbook pb.soar.yml which optionally creates SOAR events (containers) and creates a SOAR artifact for each client published.

Additionally, there are additional rulebooks and playbooks examples of Event-Driven Ansible.

  • rb.pretty.yml
  • rb.multi_events.yml
  • pb.debug.yml

Note: rb.pretty.yml returns Kafka messages and 'pretty prints' the messages returned.

Collections

The collections/ansible_collections directory contains a collection netcraftsmen/kafka.

This collection includes modifications to the Ansible Kafka event_source needed to consume Kafka messages from Confluent Cloud. Refer to Event Source Plugins https://ansible-rulebook.readthedocs.io/en/stable/sources.html. The file netcraftsmen/kafka/plugins/event_source/consumer.py is a modification the the kafka.py event source.

The collection contains a module soar_event used to interface with the SOAR API. The module documentation can be viewed by navigating to cfic/collections/ansible_collections/ and issuing the command to view the module documentation.

ansible-doc -M netcraftsmen/kafka/plugins/modules soar_event

Abstract

Which use case(s) are you planning on addressing with your solution?* Select all that apply

  • Accelerate Modernization- Using the pipeline to migrate from legacy infrastructure to modernized infrastructure. For example, harvesting data from a simulated IOS device and replacing it with a Catalyst 8Kv with minimal downtime. Additional Integration with available APIs (no logging into devices with CLI) and simulating a typical customer journey from purchase to deployment is preferable.

  • Model-Driven Telemetry- Using data configured and generated by the network to visualize changes executed using the pipeline. Critical is to show that the requested or necessary change had the outcome on the network intended. OpenSource visualization tools are preferable (TIG, ELK stacks).

  • Software Lifecycle Management- Integrating Software Image Management into the network pipeline by automating upgrades based on external events. For example, using the OpenVuln PSIRT API, a workflow is instantiated that upgrades software based on a published security vulnerability - This includes executing tests post-upgrade and report generation. OpenSource tooling is preferable (PyATS, Batfish, TextFSM). Additional points if reporting can map to federal standards such as RMF.

  • Closed Loop Automation- Using telemetry generated from the network and data visualization to execute pipeline workflows. Example use cases are traffic flow optimization, Cyber-attack simulation, etc. Additional points for integration into AI or ML tooling such as ChatGPT, Bard, etc.

Why did you choose to address this use case (or use cases)?

The network infrastructure is a distributed system containing abundant information regarding network devices' operational state, configuration, capacity, interconnections, and the devices it supports.

A forward-thinking approach is to view the network as an Event-Driven System. Lightweight containerized agents act as event publishers of telemetry, the change in state in the network links, their configuration, and attached devices.

This approach aligns with a microservice architecture / service-oriented architecture structural style, where large applications are built as small, independent components which are highly extensible.

The use of telemetry is an increased focus in IT operations providing raw data to the Machine Learning / Artificial Intelligence (ML/AI) algorithms for AIOps (Artificial Intelligence for IT Operations) and Security Orchestration, Automation, and Response Solution (SOAR) solutions.

While there are open-source tools to receive telemetry data, store it, visualize, and alert; how should the network operator provide access to infrastructure telemetry and events, in real-time, at scale, to current and future technology stakeholders?

What specific customer problem(s) do you plan to address?

The goal of any solution should be to provide an extensible architectural framework that addresses the specific customer problem and is readily extended to additional or unforeseen use cases.

The customer is a regulated business quickly deploying thousands of teleworker call center agents with Meraki Z3 devices. The security policy permits attaching corporate laptops. However, 'spouse and child' devices often appear on the remote network. A point solution was developed in the SOAR platform using the Meraki API to apply a 'quarantine' network until the offense could be remedied. Alerting and generating a ticket in the SOAR platform relied on log analysis by the SOC team.

Please provide a description of your proposed idea:

The solution demonstrates how previously developed network and security automation software ("semaphore", published on Cisco DevNet Code Exchange by BlueAlly NetCraftsmen, LLC) is integrated as an extensible system leveraging cloud-managed services, open-source software, and OEM product offerings.

Network telemetry is published to Apache Kafka in Confluent Cloud. Apache Kafka is an event streaming service enabling access to network telemetry across the organization for functions including security alerting and auditing of clients accessing the network, and traditional uses like uplink and wireless utilization.

A rulebook using Event-Driven Ansible by Red Hat is used to consume events from Apache Kafka and generate incidents in the SOAR platform. Other ITSM systems (ServiceNow) can easily be integrated using Certified Content Collections.

The publisher component of the solution can readably be extended to other controller-managed Cisco networks (ACI, DNAC) and traditional route/switch networks. Using Ansible playbooks and Content Collections, additional data sinks can include visibility, logging, and management systems.

How does your idea relate to the use case(s) you selected above?

The solution adopts a service-oriented approach to the publishing and consumption of network telemetry data. While the solution can be extended to Cisco networking (routers, switches, firewalls), the implementation leverages the Meraki API to publish clients observed on a Meraki network (and network uplink statistics) to a Kafka event streaming service. Utilizing Event-Driven Ansible, IT management systems, and SOAR implementations consume the telemetry for auditing, alerting, and remediation.

Notes

Initial network automation approaches focused on the integrations of systems in a client/server architecture using Application Programming Interfaces (APIs). Just as software applications have evolved to a service orientated, loosely coupled architecture, so should how modern networks are managed and audited.

Author

Joel W. King @joelwking

cfic's People

Contributors

joelwking avatar

Watchers

 avatar  avatar

cfic's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.