20 Commits

Author SHA1 Message Date
AndReicscs 8589ce8e8e updated to api/v2 2026-06-22 12:21:52 +00:00
AndReicscs 885c1b89ac removed legacy versioning logic from schemas, versioning is now strictly handled through the semantic versioning system, if a major version doesn't match, the schema changed. 2026-06-21 14:30:29 +00:00
AndReicscs f7110ddb3f updated ConfigPayload and heartbeat metadata to camelCase, removed heartbeat nodes and sensors metadata, standardized them in top level columns and fields.
updated docs to reflect changes
2026-06-18 12:11:12 +00:00
AndReicscs 65e213e49c updated python sdk to align with go sdk 2026-06-04 13:27:44 +00:00
AndReicscs 3a938a50da small fixes, implemented architecture and developer docs. 2026-06-03 19:46:05 +00:00
AndReicscs aff56ddaf4 updated sensor heartbeats of unregistered sensor to return 404, updated sensors to wait 1h for heartbeats on transient errors 2026-06-03 12:22:06 +00:00
AndReicscs d8b885a64c updated sensor sdk TestMode and aligned python sdk 2026-06-02 20:22:39 +00:00
AndReicscs 1731cc5745 updated Sensors sdks, both go and python to have queues for events, backoff retries and overall more stability and deterministic behaviour 2026-05-29 13:07:49 +00:00
AndReicscs cf78b45472 improvements to wizard UX,
implemented HealthMonitor to broadcast ws when a sensor goes inadvertedly offline,
implemented /api/v1/offline for graceful shut down of sensors to instantly mark them offline,
implemented graceful shutdown in sensor sdks
2026-05-22 12:22:12 +00:00
AndReicscs 98c1fd237e Implemented deterministic generateRevisionHash function for hub node vs deployed node reconciliation.
minor UI improvements

Fixed sensor SDK not using HW_SEVERITY env variable.
2026-05-21 09:17:29 +00:00
AndReicscs c647098667 trying to fix hub centric deployments....
moved NodeId to hub, identity is retrieved through api keys now.
2026-05-19 14:33:21 +00:00
AndReicscs 05fcccd9c3 backend and sdk rewrite for hub centric sensors 2026-05-17 19:02:29 +00:00
AndReicscs 6b6169e74d updated python sdk, implemented decent ui state management with documentation, implemented backend endpoint for deployment scripts generator based on manifest, updated sensor store and wizard to match. 2026-05-08 13:21:02 +00:00
andreicscs ec0b36af6c SDK (Go):
- Replace Sleep-based loops with Ticker to prevent timing drift.
- Add 'stopCh' and 'Stop()' mechanism for graceful goroutine teardown.
- Implement exponential backoff for Hub synchronization on startup.
- Fix HTTP response body leaks and ensure proper Content-Length headers.
- Remove library-level os.Exit calls to improve testability.

Sensors:
- Update ICMP, File, Scan, Tarpit, and Web sensors to handle the new
  SDK contract and handle errors gracefully.
- Implement OS signal handling (SIGTERM/SIGINT) for clean shutdowns.

Updated python SDK and templates,

Updated documentation to reflect last commits
2026-04-13 00:08:04 +02:00
andreicscs 61e0758e0c update event contract for better readability and removed unused fields 2026-04-12 11:35:07 +02:00
andreicscs 6e6c22ca6d standardized event schema to details instead of metadata to avoid confusion 2026-04-07 09:29:48 +02:00
andreicscs 8969176bcb refactor: update setup.py and Dockerfile for improved dependency management and clarity; modify .env.example and docker-compose.yml for better configuration guidance 2026-04-04 12:11:04 +02:00
andreicscs 64afa1c182 refactor: rename 'details' to 'metadata' in Event model and HoneyWireSensor class 2026-04-03 12:40:22 +02:00
andreicscs a3f4460e1e feat: add HW_HUB_PORT to .env.example and update docker-compose.yml to use it
refactor: enhance agent authentication in main.py to support Bearer tokens

fix: correct setup.py to use packages instead of py_modules

chore: update TcpTripWire sensor to use new environment variable names and improve connection handling

build: modify Dockerfile for better SDK integration and streamline installation process

docs: clean up requirements.txt and remove unnecessary comments
2026-04-03 12:30:42 +02:00
andreicscs dbfdf1df90 refactor: implement V1.0 contract and unified SDK architecture
- Migrated to HW_ environment variable namespace
- Created installable python-honeywire SDK package
- Standardized sensor templates with Distroless Docker support
- Added CI/CD pipeline for PR security scanning and functional testing
- Updated all internal documentation to match V1.0 specs
2026-04-03 11:38:16 +02:00