Remove authenticate.failed from the notification_opt_out list

authenticate.failed in the list is not working as the correct
notification is authenticate.failure (see [0]), this way we keep the
default behaviour, and the users still have the ability to add their
events to this list at deployment time.

[0]https://github.com/openstack/pycadf/blob/stable/victoria/pycadf/cadftaxonomy.py#L76

Change-Id: If3d818dac220a105f4aba382537c09ab4ee1abd5
Closes-Bug: 1954665
This commit is contained in:
Boris Bobrov 2021-12-13 14:34:50 +01:00 committed by elajkat
parent 02db926396
commit 0b46eab168
1 changed files with 1 additions and 2 deletions

View File

@ -120,8 +120,7 @@ auditing use cases.
notification_opt_out = cfg.MultiStrOpt(
'notification_opt_out',
default=["identity.authenticate.success",
"identity.authenticate.pending",
"identity.authenticate.failed"],
"identity.authenticate.pending"],
help=utils.fmt("""
You can reduce the number of notifications keystone emits by explicitly
opting out. Keystone will not emit notifications that match the patterns