Commit Graph
78 Commits
Author SHA1 Message Date
Mauricio CamayoandClaude Opus 5.5 c263e939fd Address review: docstrings for execute_plugin and new WIFICANARY tests
execute_plugin's leading description comment becomes a docstring, as it
was touched by this PR; the two new check_trusted_aps tests get
docstrings instead of leading comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PzCQWQVz9b2UzqLiGp2mPM
2026-10-22 12:29:12 -05:00
Mauricio CamayoandClaude Opus 5.5 ca4e92c32d Sync + WIFICANARY: attribute synced detections to their node
Fixes found running WIFICANARY on a WiFi satellite node that pushes its
detections to a hub with no WiFi of its own.

Synced plugin objects were stored with syncHubNodeName = "decoded"
instead of the node's name. plugin.py took filename.split(".")[2], but by
the time the hub processes the file decode_and_rename_files() has renamed
it to last_result.<PREFIX>.decoded.<NodeName>.<N>.log, so index 2 is the
literal marker. The parsing now lives in
utils.plugin_utils.get_sync_hub_node_name(), next to the function that
produces these names; it keeps node names that contain dots and returns
"" for local result files.

WIFICANARY's absent_baseline_clone was evaluated per trusted_aps entry,
so with a main AP + range extender pair, a weak clone seen while only the
main AP was in range also raised absent_baseline_clone through the
extender's entry, on top of the correct evil_twin. The baseline now
counts as present if any trusted radio for that SSID is visible;
single-entry behaviour is unchanged.

