Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions internal/graph/gengql/root_.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions internal/graph/schema/vulnerability.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ extend type Query {
"Get vulnerability summary from given date until today."
from: Date!
): ImageVulnerabilityHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get the vulnerability summary for the tenant."
vulnerabilitySummary(
Expand Down Expand Up @@ -42,6 +45,9 @@ extend type Query {

"Get the mean time to fix history for all teams."
vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get a specific CVE by its identifier."
cve(identifier: String!): CVE!
Expand Down Expand Up @@ -105,9 +111,15 @@ extend interface Workload {
"Get vulnerability summary from given date until today."
from: Date!
): ImageVulnerabilityHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get the mean time to fix history for a workload."
vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)
}

extend enum TeamOrderField {
Expand Down Expand Up @@ -135,9 +147,15 @@ extend type Application {
"Get vulnerability summary from given date until today."
from: Date!
): ImageVulnerabilityHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get the mean time to fix history for an application."
vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)
}

extend type Job {
Expand All @@ -146,9 +164,15 @@ extend type Job {
"Get vulnerability summary from given date until today."
from: Date!
): ImageVulnerabilityHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get the mean time to fix history for a job."
vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)
}

extend type Team {
Expand All @@ -157,9 +181,15 @@ extend type Team {
"Get vulnerability summary from given date until today."
from: Date!
): ImageVulnerabilityHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)

"Get the mean time to fix history for a team."
vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory!
@deprecated(
reason: "No longer used by Console. Retained for compatibility while consumer usage is assessed."
)
}

type ImageVulnerabilityHistory {
Expand Down
Loading