Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class StateChange.
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
Protobuf type google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNUSED
Value: 0
State change is unused, this is the canonical default for this enum.
Generated from protobuf enum UNUSED = 0;
CHANGED
Value: 1
The finding has changed state in some way between the points in time and existed at both points.
Generated from protobuf enum CHANGED = 1;
UNCHANGED
Value: 2
The finding has not changed state between the points in time and existed at both points.
Generated from protobuf enum UNCHANGED = 2;
ADDED
Value: 3
The finding was created between the points in time.
Generated from protobuf enum ADDED = 3;
REMOVED
Value: 4
The finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration.
Generated from protobuf enum REMOVED = 4;