From dc29fe6746b2b173918ec7437503abd2350db557 Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak Date: Wed, 24 Aug 2022 10:41:13 +0200 Subject: [PATCH 1/2] changelog entry --- .changelog/14212.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/14212.txt diff --git a/.changelog/14212.txt b/.changelog/14212.txt new file mode 100644 index 000000000000..4e5a4bb63e31 --- /dev/null +++ b/.changelog/14212.txt @@ -0,0 +1,3 @@ +```release-note:bug +audit (Enterprise): fixed inconsistency in event filter logic +``` From 9a03d1ee28f9d8cb8787258e7731edacafa533c3 Mon Sep 17 00:00:00 2001 From: Piotr Kazmierczak Date: Wed, 24 Aug 2022 10:43:57 +0200 Subject: [PATCH 2/2] upgrade specific --- website/content/docs/upgrade/upgrade-specific.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/content/docs/upgrade/upgrade-specific.mdx b/website/content/docs/upgrade/upgrade-specific.mdx index 86b249b205d9..2dfc26c1245c 100644 --- a/website/content/docs/upgrade/upgrade-specific.mdx +++ b/website/content/docs/upgrade/upgrade-specific.mdx @@ -23,6 +23,13 @@ to version 3, and in Nomad 1.4.0 Nomad requires the use of raft protocol version 3. If [`raft_protocol`] version is explicitly set, it must now be set to `3`. For more information see the [Upgrading to Raft Protocol 3] guide. +#### Audit logs filtering logic changed + +Audit Log filtering in previous versions of Nomad handled `stages` and +`operations` filters as `OR` filters. If _either_ condition was met, the logs +would be filtered. As of 1.4.0, `stages` and `operations` are treated as `AND +filters`. Logs will only be filtered if all filter conditions match. + ## Nomad 1.3.3 Environments that don't support the use of [`uid`][template_uid] and