{{ $metadata := .Metadata }} {{ template "page-head" . }} {{ template "page-header" . }}
{{ template "page-aside-left" . }}
{{ $template := . }} {{ with .Node }}
Details of node {{ .UUID }} {{ .Environment }}
{{ if eq $metadata.Level "admin" }} {{ end }}

{{ .Environment }}

{{ .UUID }}

{{ .Hostname }}

{{ .Localname }}

{{if eq .Platform "darwin"}} darwin{{end}} {{if eq .Platform "debian"}} debian{{end}} {{if eq .Platform "ubuntu"}} ubuntu{{end}} {{if eq .Platform "centos"}} centos{{end}} {{if eq .Platform "rhel"}} redhat{{end}} {{if eq .Platform "fedora"}} fedora{{end}} {{if eq .Platform "windows"}} windows{{end}} {{if eq .Platform "freebsd"}} freebsd{{end}} {{if eq .Platform "opensuse"}} opensuse{{end}} {{if eq .Platform "arch"}} arch{{end}} {{if eq .Platform "unknown"}} unknown{{end}} - {{ .PlatformVersion }}

{{ .IPAddress }}

{{ .Username }}

{{ .CPU }}

{{ .Memory }}

{{ .HardwareSerial }}

{{ pastTimeAgo .CreatedAt }}

{{ pastTimeAgo .LastStatus }}

{{ pastTimeAgo .LastResult }}

{{ pastTimeAgo .LastConfig }}

{{ pastTimeAgo .LastQueryRead }}

{{ pastTimeAgo .LastQueryWrite }}

{{ .NodeKey }}

{{ .OsqueryUser }} - osquery {{ .OsqueryVersion }}

{{ .ConfigHash }}

{{ .DaemonHash }}

{{ jsonRawIndent .RawEnrollment }}
{{ if eq $template.Logs "db" }}
Last 6 hours of status logs for node {{ .UUID }}
Refresh in 60 seconds
Created Message Severity
{{ else }}
See status logs for node {{ .UUID }}
{{ end }} {{ if eq $template.Logs "db" }}
Last 6 hours of result logs for node {{ .UUID }}
Refresh in 60 seconds
Created Name Columns
{{ else }}
See result logs for node {{ .UUID }}
{{ end }}
{{ template "page-modals" . }} {{ end }}
{{ if eq $metadata.Level "admin" }} {{ template "page-aside-right" . }} {{ end }}
{{ template "page-js" . }} {{ with .Node }} {{ end }}