GuestOsDetails

Information from Guest-level collections.

JSON representation
{
  "config": {
    object (GuestConfigDetails)
  },
  "runtime": {
    object (GuestRuntimeDetails)
  }
}
Fields
config

object (GuestConfigDetails)

OS and app configuration.

runtime

object (GuestRuntimeDetails)

Runtime information.

GuestConfigDetails

Guest OS config information.

JSON representation
{
  "issue": string,
  "fstab": {
    object (FstabEntryList)
  },
  "hosts": {
    object (HostsEntryList)
  },
  "nfsExports": {
    object (NfsExportList)
  },
  "selinux": {
    object (Selinux)
  }
}
Fields
issue

string

OS issue (typically /etc/issue in Linux).

fstab

object (FstabEntryList)

Mount list (Linux fstab).

hosts

object (HostsEntryList)

Output only. Hosts file (/etc/hosts).

nfsExports

object (NfsExportList)

NFS exports.

selinux

object (Selinux)

SELinux details.

FstabEntryList

Fstab content.

JSON representation
{
  "entries": [
    {
      object (FstabEntry)
    }
  ]
}
Fields
entries[]

object (FstabEntry)

Fstab entries.

FstabEntry

Single fstab entry.

JSON representation
{
  "spec": string,
  "file": string,
  "vfstype": string,
  "mntops": string,
  "freq": integer,
  "passno": integer
}
Fields
spec

string

The block special device or remote filesystem to be mounted.

file

string

The mount point for the filesystem.

vfstype

string

The type of the filesystem.

mntops

string

Mount options associated with the filesystem.

freq

integer

Used by dump to determine which filesystems need to be dumped.

passno

integer

Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.

HostsEntryList

Hosts content.

JSON representation
{
  "entries": [
    {
      object (HostsEntry)
    }
  ]
}
Fields
entries[]

object (HostsEntry)

Output only. Hosts entries.

HostsEntry

Single /etc/hosts entry.

JSON representation
{
  "ip": string,
  "hostNames": [
    string
  ]
}
Fields
ip

string

IP (raw, IPv4/6 agnostic).

hostNames[]

string

List of host names / aliases.

NfsExportList

NFS exports.

JSON representation
{
  "entries": [
    {
      object (NfsExport)
    }
  ]
}
Fields
entries[]

object (NfsExport)

NFS export entries.

NfsExport

NFS export.

JSON representation
{
  "exportDirectory": string,
  "hosts": [
    string
  ]
}
Fields
exportDirectory

string

The directory being exported.

hosts[]

string

The hosts or networks to which the export is being shared.

Selinux

SELinux details.

JSON representation
{
  "enabled": boolean,
  "mode": string
}
Fields
enabled

boolean

Is SELinux enabled.

mode

string

SELinux mode enforcing / permissive.

GuestRuntimeDetails

Guest OS runtime information.

JSON representation
{
  "services": {
    object (RunningServiceList)
  },
  "processes": {
    object (RunningProcessList)
  },
  "networkInfo": {
    object (RuntimeNetworkInfo)
  },
  "lastUptime": {
    object (Date)
  },
  "domain": string,
  "machineName": string,
  "installedApps": {
    object (GuestInstalledApplicationList)
  },
  "openFileList": {
    object (OpenFileList)
  }
}
Fields
services

object (RunningServiceList)

Running background services.

processes

object (RunningProcessList)

Running processes.

networkInfo

object (RuntimeNetworkInfo)

Runtime network information (connections, ports).

lastUptime

object (Date)

Date since last booted (last uptime date).

domain

string

Domain, e.g. c.stratozone-development.internal.

machineName

string

Machine name.

installedApps

object (GuestInstalledApplicationList)

Installed applications information.

openFileList

object (OpenFileList)

Open files information.

RunningServiceList

List of running guest OS services.

JSON representation
{
  "services": [
    {
      object (RunningService)
    }
  ]
}
Fields
services[]

object (RunningService)

Running service entries.

RunningService

Guest OS running service details.

JSON representation
{
  "name": string,
  "state": string,
  "startMode": string,
  "status": string,
  "exePath": string,
  "cmdline": string,
  "pid": string
}
Fields
name

string

Service name.

state

string

Service state (raw, OS-agnostic).

startMode

string

Service start mode (raw, OS-agnostic).

status

string

Service status.

exePath

string

Service binary path.

cmdline

string

Service command line.

pid

string (int64 format)

Service pid.

RunningProcessList

List of running guest OS processes.

JSON representation
{
  "processes": [
    {
      object (RunningProcess)
    }
  ]
}
Fields
processes[]

