Introducing a new way to review your PRs.

Read the announcement

getarcaneapp / arcane

Modern Docker Management, Designed for Everyone

View on GitHub

26 documents · Updated Oct 19, 2026

docs / vulnerability-scanning-and-image-patching

Vulnerability scanning and image patching

This area helps an operator find known security issues in local Docker images and create new image tags with fixed OS packages. It joins Trivy scan data, stored scan reports, ignore decisions, Copacetic patch runs, and the security views that show their current state. The vulnerability service coordinates the scan, query, storage, and ignore services that support this flow. See also Security and vulnerability management and Registry and image update workflows.

Security system boundary

The security system starts with images known to Docker and ends with two operator decisions: whether a finding needs attention and whether an image should produce a patched tag. The backend owns scan and patch work, the shared types define the data exchanged with the frontend, and the frontend turns that data into scan, query, suppression, export, and patch controls.

Security responsibilities

The system provides these related capabilities:

  • Scan one image or all eligible images for known vulnerabilities.
  • Report severity counts and the full finding list for one image or an environment.
  • Filter findings by severity, image, and fix availability.
  • Export the filtered environment finding set as a CSV file.
  • Mark a finding as ignored for an environment and later restore it to the active view.
  • Select images with fixable OS package findings as patch targets.
  • Patch all outdated OS packages or only the packages named by a stored scan report.
  • Record patch progress and rescan the new image to check the result.
  • Enrich scanned CVEs with known-exploitation and exploit-likelihood signals.
  • Keep environment risk snapshots so risk can be compared over time.

The scan and patch services use Docker as the image source. They also use registry credentials when a scan or patch must read a private image. Activity records give the frontend a common way to show work that continues after the initial request returns.

References: backend/…/service.go• L58-70 backend/…/service.go• L266-306 backend/…/service.go• L75-121 types/…/vulnerability.go• L32-52 backend/…/imagepatch.go• L44-83

Vulnerability scan lifecycle

An image scan is an asynchronous request. The backend records a running result, prepares a Trivy scanner, runs the scan against the image, stores the normalized result, and updates the activity and event history. Single scans use a dedicated scanner container, while scheduled work can reuse long-running batch containers; both paths produce the same result contract.

Scan execution

The following flow shows how a scan request becomes data that other security surfaces can use.

flowchart LR
    A[Operator or schedule] --> B[Scan image request]
    B --> C[Running scan record]
    C --> D[Trivy scan]
    D --> E[Normalized findings and severity counts]
    D --> F[Stored raw report]
    E --> G[Queries exports and security views]
    F --> H[Report-based patch]
    C --> I[Activity and scan event]

A manual scan returns the running record at once. The live state moves through container creation, image scanning, and result storage. A scan can end as completed or failed. A scan that remains pending or scanning beyond the stale period is treated as interrupted so the UI does not show work forever. Scheduled scans skip recent completed results when the scanner version and scan policy still match.

References: backend/…/service.go• L171-308 backend/…/service.go• L311-369 backend/…/service.go• L421-478 backend/…/service.go• L802-960 types/…/vulnerability.go• L183-265

Trivy runs in a Docker context that can use a local cache or a remote Trivy server. Registry credentials can be supplied to read private image sources. Settings can also control the scanner network, container security mode, privileged mode, resource limits, scan concurrency, timeout, and whether findings without a known fix are omitted. The service prevents concurrent scans of the same image and limits the total scanner work with shared slots. Local scans use a cache area for each slot so concurrent scans do not contend for one cache lock. These controls change how the scan runs; they do not change the shared finding shape.

References: backend/…/service.go• L54-68 backend/…/service.go• L90-155 backend/…/service.go• L478-645 backend/…/service.go• L802-862

Scan result model

The shared ScanResult identifies the image and scan time, reports the scan status, and carries severity counts plus normalized findings. A finding keeps its vulnerability ID, package, installed version, optional fixed version, severity, and supporting detail such as CVSS data or references. An empty fixed version means the scanner did not report a known package fix.

References: types/…/vulnerability.go• L21-80 types/…/vulnerability.go• L183-245

The backend stores the result by Docker image ID and keeps the raw Trivy report separately. Trivy checks the selected image identity before the result is stored, so a tag that moved during the scan cannot attach findings to the wrong image. The backend also materializes completed findings as query records, while retaining the summary and full result for detail views. Older completed scans can be backfilled into this query shape, and removing an image removes its scan children with the scan record. The raw report is the input for report-based patching, so a later scan replaces the report that a future patch can use.

