Class ListFindingsResult (1.33.1)

ListFindingsResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Result containing the Finding and its StateChange.

Attributes

Name Description
finding google.cloud.securitycenter_v1.types.Finding
Finding matching the search request.
state_change google.cloud.securitycenter_v1.types.ListFindingsResponse.ListFindingsResult.StateChange
State change of the finding between the points in time.
resource google.cloud.securitycenter_v1.types.ListFindingsResponse.ListFindingsResult.Resource
Output only. Resource that is associated with this finding.

Classes

Resource

Resource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information related to the Google Cloud resource that is associated with this finding.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

StateChange

StateChange(value)

The change in state of the finding.

When querying across two points in time this describes the change in the finding between the two points: CHANGED, UNCHANGED, ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that the finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration. If there was no compare_duration supplied in the request the state change will be: UNUSED