object (RunningProcess)

Running process entries.

RunningProcess

Guest OS running process details.

JSON representation
{
  "pid": string,
  "exePath": string,
  "cmdline": string,
  "user": string,
  "attributes": {
    string: string,
    ...
  }
}
Fields
pid

string (int64 format)

Process ID.

exePath

string

Process binary path.

cmdline

string

Process full command line.

user

string

User running the process.

attributes

map (key: string, value: string)

Process extended attributes.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

RuntimeNetworkInfo

Runtime networking information.

JSON representation
{
  "netstat": string,
  "connections": {
    object (NetworkConnectionList)
  },
  "netstatTime": {
    object (DateTime)
  }
}
Fields
netstat

string

Netstat (raw, OS-agnostic).

connections

object (NetworkConnectionList)

Network connections.

netstatTime

object (DateTime)

Netstat time collected.

NetworkConnectionList

Network connection list.

JSON representation
{
  "entries": [
    {
      object (NetworkConnection)
    }
  ]
}
Fields
entries[]

object (NetworkConnection)

Network connection entries.

NetworkConnection

JSON representation
{
  "protocol": string,
  "localIpAddress": string,
  "localPort": integer,
  "remoteIpAddress": string,
  "remotePort": integer,
  "state": string,
  "pid": string,
  "processName": string
}
Fields
protocol

string

Connection protocol (e.g. TCP/UDP).

localIpAddress

string

Local IP address.

localPort

integer

Local port.

remoteIpAddress

string

Remote IP address.

remotePort

integer

Remote port.

state

string

Connection state (e.g. CONNECTED).

pid

string (int64 format)

Process ID.

processName

string

Process or service name.

DateTime

Represents civil time (or occasionally physical time).

This type can represent a civil time in one of a few possible ways:

  • When utcOffset is set and timeZone is unset: a civil time on a calendar day with a particular offset from UTC.
  • When timeZone is set and utcOffset is unset: a civil time on a calendar day in a particular time zone.
  • When neither timeZone nor utcOffset is set: a civil time on a calendar day in local time.

The date is relative to the Proleptic Gregorian Calendar.

If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively.

This type may also be used to represent a physical time if all the date and time fields are set and either case of the time_offset oneof is set. Consider using Timestamp message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field.

This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.

JSON representation
{
  "year": integer,
  "month": integer,
  "day": integer,
  "hours": integer,
  "minutes": integer,
  "seconds": integer,
  "nanos": integer,

  // Union field time_offset can be only one of the following:
  "utcOffset": string,
  "timeZone": {
    object (TimeZone)
  }
  // End of list of possible types for union field time_offset.
}
Fields
year

integer

Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

month

integer

Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.

day

integer

Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.

hours

integer

Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.

minutes

integer

Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.

seconds

integer

Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.

nanos

integer

Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.

Union field time_offset. Optional. Specifies either the UTC offset or the time zone of the DateTime. Choose carefully between them, considering that time zone data may change in the future (for example, a country modifies their DST start/end dates, and future DateTimes in the affected range had already been stored). If omitted, the DateTime is considered to be in local time. time_offset can be only one of the following:
utcOffset

string (Duration format)

UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

timeZone

object (TimeZone)

Time zone.

TimeZone

Represents a time zone from the IANA Time Zone Database.

JSON representation
{
  "id": string,
  "version": string
}
Fields
id

string

IANA Time Zone Database time zone. For example "America/New_York".

version

string

Optional. IANA Time Zone Database version number. For example "2019a".

GuestInstalledApplicationList

Guest installed application list.

JSON representation
{
  "entries": [
    {
      object (GuestInstalledApplication)
    }
  ]
}
Fields
entries[]

object (GuestInstalledApplication)

Application entries.

GuestInstalledApplication

Guest installed application information.

JSON representation
{
  "name": string,
  "vendor": string,
  "time": string,
  "path": string,
  "version": string,
  "licenses": [
    string
  ]
}
Fields
name

string

Installed application name.

vendor

string

Installed application vendor.

time

string

Date application was installed.

path

string

Source path.

version

string

Installed application version.

licenses[]

string

License strings associated with the installed application.

OpenFileList

Open file list.

JSON representation
{
  "entries": [
    {
      object (OpenFileDetails)
    }
  ]
}
Fields
entries[]

object (OpenFileDetails)

Open file details entries.

OpenFileDetails

Open file Information.

JSON representation
{
  "command": string,
  "user": string,
  "fileType": string,
  "filePath": string
}
Fields
command

string

Opened file command.

user

string

Opened file user.

fileType

string

Opened file file type.

filePath

string

Opened file file path.