Scan persistence saves the scan record and materialized findings as one database unit, retries temporary write failures, and writes a smaller status record when the full result still cannot be saved. This prevents a scan from remaining in a running state only because its detailed result could not be stored.

References: backend/…/service.go• L281-377 backend/…/service.go• L253-376 backend/…/service.go• L582-588 backend/…/service.go• L473-560

Finding query and suppression

The query layer turns stored scan results into image-level summaries, environment totals, paged finding lists, or a filtered export stream. It applies severity, image name, fix availability, search, sort, and pagination rules before the frontend presents the data. The vulnerability service connects this query layer to scan storage and ignore decisions so all security views use the same finding state.

Finding views

The backend exposes separate views for different reader needs:

ViewPurpose
Image resultFull latest scan result for an image
Image summarySmall status and severity count for image lists
Image findingsPaged findings for one image
Environment summaryTotal images, scanned images, and severity totals
Environment findingsPaged findings with image context and filters
Vulnerability exportComplete filtered finding set as CSV
Scanner statusTrivy availability and version

Environment findings default to active findings. A request for ignored findings switches the result set to suppressed findings. Severity, image-name, and fix-available filters remain available for the environment view. Queries use current Docker images when the daemon list succeeds, which keeps removed images out of environment views. When several environments are shown, the frontend requests each environment and merges the result pages and filter options. The same filter rules also drive bulk ignore and restore actions so those actions can apply to every matching finding rather than only the visible page.

References: backend/…/handler.go• L64-114 backend/…/service.go• L433-560 backend/…/service.go• L562-607 backend/…/service.go• L671-725 backend/…/module.go• L59-114

Vulnerability export

The export surface uses the same environment filters as the finding list but streams matching rows instead of building a paged response. Each CSV row carries the CVE, severity, package versions, image identity, and ignored state. The writer uses a spreadsheet-safe CSV format so finding values cannot become spreadsheet formulas when an operator opens the file.

References: backend/…/handler.go• L262-288 backend/…/service.go• L610-657 backend/…/service_test.go• L84-137

Ignore records

An ignore record is an environment-scoped decision tied to an image, vulnerability ID, package name, and installed version. The reason and creating user are retained for review. The same identity cannot be ignored twice in one environment, and removing an ignore record returns the finding to the active set.

Individual and bulk endpoints support both suppression and restoration. Bulk actions use search, severity, image, and fixed-version filters without page limits. They report the number of records affected, keep findings in other environments unchanged, and make repeated suppression requests have no further effect. Restoration removes records for the matching finding identity so a duplicate record cannot keep the finding hidden. The ignore service uses the query service's active-item contract, so bulk changes match the same finding set as the list and export views.

The filter and environment rules are covered by service tests across multiple result pages. The tests also verify that repeated requests are idempotent and that restoration returns the active count to its prior value.

References: backend/…/handler.go• L24-147 backend/…/service.go• L38-90 backend/…/service.go• L92-145 backend/…/service.go• L147-220 backend/…/service_test.go• L990-1072

Ignore records filter findings in environment lists and adjust the dashboard's critical and high action count. They do not rewrite the stored Trivy report. A report-based patch therefore still follows the report selected by the patch request; an ignore is a review choice, not a change to the image or scanner output. A committed ignore change also invalidates the risk overview so its score does not retain the old active-finding set.

References: backend/…/service.go• L354-407 backend/…/service.go• L433-454 backend/…/service.go• L1129-1192 backend/…/service.go• L217-265 backend/…/service.go• L294-305

Threat intelligence and risk history

The backend adds context to scanned CVEs from the CISA Known Exploited Vulnerabilities catalog and FIRST EPSS scores. This context helps security views distinguish findings that are known to be exploited from findings that only have a general likelihood score. Synchronization is limited to CVEs present in stored scan findings, and the system keeps the last sync state so a stale feed is visible instead of silently appearing current.

The service also records a daily environment risk snapshot. A snapshot captures the current risk score, severity totals, exploitation signals, fixable findings, and scan coverage. Older snapshots are removed after the retention period, so this data supports recent risk history rather than permanent audit storage.

References: backend/…/service.go• L378-427 backend/…/service.go• L430-491 backend/…/service.go• L494-604 backend/…/service.go• L833-1127 backend/…/service.go• L1200-1315

