-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[Cloud Connectors] Skip agentless agent creation test timeout on MKI #236675
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
Conversation
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
💚 CLA has been signed |
843d8a8
to
96ee56b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes failing Serverless Security MKI Functional Tests by updating the UI interaction logic for CSPM agentless integrations from direct AWS access keys to the new cloud connector approach.
- Updates test files to use Role ARN and External ID inputs instead of direct access key/secret key fields
- Removes calls to
selectAwsCredentials('direct')
and related AWS credential input handling - Updates test descriptions to reflect the new cloud connector-based agentless setup
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
x-pack/solutions/security/test/serverless/functional/test_suites/ftr/cloud_security_posture/mki_only/agentless/mki_create_agent.ts | Removes AWS_INPUT_TEST_SUBJECTS import and updates credential handling to use Role ARN and External ID with corresponding environment variables |
x-pack/solutions/security/test/serverless/functional/test_suites/ftr/cloud_security_posture/agentless/create_agent.ts | Replaces direct access key inputs with Role ARN and External ID hardcoded test values |
x-pack/solutions/security/test/serverless/functional/test_suites/ftr/cloud_security_posture/agentless/cis_integration_aws.ts | Updates test descriptions and removes credential selector calls for cloud formation button tests |
x-pack/solutions/security/test/cloud_security_posture_functional/agentless/create_agent.ts | Updates two test methods to use Role ARN and External ID inputs instead of direct AWS credentials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove unused consts to pass ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Removed unused test ID constants for AWS direct access keys.
…ure_functional/agentless/create_agent.ts
Updated the AWS credentials input to use hardcoded values for testing.
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]
History
|
Summary
This PR skip failing Serverless Security MKI Functional Tests related to Cloud Security Posture (CSPM) agentless integrations.
The image suggests that the selected method is Direct Access, and the fields below are Cloud Connector fields (the dropdown position is weird).
It seems there's a race condition or out-of-sync error setting the method as direct access keys but still rendering the default fields