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 / security-and-vulnerability-management

Security and vulnerability management

Arcane provides a security workflow for container images. It scans current images with Trivy, stores the latest scan evidence, adds threat context to risk views, lets authorized users hide accepted findings, and can create new image tags with updated OS packages. The security page connects risk review with patching and a later scan that checks the patch result. See Vulnerability scanning and image patching for the detailed scan and patch workflows.

Security management model

Security management has four connected concerns. A scan produces evidence about an image. Threat data and container use help Arcane rank the work. Finding decisions shape what operators see and count as active work. Image patching uses scan evidence or a general update mode to produce a new image that can be checked again.

flowchart LR
  Image[Container image] --> Scan[Trivy scan]
  Scan --> Findings[Stored findings and scan evidence]
  Findings --> Intel[Threat and usage context]
  Intel --> Risk[Risk overview]
  Findings --> Review[Security review]
  Review --> Ignore[Ignore decision]
  Review --> Patch[Image patch]
  Patch --> NewImage[Patched image tag]
  NewImage --> Verify[Verification scan]
  Verify --> Findings

Security findings

A security finding identifies a vulnerability in a package inside an image. Arcane keeps the vulnerability ID, package name, installed version, severity, available fixed version, and supporting security data. A finding can be displayed without a fix, but only an OS package finding with a known fixed version is counted as a patch candidate. types/…/vulnerability.go• L54-114, backend/…/service.go• L259-305

Findings are grouped by image and severity. Normalized finding rows support search, filters, sorting, ignore checks, risk views, and exports across images. Current environment summaries report total images, scanned images, and counts for critical, high, medium, low, and unknown severity. The list and export use the same active or ignored finding query, so bulk decisions can target the same set that an operator reviewed. backend/…/service.go• L277-337, backend/…/service.go• L433-559, backend/…/service.go• L1422-1495

Risk overview

The risk overview turns current non-ignored findings into a patch-priority view for an environment. Its score has a risk band and a data status. It also shows the main drivers, affected image exposure, the riskiest images, and the findings that are highest risk or most common. types/…/vulnerability.go• L293-310, types/…/vulnerability.go• L712-775

Risk priority uses more than severity. It considers whether a finding has a fix, whether its CVE is in the CISA Known Exploited Vulnerabilities catalog, its EPSS exploit probability when available, and whether containers use the image. Running images receive different exposure context from stopped or unused images. backend/…/service.go• L766-805, backend/…/service.go• L847-1127

Arcane stores daily risk snapshots for trend and seven-day comparison. The overview can report missing or stale threat data instead of presenting threat counters as zero. It briefly caches each environment overview and shares one build among concurrent requests. A scan or ignore change invalidates that cached view. backend/…/service.go• L1200-1319, backend/…/service.go• L1354-1420, types/…/vulnerability.go• L766-835

References: types/…/vulnerability.go• L293-310 types/…/vulnerability.go• L712-835 backend/…/service.go• L766-805 backend/…/service.go• L847-1127 backend/…/service.go• L1200-1319 backend/…/service.go• L1354-1420

Security page

The security page is the main operator view for this domain. Its Overview tab presents patch priority and trends. Its Vulnerabilities tab lists findings across current images. Its Patches tab lists images with fixable findings or patch history and shows the last patch with the scan result of that patch. Patching is an image-level action on the Patches tab rather than a CVE-row action. frontend/…/+page.svelte• L63-67, frontend/…/+page.svelte• L426-467, frontend/…/security-vulnerability-table.svelte• L10-11

The page loads risk, finding, and patch-target data for the selected environment. Its initial load now checks the vulnerability-management feature and requests the overview and filtered vulnerability list together. It refreshes these views together when the environment changes or the operator refreshes the page. It also reloads patch targets when an image patch activity ends. The page can start scans for all images in batches of three, then polls the overview until scan progress stops or completes. The vulnerability table can ignore or restore selected findings or all findings that match its current filters. The page hides all security data when the vulnerability-management feature is disabled. Scan actions still require the matching permission for the selected environment. frontend/…/+page.ts• L13-87, frontend/…/+page.svelte• L73-162, frontend/…/+page.svelte• L230-255, frontend/…/+page.svelte• L263-341, frontend/…/+page.svelte• L343-356, frontend/…/security-vulnerability-table.svelte• L94-196

