Skip to content

Commit 5e0ec79

Browse files
committed
Disable check for authentication_result
1 parent 4089da9 commit 5e0ec79

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

roles/rsyslog/templates/parse_stepupauth_to_mysql.py.j2

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,13 @@ def parse_stepup_lines(a):
8686
continue
8787

8888
# 1. Filtering condition: Only parse logs having authentication_result:OK
89-
if data.get("authentication_result") != "OK":
90-
continue
89+
# Only successful authentications are logged, so this check is not
90+
# necessary. There is currently a bug in the Stepup-Gateway where
91+
# FAILED is logged, even though the result is OK, making this check
92+
# do the wrong thing now.
93+
#
94+
#if data.get("authentication_result") != "OK":
95+
# continue
9196

9297
# 2. Extract required fields
9398
user_id = data.get("identity_id")

0 commit comments

Comments
 (0)