- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- EntityRiskScore
- EntityRiskDelta
- DetectionsCount
- Try it!
Full name: projects.locations.instances.entityRiskScores.query
Queries the instance for EntityRiskScores. The API returns Risk Scores for entities including users and assets.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}/entityRiskScores:query
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
filter |
Filter expression to be applied to the list of Entity Risk Scores. Timestamps use RFC 3339. Read more here
|
order |
Ordering of Entity Risk Scores. Example: |
page |
The maximum number of Entity Risk Scores to return. The service may return fewer than this value. If unspecified, at most 10000 scores will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. |
page |
A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for Querying Entity Risk Scores.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "entity_risk_scores": [ { object ( |
Fields | |
---|---|
entity_ |
The Risk Scores for a specific time range and filtered criteria. |
detections_ |
The detections count for a specific time range and filtered criteria. |
next_ |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance
resource:
chronicle.entityRiskScores.queryEntityRiskScores
For more information, see the IAM documentation.
EntityRiskScore
Entity Risk Score
JSON representation |
---|
{ "entity": { object ( |
Fields | |
---|---|
entity |
Required. Entity for which the Risk Score is computed |
risk_ |
Required. Time window against which the Entity Risk Score is computed, e.g. 24 hours 7 days etc. |
risk_ |
Normalized Risk Score for the Entity. This value is always between 0-1000 |
risk_ |
Represents the change is risk_score for an entity between end of the previous risk window and the end of the current risk window. |
detections_ |
Number of Detections that make up the risk score within the risk window. |
first_ |
First detection timestamp within the specified risk window. Empty when no detections. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
last_ |
Last detection timestamp within the specified risk window. Empty when no detections. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
entity_ |
Indicator to the entity. |
raw_ |
Raw Risk Score for the Entity. This value is unbounded. |
raw_ |
Represents the change in raw_risk_score for an entity between end of the previous risk window and the end of the current risk window. |
entity_ |
An encoded string of Most Reliable Indicator tuple (value, type, namespace). |
EntityRiskDelta
Describes the difference of a risk score between two points in time
JSON representation |
---|
{ "previous_range_end_time": string, "risk_score_delta": integer, "previous_risk_score": integer, "risk_score_numeric_delta": integer } |
Fields | |
---|---|
previous_ |
End time of the previous risk_window. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
risk_ |
Normalized risk score delta. |
previous_ |
Normalized risk score from previous risk window |
risk_ |
Numeric change in risk score from previous to current risk window |
DetectionsCount
Describes the number of detections within a time bucket (e.g., 2h interval).
JSON representation |
---|
{
"time_bucket": {
object ( |
Fields | |
---|---|
time_ |
Interval representing the time bucket for which we are counting detections. |
detections_ |
Number of Detections that make up the risk score within the risk window. |