Closed mmguero closed 3 months ago
Site will be definable in upload window, queried from NetBox's list of extant sites:
As far as I can tell this is all working correctly now. I'll continue to test and reopen if I find anything. Also there may be improvements we can do in the future for this, but for now I think it seems good.
NetBox has the concept of sites. Malcolm doesn't handle multiple sites very well (at all, really), it just lets the user provide a
NETBOX_DEFAULT_SITE
value that is checked against tags for upload and used for live capture.We should allow multiple sites, which means we need to provide a way to associate captured data with a particular site. This includes:
NETBOX_DEFAULT_SITE
variable above)This needs to come through for all uploaded data and captured with Zeek and Suricata. We could look at arkime as well although I'm not sure where it would be specified for arkime data. The value is stored today in
source.device.site
andsource.segment.site
anddestination.device.site
anddestination.segment.site
.