Skip to content

Commit 5b47cc9

Browse files
nastasha-solomonjaredburgettelasticshainaraskas
authored
[Release notes][Serverless & Sec 9.x] Add known issue to release notes for "Entity Risk Score documents eventually fail to persist (#1550)
Contributes to #1548 by adding a known issue about the risk score feature in Serverless and Security 9.x. Preview: - [Elastic Cloud Serverless known issues](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/1550/release-notes/elastic-cloud-serverless/known-issues) - [Security Serverless 9.x known issues](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/1550/release-notes/elastic-security/known-issues) **Corresponding PRs** - 8.x: elastic/security-docs#6866 --------- Co-authored-by: Jared Burgett <[email protected]> Co-authored-by: shainaraskas <[email protected]>
1 parent ef03de5 commit 5b47cc9

File tree

2 files changed

+71
-1
lines changed

2 files changed

+71
-1
lines changed

release-notes/elastic-cloud-serverless/known-issues.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,38 @@ Known issues are significant defects or limitations that may impact your impleme
1616

1717
## Active
1818

19-
There are no active known issues.
19+
:::{dropdown} In {{sec-serverless}}, the entity risk score feature may stop persisting risk score documents
20+
21+
On May 30, 2025, it was discovered that the entity risk score feature may stop persisting risk score documents if risk scoring was previously turned on. This is due to a bug that prevents the `entity_analytics_create_eventIngest_from_timestamp-pipeline-<space_name>` ingest pipeline (which is set as a default pipeline for the risk scoring index in an earlier {{serverless-short}} release) from being created when {{kib}} starts up.
22+
23+
While document persistence may initially succeed, it will eventually fail after 0 to 30 days. This is how long it takes for the risk score data stream to roll over and apply its underlying index settings to the new default pipeline.
24+
25+
**Workaround**
26+
27+
To resolve this issue, manually create the ingest pipeline in each space that has entity risk scoring turned on. You can do this using a PUT request, which is described in the example below. When reviewing the example, note that `default` in the example ingest pipeline name below is the {{kib}} space ID.
28+
29+
```
30+
PUT /_ingest/pipeline/entity_analytics_create_eventIngest_from_timestamp-pipeline-default
31+
{
32+
"_meta": {
33+
"managed_by": "entity_analytics",
34+
"managed": true
35+
},
36+
"description": "Pipeline for adding timestamp value to event.ingested",
37+
"processors": [
38+
{
39+
"set": {
40+
"field": "event.ingested",
41+
"value": "{{_ingest.timestamp}}"
42+
}
43+
}
44+
]
45+
}
46+
```
47+
48+
After you complete this step, risk scores should automatically begin to successfully persist during the entity risk engine's next run. Details for the next run time are described on the **Entity risk score** page, where you can also manually run the risk score by clicking **Run Engine**.
49+
50+
:::
2051

2152
## Resolved
2253

release-notes/elastic-security/known-issues.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,45 @@ Known issues are significant defects or limitations that may impact your impleme
1616

1717
% :::
1818

19+
:::{dropdown} The entity risk score feature may stop persisting risk score documents
20+
21+
Applies to: {{stack}} 9.0.1, 9.0.1, 9.0.2
22+
23+
On May 30, 2025, it was discovered that the entity risk score feature may stop persisting risk score documents if risk scoring was turned on before you upgraded to {{stack}} 8.18.0+ or 9.0.0+. This is due to a bug that prevents the `entity_analytics_create_eventIngest_from_timestamp-pipeline-<space_name>` ingest pipeline (which is set as a default pipeline for the risk scoring index in {{stack}} 8.18.0) from being created when {{kib}} starts up.
24+
25+
While document persistence may initially succeed, it will eventually fail after 0 to 30 days. This is how long it takes for the risk score data stream to roll over and apply its underlying index settings to the new default pipeline.
26+
27+
**NOTE:** This bug does not affect {{es}} clusters created in {{stack}} 8.18.0 or 9.0.0 and higher. It also won't affect you if you only turned on entity risk scoring in {{stack}} 8.18.0 or 9.0.0 and higher.
28+
29+
**Workaround**
30+
31+
To resolve this issue, apply the following workaround before or after upgrading to {{stack}} 9.0.0 or higher.
32+
33+
First, manually create the ingest pipeline in each space that has entity risk scoring turned on. You can do this using a PUT request, which is described in the example below. When reviewing the example, note that `default` in the example ingest pipeline name below is the {{kib}} space ID.
34+
35+
```
36+
PUT /_ingest/pipeline/entity_analytics_create_eventIngest_from_timestamp-pipeline-default
37+
{
38+
"_meta": {
39+
"managed_by": "entity_analytics",
40+
"managed": true
41+
},
42+
"description": "Pipeline for adding timestamp value to event.ingested",
43+
"processors": [
44+
{
45+
"set": {
46+
"field": "event.ingested",
47+
"value": "{{_ingest.timestamp}}"
48+
}
49+
}
50+
]
51+
}
52+
```
53+
54+
After you complete this step, risk scores should automatically begin to successfully persist during the entity risk engine's next run. Details for the next run time are described on the **Entity risk score** page, where you can also manually run the risk score by clicking **Run Engine**.
55+
56+
:::
57+
1958
:::{dropdown} Installing an {{elastic-defend}} integration or a new agent policy upgrades installed prebuilt rules, reverting user customizations and overwriting user-added actions and exceptions
2059

2160
Applies to: {{stack}} 9.0.0

0 commit comments

Comments
 (0)