Image patch lifecycle

Image patching creates a new image reference instead of changing the source image in place. Copacetic updates OS packages through BuildKit, while the backend records the source, output tag, selected mode, status, and activity so the operator can follow the run. The patch service also verifies that the Docker daemon provides the image store needed by BuildKit before the run starts.

Patch targets

Patch targets come from completed scans that have a stored raw report and at least one fixable OS package. The target data combines the source image reference, fixable and total counts, scan time, latest patch record, and the scan state of the patched output when available.

Images built locally without a registry digest are marked localOnly because the patch tool cannot fetch them as a registry source. Untagged, dangling, and image-ID-only records are not actionable targets. Completed patch outputs are hidden as separate targets and folded into the original image row. This prevents a patched tag from becoming the next patch input and lets the original row show whether the verification scan still has fixable findings.

References: backend/…/service.go• L689-783 backend/…/service.go• L786-851 types/…/imagepatch.go• L49-62

Patch execution

The patch flow validates the source image, chooses the patch mode, records a running attempt, runs Copacetic, and starts a verification scan when the expected output tag exists and vulnerability management is enabled.

sequenceDiagram
    participant U as Operator or schedule
    participant P as Patch service
    participant R as Stored scan report
    participant C as Copacetic and BuildKit
    participant D as Docker
    participant S as Scan service

    U->>P: Select image and patch options
    P->>D: Validate tag, digest, and image store
    P->>R: Read report when report mode is selected
    P-->>U: Return patching record and activity ID
    P->>C: Create patched image tag
    C-->>P: Patch result and package count
    P->>D: Check expected patched reference
    P->>S: Scan patched image when found and enabled
    P-->>U: Complete patch record and activity

There are two modes. update-all asks Copacetic to update every outdated OS package. report supplies the stored Trivy report and limits the patch to OS packages named by that report. A caller can override the output tag suffix, set an explicit patched tag, set a timeout, or allow individual package errors without stopping the run. Registry credentials are refreshed for the patch tool before registry lookups, and a single BuildKit patch runs at a time.

An interrupted patch is marked failed and is not replayed automatically because the output tag may already have changed. Recovery also settles leftover running records after a process restart. This keeps a retry from applying an uncertain patch twice.

References: types/…/imagepatch.go• L6-38 backend/…/service.go• L124-289 backend/…/service.go• L291-447 backend/…/service.go• L588-598

The source must have a tag and a registry digest. The service rejects a missing tag, a local-only image, a scan ID that belongs to another image, or a missing raw report. The Docker daemon must use the containerd image store required by the BuildKit exporter. By default, a multi-platform source is pinned to the server's platform; the all-platforms setting changes that choice.

References: backend/…/service.go• L150-229 backend/…/service.go• L896-910

Backend interfaces

The backend exposes secured environment routes for scans, findings, ignore decisions, exports, patch targets, and patch history. The initial scan and patch calls return quickly with a status record; later reads provide the current result. Vulnerability routes also require the vulnerability-management feature to be enabled.

Scan endpoints

The main scan contract is grouped under /environments/{id}:

CapabilityRoute shapePermission
Start image scanPOST /images/{imageId}/vulnerabilities/scanvulnerabilities:scan
Read image result or summaryGET /images/{imageId}/vulnerabilities...vulnerabilities:read
Read environment findings and summaryGET /vulnerabilities/...vulnerabilities:read
Export environment findingsGET /vulnerabilities/exportvulnerabilities:read
List image filter optionsGET /vulnerabilities/image-optionsvulnerabilities:read
Ignore or restore a findingPOST or DELETE /vulnerabilities/ignore...vulnerabilities:manage
Bulk ignore or restore findingsPOST /vulnerabilities/ignore/bulk or /unignore/bulkvulnerabilities:manage
List ignored findingsGET /vulnerabilities/ignoredvulnerabilities:read
Read scanner statusGET /vulnerabilities/scanner-statusvulnerabilities:read

Image findings and environment findings use the common search, sort, and pagination contract. The batch summary route lets image lists refresh several scan states without loading full finding payloads. The export route accepts the environment finding filters and returns the complete matching set as a download. Bulk suppression uses the same filter contract but does not use pagination.

References: backend/…/module.go• L14-32 backend/…/module.go• L13-114 backend/…/handler.go• L76-147 types/…/vulnerability.go• L267-315 types/…/vulnerability.go• L564-592

