Verify failure log emission in X.509 SASL egress authentication

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Server Security 2026-01-16
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-107487, we added duration metrics for the SASL conversation that happens on the egress/client side. Currently, we test that the success log is emitted when X.509 authentication completes successfully (jstests/ssl_x509/auth_client_metrics.js).

      However, there is no corresponding test for the failure case. We should add coverage to verify that the failure log — implemented in authenticate.cpp — is emitted as expected when X.509 authentication fails.

            Assignee:
            Gabriel Marks
            Reporter:
            Jenny Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: