GoogleApi.OnDemandScanning.V1.Model.ComplianceOccurrence (google_api_on_demand_scanning v0.7.0)

View Source

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

Attributes

  • nonComplianceReason (type: String.t, default: nil) -
  • nonCompliantFiles (type: list(GoogleApi.OnDemandScanning.V1.Model.NonCompliantFile.t), default: nil) -
  • version (type: GoogleApi.OnDemandScanning.V1.Model.ComplianceVersion.t, default: nil) - The OS and config version the benchmark was run on.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.ComplianceOccurrence{
  nonComplianceReason: String.t() | nil,
  nonCompliantFiles:
    [GoogleApi.OnDemandScanning.V1.Model.NonCompliantFile.t()] | nil,
  version: GoogleApi.OnDemandScanning.V1.Model.ComplianceVersion.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.