Google Cloud Chronicle Client - Class EntityRisk (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class EntityRisk.

Stores information related to the risk score of an entity.

Generated from protobuf message google.backstory.EntityRisk

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ risk_version string

Version of the risk score calculation algorithm.

↳ risk_window Google\Type\Interval

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

↳ DEPRECATED_risk_score int

Deprecated risk score.

↳ risk_delta RiskDelta

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

↳ detections_count int

Number of detections that make up the risk score within the time window.

↳ first_detection_time Google\Protobuf\Timestamp

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

↳ last_detection_time Google\Protobuf\Timestamp

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

↳ risk_score float

Raw risk score for the entity.

↳ normalized_risk_score int

Normalized risk score for the entity. This value is between 0-1000.

↳ risk_window_size Google\Protobuf\Duration

Risk window duration for the entity.

↳ raw_risk_delta RiskDelta

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

↳ last_reset_time Google\Protobuf\Timestamp

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

↳ detail_uri string

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

↳ risk_window_has_new_detections bool

Whether there are new detections for the risk window.

getRiskVersion

Version of the risk score calculation algorithm.

Returns
Type Description
string

setRiskVersion

Version of the risk score calculation algorithm.

Parameter
Name Description
var string
Returns
Type Description
$this

getRiskWindow

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

Returns
Type Description
Google\Type\Interval|null

hasRiskWindow

clearRiskWindow

setRiskWindow

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

Parameter
Name Description
var Google\Type\Interval
Returns
Type Description
$this

getDEPRECATEDRiskScore

Deprecated risk score.

Returns
Type Description
int

setDEPRECATEDRiskScore

Deprecated risk score.

Parameter
Name Description
var int
Returns
Type Description
$this

getRiskDelta

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

Returns
Type Description
RiskDelta|null

hasRiskDelta

clearRiskDelta

setRiskDelta

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

Parameter
Name Description
var RiskDelta
Returns
Type Description
$this

getDetectionsCount

Number of detections that make up the risk score within the time window.

Returns
Type Description
int

setDetectionsCount

Number of detections that make up the risk score within the time window.

Parameter
Name Description
var int
Returns
Type Description
$this

getFirstDetectionTime

Timestamp of the first detection within the specified time window.

This field is empty when there are no detections.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasFirstDetectionTime

clearFirstDetectionTime

setFirstDetectionTime

Timestamp of the first detection within the specified time window.

This field is empty when there are no detections.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastDetectionTime

Timestamp of the last detection within the specified time window.

This field is empty when there are no detections.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastDetectionTime

clearLastDetectionTime

setLastDetectionTime

Timestamp of the last detection within the specified time window.

This field is empty when there are no detections.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getRiskScore

Raw risk score for the entity.

Returns
Type Description
float

setRiskScore

Raw risk score for the entity.

Parameter
Name Description
var float
Returns
Type Description
$this

getNormalizedRiskScore

Normalized risk score for the entity. This value is between 0-1000.

Returns
Type Description
int

setNormalizedRiskScore

Normalized risk score for the entity. This value is between 0-1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getRiskWindowSize

Risk window duration for the entity.

Returns
Type Description
Google\Protobuf\Duration|null

hasRiskWindowSize

clearRiskWindowSize

setRiskWindowSize

Risk window duration for the entity.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getRawRiskDelta

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

Returns
Type Description
RiskDelta|null

hasRawRiskDelta

clearRawRiskDelta

setRawRiskDelta

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

Parameter
Name Description
var RiskDelta
Returns
Type Description
$this

getLastResetTime

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastResetTime

clearLastResetTime

setLastResetTime

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDetailUri

Link to the Google Security Operations UI with information about the entity risk score.

If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

Returns
Type Description
string

setDetailUri

Link to the Google Security Operations UI with information about the entity risk score.

If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

Parameter
Name Description
var string
Returns
Type Description
$this

getRiskWindowHasNewDetections

Whether there are new detections for the risk window.

Returns
Type Description
bool

setRiskWindowHasNewDetections

Whether there are new detections for the risk window.

Parameter
Name Description
var bool
Returns
Type Description
$this