Compartilhar via


ThreatIntelligenceRelationship Class

Definition

Represents a relationship in Azure Security Insights.

public class ThreatIntelligenceRelationship : Azure.ResourceManager.SecurityInsights.Models.ThreatIntelligenceObject, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.ThreatIntelligenceRelationship>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.ThreatIntelligenceRelationship>
type ThreatIntelligenceRelationship = class
    inherit ThreatIntelligenceObject
    interface IJsonModel<ThreatIntelligenceRelationship>
    interface IPersistableModel<ThreatIntelligenceRelationship>
Public Class ThreatIntelligenceRelationship
Inherits ThreatIntelligenceObject
Implements IJsonModel(Of ThreatIntelligenceRelationship), IPersistableModel(Of ThreatIntelligenceRelationship)
Inheritance
ThreatIntelligenceRelationship
Implements

Constructors

ThreatIntelligenceRelationship()

Initializes a new instance of ThreatIntelligenceRelationship.

Properties

CreatedBy

The UserInfo of the user/entity which originally created this TI object.

(Inherited from ThreatIntelligenceObject)
Data

The core STIX object that this TI object represents.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from ThreatIntelligenceObject)
FirstIngestedOn

The timestamp for the first time this object was ingested.

(Inherited from ThreatIntelligenceObject)
Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IngestionRulesVersion

The ID of the rules version that was active when this TI object was last ingested.

(Inherited from ThreatIntelligenceObject)
LastIngestedOn

The timestamp for the last time this object was ingested.

(Inherited from ThreatIntelligenceObject)
LastModifiedBy

The UserInfo of the user/entity which last modified this TI object.

(Inherited from ThreatIntelligenceObject)
LastUpdatedOn

The timestamp for the last time this TI object was updated.

(Inherited from ThreatIntelligenceObject)
LastUpdateMethod

The name of the method/application that initiated the last write to this TI object.

(Inherited from ThreatIntelligenceObject)
Name

The name of the resource.

(Inherited from ResourceData)
RelationshipHints

A dictionary used to help follow relationships from this object to other STIX objects. The keys are field names from the STIX object (in the 'data' field), and the values are lists of sources that can be prepended to the object ID in order to efficiently locate the target TI object.

(Inherited from ThreatIntelligenceObject)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Source

The source name for this TI object.

(Inherited from ThreatIntelligenceObject)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ThreatIntelligenceObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ThreatIntelligenceObject)
IJsonModel<ThreatIntelligenceObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ThreatIntelligenceObject)
IJsonModel<ThreatIntelligenceRelationship>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ThreatIntelligenceRelationship>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ThreatIntelligenceObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ThreatIntelligenceObject)
IPersistableModel<ThreatIntelligenceObject>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ThreatIntelligenceObject)
IPersistableModel<ThreatIntelligenceObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ThreatIntelligenceObject)
IPersistableModel<ThreatIntelligenceRelationship>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ThreatIntelligenceRelationship>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ThreatIntelligenceRelationship>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to