Windows Server 2022 must not allow anonymous enumeration of shares.
Allowing anonymous logon users (null session connections) to list all account names and enumerate all shared resources can provide a map of potential points to attack the system.
How this relates to the STIG checklist: STIG vs SCAP benchmark.