Checklist
Description
Several arrays under attackProtection are non-deterministically sorted. This causes git thrash and unnecessary change management.
Expectation
Arrays should be sorted deterministically. The output should only change when changes are made to it.
Reproduction
- Enable attack protection (specifically breached password)
- Run a YAML export and commit the results
- ???
- Run another YAML export and diff
Here are some examples:
@@ -5681,14 +5761,14 @@ attackProtection:
breachedPasswordDetection:
enabled: false
shields:
- - user_notification
- - block
- admin_notification
+ - block
+ - user_notification
admin_notification_frequency:
- - daily
+ - weekly
- monthly
- immediately
- - weekly
+ - daily
method: standard
stage:
pre-user-registration:
@@ -5623,13 +5681,13 @@ attackProtection:
breachedPasswordDetection:
enabled: false
shields:
- - admin_notification
- - block
- user_notification
+ - block
+ - admin_notification
admin_notification_frequency:
- - immediately
- daily
- monthly
+ - immediately
- weekly
method: standard
stage:
@@ -5605,9 +5628,9 @@ attackProtection:
- user_notification
admin_notification_frequency:
- immediately
+ - daily
- monthly
- weekly
- - daily
method: standard
stage:
pre-user-registration:
Deploy CLI version
8.41.0
Node version
22.22.0
Checklist
Description
Several arrays under
attackProtectionare non-deterministically sorted. This causes git thrash and unnecessary change management.Expectation
Arrays should be sorted deterministically. The output should only change when changes are made to it.
Reproduction
Here are some examples:
Deploy CLI version
8.41.0
Node version
22.22.0