Skip to content
Merged
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
37 changes: 37 additions & 0 deletions docs/v0s_console_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,43 @@ assessment mutations, ordering and pagination retain their v13s behavior.
Console must use one coherent vulnerability read/write flow, not combine v0s
findings with v13s summaries or assessments. v0s reads never fall back to v13s.

### Legacy GraphQL deprecation

The v13s entry points are deprecated, not removed or redirected. Existing
queries, mutations, node IDs, filters, ordering and pagination keep their
behavior during migration, including TPT's `image.vulnerabilities` reads.
There is no removal date yet. Deploy and verify consumer migrations before
removing the legacy integration.

| Deprecated surface | Migration |
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `cve` / `cves` | `vulnerability(identifier:)` for advisory details; `vulnerabilityFindings.vulnerabilities` for filtered groups |
| Tenant/team `vulnerabilitySummary` | The corresponding `vulnerabilityFindings.summary` |
| Tenant `vulnerabilitySummaries` | `vulnerabilityFindings.affectedWorkloads` with `vulnerabilityOverview` for affected workloads; `Team.workloads` for complete inventory |
| Team `vulnerabilitySummaries` | `Team.workloads` with each workload's `vulnerabilityOverview` |
| `ContainerImage.vulnerabilities` / `vulnerabilitySummary` | `Workload.vulnerabilityFindings` / `vulnerabilityOverview` |
| `CVE.workloads` | Filter `vulnerabilityFindings` by `vulnerabilityIdentifiers`; select `affectedWorkloads` for distinct workloads or `nodes` for package findings |
| Image `sbom` / `hasSBOM`, legacy workload SBOM filter | `Workload.vulnerabilityCoverage` and `TeamWorkloadsFilter.vulnerabilityCoverageStatuses` |
| `ContainerImage.workloadReferences` | Current inventory through `Team.workloads` and workload image references |
| `updateImageVulnerability` | `setVulnerabilitySuppressions` / `deleteVulnerabilitySuppressions`, only after assessment migration and tenant write activation |
| Legacy workload severity ordering | The corresponding `VULNERABILITY_UNIQUE_*` ordering on `Team.workloads`; counts are not equivalent |

Summary and ordering replacements are not drop-in equivalents: v0s distinguishes
findings, unique vulnerabilities and workloads, and its scan coverage is not the
legacy SBOM pipeline status. Review the counting and coverage semantics below.
History, mean-time-to-fix, risk scores, operational-priority filtering and
risk/priority ordering are being retired without replacement. Legacy team
ordering, workload SBOM ordering, scan-time ordering and processing-start
timestamps also have no replacement ordering or timestamp where stated in the
schema.

Only legacy entry points and the filter/order choices on shared surfaces are
deprecated as a group; historical activity-log fields remain available.
Legacy Node types are documented as such, but generic `node` lookup remains
available for both old and new IDs. Do not mix v0s reads with legacy assessment
writes. Deprecation does not enable writes or import v13s assessments, and direct
v0s writes do not replicate back to v13s for rollback.

Of the vulnerability-derived Issues, only `MISSING_SBOM` remains produced.
`VULNERABLE_IMAGE` and `EXTERNAL_INGRESS_URGENT_VULNERABILITY` are retired;
Issue connections, facets and workload severity scores exclude these rows
Expand Down
Loading
Loading