entity_id. The ID is made from three parts:
type: what the entity is (see the table below).scope: the namespace of the value, for exampleaws:123456789012,okta, orgithub. An empty scope means the value is global, for example an IP address.value: the strongest identifier of the entity in that scope (a provider user ID, an address, a key ID, an ARN).
entity_id, so the ID from entities.search,
from a finding’s entity_refs, and from entities.risky opens the same entity. A user named cat
in GitHub and a user named cat in Okta are two entities.
Operations
entities.search, entities.get, and entities.timeline need errors:read. The other reads need
findings:read. entities.updateControls needs findings:write.
Entity types and roles
Logs name
user, ip, access_key, repository, cloud_account, and host, so
entities.search, entities.get, and entities.timeline accept only those types. Findings can name
all types.
A finding names each entity in a role: actor (who did it), target (who or what it was done to),
source (where it came from, for example an address), or affected (a resource or asset in scope).
Records of the same person in two systems become one group only when they share a strong key, such
as the same email address. Squasher never joins records on a display name or on a shared IP address.
entities.profile lists the other records of the group in resolution_group.
Risk score
informational 1, low 4, medium 10, high 25, critical 40, fatal 50. The points
of a finding halve every 14 days after the finding was last seen. The sum is multiplied by the
entity’s criticality (low 0.5, normal 1, high 1.5, critical 2) and capped at 100.
Every
risk object has the breakdown: contributions lists each open finding with its points,
decay, and contribution, largest first; raw is the sum and multiplier is the criticality
multiplier. entities.risky returns the five largest contributions of each entity;
entities.profile returns all of them and risk_timeline, the score of each of the last 30 days.
Set criticality
criticality for an entity that matters more (a production account) or less (a test user).
Graphs
entities.activity and entities.findingCorrelations return a graph: nodes (kind is
entity, finding, or action) and edges (label is the role, or performed and on for
activity). The node with focus: true is the identity or the finding you asked about.
truncated: true means that the graph left out the least linked nodes.
entities.activity reads the security events of the last 24 hours by default; pass from and to
to change the range. Only user and access_key entities have activity.