The Overview tab lets an operator switch between a 30-day and 90-day risk trend and rank top findings by risk or prevalence. Selecting a finding moves the operator to the matching vulnerability view. The overview also shows severity, image exposure, scan coverage, threat-data state, and the riskiest images. frontend/…/security-overview.svelte• L27-47, frontend/…/security-overview.svelte• L168-266, frontend/…/security-overview.svelte• L268-384

Finding export provides a portable view of the current vulnerability list. The CSV uses the same review filters, including ignored state and fix availability, so a review can continue outside Arcane. It protects values that spreadsheet programs could treat as formulas. backend/…/handler.go• L262-288, backend/…/service.go• L610-656, backend/…/service.go• L1322-1351

The security page is part of the wider web application. Image identity and registry access belong to image and registry management, while patch execution is covered by Vulnerability scanning and image patching.

References: frontend/…/+page.ts• L13-87 frontend/…/+page.svelte• L63-67 frontend/…/+page.svelte• L73-162 frontend/…/+page.svelte• L230-255 frontend/…/+page.svelte• L263-341 frontend/…/+page.svelte• L343-356 frontend/…/security-overview.svelte• L27-47 frontend/…/security-overview.svelte• L168-266 frontend/…/security-overview.svelte• L268-384 frontend/…/security-vulnerability-table.svelte• L94-196 frontend/…/security-patch-table.svelte• L53-82 backend/…/handler.go• L262-288 backend/…/service.go• L610-656 backend/…/service.go• L1322-1351

Vulnerability scanning

Arcane uses Trivy as a separate scanner for local container images. A scan runs in the background, records an in-progress state, and then stores either completed findings or a failure with an error message. The detailed scan and patch sequence is covered in Vulnerability scanning and image patching.

Scan sources

An image scan uses the image's local Docker identity and a usable tag or digest as the scan target. A single-image scan starts from an image view. The security page can start scans for all listed images, while the scheduled scan skips dangling images and recent scans that use the same scanner version and policy. Image names and registry identity are part of the wider image and registry management flow. backend/…/service.go• L172-218, backend/…/service.go• L424-481

Trivy can use local vulnerability data or a configured Trivy server. Arcane passes registry access, scan configuration, ignore rules, Docker access, network, security, and resource settings into the scan boundary. It limits concurrent work across scans and keeps separate cache slots for active scans. Before it applies CPU limits, it checks what the connected Docker host supports and keeps that capability result for later scans. This lets scans reach private image sources while keeping scanner load within configured host limits. backend/…/service.go• L54-68, backend/…/service.go• L468-519, backend/…/service.go• L595-637, backend/…/service.go• L696-770

Scheduled scans reuse a bounded set of long-running scanner containers. This reduces repeated container setup while keeping manual and scheduled scans within the configured scan limit. If the shared containers cannot be stopped safely after cancellation, the pool is retired and later work starts with a fresh pool. backend/…/service.go• L481-527, backend/…/service.go• L529-582

The scanner status endpoint reports whether the configured scanner can be used and which scanner version is available. A missing version means the scanner is not available to the connected Docker host. backend/…/handler.go• L12-38, backend/…/service.go• L380-476

References: backend/…/service.go• L172-218 backend/…/service.go• L424-481 backend/…/service.go• L481-582 backend/…/service.go• L54-68 backend/…/service.go• L468-519 backend/…/service.go• L595-637 backend/…/service.go• L696-770 backend/…/handler.go• L12-38

Scan progress

Scan progress has three user-facing phases: preparing the scanner, scanning the image, and storing the result. The activity record and scan response expose the phase while the scan is active. A scan that remains pending or scanning beyond the stale limit becomes failed so the security page does not show work as running forever. backend/…/service.go• L152-170, backend/…/service.go• L172-311, backend/…/service.go• L314-371

The scheduled scan is opt-in and can scan suitable current images with controlled concurrency. It skips recent results when the scanner version and scan policy still match. When completed scans contain fixable findings, Arcane can send a summary notification that excludes ignored findings. If the feature is disabled while a scheduled task waits for capacity, that task stops without replacing the previous completed result. backend/…/service.go• L316-427, backend/…/service.go• L421-478, backend/…/service.go• L529-641, backend/…/service.go• L660-699

