Class Asset
Information about a compute asset such as a workstation, laptop, phone, virtual desktop, or VM.
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Asset : IMessage<Asset>, IEquatable<Asset>, IDeepCloneable<Asset>, IBufferMessage, IMessage
Constructors
Asset()
Declaration
public Asset()
Asset(Asset)
Declaration
public Asset(Asset other)
Parameters
| Type | Name | Description |
|---|---|---|
| Asset | other |
Properties
AssetId
The asset ID. Value must contain the ':' character. For example, cs:abcdd23434. This field can be used as an entity indicator for asset entities.
Declaration
public string AssetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Attribute
Generic entity metadata attributes of the asset.
Declaration
public Attribute Attribute { get; set; }
Property Value
| Type | Description |
|---|---|
| Attribute |
Category
The category of the asset (e.g. "End User Asset", "Workstation", "Server").
Declaration
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreationTime
Time the asset was created or provisioned. Deprecate: creation_time should be populated in Attribute as generic metadata.
Declaration
[Obsolete]
public Timestamp CreationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
DeploymentStatus
The deployment status of the asset for device lifecycle purposes.
Declaration
public Asset.Types.DeploymentStatus DeploymentStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| Asset.Types.DeploymentStatus |
FirstDiscoverTime
Time the asset was first discovered (by asset management/discoverability software).
Declaration
public Timestamp FirstDiscoverTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
FirstSeenTime
The first observed time for an asset. The value is calculated on the basis of the first time the identifier was observed.
Declaration
public Timestamp FirstSeenTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Hardware
The asset hardware specifications.
Declaration
public RepeatedField<Hardware> Hardware { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Hardware> |
Hostname
Asset hostname or domain name field. This field can be used as an entity indicator for asset entities.
Declaration
public string Hostname { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ip
A list of IP addresses associated with an asset. This field can be used as an entity indicator for asset entities.
Declaration
public RepeatedField<string> Ip { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
Labels
Metadata labels for the asset. Deprecated: labels should be populated in Attribute as generic metadata.
Declaration
[Obsolete]
public RepeatedField<Label> Labels { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Label> |
LastBootTime
Time the asset was last boot started.
Declaration
public Timestamp LastBootTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
LastDiscoverTime
Time the asset was last discovered (by asset management/discoverability software).
Declaration
public Timestamp LastDiscoverTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Location
Location of the asset.
Declaration
public Location Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Location |
Mac
List of MAC addresses associated with an asset. This field can be used as an entity indicator for asset entities.
Declaration
public RepeatedField<string> Mac { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
NatIp
List of NAT IP addresses associated with an asset.
Declaration
public RepeatedField<string> NatIp { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
NetworkDomain
The network domain of the asset (e.g. "corp.acme.com")
Declaration
public string NetworkDomain { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlatformSoftware
The asset operating system platform software.
Declaration
public PlatformSoftware PlatformSoftware { get; set; }
Property Value
| Type | Description |
|---|---|
| PlatformSoftware |
ProductObjectId
A vendor-specific identifier to uniquely identify the entity (a GUID or similar). This field can be used as an entity indicator for asset entities.
Declaration
public string ProductObjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Software
The asset software details.
Declaration
public RepeatedField<Software> Software { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Software> |
SystemLastUpdateTime
Time the asset system or OS was last updated. For all other operations that are not system updates (such as resizing a VM), use Attribute.last_update_time.
Declaration
public Timestamp SystemLastUpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Type
The type of the asset (e.g. workstation or laptop or server).
Declaration
public Asset.Types.AssetType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Asset.Types.AssetType |
Vulnerabilities
Vulnerabilities discovered on asset.
Declaration
public RepeatedField<Vulnerability> Vulnerabilities { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Vulnerability> |
WmiPersistenceItem
Information about a WMI persistence item.
Declaration
public WmiPersistenceItem WmiPersistenceItem { get; set; }
Property Value
| Type | Description |
|---|---|
| WmiPersistenceItem |