netbox-acls icon indicating copy to clipboard operation
netbox-acls copied to clipboard

[Feature]: Logging option

Open cyberndj opened this issue 3 years ago • 3 comments

NetBox version

v3.2.7

Feature type

Add a function

Proposed functionality

Include Logging option/selection for specific ACL entries. Add a menu option for each rule if logging is needed and what type of logging is required. ie "log" vs "log-input"

Use case

Some rules need logging on them so the logged info can be sent to external systems for processing (ie. a SIEM tool). Having the info on including the log attribute to the rule would aid in getting more complete info about an ACL.

External dependencies

none

cyberndj avatar Aug 10 '22 19:08 cyberndj

Great idea, I totally forgot about this. I apologize for the long delay!

It feels like this should be an optional attribute since not all platforms require this.

Since this is optional, maybe one attribute that includes the options:

  • None/default
  • log
  • log-input

@cyberndj Let me know what you think, and we can add to the model, ui, and api.

If you wanted to take a stab at it, its a good fist PR for someone not requiring a ton of python or django knowledge.

ryanmerolle avatar Jan 21 '23 03:01 ryanmerolle

Hey @ryanmerolle That sounds good as you put it. When its added, I'll test it out in my 3.4 instance.

Thanks! -Jake

cyberndj avatar Jan 23 '23 18:01 cyberndj