References: backend/…/service.go• L152-170 backend/…/service.go• L172-311 backend/…/service.go• L314-371 backend/…/service.go• L421-478 backend/…/service.go• L529-641 backend/…/service.go• L660-699 backend/…/service.go• L316-427

Scan result presentation

The scan result view presents both the current state and the evidence behind it. The compact image control shows when no scan exists, when a scan is active, when a scan fails, and when a completed scan has findings. It also lets an operator start or repeat a scan and shows the active scan phase while work runs. frontend/…/vulnerability-scan-item.svelte• L28-157, frontend/…/vulnerability-scan-item.svelte• L173-323

The detailed scan panel turns a completed result into a clean or risk summary. It shows severity counts, scan duration, scanner version, and a paginated table with the CVE, package, severity, installed version, and fixed version. It keeps no-scan, failed, and in-progress states distinct from a clean completed scan. frontend/…/vulnerability-scan-panel.svelte• L40-198, frontend/…/vulnerability-scan-panel.svelte• L266-378

References: frontend/…/vulnerability-scan-item.svelte• L28-157 frontend/…/vulnerability-scan-item.svelte• L173-323 frontend/…/vulnerability-scan-panel.svelte• L40-198 frontend/…/vulnerability-scan-panel.svelte• L266-378

Finding lifecycle

The finding lifecycle starts with a scan and ends when a later scan changes the image's result or an operator changes the finding's ignore state. Arcane keeps scan summaries, searchable finding rows, threat context, and the raw report needed for review and report-based patching. A rescan replaces the stored result for that image, which makes the latest completed scan the source for current image risk.

Finding persistence

Arcane stores one current scan record per image. The record contains scan state, scan time, scanner version, scan policy, severity counts, fixable count, findings, and any error. Completed findings are also stored as searchable rows. A raw Trivy report is stored separately for the same image and replaced on rescan so report-based patching uses current evidence. The scan result and its searchable rows are saved as one transaction. Retry and fallback status handling prevent a failed save from leaving a scan shown as active. backend/…/service.go• L478-565, backend/…/service.go• L253-376

The scanner accepts a report from its output file first and falls back to standard output when needed. It rejects empty or invalid output and checks that an exec scan still describes the selected image by comparing the report's layer diff IDs with the selected image's current root filesystem layers. This avoids relying on image IDs that can differ between image stores, while preventing a changed image name from placing findings under the wrong image. backend/…/service.go• L281-377

Arcane can enrich stored CVEs with CISA KEV and FIRST EPSS data. This data is cached by CVE and refreshed on a schedule. It supports the risk overview but does not replace the scanner's finding evidence. backend/…/service.go• L384-433, backend/…/service.go• L436-609, types/…/vulnerability.go• L1017-1045

Scan records, raw reports, and searchable finding rows are removed together when a scan is deleted. Cleanup also removes records for images that no longer exist in Docker. Startup repair can rebuild searchable rows from older completed scan records, and legacy report files can be moved into the stored report record before their old directory is removed. This keeps environment totals and security lists tied to current images instead of old scan data. backend/…/service.go• L103-140, backend/…/service.go• L154-368, backend/…/service.go• L216-230

References: backend/…/service.go• L478-565 backend/…/service.go• L103-140 backend/…/service.go• L154-368 backend/…/service.go• L384-609 backend/…/service.go• L281-377 types/…/vulnerability.go• L217-285

Ignore decisions

An ignore is an environment-scoped decision for one image, vulnerability ID, package, and installed version. Arcane records who created it and an optional reason. The same identity cannot be ignored twice, and an authorized user can remove the ignore later. backend/…/service.go• L47-145, backend/…/service.go• L217-263, types/…/vulnerability.go• L618-679

Normal vulnerability views hide ignored findings through an environment-aware query. The operator can switch to the ignored view and restore a finding. An ignore changes review and actionable display state. It does not delete scan evidence or rewrite the raw report. backend/…/service.go• L433-455, backend/…/service.go• L63-90, frontend/…/+page.svelte• L43-54, frontend/…/security-vulnerability-table.svelte• L410-423

The table supports bulk ignore and restore actions for every finding that matches its current search, severity, image, and fix-available filters. These requests do not use the current page size. They apply to the full matching set inside a transaction and report how many records changed. The ignore service reuses the active finding query used by the list, which keeps bulk actions aligned with the operator's filters. backend/…/service.go• L147-220, backend/…/service.go• L262-281, backend/…/service.go• L1422-1427, types/…/vulnerability.go• L681-709

Ignored findings also change the dashboard's critical and high action count. The count uses the stored per-finding rows when ignore records exist, so accepted findings do not remain in that action count. backend/…/service.go• L354-406, backend/…/service_test.go• L299-453

References: backend/…/handler.go• L24-145 backend/…/service.go• L47-90 backend/…/service.go• L92-220 backend/…/service.go• L262-281 backend/…/service.go• L354-455 backend/…/service.go• L1422-1427 frontend/…/security-vulnerability-table.svelte• L94-196 types/…/vulnerability.go• L618-709

Finding access

The API separates read, scan, and manage permissions. Read access covers summaries, risk overviews, full results, lists, ignored findings, exports, and scanner status. Scan access starts a scan. Manage access creates or removes individual and bulk ignores. This separation lets an operator review security data without granting permission to change findings or start work. backend/…/module.go• L13-115, backend/…/module.go• L14-32, backend/…/module.go• L13-68

All vulnerability routes also sit behind the vulnerability-management feature gate. When the feature is disabled, the API returns a feature-disabled response instead of exposing scan, query, or ignore operations. A scan that is already queued rechecks the gate before it consumes scanner capacity or saves a new result. backend/…/module.go• L77-100, backend/…/service.go• L171-175, backend/…/service.go• L578-580

References: backend/…/module.go• L77-100 backend/…/module.go• L13-115 backend/…/module.go• L14-32 backend/…/handler.go• L21-38 backend/…/module.go• L13-68 backend/…/service.go• L171-175 backend/…/service.go• L578-580

Image patch workflows

Image patching turns fixable OS package findings into a new image tag. It does not change the original image in place. Arcane records the source image, source digest, patch mode, output reference, result, and activity so the operator can trace the action and compare the verification scan. The detailed workflow is covered in Vulnerability scanning and image patching.

Patch selection

The Patches tab shows completed scans with a stored report when they have fixable vulnerabilities or patch history. It hides patch outputs from the main target list and attaches their history to the original image. Images without a registry digest are marked local-only because the patch tool cannot fetch a source image for its build process. backend/…/service.go• L689-783

The patch action starts from the selected image's stored scan report. The service checks that the report belongs to the selected image and rejects a missing report or a mismatched scan. This keeps a patch from applying findings from another image. backend/…/service.go• L175-207, frontend/…/security-patch-table.svelte• L53-69, frontend/…/security-patch-table.svelte• L197-209

References: backend/…/service.go• L175-207 backend/…/service.go• L689-783 frontend/…/security-patch-table.svelte• L53-69 frontend/…/security-patch-table.svelte• L197-209

Patch execution

Arcane supports two patch modes. Report mode updates packages named by a stored scan report. Update-all mode updates all outdated OS packages in the image. Both modes produce a new tag, using an explicit tag when supplied or a configured suffix when not. The service records the exact output reference before the background run starts. backend/…/service.go• L197-288, backend/…/service.go• L314-387

Each run moves through a background activity and a persisted patch record. Patch execution is serialized so only one BuildKit patch runs at a time. A successful report-mode run can count updated packages and starts a new scan for the patched image when the expected output tag exists and vulnerability management is enabled. The verification result is shown against the original target, so a completed patch is not treated as proof that all fixable findings are gone until the new scan reports its result. Interrupted runs are marked failed so an uncertain package update is not replayed automatically. backend/…/service.go• L60-64, backend/…/service.go• L291-430, backend/…/service.go• L433-447, backend/…/service.go• L588-598

References: backend/…/service.go• L60-64 backend/…/service.go• L197-288 backend/…/service.go• L291-430 backend/…/service.go• L433-447 backend/…/service.go• L588-598

Scheduled patching

Automatic patching is opt-in and runs on a separate schedule from scanning. It selects images whose latest completed scan has fixable OS package findings and stored raw report data. It skips patch outputs and skips an image that already has a completed or active patch since that scan. backend/…/service.go• L854-893

References: backend/…/service.go• L854-893 backend/…/auto_patch_job.go• L20-77

Security configuration

Security settings control when Arcane scans and patches, how the scanner reaches Docker and registries, and how patch outputs are named. They are operational controls around the same scan, finding, risk, and patch contracts rather than separate security systems.

Scanner controls

Operators can select scanner behavior such as whether to include vulnerabilities without a known fix, whether to use a Trivy server, which scan configuration and ignore rules to apply, which network and security settings the scanner uses, and how much scan concurrency and resource capacity it receives. These choices affect scan reach and load. They also form the stored scan policy that scheduled scans compare before deciding that a recent result is still current. frontend/…/trivy-security-settings.svelte• L152-314, backend/…/service.go• L415-419, backend/…/service.go• L585-645

References: frontend/…/trivy-security-settings.svelte• L152-314 backend/…/service.go• L415-419 backend/…/service.go• L585-645 backend/…/service.go• L703-790

Patch controls

Operators can enable automatic patching, choose whether patching covers all image platforms, set the output tag suffix, and set the patch timeout. A caller can override the suffix, output tag, timeout, or error handling for a single run. frontend/…/image-patch-settings.svelte• L31-73, types/…/imagepatch.go• L25-38

References: frontend/…/image-patch-settings.svelte• L31-73 types/…/imagepatch.go• L25-38

Change checklist

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

  • Keep the scan record, raw report, searchable finding rows, fixable count, scanner policy, and HasReport meaning aligned. Report-based patching and scheduled-scan freshness depend on all of them describing the same image.
  • Keep the finding identity tuple aligned between scan rows, environment-scoped ignore records, ignored-list joins, bulk ignore and restore operations, action counts, unignore actions, risk scoring, and CSV export.
  • Keep risk scoring inputs aligned across threat-intel state, image exposure, ignored findings, daily snapshots, seven-day deltas, and the Overview tab. Unavailable threat data must remain distinct from zero threat data.
  • Keep list, export, and bulk-action filters aligned. A bulk request must apply to every matching finding rather than only the current table page.
  • Keep fixable-count rules aligned between scan persistence, OS package patch-target selection, scheduled auto-patching, notifications, the Patches tab, the fix-available filter, and risk drivers.
  • Keep patch output naming aligned between the stored PatchedRef, the patch tool's output tag, and verification-scan lookup. A retry must use the same source tag and saved output reference.
  • Keep vulnerability-feature checks aligned between report-based patch admission, queued patch execution, patch-target listing, and verification scans. Update-all patching remains separate from vulnerability-report patching.
  • Keep scan and patch status transitions aligned with activity status, stale handling, scheduled-scan skip rules, and the security page's refresh and polling behavior.
  • Keep Docker host capability checks aligned with scanner resource limits. A cached capability result must not outlive the host assumptions it represents.
  • Keep current-Docker-image filtering aligned between cleanup, environment summaries, vulnerability lists, ignored findings, risk overviews, and patch targets.
  • Keep permission assignments and the vulnerability-management feature gate aligned between API routes and the scan, ignore, export, overview, scanner-status, and patch actions shown in the security page.
  • Keep the shared risk and scan contracts aligned between types/…/vulnerability.go, backend responses, and the Overview tab.
  • Keep CSV formula protection in place when adding export fields or changing their order.
  • Keep risk-overview invalidation aligned with scan and ignore commits. Cached results must not survive a finding change longer than the intended short cache window.
  • Keep scheduled scan admission aligned with the feature gate. A queued task must not write a new result after the feature is disabled.

Important failure modes

TriggerConsequenceGuard
The scanner image cannot be pulled or startedThe scan is stored as failed and no current findings are producedCheck scanner status and scanner image or Docker access before treating an empty result as safe
Trivy returns empty or invalid outputThe scan fails and its findings are not stored as a completed resultCheck scanner logs and confirm the result contains a report
An exec scan finds that the selected image is gone or its report layers do not match the selected imageThe scan fails and its findings are not stored under the selected imageRetry against the current image; layer content is the identity check because image IDs can differ between image stores
A scan stays pending or scanning past the stale limitThe old in-progress state becomes failedRetry the scan; do not use the stale state as a current risk result
Full scan-result persistence fails after its retry limitThe detailed result may be absent, but the scan receives a fallback status and error instead of staying activeTreat the scan as failed and inspect the stored error before retrying
Threat feeds are disabled, missing, or staleThreat drivers and threat-based ranking are unavailable or out of dateRead the threat-data status and treat unavailable data as unknown rather than zero
A scan result is saved without its raw reportFinding review can work, but report-based patching cannot startConfirm the completed scan has a stored report before starting a report-mode patch
A patch target has no registry digestThe image is local-only and cannot be fetched for patchingPush or pull the image first, then scan it again if its identity changed
A patch request names a scan for another image or has no stored raw reportThe patch is rejected before package changes startUse the latest completed scan for the selected image and confirm that a report is stored
The expected patched tag is not found after the patch tool completesThe patch record can complete while the output cannot be verified from the expected referenceCheck the image list and patch history before accepting the patch as verified
A patch is interrupted while the patch tool may have changed the image tagThe record is failed and must not be replayed automatically because the final image state is uncertainStart a new patch only after checking the source and output tags
An image is removed from Docker after scanningCleanup removes its scan data and environment totals no longer include itTreat a missing scan record as no current result and scan the image again after it returns
A finding is ignored but remains in the stored scan reportThe finding is hidden from normal review but raw evidence remains for later checksTreat ignore as a review decision, not as removal of scan evidence
A bulk ignore or restore request uses filters that do not match the table queryThe affected count or findings can differ from the operator's review setBuild bulk filters from the same search, severity, image, and fix-available controls as the list
A Docker host cannot report its CPU capabilities and no cached result existsThe scanner cannot safely derive the host-specific CPU limitsRestore Docker access or use the last valid capability result before starting a constrained scan
A shared scheduled-scan container cannot be stopped after cancellationThe current scan pool is retired and waiting scans must retry with new containersLet the scan service replace the pool; do not reuse a container that may still run the old scan
The vulnerability feature is disabled while a scan waits for a slotThe queued scan exits without replacing the prior completed resultRe-enable the feature before retrying the scan
A risk overview is read from a cache after a scan or ignore commitThe operator can see an older score or finding set for a short timeInvalidate the environment overview after the committed change
A CSV field begins with a spreadsheet formula markerA spreadsheet program can treat the exported value as a formulaUse the built-in export and preserve its cell-safety rule when adding fields

Key files

FileWhy to read it
backend/…/module.goShows the feature gate, route groups, and vulnerability metrics registration
backend/…/service.goShows how scanning, persistence, scheduled work, finding queries, and ignore decisions are coordinated
backend/…/service.goShows manual and scheduled scan flow, shared scanner work, progress, stale handling, and notifications
backend/…/service.goShows the boundary between Arcane and the Trivy scanner, including report capture, image matching, and runtime settings
backend/…/handler.goShows the scanner availability and version status response
backend/…/service.goShows how scan results, searchable finding rows, raw reports, threat data, risk snapshots, and startup repair are managed
backend/…/service.goShows environment summaries, finding lists, ignored-finding views, risk scoring, threat context, cache invalidation, and action counts
backend/…/module.goShows the read API surface and permission boundary for summaries, lists, risk, and export
backend/…/service.goShows the identity, lifecycle, and bulk behavior of ignore decisions
backend/…/handler.goShows individual and bulk ignore or restore requests and their user context
backend/…/vulnerability_capabilities.goShows how scanner resource choices follow the connected Docker host
backend/…/vulnerability_export.goShows the portable finding export contract and spreadsheet-safe values
backend/…/service.goShows patch selection, execution, history, serialization, interruption recovery, and verification scans
backend/…/auto_patch_job.goShows scheduled image patching and its skip rules
frontend/…/+page.tsShows initial environment-scoped feature gating and security data loading
frontend/…/+page.svelteShows how the Overview, Vulnerabilities, and Patches tabs connect to scans, summaries, activities, exports, and actions
frontend/…/security-overview.svelteShows risk score, trends, drivers, threat-data status, priority findings, and image exposure presentation
frontend/…/security-vulnerability-table.svelteShows finding filters, exports, ignore and restore actions, and bulk review controls
frontend/…/security-patch-table.svelteShows image-level patch actions, patch status, and verification result presentation
types/…/vulnerability.goDefines the shared finding, scan, risk, summary, ignore, and bulk-filter contracts
types/…/imagepatch.goDefines the shared patch modes, statuses, targets, and patch records