mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add backend for jfrog xray support (#11829)
This commit is contained in:
@ -1779,6 +1779,15 @@ type GroupMember struct {
|
||||
GroupID uuid.UUID `db:"group_id" json:"group_id"`
|
||||
}
|
||||
|
||||
type JfrogXrayScan struct {
|
||||
AgentID uuid.UUID `db:"agent_id" json:"agent_id"`
|
||||
WorkspaceID uuid.UUID `db:"workspace_id" json:"workspace_id"`
|
||||
Critical int32 `db:"critical" json:"critical"`
|
||||
High int32 `db:"high" json:"high"`
|
||||
Medium int32 `db:"medium" json:"medium"`
|
||||
ResultsUrl string `db:"results_url" json:"results_url"`
|
||||
}
|
||||
|
||||
type License struct {
|
||||
ID int32 `db:"id" json:"id"`
|
||||
UploadedAt time.Time `db:"uploaded_at" json:"uploaded_at"`
|
||||
|
Reference in New Issue
Block a user