feat: event management and websocket for updates

This commit is contained in:
Andrew Rioux
2025-02-22 16:04:15 -05:00
parent 005048f1ce
commit faaa4d2d1a
48 changed files with 1409 additions and 204 deletions
@@ -0,0 +1,19 @@
DROP TABLE beacon_config_assignment;
DROP TABLE beacon_instance;
CREATE TABLE beacon_instance (
beacon_id varchar PRIMARY KEY NOT NULL,
template_id int NOT NULL,
peer_ip varchar NOT NULL,
nickname varchar NOT NULL,
cwd varchar NOT NULL,
operating_system varchar NOT NULL,
beacon_userent varchar NOT NULL,
hostname varchar NOT NULL,
config_id int,
FOREIGN KEY (template_id) REFERENCES beacon_template,
FOREIGN KEY (config_id) REFERENCES beacon_config
);