mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore!: remove JFrog integration (#17353)
- Removes displaying XRay scan results in the dashboard. I'm not sure anyone was even using this integration so it's just debt for us to maintain. We can open up a separate issue to get rid of the db tables once we know for sure that we haven't broken anyone.
This commit is contained in:
@ -1,26 +0,0 @@
|
||||
-- name: GetJFrogXrayScanByWorkspaceAndAgentID :one
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
jfrog_xray_scans
|
||||
WHERE
|
||||
agent_id = $1
|
||||
AND
|
||||
workspace_id = $2
|
||||
LIMIT
|
||||
1;
|
||||
|
||||
-- name: UpsertJFrogXrayScanByWorkspaceAndAgentID :exec
|
||||
INSERT INTO
|
||||
jfrog_xray_scans (
|
||||
agent_id,
|
||||
workspace_id,
|
||||
critical,
|
||||
high,
|
||||
medium,
|
||||
results_url
|
||||
)
|
||||
VALUES
|
||||
($1, $2, $3, $4, $5, $6)
|
||||
ON CONFLICT (agent_id, workspace_id)
|
||||
DO UPDATE SET critical = $3, high = $4, medium = $5, results_url = $6;
|
Reference in New Issue
Block a user