Patch endpoints

Image patching uses three secured routes:

  • POST /environments/{id}/images/{imageId}/patch starts a run and requires images:patch.
  • GET /environments/{id}/images/patch-targets lists actionable scanned images and requires vulnerabilities:read.
  • GET /environments/{id}/images/patches lists patch history and requires images:list.

The patch request and result use the shared PatchOptions and PatchRecord types. The record includes the original and patched references, mode, status, optional package count, error, activity ID, and timing. The start route reports feature-disabled, invalid-request, and missing-image conditions as distinct API errors before falling back to a server error for unexpected failures.

References: backend/…/handler.go• L25-29 backend/…/handler.go• L50-66 backend/…/handler.go• L68-95 backend/…/handler.go• L98-143 types/…/imagepatch.go• L25-80

Frontend security surfaces

The frontend keeps security work in the Security page while also exposing scan and patch actions beside image data. It maps API data into table rows, polls running work, and uses activity IDs for status messages.

Security workspace

The fully qualified page frontend/…/+page.svelte presents Overview, Vulnerabilities, and Patches tabs. The overview shows risk context. The vulnerability tab shows environment counts and a paged cross-image finding table. It supports image, severity, fixed-version, and ignored-finding filters. The patches tab shows fixable counts, last scan time, patch status, output reference, and a patch action when the user has permission.

References: frontend/…/+page.svelte• L64-74 frontend/…/+page.svelte• L473-529 frontend/…/+page.ts• L19-98

The page starts all-image scans in client batches of three because each API call is asynchronous. It refreshes the environment overview, findings, and patch targets while scans finish. Per-image scan controls use the same status and phase model, then poll summaries before loading full results. Activity updates also refresh patch targets after patch work finishes. When the vulnerability-management feature is disabled for the selected or shown environments, the page clears security data and stops its polling rather than showing stale results.

References: frontend/…/+page.svelte• L129-241 frontend/…/+page.svelte• L255-285 frontend/…/+page.svelte• L287-412

Finding table

The vulnerability table gives an operator one environment-wide view of CVEs and their image context. It supports search, sort, image and severity filters, fix-available filtering, ignored-finding mode, CSV export, and row-level or bulk suppression actions.

The ignored toggle changes the table between active and ignored findings. In each mode, selected rows can be suppressed or restored, and a separate action can apply the same filters to all matching findings across every shown environment. The table clears selection before a view change or reload so an action cannot be sent again for rows that the server already changed.

References: frontend/…/security-vulnerability-table.svelte• L83-124 frontend/…/security-vulnerability-table.svelte• L133-241 frontend/…/security-vulnerability-table.svelte• L296-365 frontend/…/security-vulnerability-table.svelte• L492-556

Patch table

The patch table turns completed scans with fixable OS package findings into actions that apply to one image and environment. It shows the scan age, fixable count, last patch state, and patched reference. A patch action uses the stored scan report and remains unavailable for local-only images, images with no fixable findings, or users without patch permission.

After a patch starts, the table uses the patch record and its verification scan to distinguish a running patch, a failed patch, a pending verification scan, a failed verification scan, and a verified result. This keeps package remediation and post-patch scanning visible as one operator flow.

References: frontend/…/security-patch-table.svelte• L13-23 frontend/…/security-patch-table.svelte• L76-117 frontend/…/security-patch-table.svelte• L221-250

Image surfaces

The image list and image detail page use the same vulnerability service as the Security page. An image row can start a scan and refresh its compact summary. The per-image scan surface shows whether no scan exists, a scan is running, a scan failed, or a completed scan has findings. It exposes the active scan phase and lets an operator start or rescan the image while keeping the result tied to the image's owning environment.

The image detail view can load the full result, show finding details, start a rescan, and start a patch. A completed result presents a clean state or a risk summary with severity mix, known-exploited count, highest CVSS, fixable count, top packages, and paged findings. When a stored raw report is available, the detail view selects report mode; otherwise it requests all outdated OS packages.

References: frontend/…/image-table.svelte• L191-223 frontend/…/+page.svelte• L79-129 frontend/…/vulnerability-scan-item.svelte• L30-169 frontend/…/vulnerability-scan-panel.svelte• L43-153

Security settings

