Files
NetAlertX/server/plugins
Mauricio CamayoandClaude Sonnet 5 dea6a553fb Address CodeRabbit review: add DOCKERDISC_IMPORT_ON, docstrings
Declares DOCKERDISC_IMPORT_ON (default on) so an operator can fully opt
this plugin out of CurrentScan promotion. Needed because
DOCKERDISC_CREATE_DEV alone doesn't cover it: a macvlan/ipvlan
container's row always carries a real scanMac, so even with
CREATE_DEV off, an already-existing device for that MAC (found
independently by ARP/Nmap) still gets its presence/devLastIP/
devParentMAC updated by this plugin on every run - only IMPORT_ON can
turn that off. The two settings are independent, per jokob-sk's PR
feedback - IMPORT_ON gates promotion for the whole run, CREATE_DEV
gates device creation per row.

Also adds missing docstrings to process_host()/main() (CodeRabbit
docstring-coverage check), matching the style already used elsewhere
in this file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011meLPKCzVpdZyAUfv5U6mm
2026-09-18 20:05:37 -05:00
..
2026-09-02 07:58:31 +10:00
2026-09-07 09:44:37 +10:00
2026-09-07 09:30:55 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-07 08:24:53 +10:00
2026-09-07 09:44:37 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 22:11:46 +10:00
2026-08-31 10:01:09 +10:00