Commit Graph

2 Commits

Author SHA1 Message Date
jokob-sk
056f5ed2a4 PLG+BE: more notification fields + RSTIMP devVlan in SET_ALWAYS #1719 2026-07-24 08:19:37 +10:00
Jokob @NetAlertX
3a206f0996 Add REST Import plugin and corresponding tests
- Implemented the REST Import plugin (rest_import.py) to handle importing data from REST APIs.
- Added functionality for configurable HTTP methods, authentication types, and custom headers.
- Included error handling for various HTTP response statuses and connection issues.
- Created unit tests for the plugin covering header building, path resolution, MAC validation, record mapping, and authentication methods.
- Ensured that module-level side effects are patched during tests to prevent live interactions.
2026-06-17 06:43:26 +00:00