The environment settings form validates and saves the scanner and patch controls as one environment contract. The scanner surface covers the scanner image, network, security options, privileged mode, resource limits, concurrency, remote server, token, and unfixed-finding policy. The image patch surface covers automatic patching, output suffix, timeout, and platform scope. Scheduled scan and auto-patch jobs read their enable flags and cron values from the same settings model.

References: frontend/…/environment-form-schema.ts• L35-69 frontend/…/+page.svelte• L281-297 frontend/…/trivy-security-settings.svelte• L152-314 frontend/…/image-patch-settings.svelte• L31-74

Scheduled security actions

Scheduled scanning and scheduled patching are separate opt-in jobs. Scanning can run on a cron schedule and examines all named Docker images. Auto-patching runs from completed reports with fixable OS package findings and skips patch outputs or images already patched since their latest scan.

Scheduled scan job

The vulnerability scan job is disabled unless vulnerabilityScanEnabled is true. Its cron value comes from vulnerabilityScanInterval, with a daily default when the value is empty or invalid. Before scanning, it removes records for images that no longer exist.

References: backend/…/vulnerability_scan_job.go• L15-58 backend/…/vulnerability_scan_job.go• L61-88 types/…/settings.go• L177-185

Automatic patch job

The auto-patch job is disabled unless imageAutoPatchEnabled is true. Its cron value comes from imageAutoPatchInterval, with a daily 3 AM default when the value is empty or invalid. Each run selects the latest completed report with fixable findings and starts report-mode patch runs.

References: backend/…/auto_patch_job.go• L14-57 backend/…/auto_patch_job.go• L60-77 backend/…/service.go• L854-893 types/…/settings.go• L363-371

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the fields in types/…/vulnerability.go aligned with backend DTO conversion and the frontend environment types. A renamed status, phase, summary, ignore, or bulk-result field can stop polling or suppression refresh without a clear API error.
  • Keep the list filters aligned across the paged query, export query, bulk ignore and restore payloads, frontend controls, and image-option lookup. A filter that works in the table but not in the CSV or bulk action can produce a misleading security record.
  • Keep the query service's active-item contract aligned with the ignore service's bulk actions. A change in ignored-mode or current-image filtering can make bulk suppression act on a different set from the visible list.
  • Keep ignored-mode joins, environment scope, and the finding identity fields aligned. A missing environment or installed-version condition can suppress or restore the wrong finding.
  • Keep scan slot capacity, per-image locking, shared-container pool cleanup, and slot-based cache paths aligned. A change can permit duplicate work, reuse a canceled scanner, or cause concurrent local scans to contend for the shared Trivy cache.
  • Keep the normalized finding fields, materialized scan-item fields, and image-identity check aligned. A missing CVE, package, version, severity, detail, or layer identity can break filtering or attach a result to the wrong image.
  • Keep scan and ignore commits connected to risk-overview invalidation. Otherwise the dashboard can show a short-lived score built from findings that are no longer active.
  • Keep ScanID validation, raw report storage, and the patch target query aligned. A scan can show fixable findings but remain unavailable for report-mode patching if its report row is missing.
  • Keep threat-intelligence freshness state and risk snapshot scoring inputs aligned with the finding records. A partial sync or changed score field can make security context appear current while using incomplete data.
  • Keep patched reference resolution aligned with the recorded PatchedRef, Docker image lookup, and verification scan lookup. A tag mismatch can make a successful patch appear unverified or expose the output as a new patch target.
  • Keep patch interruption recovery and record status aligned. A running record must not be replayed when Copacetic may already have changed the output tag.
  • Keep the settings form schema, environment save payload, shared settings type, and scheduler setting names aligned. The enable flags and cron values silently control whether the jobs exist.
  • Keep permission checks in backend route registration and frontend action visibility aligned. The frontend must not use a hidden action as a substitute for backend authorization.
  • Keep multi-environment request merging aligned with per-environment filters and failed-environment reporting. A change can hide an unavailable environment or apply a filter to only part of the shown scope.

Important failure modes

