diff --git a/website/src/components/report/ShowHostDetails.tsx b/website/src/components/report/ShowHostDetails.tsx
index b5b1f57..ddfdd52 100644
--- a/website/src/components/report/ShowHostDetails.tsx
+++ b/website/src/components/report/ShowHostDetails.tsx
@@ -17,6 +17,16 @@ export function ShowHostDetails({ host }: { host: LhpHostReport }) {
🔗
)}
+ {host.host.id && (
+ {
+ navigator.clipboard.writeText(host.host.id || '');
+ toast('External host identifier is copied to clipboard.');
+ }}
+ >
+ {host.host.id}
+
+ )}
@@ -139,6 +149,14 @@ export function ShowHostDetails({ host }: { host: LhpHostReport }) {
({ key: x, value: '✅' }))} />
+
+
+ Extra Host Data
+
+
+ {host.host.data ? JSON.stringify(host.host.data || '#N/A', null, 2) : '#N/A'}
+
+
);
}
diff --git a/website/src/lib/data.ts b/website/src/lib/data.ts
index 1738e73..d137d3e 100644
--- a/website/src/lib/data.ts
+++ b/website/src/lib/data.ts
@@ -137,6 +137,8 @@ export const LHP_PATROL_REPORT_SCHEMA = {
host: {
$comment: 'Host descriptor.\nHost Descriptor\nHost',
properties: {
+ data: { $comment: 'Arbitrary data for the host.' },
+ id: { $comment: 'External identifier of the host.', type: 'string' },
name: { $comment: 'Name of the host.', type: 'string' },
ssh: {
$comment: 'SSH configuration.\nSSH Configuration\nSshConfig',