|
Post by JenHuang on Jul 22, 2020 10:05:19 GMT
There is the long description of the property AuthFailureLoggingThreshold. "longDescription": "This property shall contain the threshold for when an authorization failure is logged. Logging shall occur after every `n` occurrences of an authorization failure, where `n` represents the value of this property. If the value is `0`, logging of authorization failures shall be disabled."
Is the AuthFailureLoggingThreshold be used for all accounts or each account need to check seperatly?
|
|
|
Post by jautor on Jul 24, 2020 15:43:31 GMT
The threshold applies to each account. The underlying feature (disabling an account due to excessive invalid login attempts) tracks attempts per account, so the logging function follows that process. You would not want to take actions based on attempts across accounts, as that would provide a method to create a denial-of-service attack.
We've added a few words to the description for that property to make this clear in schema - so thanks for pointing this out.
Jeff
|
|
|
Post by JenHuang on Feb 25, 2021 9:28:28 GMT
Hi Jeff, The '0' has been defined as logging of authorization failures disabled and there is no way to logging by every authorization failures.
Should this be considered?
|
|
|
Post by jautor on Feb 25, 2021 21:52:28 GMT
Hi Jeff, The '0' has been defined as logging of authorization failures disabled and there is no way to logging by every authorization failures. Should this be considered? Setting AuthFailureLoggingThreshold to a value of 1 would log every authentication failure. The language is a bit cumbersome but that is the result. One means every failed attempt is logged, two means every 2nd attempt, three is every 3rd attempt, and so forth. Jeff
|
|
|
Post by mharishm on Aug 3, 2023 5:29:11 GMT
Hi Jeff,
Based on "AccountLockoutThreshold", redfish account gets locked till the number of seconds set in "AccountLockoutCounterResetAfter". My doubt is, do we need to still log failed attempt even after account gets locked.
For example.
Lets say
"AccountLockoutThreshold" = 5, "AuthFailureLoggingThreshold" = 3,
In the 3rd login failure attempt, we will log 1 entry for autherization failure and in the 5th login failure attempt we will log an entry for account lock. Does redfish should support loging failure attempt even for 6th attempt (when account is locked at 5th attempt)?
|
|
|
Post by mraineri on Aug 4, 2023 19:19:09 GMT
Since the two states are not tied together in the long descriptions, I wouldn't necessarily expect that the locked status of an account would impact whether or not a log entry is made for failed login attempts. So, on your 6th attempt, there would still be a log entry created.
|
|