Code Monkey home page Code Monkey logo

iot-automated-solution's Introduction

IoT Automated Solutions

Collection of content to help automate NGFW IoT deployments, configuration, and traffic generation

Prerequisites

* Cortex Data Lake license activated, preferably in the Customer Support Portal 
* Cortex Data Lake NGFW onboarding Pre-Shared Key generated/captured
* NGFW serial number activated for Cortex IoT
* panHandler: import the Github repo panos-logging-skillets
* panHandler 4.0 or later if used to play skillets and playbooks
* Existing firewall configuration with interfaces, zones, policies

IoT Configuration Workflow

Working in tandem with the content in panos-logging-skillets to help simplify NGFW IoT configuration.

The workflow provides a simple web form menu to select elements for Cortex Data Lake and IoT readiness including:

* Cortex Data Lake (CDL) implementation Ansible playbook
* Update log-forwarding profiles with CDL and Enhancement Application logging. 
* For 10.x NGFW DHCP servers, enable DHCP session broadcast
* For pre-10.x NGFW DHCP servers, convert to a logic interface server and DHCP relay
* Add a DHCP security policy for visbility
* Configuration/system validation checks for CDL and IoT configuration elements

For more details about each element in the IoT Configuration workflow, navigate to the according subdirectory to view additional READMEs.

IoT Configuration Skillets

Simple configuration skillets designed to update the NGFW configuration to be CDL/IoT ready and are used by the above IoT Configuration Workflow.

IoT Validation Skillet

Validate key CDL and IoT NGFW elements to help users discover missing elements required for IoT readiness. Used by the above IoT Configuration Workflow.

IoT POC built using HomeSkillet Add-on Configuration

Augment the HomeSkillet configuration for an IoT configuration and PoC.

* Leverage the IoT workflow elements for CDL and IoT readiness
* Additional interface configuration for an IoT broker server
* Security policy allowing traffic between the IoT clients and broker

IoT Traffic Generator Python Script

To be used in tandem with the HomeSkillet add-on configuration yet extensible to any DHCP based deployed, the script is designed to:

* Generate a set of IoT MAC addresses from a single Ubuntu server
* DHCP interactions for each MAC address to create DHCP EAL log traffic
* Create virtual MAC-IP interfaces on the Ubuntu server
* Cycle MQTT client-broker traffic from each virtual MAC-IP interface

The script requires root access and uses dhtest, intended to run on Linux platforms

Support Policy

The code and templates in the repo are released under an as-is, best effort, support policy. These scripts should be seen as community supported and Palo Alto Networks will contribute our expertise as and when possible. We do not provide technical support or help in using or troubleshooting the components of the project through our normal support options such as Palo Alto Networks support teams, or ASC (Authorized Support Centers) partners and backline support options. The underlying product used (the VM-Series firewall) by the scripts or templates are still supported, but the support is only for the product functionality and not for help in deploying or using the template or script itself. Unless explicitly tagged, all projects or work posted in our GitHub repository (at https://github.com/PaloAltoNetworks) or sites other than our official Downloads page on https://support.paloaltonetworks.com are provided under the best effort policy.

iot-automated-solution's People

Contributors

annabarone avatar scotchoaf avatar

Watchers

 avatar

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.