feat: add backend for jfrog xray support (#11829)

This commit is contained in:
Jon Ayers
2024-01-29 19:30:02 -06:00
committed by GitHub
parent 46d92dac57
commit 4f5a2f0a9b
25 changed files with 944 additions and 2 deletions
@@ -0,0 +1,9 @@
CREATE TABLE jfrog_xray_scans (
agent_id uuid NOT NULL REFERENCES workspace_agents(id) ON DELETE CASCADE,
workspace_id uuid NOT NULL REFERENCES workspaces(id) ON DELETE CASCADE,
critical integer NOT NULL DEFAULT 0,
high integer NOT NULL DEFAULT 0,
medium integer NOT NULL DEFAULT 0,
results_url text NOT NULL DEFAULT '',
PRIMARY KEY (agent_id, workspace_id)
);