public sealed class SimulatedFinding : IMessage<SimulatedFinding>, IEquatable<SimulatedFinding>, IDeepCloneable<SimulatedFinding>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Center Management v1 API class SimulatedFinding.
A subset of the fields of the Security Center Finding proto. The minimum set of fields needed to represent a simulated finding from a SHA custom module.
Implements
IMessageSimulatedFinding, IEquatableSimulatedFinding, IDeepCloneableSimulatedFinding, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenterManagement.V1Assembly
Google.Cloud.SecurityCenterManagement.V1.dll
Constructors
SimulatedFinding()
public SimulatedFinding()
SimulatedFinding(SimulatedFinding)
public SimulatedFinding(SimulatedFinding other)
Parameter | |
---|---|
Name | Description |
other |
SimulatedFinding |
Properties
Category
public string Category { get; set; }
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
Property Value | |
---|---|
Type | Description |
string |
EventTime
public Timestamp EventTime { get; set; }
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
Property Value | |
---|---|
Type | Description |
Timestamp |
FindingClass
public SimulatedFinding.Types.FindingClass FindingClass { get; set; }
The class of the finding.
Property Value | |
---|---|
Type | Description |
SimulatedFindingTypesFindingClass |
FindingName
public FindingName FindingName { get; set; }
FindingName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
FindingName |
Name
public string Name { get; set; }
Identifier. The relative resource
name
of the finding. Example:
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
,
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
,
projects/{project_id}/sources/{source_id}/findings/{finding_id}
.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
The relative resource name of the source the finding belongs to. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
This field is immutable after creation time.
For example:
organizations/{organization_id}/sources/{source_id}
Property Value | |
---|---|
Type | Description |
string |
ResourceName
public string ResourceName { get; set; }
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
Property Value | |
---|---|
Type | Description |
string |
Severity
public SimulatedFinding.Types.Severity Severity { get; set; }
The severity of the finding. This field is managed by the source that writes the finding.
Property Value | |
---|---|
Type | Description |
SimulatedFindingTypesSeverity |
SourceProperties
public MapField<string, Value> SourceProperties { get; }
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
Property Value | |
---|---|
Type | Description |
MapFieldstringValue |
State
public SimulatedFinding.Types.State State { get; set; }
Output only. The state of the finding.
Property Value | |
---|---|
Type | Description |
SimulatedFindingTypesState |