Class Violation
Details of a violation.
Implements
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class Violation : IDirectResponseSchema
Properties
AssetId
The full resource name of the asset that caused the violation. For details about the format of the full resource name for each asset type, see Resource name format.
Declaration
[JsonProperty("assetId")]
public virtual string AssetId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NextSteps
A description of the steps that you can take to fix the violation.
Declaration
[JsonProperty("nextSteps")]
public virtual string NextSteps { get; set; }
Property Value
Type | Description |
---|---|
string |
PolicyId
The policy that was violated.
Declaration
[JsonProperty("policyId")]
public virtual string PolicyId { get; set; }
Property Value
Type | Description |
---|---|
string |
Severity
The severity of the violation.
Declaration
[JsonProperty("severity")]
public virtual string Severity { get; set; }
Property Value
Type | Description |
---|---|
string |
ViolatedAsset
Details of the Cloud Asset Inventory asset that caused the violation.
Declaration
[JsonProperty("violatedAsset")]
public virtual AssetDetails ViolatedAsset { get; set; }
Property Value
Type | Description |
---|---|
AssetDetails |
ViolatedPolicy
Details of the policy that was violated.
Declaration
[JsonProperty("violatedPolicy")]
public virtual PolicyDetails ViolatedPolicy { get; set; }
Property Value
Type | Description |
---|---|
PolicyDetails |
ViolatedPosture
Details for the posture that was violated. This field is present only if the violated policy belongs to a deployed posture.
Declaration
[JsonProperty("violatedPosture")]
public virtual PostureDetails ViolatedPosture { get; set; }
Property Value
Type | Description |
---|---|
PostureDetails |