No updates found
+This agent is up to date!
+- Agent details and system information +
+ System details and update management for this agent
Agent ID
++ {selectedAgent.id} +
+Version
++ {selectedAgent.agent_version || selectedAgent.version || 'Unknown'} +
+Registered
++ {formatRelativeTime(selectedAgent.created_at)} +
+Installation Time
++ {formatRelativeTime(meta.installationTime)} +
+- {formatRelativeTime(selectedAgent.last_checkin)} -
+ {formatRelativeTime(selectedAgent.last_seen)} +
++ {selectedAgent.last_scan + ? formatRelativeTime(selectedAgent.last_scan) + : 'Never'} +
+- {selectedAgent.last_scan - ? formatRelativeTime(selectedAgent.last_scan) - : 'Never'} -
Operating System
+Platform
- {selectedAgent.os_type} {selectedAgent.os_version} + {(() => { + const osInfo = parseOSInfo(selectedAgent); + return osInfo.platform; + })()}
Distribution
++ {(() => { + const osInfo = parseOSInfo(selectedAgent); + return osInfo.distribution; + })()} +
+ {(() => { + const osInfo = parseOSInfo(selectedAgent); + if (osInfo.version) { + return ( ++ Version: {osInfo.version} +
+ ); + } + return null; + })()} +Architecture
- {selectedAgent.architecture} -
-IP Address
-- {selectedAgent.ip_address} + {selectedAgent.os_architecture || selectedAgent.architecture}
Agent Version
-- {selectedAgent.version} -
-
+
+ {meta.cpuModel} +
++ {meta.cpuCores} cores +
+Registered
-- {formatRelativeTime(selectedAgent.created_at)} -
-
+
+ {formatBytes(meta.memoryTotal)} +
+
+
+ {formatBytes(meta.diskUsed)} / {formatBytes(meta.diskTotal)} +
++ {Math.round((meta.diskUsed / meta.diskTotal) * 100)}% used +
+
+
+ {meta.processes} +
+
+
+ {meta.uptime} +
+- Configure your dashboard preferences -
+Configure your RedFlag dashboard preferences
- Configure how the dashboard behaves and displays information -
+ {/* Timezone Settings */} +Configure the timezone used for displaying timestamps
+Updating timezone...
+ )} + + {updateTimezone.isSuccess && ( +Timezone updated successfully!
+ )} + + {updateTimezone.isError && ( ++ Failed to update timezone. Please try again. +
+ )} ++ This setting affects how timestamps are displayed throughout the dashboard, including agent + last check-in times, scan times, and update timestamps. +
+Configure how the dashboard behaves and displays information
++
Automatically refresh dashboard data at regular intervals
More configuration options coming soon
+- Review and approve available updates for your agents -
++ Review and approve available updates for your agents +
+Total Updates
+{totalStats.total}
+Pending
+{totalStats.pending}
+Approved
+{totalStats.approved}
+Critical
+{totalStats.critical}
+High Priority
+{totalStats.high}
++ Showing {(currentPage - 1) * pageSize + 1} to{' '} + {Math.min(currentPage * pageSize, totalCount)} of{' '} + {totalCount} results +
+