Class: Google::Apis::SecuritycenterV1p1beta1::ListFindingsResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1p1beta1::ListFindingsResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/securitycenter_v1p1beta1/classes.rb,
generated/google/apis/securitycenter_v1p1beta1/representations.rb,
generated/google/apis/securitycenter_v1p1beta1/representations.rb
Overview
Result containing the Finding and its StateChange.
Instance Attribute Summary collapse
-
#finding ⇒ Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding
Cloud Security Command Center (Cloud SCC) finding.
-
#resource ⇒ Google::Apis::SecuritycenterV1p1beta1::Resource
Information related to the Google Cloud Platform (GCP) 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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListFindingsResult
Returns a new instance of ListFindingsResult.
1300 1301 1302 |
# File 'generated/google/apis/securitycenter_v1p1beta1/classes.rb', line 1300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding ⇒ Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding
Cloud Security Command Center (Cloud SCC) finding.
A finding is a record of assessment data (security, risk, health or privacy)
ingested into Cloud SCC for presentation, notification, analysis,
policy testing, and enforcement. For example, an XSS vulnerability in an
App Engine application is a finding.
Corresponds to the JSON property finding
1287 1288 1289 |
# File 'generated/google/apis/securitycenter_v1p1beta1/classes.rb', line 1287 def finding @finding end |
#resource ⇒ Google::Apis::SecuritycenterV1p1beta1::Resource
Information related to the Google Cloud Platform (GCP) resource that is
associated with this finding.
Corresponds to the JSON property resource
1293 1294 1295 |
# File 'generated/google/apis/securitycenter_v1p1beta1/classes.rb', line 1293 def resource @resource end |
#state_change ⇒ String
State change of the finding between the points in time.
Corresponds to the JSON property stateChange
1298 1299 1300 |
# File 'generated/google/apis/securitycenter_v1p1beta1/classes.rb', line 1298 def state_change @state_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1305 1306 1307 1308 1309 |
# File 'generated/google/apis/securitycenter_v1p1beta1/classes.rb', line 1305 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 |