AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 9.5This functionality is generally available and ready for production usage.Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Returns time-ordered historical risk score entries from the risk score time-series index for a given entity.
The identifier of the entity to retrieve history for.
fromstring · max length: 100 · default: now-90d
Start of the time range, in date-math syntax. Defaults to 90 days ago.
tostring · max length: 100 · default: now
End of the time range, in date-math syntax. Defaults to now.
score_typeenum
Filter entries by the type of score recorded (base, propagated, or resolution).
Values:basepropagatedresolution
include_contributionsboolean · default: false
When true, each entry also includes the contributions recorded for that scoring run (inputs, modifiers, category 2 fields, and criticality_level), when present on the underlying document.
The weighted risk score of the risk input document.
timestampstring
The @timestamp of the risk input document.
modifiersobject[]
Present only when requested with include_contributions=true.
contributionnumber · format: doublerequired
metadataobject
modifier_valuenumber · format: double
subtypestring · max length: 100
typestring · max length: 100required
score_typeenum
Values:basepropagatedresolution
intervalstring · max length: 10required
The effective Elasticsearch date_histogram interval expression the entries were aggregated into (for example 3h, 1d, 1w), derived from the requested time range.