Class: Google::Apis::SecuritycenterV1::ListFindingsResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ListFindingsResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Result containing the Finding and its StateChange.
Instance Attribute Summary collapse
-
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Security Command Center finding.
-
#resource ⇒ Google::Apis::SecuritycenterV1::Resource
Information related to the Google Cloud resource that is associated with this finding.
-
#state_change ⇒ String
State change of the finding between the points in time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListFindingsResult
constructor
A new instance of ListFindingsResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListFindingsResult
Returns a new instance of ListFindingsResult.
8996 8997 8998 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Security Command Center finding. A finding is a record of assessment data like
security, risk, health, or privacy, that is ingested into Security Command
Center for presentation, notification, analysis, policy testing, and
enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
Engine application is a finding.
Corresponds to the JSON property finding
8983 8984 8985 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8983 def finding @finding end |
#resource ⇒ Google::Apis::SecuritycenterV1::Resource
Information related to the Google Cloud resource that is associated with this
finding.
Corresponds to the JSON property resource
8989 8990 8991 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8989 def resource @resource end |
#state_change ⇒ String
State change of the finding between the points in time.
Corresponds to the JSON property stateChange
8994 8995 8996 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8994 def state_change @state_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9001 9002 9003 9004 9005 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9001 def update!(**args) @finding = args[:finding] if args.key?(:finding) @resource = args[:resource] if args.key?(:resource) @state_change = args[:state_change] if args.key?(:state_change) end |