Skip to content

Improve authentication provider test coverage #258228

Description

@jeramysoucy

Authentication Provider Test Coverage Gaps

The following table summarizes test coverage across authentication providers. Gaps where SAML/OIDC have coverage but PKI/Kerberos do not are highlighted.

Coverage Matrix

Test Type SAML OIDC PKI Kerberos
API integration (base)
API integration (HTTP/2)
API integration (cloud)
API integration (anonymous access)
API integration (implicit flow) N/A N/A
API integration (multiple realms)
Functional UI (base)
Functional UI (HTTP/2)

Missing Files

HTTP/2 API integration configs:

  • x-pack/platform/test/security_api_integration/pki.http2.config.ts
  • x-pack/platform/test/security_api_integration/kerberos.http2.config.ts

Functional UI test configs and test directories:

  • x-pack/platform/test/security_functional/pki.config.ts
  • x-pack/platform/test/security_functional/pki.http2.config.ts
  • x-pack/platform/test/security_functional/tests/pki/
  • x-pack/platform/test/security_functional/kerberos.config.ts
  • x-pack/platform/test/security_functional/kerberos.http2.config.ts
  • x-pack/platform/test/security_functional/tests/kerberos/

Notes

Some asymmetries are intentional and not considered gaps:

  • OIDC implicit flow / multiple realms — OIDC-specific protocol features, not applicable to PKI or Kerberos
  • Kerberos anonymous access — a Kerberos-specific scenario with no equivalent for other providers
  • SAML cloud config — cloud deployment concern not currently required for other providers

This assessment was completed using AI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Security/AuthenticationPlatform Security - AuthenticationTeam:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//testingIssues related to tests.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions