mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-26 06:37:07 +00:00
feat(ui): redesign the dashboard as a package checkpoint
Add overview, packages with quick view, package detail tabs, a merged security page, insights, system and restyled bypasses. Old vulnerable and blocked routes redirect to the matching security tab.
This commit is contained in:
@@ -1,140 +1,104 @@
|
||||
<template>
|
||||
<div class="flex flex-col gap-6">
|
||||
<PageHeader
|
||||
:title="showOnlyBlocked ? 'Blocked packages' : 'Vulnerable packages'"
|
||||
:description="
|
||||
showOnlyBlocked
|
||||
? 'Packages blocked from download because they exceed the vulnerability thresholds.'
|
||||
: 'Packages with known security vulnerabilities, sorted by risk.'
|
||||
"
|
||||
>
|
||||
<template #back>
|
||||
<Button variant="ghost" size="sm" :icon-start="faArrowLeft" @click="goBack">Back to stats</Button>
|
||||
<PageHeader title="Security" description="Packages the scanners found something in, and what the policy did about each.">
|
||||
<template #actions>
|
||||
<Button variant="outline" :icon-start="faRotateRight" @click="load">Refresh</Button>
|
||||
</template>
|
||||
</PageHeader>
|
||||
|
||||
<LoadingState v-if="loading" variant="card" label="Loading vulnerable packages..." />
|
||||
<LoadingState v-if="loading && packages.length === 0" variant="table" label="Loading security findings..." />
|
||||
|
||||
<ErrorState
|
||||
v-else-if="error"
|
||||
variant="card"
|
||||
title="Could not load vulnerable packages"
|
||||
:message="error"
|
||||
@retry="fetchVulnerablePackages"
|
||||
/>
|
||||
|
||||
<Card v-else-if="vulnerablePackages.length === 0">
|
||||
<CardContent>
|
||||
<EmptyState
|
||||
tone="success"
|
||||
:icon="faCircleCheck"
|
||||
:title="showOnlyBlocked ? 'No blocked packages' : 'No vulnerable packages'"
|
||||
description="Every cached package is clean."
|
||||
/>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<ErrorState v-else-if="error" variant="card" title="Could not load security findings" :message="error" @retry="load" />
|
||||
|
||||
<template v-else>
|
||||
<SeveritySummary
|
||||
v-if="everyBucketed.length > 0"
|
||||
v-model="selectedSeverities"
|
||||
selectable
|
||||
:counts="totalCounts"
|
||||
:package-counts="packageCounts"
|
||||
label="Vulnerabilities by severity. Select a severity to filter the packages."
|
||||
label="Findings by severity. Select a severity to filter the packages."
|
||||
:counts="severityTotals"
|
||||
:package-counts="severityPackages"
|
||||
/>
|
||||
|
||||
<div v-if="hasFilter" class="flex flex-wrap items-center justify-between gap-3" data-testid="filter-bar">
|
||||
<p class="text-sm text-muted-foreground" role="status">Showing packages with {{ filterSummary }} vulnerabilities.</p>
|
||||
<Button variant="outline" size="sm" @click="clearFilters">Clear filters</Button>
|
||||
<p class="m-0 text-sm text-muted-foreground" role="status">Showing packages with {{ filterSummary }} vulnerabilities.</p>
|
||||
<Button variant="outline" size="sm" @click="selectedSeverities = []">Clear filters</Button>
|
||||
</div>
|
||||
|
||||
<Card v-if="sortedVulnerablePackages.length === 0">
|
||||
<CardContent>
|
||||
<EmptyState
|
||||
:icon="faCircleCheck"
|
||||
title="No packages match the filter"
|
||||
:description="`No ${showOnlyBlocked ? 'blocked' : 'vulnerable'} package has a ${filterSummary} vulnerability.`"
|
||||
>
|
||||
<template #action>
|
||||
<Button variant="outline" @click="clearFilters">Clear filters</Button>
|
||||
</template>
|
||||
</EmptyState>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Tabs v-model="tab">
|
||||
<TabsList aria-label="Security sections">
|
||||
<TabsTrigger v-for="t in TAB_DEFS" :key="t.value" :value="t.value">{{ t.label }} ({{ buckets[t.value].length }})</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
<Card v-else>
|
||||
<CardHeader>
|
||||
<CardTitle as="h2">
|
||||
{{ showOnlyBlocked ? 'Blocked' : 'Vulnerable' }} packages ({{ sortedVulnerablePackages.length }})
|
||||
</CardTitle>
|
||||
<CardDescription>
|
||||
{{ groupedPackages.length }} unique package{{ groupedPackages.length !== 1 ? 's' : '' }}, most critical first
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<Accordion type="multiple" class="w-full">
|
||||
<AccordionItem
|
||||
v-for="group in groupedPackages"
|
||||
:key="`${group.registry}:${group.name}`"
|
||||
:value="`${group.registry}:${group.name}`"
|
||||
>
|
||||
<AccordionTrigger :heading-level="3">
|
||||
<span class="flex w-full min-w-0 items-center justify-between gap-4">
|
||||
<span class="min-w-0 text-start">
|
||||
<span class="block break-words font-semibold">{{ group.name }}</span>
|
||||
<span class="block text-sm text-muted-foreground">
|
||||
{{ group.versions.length }} vulnerable version{{ group.versions.length > 1 ? 's' : '' }}
|
||||
<TabsContent v-for="t in TAB_DEFS" :key="t.value" :value="t.value" class="pt-4">
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle as="h2">{{ t.label }}</CardTitle>
|
||||
<CardDescription>{{ t.description }}</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<EmptyState
|
||||
v-if="rowsFor(t.value).length === 0"
|
||||
:icon="faCircleCheck"
|
||||
:title="hasFilter ? 'No packages match the filter' : t.empty"
|
||||
:description="hasFilter ? `No package here has a ${filterSummary} vulnerability.` : undefined"
|
||||
>
|
||||
<template v-if="hasFilter" #action>
|
||||
<Button variant="outline" @click="selectedSeverities = []">Clear filters</Button>
|
||||
</template>
|
||||
</EmptyState>
|
||||
<DataTable
|
||||
v-else
|
||||
:label="t.label"
|
||||
layout="cards"
|
||||
density="compact"
|
||||
row-clickable
|
||||
:page-size="PAGE_SIZE"
|
||||
:columns="columnsFor(t.value)"
|
||||
:rows="rowsFor(t.value)"
|
||||
@row-click="open"
|
||||
>
|
||||
<template #cell-name="{ row }">
|
||||
<RouterLink :to="packageRoute(row)" class="break-words font-medium text-foreground underline-offset-4 hover:underline">
|
||||
{{ row.name }}
|
||||
</RouterLink>
|
||||
</template>
|
||||
<template #cell-registry="{ row }"><Badge variant="outline">{{ row.registry }}</Badge></template>
|
||||
<template #cell-findings="{ row }">
|
||||
<VulnerabilityBadge
|
||||
v-if="row.vulnerabilities"
|
||||
:scanned="row.vulnerabilities.scanned"
|
||||
:status="row.vulnerabilities.status"
|
||||
:counts="row.vulnerabilities.counts"
|
||||
:total="row.vulnerabilities.total"
|
||||
@click="open(row)"
|
||||
/>
|
||||
</template>
|
||||
<template #cell-bypass="{ row }">
|
||||
<span v-if="row.vulnerabilities?.bypass" class="block text-sm">
|
||||
{{ row.vulnerabilities.bypass.created_by }}
|
||||
<span class="block text-xs text-muted-foreground">
|
||||
expires <RelativeTime :datetime="row.vulnerabilities.bypass.expires_at" />
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex shrink-0 items-center gap-4">
|
||||
<Badge variant="outline">{{ group.registry }}</Badge>
|
||||
<span class="whitespace-nowrap text-end tabular-nums">
|
||||
<span class="block text-sm font-medium">{{ formatBytes(group.totalSize) }}</span>
|
||||
<span class="block text-xs text-muted-foreground">{{ formatNumber(group.totalDownloads) }} downloads</span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</AccordionTrigger>
|
||||
<AccordionContent>
|
||||
<DataTable
|
||||
:label="`Vulnerable versions of ${group.name}`"
|
||||
layout="cards"
|
||||
row-clickable
|
||||
:columns="versionColumns"
|
||||
:rows="group.versions"
|
||||
@row-click="navigateToPackage"
|
||||
>
|
||||
<template #cell-vulnerabilities="{ row }">
|
||||
<VulnerabilityBadge
|
||||
v-if="row.vulnerabilities"
|
||||
:scanned="row.vulnerabilities.scanned"
|
||||
:status="row.vulnerabilities.status"
|
||||
:counts="row.vulnerabilities.counts"
|
||||
:total="row.vulnerabilities.total"
|
||||
:scannedAt="row.vulnerabilities.scannedAt"
|
||||
:isBlocked="row.vulnerabilities.isBlocked"
|
||||
@click="navigateToPackage(row)"
|
||||
/>
|
||||
</template>
|
||||
</DataTable>
|
||||
</AccordionContent>
|
||||
</AccordionItem>
|
||||
</Accordion>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</template>
|
||||
<template #cell-scanned="{ row }">
|
||||
<RelativeTime v-if="row.vulnerabilities?.scannedAt" :datetime="row.vulnerabilities.scannedAt" />
|
||||
</template>
|
||||
</DataTable>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { usePackageStore, type Package, type VulnerabilityCounts } from '../stores/packages'
|
||||
import { computed, onMounted, ref, watch } from 'vue'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { RouterLink, useRoute, useRouter } from 'vue-router'
|
||||
import {
|
||||
Accordion,
|
||||
AccordionContent,
|
||||
AccordionItem,
|
||||
AccordionTrigger,
|
||||
Badge,
|
||||
Button,
|
||||
Card,
|
||||
@@ -147,19 +111,40 @@ import {
|
||||
ErrorState,
|
||||
LoadingState,
|
||||
PageHeader,
|
||||
RelativeTime,
|
||||
Tabs,
|
||||
TabsContent,
|
||||
TabsList,
|
||||
TabsTrigger,
|
||||
type DataTableColumn,
|
||||
} from '@perfect-design/ui'
|
||||
import VulnerabilityBadge from './VulnerabilityBadge.vue'
|
||||
import SeveritySummary from './SeveritySummary.vue'
|
||||
import { formatBytes, formatDate, formatNumber, displayVersion, withVersionPrefix } from '@/lib/format'
|
||||
import { faArrowLeft, faCircleCheck } from '@/lib/icons'
|
||||
import VulnerabilityBadge from './VulnerabilityBadge.vue'
|
||||
import { usePackageStore, type Package, type VulnerabilityCounts } from '../stores/packages'
|
||||
import { displayVersion, withVersionPrefix } from '@/lib/format'
|
||||
import { packageRoute } from '@/lib/packages'
|
||||
import { faCircleCheck, faRotateRight } from '@/lib/icons'
|
||||
import { NO_VULNERABILITIES, SEVERITY_LEVELS, formatSeverityName, type SeverityLevel } from '@/lib/severity'
|
||||
import { verdictOf } from '@/lib/verdict'
|
||||
|
||||
type TabName = 'held' | 'allowed' | 'bypassed'
|
||||
|
||||
const TAB_DEFS: ReadonlyArray<{ value: TabName; label: string; description: string; empty: string }> = [
|
||||
{ value: 'held', label: 'Held', description: 'At or over the block policy. Clients get a 403 until the package is fixed or bypassed.', empty: 'Nothing is held' },
|
||||
{ value: 'allowed', label: 'Vulnerable but allowed', description: 'Findings exist, but none reach the block policy. Clients are served these.', empty: 'No package carries findings under the policy' },
|
||||
{ value: 'bypassed', label: 'Bypassed', description: 'An admin bypass lets these through despite their findings.', empty: 'No bypass is in effect' },
|
||||
]
|
||||
|
||||
const PAGE_SIZE = 25
|
||||
const SEVERITY_QUERY = 'severity'
|
||||
|
||||
const store = usePackageStore()
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const { packages, loading, error } = storeToRefs(store)
|
||||
|
||||
const SEVERITY_QUERY = 'severity'
|
||||
const tab = ref<TabName>(TAB_DEFS.find((t) => t.value === route.query.tab)?.value ?? 'held')
|
||||
watch(tab, (value) => void router.replace({ query: { ...route.query, tab: value } }))
|
||||
|
||||
/** Reads `?severity=critical,high`: known levels only, in severity order, each once. */
|
||||
function parseSeverityQuery(raw: unknown): SeverityLevel[] {
|
||||
@@ -176,157 +161,79 @@ const selectedSeverities = computed<SeverityLevel[]>({
|
||||
void router.replace({ query: levels.length > 0 ? { ...rest, [SEVERITY_QUERY]: levels.join(',') } : rest })
|
||||
},
|
||||
})
|
||||
const hasFilter = computed(() => selectedSeverities.value.length > 0)
|
||||
const filterSummary = computed(() =>
|
||||
selectedSeverities.value.map((level) => formatSeverityName(level).toLowerCase()).join(' or '),
|
||||
)
|
||||
// With nothing to filter the tiles are hidden, so a leftover ?severity= must not claim a filter is on.
|
||||
const hasFilter = computed(() => selectedSeverities.value.length > 0 && everyBucketed.value.length > 0)
|
||||
const filterSummary = computed(() => selectedSeverities.value.map((level) => formatSeverityName(level).toLowerCase()).join(' or '))
|
||||
|
||||
function clearFilters() {
|
||||
selectedSeverities.value = []
|
||||
/** Packages with findings, by what the policy did. A package with no findings is not a security matter. */
|
||||
const buckets = computed<Record<TabName, Package[]>>(() => {
|
||||
const out: Record<TabName, Package[]> = { held: [], allowed: [], bypassed: [] }
|
||||
for (const pkg of packages.value) {
|
||||
const verdict = verdictOf(pkg)
|
||||
if (verdict === 'held') out.held.push(pkg)
|
||||
else if (verdict === 'bypassed') out.bypassed.push(pkg)
|
||||
else if (verdict === 'cleared' && (pkg.vulnerabilities?.total ?? 0) > 0) out.allowed.push(pkg)
|
||||
}
|
||||
return out
|
||||
})
|
||||
|
||||
function risk(pkg: Package): number[] {
|
||||
const c = pkg.vulnerabilities?.counts ?? NO_VULNERABILITIES
|
||||
return [c.critical, c.high, c.moderate, c.low]
|
||||
}
|
||||
|
||||
const loading = ref(false)
|
||||
const error = ref<string | null>(null)
|
||||
const vulnerablePackages = ref<Package[]>([])
|
||||
|
||||
// Check if we should filter to show only blocked packages
|
||||
const showOnlyBlocked = computed(() => route.path === '/blocked-packages')
|
||||
|
||||
onMounted(async () => {
|
||||
await fetchVulnerablePackages()
|
||||
})
|
||||
|
||||
async function fetchVulnerablePackages() {
|
||||
loading.value = true
|
||||
error.value = null
|
||||
|
||||
try {
|
||||
// The server drops clean packages; the toggles below narrow the rest without another request.
|
||||
await store.fetchPackages({ severity: SEVERITY_LEVELS })
|
||||
// The store records a failed request in store.error and resolves; surface it instead of an empty list.
|
||||
if (store.error) {
|
||||
error.value = store.error
|
||||
return
|
||||
}
|
||||
vulnerablePackages.value = store.packages.filter(pkg => {
|
||||
const isVulnerable = pkg.vulnerabilities?.status === 'vulnerable'
|
||||
if (showOnlyBlocked.value) {
|
||||
return isVulnerable && pkg.vulnerabilities?.isBlocked === true
|
||||
}
|
||||
return isVulnerable
|
||||
})
|
||||
} catch (err: any) {
|
||||
console.error('Failed to load vulnerable packages:', err)
|
||||
error.value = err.message || 'Failed to load vulnerable packages'
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
// Worst first: more critical, then high, then moderate, then low.
|
||||
function byRisk(a: Package, b: Package): number {
|
||||
const [ra, rb] = [risk(a), risk(b)]
|
||||
for (let i = 0; i < ra.length; i++) if (ra[i] !== rb[i]) return rb[i] - ra[i]
|
||||
return 0
|
||||
}
|
||||
|
||||
// A package passes when it has at least one vulnerability of any selected severity.
|
||||
const filteredPackages = computed(() => {
|
||||
if (!hasFilter.value) return vulnerablePackages.value
|
||||
return vulnerablePackages.value.filter((pkg) =>
|
||||
selectedSeverities.value.some((level) => (pkg.vulnerabilities?.counts?.[level] ?? 0) > 0),
|
||||
)
|
||||
function passesFilter(pkg: Package): boolean {
|
||||
if (!hasFilter.value) return true
|
||||
return selectedSeverities.value.some((level) => (pkg.vulnerabilities?.counts?.[level] ?? 0) > 0)
|
||||
}
|
||||
|
||||
function rowsFor(name: TabName): Package[] {
|
||||
return buckets.value[name].filter(passesFilter).sort(byRisk)
|
||||
}
|
||||
|
||||
const everyBucketed = computed(() => [...buckets.value.held, ...buckets.value.allowed, ...buckets.value.bypassed])
|
||||
|
||||
const severityTotals = computed<VulnerabilityCounts>(() => {
|
||||
const totals = { ...NO_VULNERABILITIES }
|
||||
for (const pkg of everyBucketed.value) for (const level of SEVERITY_LEVELS) totals[level] += pkg.vulnerabilities?.counts?.[level] ?? 0
|
||||
return totals
|
||||
})
|
||||
|
||||
// Sort packages by risk: Critical count DESC, High count DESC, Moderate count DESC, Low count DESC
|
||||
const sortedVulnerablePackages = computed(() => {
|
||||
return [...filteredPackages.value].sort((a, b) => {
|
||||
const aVulns = a.vulnerabilities?.counts || { critical: 0, high: 0, moderate: 0, low: 0 }
|
||||
const bVulns = b.vulnerabilities?.counts || { critical: 0, high: 0, moderate: 0, low: 0 }
|
||||
|
||||
// Compare critical count (descending)
|
||||
if (aVulns.critical !== bVulns.critical) {
|
||||
return bVulns.critical - aVulns.critical
|
||||
}
|
||||
|
||||
// Compare high count (descending)
|
||||
if (aVulns.high !== bVulns.high) {
|
||||
return bVulns.high - aVulns.high
|
||||
}
|
||||
|
||||
// Compare moderate count (descending)
|
||||
if (aVulns.moderate !== bVulns.moderate) {
|
||||
return bVulns.moderate - aVulns.moderate
|
||||
}
|
||||
|
||||
// Compare low count (descending)
|
||||
return bVulns.low - aVulns.low
|
||||
})
|
||||
const severityPackages = computed<VulnerabilityCounts>(() => {
|
||||
const totals = { ...NO_VULNERABILITIES }
|
||||
for (const pkg of everyBucketed.value) for (const level of SEVERITY_LEVELS) if ((pkg.vulnerabilities?.counts?.[level] ?? 0) > 0) totals[level]++
|
||||
return totals
|
||||
})
|
||||
|
||||
// Group packages by name and registry, with versions sorted by risk
|
||||
const groupedPackages = computed(() => {
|
||||
const groups = new Map<string, {
|
||||
registry: string
|
||||
name: string
|
||||
versions: Package[]
|
||||
totalSize: number
|
||||
totalDownloads: number
|
||||
}>()
|
||||
|
||||
sortedVulnerablePackages.value.forEach((pkg) => {
|
||||
const key = `${pkg.registry}:${pkg.name}`
|
||||
if (!groups.has(key)) {
|
||||
groups.set(key, {
|
||||
registry: pkg.registry,
|
||||
name: pkg.name,
|
||||
versions: [],
|
||||
totalSize: 0,
|
||||
totalDownloads: 0,
|
||||
})
|
||||
}
|
||||
const group = groups.get(key)!
|
||||
group.versions.push(pkg)
|
||||
group.totalSize += pkg.size || 0
|
||||
group.totalDownloads += pkg.download_count || 0
|
||||
})
|
||||
|
||||
return Array.from(groups.values())
|
||||
})
|
||||
|
||||
// Packages holding at least one vulnerability of each severity, before any filter.
|
||||
const packageCounts = computed<VulnerabilityCounts>(() => {
|
||||
const counts = { ...NO_VULNERABILITIES }
|
||||
for (const pkg of vulnerablePackages.value) {
|
||||
for (const level of SEVERITY_LEVELS) {
|
||||
if ((pkg.vulnerabilities?.counts?.[level] ?? 0) > 0) counts[level]++
|
||||
}
|
||||
}
|
||||
return counts
|
||||
})
|
||||
|
||||
// Calculate total counts across all packages, before any filter
|
||||
const totalCounts = computed(() =>
|
||||
vulnerablePackages.value.reduce(
|
||||
(sum, pkg) => {
|
||||
const counts = pkg.vulnerabilities?.counts ?? NO_VULNERABILITIES
|
||||
return {
|
||||
critical: sum.critical + counts.critical,
|
||||
high: sum.high + counts.high,
|
||||
moderate: sum.moderate + counts.moderate,
|
||||
low: sum.low + counts.low,
|
||||
}
|
||||
},
|
||||
{ ...NO_VULNERABILITIES },
|
||||
),
|
||||
)
|
||||
|
||||
const versionColumns: DataTableColumn<Package>[] = [
|
||||
{ key: 'version', header: 'Version', rowHeader: true, accessor: (pkg) => withVersionPrefix(displayVersion(pkg)) },
|
||||
{ key: 'download_count', header: 'Downloads', numeric: true, accessor: (pkg) => formatNumber(pkg.download_count) },
|
||||
{ key: 'size', header: 'Size', numeric: true, accessor: (pkg) => formatBytes(pkg.size) },
|
||||
{ key: 'cached_at', header: 'Cached', accessor: (pkg) => formatDate(pkg.cached_at) },
|
||||
{ key: 'vulnerabilities', header: 'Vulnerabilities', accessor: () => '' },
|
||||
const BASE_COLUMNS: DataTableColumn<Package>[] = [
|
||||
{ key: 'name', header: 'Package', sortable: true, rowHeader: true },
|
||||
{ key: 'version', header: 'Version', accessor: (p) => withVersionPrefix(displayVersion(p)) },
|
||||
{ key: 'registry', header: 'Registry' },
|
||||
{ key: 'findings', header: 'Findings', accessor: (p) => p.vulnerabilities?.total ?? 0 },
|
||||
]
|
||||
const SCANNED: DataTableColumn<Package> = { key: 'scanned', header: 'Last scanned', accessor: (p) => Date.parse(p.vulnerabilities?.scannedAt ?? '') || 0 }
|
||||
|
||||
function navigateToPackage(pkg: Package) {
|
||||
router.push(`/package/${pkg.registry}/${pkg.name}/${pkg.version}`)
|
||||
function columnsFor(name: TabName): DataTableColumn<Package>[] {
|
||||
if (name === 'held') return [...BASE_COLUMNS, { key: 'reason', header: 'Why', accessor: (p) => p.vulnerabilities?.reason ?? '' }, SCANNED]
|
||||
if (name === 'bypassed') return [...BASE_COLUMNS, { key: 'bypass', header: 'Bypass', accessor: (p) => p.vulnerabilities?.bypass?.created_by ?? '' }, SCANNED]
|
||||
return [...BASE_COLUMNS, SCANNED]
|
||||
}
|
||||
|
||||
function goBack() {
|
||||
router.push('/stats')
|
||||
function open(pkg: Package) {
|
||||
void router.push(packageRoute(pkg))
|
||||
}
|
||||
|
||||
async function load() {
|
||||
// Unfiltered: a package held because its scan failed has no findings, and the severity filter would drop it.
|
||||
await store.fetchPackages()
|
||||
}
|
||||
|
||||
onMounted(load)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user