Class: Google::Apis::SecuritypostureV1::IaCValidationReport
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::IaCValidationReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securityposture_v1/classes.rb,
lib/google/apis/securityposture_v1/representations.rb,
lib/google/apis/securityposture_v1/representations.rb
Overview
Details of an infrastructure-as-code (IaC) validation report.
Instance Attribute Summary collapse
-
#note ⇒ String
Additional information about the report.
-
#violations ⇒ Array<Google::Apis::SecuritypostureV1::Violation>
A list of every Violation found in the IaC configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IaCValidationReport
constructor
A new instance of IaCValidationReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IaCValidationReport
Returns a new instance of IaCValidationReport.
587 588 589 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#note ⇒ String
Additional information about the report.
Corresponds to the JSON property note
580 581 582 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 580 def note @note end |
#violations ⇒ Array<Google::Apis::SecuritypostureV1::Violation>
A list of every Violation found in the IaC configuration.
Corresponds to the JSON property violations
585 586 587 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 585 def violations @violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
592 593 594 595 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 592 def update!(**args) @note = args[:note] if args.key?(:note) @violations = args[:violations] if args.key?(:violations) end |