diff --git a/cmd/generate-types/main.go b/cmd/generate-types/main.go
index d8b8b943e..906ed7a99 100644
--- a/cmd/generate-types/main.go
+++ b/cmd/generate-types/main.go
@@ -74,6 +74,7 @@ export const HealthActionApprove = 'approve' as const;
export const HealthActionViewLogs = 'view_logs' as const;
export const HealthActionSetSecret = 'set_secret' as const;
export const HealthActionConfigure = 'configure' as const;
+export const HealthActionEditURL = 'edit_url' as const;
export type HealthAction =
| typeof HealthActionNone
| typeof HealthActionLogin
@@ -82,7 +83,8 @@ export type HealthAction =
| typeof HealthActionApprove
| typeof HealthActionViewLogs
| typeof HealthActionSetSecret
- | typeof HealthActionConfigure;
+ | typeof HealthActionConfigure
+ | typeof HealthActionEditURL;
export interface HealthStatus {
level: HealthLevel;
diff --git a/docs/api/rest-api.md b/docs/api/rest-api.md
index edcf783f5..3adfb9fb6 100644
--- a/docs/api/rest-api.md
+++ b/docs/api/rest-api.md
@@ -842,6 +842,9 @@ additive-compatible and gains two fields:
| `connected` | bool | mcpproxy registered in the config. Authoritative **only** when `access_state == "accessible"`; `false`/unresolved in the overall listing. |
| `access_state` | string | `"unknown"` in the overall listing (not content-checked); resolved to `"accessible"`, `"absent"`, `"malformed"`, or `"denied"` by an on-demand single-client read. |
| `remediation` | string | Present only when `access_state == "denied"`; carries the actionable fix text (App Data toggle + `tccutil reset` command). |
+| `proxy_url` | string | **This** instance's MCP endpoint. Config-derived (no file read), so it is present on the overall listing too. |
+| `registered_url` | string | The endpoint the client's existing entry actually points at, projected through the same sanitizer as a connect preview's `existing_entry_summary.endpoint`: **scheme, host and path only** — query (the `?apikey=` carrier), userinfo and fragment are dropped, and a value that is not an absolute URL is not echoed at all. Resolved only by an on-demand read. |
+| `endpoint_match` | string | How `registered_url` relates to `proxy_url`: `"this"` (the entry addresses this instance), `"other"` (it addresses a different one), `"unknown"` (the entry has no comparable endpoint, e.g. a stdio command). Empty when `connected` is false or nothing was read. |
A client that is installed but not yet content-checked reads as
`exists=true, connected=false, access_state="unknown"`. Resolving `connected`
@@ -849,6 +852,13 @@ requires an explicit per-client read (the per-client status route below,
connect/disconnect, or the CLI `mcpproxy connect` command), which is where a
privacy prompt may legitimately appear.
+**`connected` alone is not "connected to this instance."** It means an
+mcpproxy-shaped entry is present in that client's config — and an entry merely
+*named* `mcpproxy` counts, even when its URL addresses another instance on
+another port. Consumers that need the stronger claim must check
+`endpoint_match == "this"`; a UI showing a bare "Connected" on
+`endpoint_match == "other"` is reporting someone else's link as its own.
+
#### GET /api/v1/connect/{client}
On-demand single-client status. Reads the one client's config **at request
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 1d23fbf6b..48a436f43 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -73,11 +73,13 @@ let removeAPIListener: (() => void) | null = null
function handleAuthModalClose() {
authModal.show = false
authModal.lastError = ''
+ systemStore.setAuthRequired(false)
}
function handleAuthModalAuthenticated() {
authModal.show = false
authModal.lastError = ''
+ systemStore.setAuthRequired(false)
// Refresh data now that we're authenticated
systemStore.connectEventSource()
@@ -87,6 +89,7 @@ function handleAuthModalAuthenticated() {
function handleAuthModalRefresh() {
authModal.show = false
authModal.lastError = ''
+ systemStore.setAuthRequired(false)
// Reconnect with potentially new API key
systemStore.connectEventSource()
@@ -98,6 +101,9 @@ function handleAuthError(event: APIAuthEvent) {
console.log('Global auth error received:', event)
authModal.lastError = event.error
authModal.show = true
+ // Audit F28: one cause, one message. The modal now suppresses the reconnect
+ // toast and the inline load errors it would otherwise compete with.
+ systemStore.setAuthRequired(true)
}
onMounted(async () => {
diff --git a/frontend/src/components/AuthErrorModal.vue b/frontend/src/components/AuthErrorModal.vue
index 19395fc46..8106efed6 100644
--- a/frontend/src/components/AuthErrorModal.vue
+++ b/frontend/src/components/AuthErrorModal.vue
@@ -13,19 +13,23 @@
How to get the API key:
+
- Using Tray: Right-click the MCPProxy tray icon and select "Open Web UI"
- From Logs: Check mcpproxy startup logs for the API key, then add ?apikey=YOUR_KEY to the URL
- Manual Entry: Enter your API key below if you have it
+ From the CLI: run mcpproxy doctor, or read api_key in ~/.mcpproxy/mcp_config.json
+ From logs: the key is printed in the mcpproxy startup log
+ Using the tray (desktop installs): right-click the MCPProxy tray icon and select "Open Web UI" — it opens an already-authenticated window
-
+
diff --git a/frontend/src/components/ConnectModal.vue b/frontend/src/components/ConnectModal.vue
index e34de74a1..c456bb707 100644
--- a/frontend/src/components/ConnectModal.vue
+++ b/frontend/src/components/ConnectModal.vue
@@ -35,6 +35,19 @@
{{ client.name }}
{{ client.config_path }}
+
+
+ → {{ client.registered_url }}
+
{{ client.note }}
@@ -57,11 +70,31 @@
class="badge badge-warning badge-sm"
title="Config exists but could not be parsed"
>Unreadable config
- Config not found
+
+ Not installed
+
+
+ Point here
+
@@ -75,21 +108,32 @@
:disabled="loading.clients[client.id] || previewLoading[client.id]"
>
- Review & connect
+ Review & connect
+ Connected to another instance
+
- Check access
+ {{ client.connected ? 'Verify endpoint' : 'Check access' }}
@@ -336,16 +380,59 @@
-
+
+
+ {{ connectAllDisabledReason }}
- Connect All
+ {{ connectableClients.length === 0
+ ? 'Connect All'
+ : `Connect ${connectableClients.length} client${connectableClients.length === 1 ? '' : 's'}` }}
Close
+
+
+
+
+
Disconnect {{ disconnectTarget.name }}?
+
+ This removes the
+ {{ disconnectTarget.server_name || 'mcpproxy' }}
+ entry from
+ {{ disconnectTarget.config_path }}.
+
+
+ A timestamped backup of the file is written first, and the path is shown afterwards
+ so you can restore it.
+
+
+ Cancel
+
+
+ Disconnect
+
+
+
+
@@ -445,14 +532,54 @@ const connectableClients = computed(() =>
// Bridge clients (e.g. Claude Desktop) can be connected even without an
// existing config file — Connect creates it. A client macOS has blocked
// ('denied') is excluded: the write would fail with the same privacy error.
+ // A row pointing at ANOTHER instance is excluded too: repointing someone
+ // else's config is a deliberate per-row decision, not a bulk side effect.
mergedClients.value.filter(
- c => c.supported && (c.exists || c.bridge) && !c.connected && accessState(c) !== 'denied'
+ c =>
+ c.supported &&
+ (c.exists || c.bridge) &&
+ !c.connected &&
+ accessState(c) !== 'denied'
)
)
-const allConnected = computed(() =>
- connectableClients.value.length === 0
-)
+// Audit F18: a disabled primary must say what would enable it. The reasons are
+// mutually exclusive in practice, so the most specific one wins.
+const connectAllDisabledReason = computed(() => {
+ const supported = mergedClients.value.filter(c => c.supported)
+ if (supported.length === 0) return 'No supported MCP clients found on this machine.'
+ if (supported.every(c => c.connected)) return 'Every supported client is already connected.'
+ if (supported.some(c => accessState(c) === 'denied')) {
+ return 'The remaining clients are blocked by macOS — fix access above first.'
+ }
+ return 'No client on this machine is ready to connect.'
+})
+
+function endpointTitle(client: ClientStatus): string {
+ if (client.endpoint_match === 'other') {
+ return `This client is registered to ${client.registered_url}, not to this instance (${client.proxy_url ?? 'unknown'}).`
+ }
+ return `Registered to ${client.registered_url}`
+}
+
+function notFoundTitle(client: ClientStatus): string {
+ const paths = client.checked_paths?.length ? client.checked_paths : [client.config_path]
+ return `No config file found. Looked in:\n${paths.join('\n')}`
+}
+
+// --- Disconnect confirmation (audit F18) ---
+const disconnectTarget = ref(null)
+
+function askDisconnect(client: ClientStatus) {
+ disconnectTarget.value = client
+}
+
+async function confirmDisconnect() {
+ const target = disconnectTarget.value
+ if (!target) return
+ await disconnect(target.id)
+ disconnectTarget.value = null
+}
function clientIcon(client: ClientStatus): string {
// Map client icons based on id/name
diff --git a/frontend/src/components/ConnectionStatus.vue b/frontend/src/components/ConnectionStatus.vue
index 2cc6a43fb..58aaad855 100644
--- a/frontend/src/components/ConnectionStatus.vue
+++ b/frontend/src/components/ConnectionStatus.vue
@@ -1,7 +1,12 @@
+
@@ -17,4 +22,4 @@
import { useSystemStore } from '@/stores/system'
const systemStore = useSystemStore()
-
\ No newline at end of file
+
diff --git a/frontend/src/components/ServerCard.vue b/frontend/src/components/ServerCard.vue
index 7ff96d320..6f8dcc4d2 100644
--- a/frontend/src/components/ServerCard.vue
+++ b/frontend/src/components/ServerCard.vue
@@ -115,22 +115,46 @@
-
-
-
+
+
+
-
{{ server.last_error }}
+
+
{{ errorSummary }}
+
+ Technical details
+ {{ server.last_error }}
+
+
-
+ the user approves it. Audit F7: the card states a required action
+ ("needs security review") so it must also afford it — Review opens the
+ server's Security tab, where the spec-088 banner carries the verdict
+ and the approve/scan actions. -->
+
-
Server is quarantined
+
Quarantined — needs security review
+
+ Review
+
Enable
@@ -219,6 +247,17 @@
Configure
+
+
+ Edit URL
+
+
@@ -497,6 +539,39 @@ const healthAction = computed(() => {
return props.server.health?.action || ''
})
+// Audit F11: the Edit URL action lands on the Configuration tab with the
+// endpoint field focused, so the remedy and the control are one click apart.
+const editEndpointPath = computed(
+ () => `${serverDetailPath(props.server.name, 'config')}&focus=endpoint`
+)
+
+// Audit F7: a disabled control must say why it is disabled.
+const scanDisabledReason = computed(() =>
+ props.server.quarantined && !props.server.enabled
+ ? 'Enable the server to scan it — approving it from Review enables it too'
+ : 'Enable the server first — a scan inspects a running server'
+)
+
+// Audit F12: the plain-language half of the error.
+//
+// health.summary is the mapped phrase ("Host not found") — but ONLY while the
+// server is administratively enabled. For a disabled or quarantined server the
+// calculator short-circuits and summary describes the admin state instead
+// ("Quarantined for review"), which says nothing about why the connection
+// failed and would merely restate the banner directly below. Fall through to
+// the structured diagnostic, then to the raw chain's last segment — the root
+// cause — rather than to the whole wrapped chain.
+const errorSummary = computed(() => {
+ const health = props.server.health
+ if (health?.summary && health.admin_state === 'enabled') return health.summary
+ const diagnosticMessage = props.server.diagnostic?.user_message
+ if (diagnosticMessage) return diagnosticMessage
+ if (health?.summary && !health.admin_state) return health.summary
+ const raw = props.server.last_error ?? ''
+ const segments = raw.split(': ')
+ return segments[segments.length - 1] || raw
+})
+
// Tool-level quarantine count (pending + changed)
const quarantineToolCount = computed(() => {
const q = props.server.quarantine
diff --git a/frontend/src/services/api.ts b/frontend/src/services/api.ts
index f6367bc19..bc70f62b4 100644
--- a/frontend/src/services/api.ts
+++ b/frontend/src/services/api.ts
@@ -647,9 +647,15 @@ class APIService {
}
// Session management endpoints
- async getSessions(limit?: number): Promise> {
- const url = `/api/v1/sessions${limit ? `?limit=${limit}` : ''}`
- return this.request(url)
+ // status narrows the listing server-side ('active' | 'closed'). Without it the
+ // backend returns the most recent sessions of ANY status, so a small limit can
+ // be filled entirely by closed ones and hide a live client (audit F10).
+ async getSessions(limit?: number, status?: 'active' | 'closed'): Promise> {
+ const params = new URLSearchParams()
+ if (limit) params.set('limit', String(limit))
+ if (status) params.set('status', status)
+ const query = params.toString()
+ return this.request(`/api/v1/sessions${query ? `?${query}` : ''}`)
}
async getSessionDetail(sessionId: string): Promise> {
diff --git a/frontend/src/stores/system.ts b/frontend/src/stores/system.ts
index bb8b305a4..f29875e15 100644
--- a/frontend/src/stores/system.ts
+++ b/frontend/src/stores/system.ts
@@ -24,6 +24,16 @@ export const useSystemStore = defineStore('system', () => {
const checkingForUpdates = ref(false)
const updateCheckedAt = ref(null)
+ // Audit F28: with no API key the user saw three messages for one cause — the
+ // "Authentication Required" modal, a red inline load error behind it, and a
+ // "Connection Lost — Reconnecting" toast. While the modal owns the screen it
+ // owns the message too; the downstream surfaces read this flag and stay quiet.
+ const authRequired = ref(false)
+
+ function setAuthRequired(value: boolean) {
+ authRequired.value = value
+ }
+
// Available themes
const themes: Theme[] = [
{ name: 'light', displayName: 'Light', dark: false },
@@ -492,6 +502,7 @@ export const useSystemStore = defineStore('system', () => {
routing,
checkingForUpdates,
updateCheckedAt,
+ authRequired,
// Computed
isRunning,
@@ -519,5 +530,6 @@ export const useSystemStore = defineStore('system', () => {
fetchInfo,
fetchRouting,
checkForUpdates,
+ setAuthRequired,
}
})
diff --git a/frontend/src/types/api.ts b/frontend/src/types/api.ts
index e214d75bf..d90749fa2 100644
--- a/frontend/src/types/api.ts
+++ b/frontend/src/types/api.ts
@@ -410,6 +410,9 @@ export interface StatusUpdate {
}
status: Record
timestamp: number
+ // Unix seconds at which the core process started. Absent on older cores and
+ // on SSE status frames that don't carry it — treat it as optional.
+ started_at?: number
}
// Routing mode types
@@ -927,7 +930,22 @@ export interface ClientStatus {
// Every config location the existence check consults, highest precedence
// first (e.g. OpenCode's opencode.jsonc then opencode.json).
checked_paths?: string[]
-}
+ // This instance's own MCP endpoint. Config-derived, so it is present on both
+ // the stat-only listing and the on-demand per-client read.
+ proxy_url?: string
+ // The endpoint the client's existing entry actually points at, projected
+ // through the same sanitizer as a connect preview's entry summary: scheme,
+ // host and path only (query — the ?apikey= carrier — userinfo and fragment
+ // are dropped). Resolved only by the on-demand read.
+ registered_url?: string
+ // How registered_url relates to proxy_url. `connected` only ever meant "an
+ // mcpproxy-shaped entry exists", and an entry merely NAMED mcpproxy counts —
+ // so a row can be connected to a different instance entirely (audit F18).
+ endpoint_match?: EndpointMatch
+}
+
+// How a client's registered endpoint relates to this instance (audit F18).
+export type EndpointMatch = 'this' | 'other' | 'unknown'
export interface ConnectResult {
success: boolean
diff --git a/frontend/src/types/contracts.ts b/frontend/src/types/contracts.ts
index 7a9981195..7f3b8d79e 100644
--- a/frontend/src/types/contracts.ts
+++ b/frontend/src/types/contracts.ts
@@ -29,6 +29,7 @@ export const HealthActionApprove = 'approve' as const;
export const HealthActionViewLogs = 'view_logs' as const;
export const HealthActionSetSecret = 'set_secret' as const;
export const HealthActionConfigure = 'configure' as const;
+export const HealthActionEditURL = 'edit_url' as const;
export type HealthAction =
| typeof HealthActionNone
| typeof HealthActionLogin
@@ -37,7 +38,8 @@ export type HealthAction =
| typeof HealthActionApprove
| typeof HealthActionViewLogs
| typeof HealthActionSetSecret
- | typeof HealthActionConfigure;
+ | typeof HealthActionConfigure
+ | typeof HealthActionEditURL;
export interface HealthStatus {
level: HealthLevel;
diff --git a/frontend/src/utils/health.ts b/frontend/src/utils/health.ts
index efc12f211..6e3a73a09 100644
--- a/frontend/src/utils/health.ts
+++ b/frontend/src/utils/health.ts
@@ -35,6 +35,7 @@ export const HealthAction = {
ViewLogs: 'view_logs',
SetSecret: 'set_secret',
Configure: 'configure',
+ EditURL: 'edit_url',
} as const
/**
diff --git a/frontend/src/utils/sessionLabel.ts b/frontend/src/utils/sessionLabel.ts
index 818481ebf..a79c9eb88 100644
--- a/frontend/src/utils/sessionLabel.ts
+++ b/frontend/src/utils/sessionLabel.ts
@@ -171,3 +171,71 @@ export function buildSessionLabels(sessions: SessionLabelInput[]): Map()
+
+ for (const session of sessions) {
+ if (session.status !== 'active') continue
+ const name = prettyClientName(session.client_name)
+ if (!name) continue
+
+ const lastActivity = session.last_activity ?? ''
+ const existing = byName.get(name)
+ if (!existing) {
+ byName.set(name, { name, lastActivity, sessionCount: 1 })
+ continue
+ }
+ existing.sessionCount += 1
+ if (isNewerTimestamp(lastActivity, existing.lastActivity)) {
+ existing.lastActivity = lastActivity
+ }
+ }
+
+ return [...byName.values()].sort((a, b) => {
+ if (a.lastActivity === b.lastActivity) return a.name.localeCompare(b.name)
+ return isNewerTimestamp(a.lastActivity, b.lastActivity) ? -1 : 1
+ })
+}
+
+/** True when `candidate` is a strictly later timestamp than `current`. */
+function isNewerTimestamp(candidate: string, current: string): boolean {
+ const a = Date.parse(candidate)
+ const b = Date.parse(current)
+ if (Number.isNaN(a)) return false
+ if (Number.isNaN(b)) return true
+ return a > b
+}
diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue
index f75d0e500..b564c2f6c 100644
--- a/frontend/src/views/Dashboard.vue
+++ b/frontend/src/views/Dashboard.vue
@@ -62,6 +62,16 @@
>
Configure
+
+
+ Edit URL
+
... and {{ serversNeedingAttention.length - 3 }} more
@@ -192,20 +202,34 @@
AI Agents
-
-
+
+
-
+
-
{{ connectedClientNames.join(', ') }}
+
+ {{ client.name }}
+ {{ formatRelativeTime(client.lastActivity) }}
+
-
-
Available: {{ supportedClientNames.join(', ') }}
+
+
+ Available: {{ availableClientNames.join(', ') }}
+
-
@@ -500,6 +524,8 @@ import OnboardingWizard from '@/components/OnboardingWizard.vue'
import { useOnboardingStore } from '@/stores/onboarding'
import type { Hint } from '@/components/CollapsibleHintsPanel.vue'
import type { ClientStatus } from '@/types'
+import { liveClientsFromSessions } from '@/utils/sessionLabel'
+import { formatRelativeTime } from '@/utils/activity'
// Usage view is code-split so chart.js + the usage fetch stay out of the
// Dashboard's first-paint critical path (Spec 069 SC-004).
@@ -586,12 +612,20 @@ let refreshInterval: ReturnType
| null = null
// --- Client statuses ---
const clientStatuses = ref([])
-const connectedClientNames = computed(() =>
- clientStatuses.value.filter(c => c.connected).map(c => c.name)
-)
-const supportedClientNames = computed(() =>
- clientStatuses.value.filter(c => c.supported && !c.connected && c.exists).map(c => c.name)
-)
+// Audit F10: "Connected" means a live MCP session, the same fact /sessions and
+// the macOS tray render. `ClientStatus.connected` cannot be used here — the
+// stat-only connect listing leaves it false for every client by design.
+const liveClients = computed(() => liveClientsFromSessions(recentSessions.value))
+
+// Everything else installed on this machine that COULD be connected. A client
+// currently holding a live session is not repeated here.
+const availableClientNames = computed(() => {
+ const live = new Set(liveClients.value.map(c => c.name))
+ return clientStatuses.value
+ .filter(c => c.supported && c.exists)
+ .map(c => c.name)
+ .filter(name => !live.has(name))
+})
function clientIcon(client: ClientStatus): string {
const iconMap: Record = {
@@ -689,36 +723,42 @@ watch(() => systemStore.isRunning, (running: boolean) => {
}
}, { immediate: true })
+// Audit F36: uptime used to be measured from the moment THIS PAGE first saw the
+// core running, so every reload reset it and the hub read "just started"
+// indefinitely — a stuck state, not a fact. The core now reports its own
+// start time (`started_at` on /status and every SSE status frame); the
+// page-local first-seen fallback is kept only for older cores that omit it.
const uptime = computed(() => {
if (!systemStore.isRunning) return ''
- // Use the SSE status timestamp as server epoch if available
- // The status.timestamp is a unix timestamp from the backend
- const ts = systemStore.status?.timestamp
- if (ts && ts > 0) {
- // ts is in seconds — it represents when the status was generated
- // The server start time ~ ts minus how long it's been running
- // But we don't have start_time in API, so use the oldest timestamp we've seen
- const now = Math.floor(Date.now() / 1000)
- // If firstSeen is set, compute from that
- if (serverFirstSeen.value) {
- const diff = Math.floor((Date.now() - serverFirstSeen.value) / 1000)
- if (diff < 60) return 'just started'
- if (diff < 3600) return `${Math.floor(diff / 60)}m uptime`
- if (diff < 86400) return `${Math.floor(diff / 3600)}h uptime`
- return `${Math.floor(diff / 86400)}d uptime`
- }
+ const startedAt = systemStore.status?.started_at
+ if (startedAt && startedAt > 0) {
+ return formatUptime(Math.floor(Date.now() / 1000) - startedAt)
+ }
+
+ if (serverFirstSeen.value) {
+ return formatUptime(Math.floor((Date.now() - serverFirstSeen.value) / 1000))
}
return 'online'
})
+function formatUptime(seconds: number): string {
+ if (!Number.isFinite(seconds) || seconds < 0) return 'online'
+ if (seconds < 60) return `${Math.max(seconds, 1)}s uptime`
+ if (seconds < 3600) return `${Math.floor(seconds / 60)}m uptime`
+ if (seconds < 86400) return `${Math.floor(seconds / 3600)}h uptime`
+ return `${Math.floor(seconds / 86400)}d uptime`
+}
+
// --- Recent Sessions ---
const recentSessions = ref([])
const loadSessions = async () => {
try {
- const response = await api.getSessions(5)
+ // status=active + a roomier limit (audit F10): an unfiltered top-5 can be
+ // filled entirely by closed sessions and hide every live client.
+ const response = await api.getSessions(25, 'active')
if (response.success && response.data) {
recentSessions.value = response.data.sessions || []
}
diff --git a/frontend/src/views/Repositories.vue b/frontend/src/views/Repositories.vue
index a1629fa98..d655663c8 100644
--- a/frontend/src/views/Repositories.vue
+++ b/frontend/src/views/Repositories.vue
@@ -23,7 +23,11 @@
Registries
-
Sources MCPProxy browses for MCP servers. Custom sources you add can be edited or removed.
+
+
+ Click a registry to search it. Custom sources you add can be edited or removed.
+
@@ -42,14 +46,40 @@
-
{{ registry.name }}
+
+
+
+
+ {{ registry.name }}
+
-
-
+
+
+
+
+
+ Click a registry card above to enable search.
+
+
@@ -316,7 +352,7 @@
Select a Registry
-
Choose a registry from the dropdown to start browsing MCP servers.
+
Click one of the registry cards above to start browsing MCP servers.
diff --git a/frontend/src/views/ServerDetail.vue b/frontend/src/views/ServerDetail.vue
index 26a6b4767..5b517097c 100644
--- a/frontend/src/views/ServerDetail.vue
+++ b/frontend/src/views/ServerDetail.vue
@@ -125,16 +125,22 @@
+
-
+
+
-
Status
-
{{ server.enabled ? 'Enabled' : 'Disabled' }}
-
{{ server.quarantined ? 'Quarantined' : 'Active' }}
+
Admin state
+
{{ adminStateLabel }}
+
set by you
@@ -153,16 +159,16 @@
-
+
-
Connection
-
- {{ server.connected ? 'Online' : server.connecting ? 'Connecting' : 'Offline' }}
+
Health
+
+ {{ healthLevelLabel }}
-
current state
+
{{ statusBadgeText }}
@@ -854,13 +860,63 @@
-
-
+
+
Connection
URL
- {{ server.url }}
+
+
+ {{ server.url }}
+ Edit
+
+
+
+
+ Save
+ Cancel
+
+
{{ urlDraftError }}
+
+ Saving reconnects the server with the new endpoint.
+
+
+
@@ -1158,18 +1214,31 @@
Cancel
-
+
+
Risk Score
{{ currentRiskScore }}/100
+
lower is safer
{{ currentRiskScore }}
@@ -1338,9 +1407,12 @@
-
+
-
+
{{ scanReport.empty_scan ? 'N/A' : scanReport.risk_score + '/100' }}
@@ -1356,7 +1428,24 @@
-
Scan ID: {{ scanReport.job_id.substring(0, 8) }}
+
+
+ Scan ID:
+ {{ scanReport.job_id.substring(0, 8) }}…
+
+
+
+
+
+
{{ new Date(scanReport.scanned_at).toLocaleString() }}
Pass 2 running...
Pass 2 complete
@@ -1426,7 +1515,7 @@