OBJECT

OtAgentDetails

OT Agent details

link GraphQL Schema definition

  • type OtAgentDetails {
  • # ID
  • id: ID!
  • # Agent Host
  • host: String!
  • # Name
  • name: String!
  • # Version
  • version: String!
  • # Scout version
  • scoutVersion: String!
  • # Agent status
  • status: OtAgentStatus!
  • # Agent status timestamp
  • statusTs: Time!
  • # Networks the agent running discovery on
  • networks: [String!]
  • # Duplicated networks are added discovery/enrichment networks
  • scanDuplicatedNetworks: Boolean!
  • # Asset for agent host machine
  • hostAsset: Asset
  • # Host asset name
  • hostAssetName: String
  • # Host asset name
  • hostAssetType: String
  • # Discovery scan schedule
  • schedule: [DurationValue!]
  • # Discovery scan schedule enabled
  • scheduleEnabled: Boolean!
  • # Last scan datetime start
  • lastScanStartTime: Time
  • # Last scan datetime finish
  • lastScanEndTime: Time
  • # Last scan status
  • lastScanResult: OtAgentScanResult
  • # Last scan duration
  • lastScanDuration: String
  • # Credentials defined for the agent
  • #
  • # Arguments
  • # after: Returns the items in the list that come after the
  • # specified cursor.
  • # first: Returns the first n items from the list.
  • # before: Returns the items in the list that come before the
  • # specified cursor.
  • # last: Returns the last n items from the list.
  • credentials(after: String, first: Int, before: String, last: Int): CredentialsConnection!
  • # The assets discovered by the agent
  • #
  • # Arguments
  • # after: Returns the items in the list that come after the
  • # specified cursor.
  • # first: Returns the first n items from the list.
  • # before: Returns the items in the list that come before the
  • # specified cursor.
  • # last: Returns the last n items from the list.
  • assets(after: String, first: Int, before: String, last: Int): AssetConnection!
  • # Host OS
  • hostOs: String
  • # The origin of agent
  • origin: Origin
  • # Agent updates available
  • agentUpdateAvailable: Boolean!
  • # OT Scout updates available
  • scoutUpdateAvailable: Boolean!
  • }