OBJECT

Asset

link GraphQL Schema definition

  • type Asset implements AttackVectorStepAsset {
  • # Asset ID
  • id: ID!
  • # All associated IPs
  • #
  • # 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.
  • ips(after: String, first: Int, before: String, last: Int): StringConnection!
  • # Asset's name
  • name: String!
  • # Last Seen
  • lastSeen: Time
  • # Latest date of last plugin hit or plugin status change
  • lastHit: Time
  • # Latest time of the last snapshot made on the asset
  • lastSnapshot: Time
  • # First Seen
  • firstSeen: Time
  • # All direct IPs
  • #
  • # 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.
  • directIps(after: String, first: Int, before: String, last: Int): StringConnection!
  • # All direct Macs
  • #
  • # 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.
  • directMacs(after: String, first: Int, before: String, last: Int): StringConnection!
  • # All associated MACs
  • #
  • # 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.
  • macs(after: String, first: Int, before: String, last: Int): StringConnection!
  • # Segments
  • #
  • # 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.
  • segments(after: String, first: Int, before: String, last: Int): SegmentGroupConnection!
  • # Type
  • type: AssetType!
  • # Super Type
  • superType: AssetType!
  • # Category
  • category: AssetCategory!
  • # Purdue level
  • purdueLevel: PurdueLevel!
  • # Vendor
  • vendor: String
  • # Run Status
  • runStatus: RunStatus!
  • # Extended Run Status
  • extendedRunStatus: String
  • # Run Status time
  • runStatusTime: Time!
  • # Asset's location
  • location: String
  • # Asset's description
  • description: String
  • # Operating System
  • os: String
  • # Family
  • family: String
  • # Model Name
  • model: String
  • # Firmware Version
  • firmwareVersion: String
  • # Slot in backplane
  • slot: Int
  • # Serial
  • serial: String
  • # Backplane of asset
  • backplane: Backplane
  • # Risk of asset
  • risk: Risk!
  • # Asset's criticality
  • criticality: Criticality!
  • # Is Hidden
  • hidden: Boolean!
  • # Asset's details last update time
  • lastUpdate: Time!
  • # Sources
  • #
  • # 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.
  • sources(after: String, first: Int, before: String, last: Int): LeanSourceConnection!
  • # Custom Field 1
  • customField1: String
  • # Custom Field 2
  • customField2: String
  • # Custom Field 3
  • customField3: String
  • # Custom Field 4
  • customField4: String
  • # Custom Field 5
  • customField5: String
  • # Custom Field 6
  • customField6: String
  • # Custom Field 7
  • customField7: String
  • # Custom Field 8
  • customField8: String
  • # Custom Field 9
  • customField9: String
  • # Custom Field 10
  • customField10: String
  • # Connections to network interfaces
  • #
  • # 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.
  • networkInterfaces(
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): NetworkInterfaceConnection!
  • # Direct Network Interface
  • directNetworkInterface: NetworkInterface @deprecated( reason: "Returns only a single direct NetworkInterface. Use the plural directNetworkInterfaces field instead." )
  • # Direct Network Interfaces
  • #
  • # 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.
  • directNetworkInterfaces(
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): NetworkInterfaceConnection!
  • # Asset details
  • details: JSON!
  • # Asset details categorized by layout
  • layout: [AssetDetailsLayout!]!
  • # OS details
  • osDetails: OS
  • # Get events by asset
  • #
  • # Arguments
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • events(
  • filter: EventsExpressionsParams,
  • search: String,
  • sort: [EventsSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): EventConnection!
  • # Get raw events by asset
  • #
  • # Arguments
  • # fields: [Not documented]
  • # grouping: [Not documented]
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • eventsRaw(
  • fields: [RawEventsComplexFieldParams!]!,
  • grouping: [RawEventsComplexGroupingParams!],
  • filter: EventsExpressionsParams,
  • search: String,
  • sort: [EventsSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): JSONConnection!
  • # List of aggregations of similar events
  • #
  • # Arguments
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • eventAggregations(
  • filter: EventsAggregationsExpressionsParams,
  • search: String,
  • sort: [EventsAggregationsSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): EventAggregationConnection!
  • # Raw dynamic query on aggregations of similar events
  • #
  • # Arguments
  • # fields: [Not documented]
  • # grouping: [Not documented]
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • eventAggregationsRaw(
  • fields: [RawEventsAggregationsComplexFieldParams!]!,
  • grouping: [RawEventsAggregationsComplexGroupingParams!],
  • filter: EventsAggregationsExpressionsParams,
  • search: String,
  • sort: [EventsAggregationsSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): JSONConnection!
  • # Get revision by ID
  • #
  • # Arguments
  • # id: [Not documented]
  • revision(id: ID!): Revision
  • # Assets revisions
  • #
  • # 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.
  • revisions(after: String, first: Int, before: String, last: Int): RevisionConnection!
  • # Get Base revision
  • baseRevision: Revision
  • # Plugins affecting this asset
  • #
  • # Arguments
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • plugins(
  • filter: PluginExpressionsParams,
  • search: String,
  • sort: [PluginSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): PluginConnection!
  • # Active plugin hits for this asset (by Plugin ID)
  • #
  • # Arguments
  • # pluginId: [Not documented]
  • # 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.
  • activePlugins(
  • pluginId: Int!,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): PluginHitConnection!
  • # Plugins fixed for the asset
  • #
  • # Arguments
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • fixedPlugins(
  • filter: PluginExpressionsParams,
  • search: String,
  • sort: [PluginSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): PluginConnection!
  • # Plugin hits for this asset (by Plugin ID)
  • #
  • # Arguments
  • # pluginId: [Not documented]
  • # 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.
  • pluginHits(pluginId: Int!, after: String, first: Int, before: String, last: Int): PluginHitConnection!
  • # Get existing attack vector for asset
  • attackVector: AttackVector
  • # IPs and their segment
  • #
  • # 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.
  • ipSegments(after: String, first: Int, before: String, last: Int): IpSegmentConnection!
  • # Asset relationship
  • #
  • # Arguments
  • # filter: [Not documented]
  • # search: [Not documented]
  • # sort: [Not documented]
  • # slowCount: When requesting totalCount set this to true to wait
  • # for count query to complete.
  • # Otherwise, countTimeout is used to limit the execution time, resulting in -1
  • # when limit is reached.
  • # countTimeout: Time (in milliseconds) to wait for count query to
  • # return.
  • # Only applicable when slowCount is not set.
  • # 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.
  • relationships(
  • filter: AssetRelationshipExpressionsParams,
  • search: String,
  • sort: [AssetRelationshipSortParams!],
  • slowCount: Boolean,
  • countTimeout: Int,
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): AssetRelationshipConnection!
  • # Asset sources
  • #
  • # 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.
  • detailedSources(after: String, first: Int, before: String, last: Int): DetailedSourceConnection!
  • }