Leaving WIFICANARY_IFACE blank is how such a hub ingests the node's
detections (core processes the synced files after the plugin runs), but
it logged an unconditional "not set - nothing to scan" every cycle. It is
now a verbose "hub-only mode" message, and the node + hub setup is
documented in the setting description and the plugin README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PzCQWQVz9b2UzqLiGp2mPM
2026-10-22 12:09:53 -05:00
jokob-sk f30d27db13 BE: plugin input improvements 2026-09-25 08:32:03 +10:00
jokob-sk 33003a4c4d BE: plugin input improvements 2026-09-24 10:42:06 +10:00
jokob-sk d9ef76d942 BE: plugin input improvements 2026-09-24 10:26:24 +10:00
jokob-sk 6cc092f2ad BE: plugin input improvements 2026-09-24 10:01:52 +10:00
jokob-sk dc7274a2e9 DOCS: skill cleanup, lower case mac fixes, trigger performance 2026-09-14 14:26:14 +10:00
jokob-sk 34993ed77b BE: conditional device import support, notification supression support during scan #1721 2026-09-10 17:40:31 +10:00
jokob-sk c3bdd92b8d BE: conditional device import support, notification supression support during scan #1721 2026-09-10 13:51:09 +10:00
jokob-sk 4be05c958a BE+PLG: mac case sensitivity causing double detection #1775 2026-09-04 08:08:22 +10:00
Jokob @NetAlertX 9e38cfd8b4 Add website monitoring plugin and update workflows configuration
- Introduced a new plugin for monitoring website health, including functionality to check URLs and log results.
- Created README and configuration files for the workflows plugin, detailing its purpose and settings.
- Updated import paths in various test files to reflect the new directory structure.
- Ensured compatibility of test cases with the updated plugin architecture.
2026-08-10 02:32:49 +00:00
Jokob @NetAlertX fb054e9144 merge 2026-05-24 22:08:06 +00:00
Jokob @NetAlertX 0cb7ad6332 BE:Fix push mode for plugins #1652 2026-05-24 00:36:23 +00:00
Jokob @NetAlertX c275bf447d fixes 2026-04-13 13:02:34 +00:00
Jokob @NetAlertX 8abecb7a0d PLG: Implement selective recording for Plugins_History to prevent unbounded growth 2026-04-12 23:09:34 +00:00
Jokob @NetAlertX c7399215ec Refactor event and session column names to camelCase
- Updated test cases to reflect new column names (eve_MAC -> eveMac, eve_DateTime -> eveDateTime, etc.) across various test files.
- Modified SQL table definitions in the database cleanup and migration tests to use camelCase naming conventions.
- Implemented migration tests to ensure legacy column names are correctly renamed to camelCase equivalents.
- Ensured that existing data is preserved during the migration process and that views referencing old column names are dropped before renaming.
- Verified that the migration function is idempotent, allowing for safe re-execution without data loss.
2026-03-16 10:11:22 +00:00
Jokob @NetAlertX 45157b6156 timestamp cleanup 2026-02-11 01:55:02 +00:00
jokob-sk 0b104caf7a DOCS+BE: images and store test notifications
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-02-02 09:37:43 +11:00
jokob-sk 872ac1ce0f BE: linting fixes 3
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-22 21:06:03 +11:00
jokob-sk 5c14b34a8b BE: linting fixes
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-22 13:14:06 +11:00
jokob-sk a98bac331d MERGE: resolve conflicts
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-10 10:11:34 +11:00
Adam Outler 5b871865db /data and /tmp standarization 2025-11-09 17:03:25 +00:00
jokob-sk 8483a741b4 BE: LangStrings /graphql + /logs endpoint, utils chores
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-09 18:50:16 +11:00
jokob-sk 7822b11d51 BE: plugins changed data detection
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-08 14:15:45 +11:00
jokob-sk c08eb1dbba BE: chore datetime_utils
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-05 16:08:04 +11:00
jokob-sk 59477e7b38 BE/PLG: TZ timestamp work #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-04 19:24:13 +11:00
jokob-sk 288427c939 BE/PLG: TZ timestamp work #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-03 10:19:39 +11:00
jokob-sk 4c92a941a8 BE: TZ timestamp work #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-03 08:12:00 +11:00
jokob-sk a27ee5c2f2 BE: changes #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-02 13:55:51 +11:00
jokob-sk c3c570ef5f BE: added stateUpdated #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-02 13:51:17 +11:00
jokob-sk 2215272e78 BE: short-circuit of name resolution #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-02 11:57:08 +11:00
jokob-sk 3106b39566 CPU optimizartion work 2 #1144 2025-08-26 08:26:55 +10:00
jokob-sk 5676b50d5d docs, has_update_devices fix, docs 2025-06-07 09:00:56 +10:00
jokob-sk 01f7a18dce Auto delete in-app notifications #1052 2025-05-10 14:33:27 +10:00
jokob-sk 4d7a55e4f6 enable multiple to emails SMTP #1061 2025-05-08 08:12:18 +10:00
jokob-sk 27443c441a docs,MQTT alert_down #1057 2025-05-04 11:24:54 +10:00
jokob-sk 46cbf85584 LOG_LEVEL fix, WEBMON timeout multiplier, docs, fix for watched-changed #1053 2025-05-04 08:52:13 +10:00
jokob-sk 2c445ccaeb wf work + docs 2025-03-31 18:04:56 +11:00
jokob-sk d86c2a5023 Move ObjectGUID to the end 2025-03-31 08:12:32 +11:00
jokob-sk 1efdf66c19 wf work 2025-03-15 13:19:58 +11:00
jokob-sk 432a4d9d69 Initial commit on next_release branch 2025-03-10 07:42:44 +11:00
jokob-sk c8a40920b4 cleanup, faster devices screen update #967 #923 2025-01-20 23:42:24 +11:00
jokob-sk 4363e083d5 prevent 401 in ingress #961 2025-01-19 16:05:58 +11:00
jokob-sk e766b19d8c css, pluginsCore, less verbose debug fixes 2025-01-19 15:05:26 +11:00
jokob-sk 6b390b66de report cleanup + #960 2025-01-19 12:56:00 +11:00
jokob-sk b80718d409 📚Docs + DISCOVER_PLUGINS 2024-12-20 11:14:44 +11:00
jokob-sk f38d72a690 Fix debounce of api points to address Disk IO #914 + NMAPDEV_FAKE_MAC 2024-12-19 20:15:15 +11:00
jokob-sk f4d215c843 Fix debounce of api points to address Disk IO #914 2024-12-19 18:32:57 +11:00
jokob-sk caf5a5347c chore: Try to reduce disk IO 2024-12-17 07:04:00 +11:00
jokob-sk 953534724c chore: Try to reduce disk IO 2024-12-16 20:21:52 +11:00