Giter Club home page Giter Club logo

netbox-paloalto's Issues

Support multiple levels of nesting of address group

Case

Netbox object Server01 is in an address group name Server-devices. Server-devices again is in an address group named NTP-access.

Currently

Only one nesting is supported.

To do

Add the ability to define the number of levels to support nesting. Finding the address groups within address groups requires plenty of loops and a natural performance hit. Make it user-definable as a variable in PLUGINS_CONFIG.

gunicorn timeout when connecting to wrong address

If the firewall is down or not responding, the connection will hang and only timeout on the gunicorn timeout.

Check if it is possible to set a timeout on the connection in pandevice. If not in pandevice, see if it is possible to get the timeout value and make sure we terminate before it runs out.

Expand search for rules

Currently the search assumes the NetBox object has a corresponding object on the firewall. It is known that many rules are created without referencing objects, just using the IP of the device.

  • Add the IP address of a device as a search term.

Exception when no address is present on object

Trying to see firewall rules for an object without a defined primary address results in an Exception:

AttributeError at /plugins/paloalto/loading-fw02/
'NoneType' object has no attribute 'address'

Create landing page when no object is defined

URL: /plugins/paloalto/ currently requires a in the URL.

To do

Add a landing page with a text box where we can choose a device or virtual machine to create the url /plugins/paloalto/

Show if the device exist as an object on the firewall/Panorama

Use case

To avoid having to create the object, show a small area on the device/vm page with information about the object. If it exists on the firewall/Panorama.

Check if the load times makes this feasible. If possible add a setting to turn on/off this view.

Duplicate rule match when two objects match in one rule

Scenario

Object Server01 is in both address group adr-group-1 and adr-group-2.

Problem

When listing rules the one rule with both address groups show up twice.

Solution

Make sure the rules are unique when listing them.

GUI: Remove the firewall/device group heading if none exist

Observed behaviour

When visiting /plugins/paloalto/Server01 and no rules match, the panel with "Firewalls/device groups" is still presented.

Expected behaviour

If none match, omit the panel and output a message saying there are no rules matching.

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.