Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an integration test for --elastic-agent-cert-key-passphrase with Elastc Defend installed #5491

Closed
AndersonQ opened this issue Sep 10, 2024 · 1 comment · Fixed by #5889
Assignees
Labels
enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@AndersonQ
Copy link
Member

AndersonQ commented Sep 10, 2024

In order to fully validate #4515 a integration test should be added. The integration test should run the Elastic Agent using mTLS for control plane communication, either through a proxy or directly connecting to fleet-server.
The test needs to validate:

  • the Elastic Agent is running and successfully communicating with fleet-server
  • a client certificate in the policy takes precedence over the CLI configuration (--elastic-agent-cert-key-passphrase). That means, a policy client TLS configuration fully overrides the one coming from the CLI, the cert-key-passphrase is cleared if the CLI define it but not the policy
  • a policy with no client TLS configuration does not override the CLI configuration
  • Elastic Defend is installed and successfully connecting to fleet-server
    • open question: is relying on Elastic Defend status enough to validate that?

This issue is blocked by:

@AndersonQ AndersonQ added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Sep 10, 2024
@AndersonQ AndersonQ self-assigned this Sep 10, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
2 participants