Skip to content

Commit 7ef02d6

Browse files
First draft
1 parent 84e9a60 commit 7ef02d6

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

serverless/serverless-changelog.asciidoc

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,67 @@ For serverless changes in Cloud Console, refer to https://www.elastic.co/guide/e
99
[[serverless-changelog-12032024]]
1010
== December 3, 2024
1111

12+
[discrete]
13+
[[known-issues-12032024]]
14+
=== Known issues
15+
16+
// tag::known-issue[201820]
17+
[discrete]
18+
.The **Exceptions** tab won't properly load if exceptions contain comments with the newline character (`\n`)
19+
[%collapsible]
20+
====
21+
*Details* +
22+
On December 5, 2024, it was discovered that the **Exceptions** tab will not load properly if any exceptions contain comments with newline characters (`\n`). This issue occurs when you upgrade to 8.16.0 or later.
23+
24+
*Workaround* +
25+
26+
For custom rules:
27+
28+
. From the {security-app}, <<import-export-rules-ui,export>> the rule or rules with the affected exception lists.
29+
. Modify the `.ndjson` file so `comments` no longer contain newline characters.
30+
. Return to the {security-app} and <<import-export-rules-ui,re-import>> the rules. Make sure to select the **Overwrite existing exception lists with conflicting "list_id"** option.
31+
32+
For prebuilt rules:
33+
34+
. Fetch the affected exception list ID or IDs that are associated with the rule.
35+
.. Find the affected rule's ID (`id`). From the {security-app}, open rule's details page, go to the page's URL, and copy the string at the end. For example, the string `167a5f6f-2148-4792-8226-b5e7a58ef46e` at the end of the URL http://host.name/app/security/rules/id/167a5f6f-2148-4792-8226-b5e7a58ef46e is a rule `id`.
36+
.. Use the `id` to fetch the rule's details using the {api-kibana}/operation/operation-readrule[Retrieve a detection rule API]. Here is an example request that includes the rule ID:
37+
+
38+
[source,console]
39+
----
40+
curl -H 'kbn-xsrf: true' -H 'elastic-api-version: 2023-10-31' http://localhost:5601/api/detection_engine/rules?id=167a5f6f-2148-4792-8226-b5e7a58ef46e -u elastic:changeme
41+
----
42+
+
43+
.. The JSON response will contain the `id`, `list_id`, and `namespace_type` values within the `exceptions_list` key (as shown below). You will need these values to retrieve the exception list using the Exception list API.
44+
+
45+
[source,console]
46+
----
47+
{
48+
"id": "167a5f6f-2148-4792-8226-b5e7a58ef46e",
49+
"exceptions_list": [
50+
{
51+
"id": "490525a2-eb66-4320-95b5-88bdd1302dc4",
52+
"list_id": "f75aae6f-0229-413f-881d-81cb3abfbe2d",
53+
"namespace_type": "single"
54+
}
55+
]
56+
}
57+
----
58+
+
59+
. Retrieve the affected exception list using the export exceptions API. Insert the values for the `id`, `list_id`, and `namespace_type` parameters into the following API call:
60+
+
61+
[source,console]
62+
----
63+
curl -XPOST -u elastic:changeme -H 'kbn-xsrf: true' -H 'elastic-api-version: 2023-10-31' 'http://localhost:5601/api/exception_lists/_export?list_id=f75aae6f-0229-413f-881d-81cb3abfbe2d&id=490525a2-eb66-4320-95b5-88bdd1302dc4&namespace_type=single' -o list.ndjson
64+
----
65+
+
66+
. Modify the exception list's `.ndjson` file to ensure that no `comments[].comment` values contain newline characters (`\n`).
67+
. From the {security-app}, re-import the modified exception list using **Import exception lists** option on the **Shared Exception Lists** page (find the page in the navigation menu or by using the {kibana-ref}/introduction.html#kibana-navigation-search[global search field]).
68+
+
69+
The import will initially fail because the exception list already exists. After the failure, an option to overwrite the existing list appears. Select the option, then resubmit the request to import the updated exception list.
70+
====
71+
// end::known-issue[201820]
72+
1273
[discrete]
1374
[[features-enhancements-12032024]]
1475
=== Features and enhancements

0 commit comments

Comments
 (0)