TriggerConsequenceGuard
Trivy image cannot be pulled or its Docker context cannot be reachedThe scan ends in failed and no usable result is producedCheck scanner status and Docker or registry access before retrying
Scan demand exceeds the configured scanner capacityA scan waits for a slot or a non-waiting action is skipped, so its result is not immediateReview scan capacity and activity state before treating the image as unscanned
A running scan passes the stale timeoutReaders see a failed scan instead of an endless running stateRetry the scan after checking the scanner container and Docker host
Full scan-result persistence fails after its retry windowThe service may retain only a status record, so the scan state is known but its findings are unavailableCheck the stored error before treating a failed save as a clean scan
Trivy output is truncated or cannot be read from the containerThe scan fails while parsing the report, so no normalized result or patch report is savedCheck Docker log delivery and scanner container health before retrying
The image changes while Trivy is scanning its selected nameThe result is rejected instead of being stored under the wrong image IDRescan the current image after the tag or image contents change
A threat-intelligence feed is empty or much smaller than the cached catalogCached exploitation flags are kept and the sync remains stale instead of replacing valid data with an incomplete feedCheck threat-intelligence sync status and source-feed health
Docker does not use the containerd image store required by BuildKitPatching is rejected before Copacetic can create the output imageEnable the required Docker image store before starting a patch
Source image has no tag or registry digestPatching is rejected because BuildKit cannot use the image as a registry sourcePush or pull the image so it has a usable tag and digest
Report mode uses a scan ID for another image or a missing raw reportThe patch is rejected before Copacetic startsUse the selected image's completed scan with hasReport true
The vulnerability feature is disabled after a report patch is queuedThe patch fails before package work or skips its verification scanRe-enable vulnerability management before running report-based remediation
A patch is interrupted after Copacetic may have changed the tagThe record stays failed and is not replayed automaticallyInspect the output image and start a new patch only after confirming its state
Expected patched tag is not present after Copacetic succeedsThe patch is recorded, but verification cannot start and the result may be hard to findCheck the patch activity and image references for a multi-platform or tag-resolution change
A bulk suppression request uses a different filter set from the visible tableFindings outside the operator's intended match can be ignored or restoredSend the shared search, severity, image, and fixed-version filters without page values
An ignore decision is mistaken for a patch exclusionThe finding disappears from active views and exports, but a report-based patch can still use the stored raw reportTreat suppression and package remediation as separate decisions
One shown environment fails during a merged security requestThe combined page can be partial and the failed environment is not represented by normal finding rowsCheck the failed-environment result before treating the merged totals as complete

Key files

FileWhy to read it
backend/…/service.goCoordinates scan, query, storage, and ignore services and invalidates risk data after committed changes
backend/…/service.goShows the asynchronous scan lifecycle, activity phases, scheduled scan selection, shared scan pool, and notification input
backend/…/service.goShows bounded Trivy execution, Docker setup, report capture, cache use, result conversion, and scan identity checks
backend/…/service.goShows how scan summaries, query rows, raw reports, threat intelligence, and risk snapshots are retained and cleaned up
backend/…/service.goExplains summaries, filtering, pagination, current-image scope, dashboard counts, risk views, and streaming export selection
backend/…/module.goDefines the secured result, summary, risk, list, export, and image-option routes
backend/…/service.goDefines the identity, environment scope, bulk filters, and restore behavior of suppression decisions
backend/…/service_test.goDemonstrates persistence, feature-gate, risk, multi-page filtering, threat-intelligence, and bulk suppression guarantees
backend/…/service.goShows patch target selection, report or update-all runs, BuildKit constraints, interruption recovery, and verification scans
backend/…/service_test.goDemonstrates patched-reference rules, feature gates, target filtering, multi-environment merging, and interrupted-run recovery
backend/…/handler.goDefines the secured patch, target, and history API surface and its error contract
types/…/vulnerability.goDefines the shared scan, finding, summary, ignore, and bulk-action contracts
types/…/imagepatch.goDefines patch modes, statuses, options, targets, and records
types/…/settings.goDefines scanner, patch, and scheduled-action setting names
frontend/…/+page.svelteShows the operator workspace, feature gate, multi-environment refresh, asynchronous scan polling, and relationship between scan and patch tabs
frontend/…/+page.tsShows the initial security data load and the feature-disabled page state
frontend/…/security-vulnerability-table.svelteShows environment-wide finding search, export, suppression, restoration, and bulk controls
frontend/…/security-patch-table.svelteShows patch target state, permission checks, and the report-based patch action
frontend/…/vulnerability-scan-item.svelteShows per-image scan status, phase display, environment checks, and result feedback
frontend/…/vulnerability-scan-panel.svelteShows the image detail risk summary and paged finding view
frontend/…/trivy-security-settings.svelteShows scanner security and run controls
frontend/…/image-patch-settings.svelteShows image patch policy controls