Skip to content

Conversation

opauloh
Copy link
Contributor

@opauloh opauloh commented Sep 27, 2025

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).

image

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

@opauloh opauloh added the release_note:skip Skip the PR/issue when compiling release notes label Sep 27, 2025
@opauloh opauloh requested a review from a team as a code owner September 27, 2025 21:31
@opauloh opauloh added backport:skip This PR does not require backporting Team:Cloud Security Cloud Security team related v9.2.0 labels Sep 27, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

Copy link

cla-checker-service bot commented Sep 27, 2025

💚 CLA has been signed

@opauloh opauloh force-pushed the fix/mki-aws-direct-access-key-id branch from 843d8a8 to 96ee56b Compare September 27, 2025 21:39
@niros1 niros1 requested a review from Copilot September 28, 2025 06:57
Copy link
Contributor

@Copilot Copilot AI left a 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

Copy link
Contributor

@JordanSh JordanSh left a 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

@JordanSh JordanSh requested a review from Copilot September 28, 2025 08:32
Copy link
Contributor

@Copilot Copilot AI left a 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.
@JordanSh JordanSh enabled auto-merge (squash) September 28, 2025 08:35
@niros1 niros1 requested a review from JordanSh September 28, 2025 12:17
opauloh and others added 4 commits September 28, 2025 11:44
@opauloh opauloh requested a review from seanrathier September 28, 2025 19:10
@opauloh opauloh changed the title [Cloud Connectors] Fix agentless agent creation test timeout on MKI [Cloud Connectors] Skip agentless agent creation test timeout on MKI Sep 28, 2025
@elasticmachine
Copy link
Contributor

elasticmachine commented Sep 28, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #23 / Fleet Endpoints Integrations inputs_with_standalone_docker_agent generate a valid config for standalone agents
  • [job] [logs] FTR Configs #23 / Fleet Endpoints Integrations inputs_with_standalone_docker_agent generate a valid config for standalone agents
  • [job] [logs] Jest Tests #7 / useSeverityAction update the severity cases

Metrics [docs]

✅ unchanged

History

@opauloh opauloh disabled auto-merge September 29, 2025 05:12
@opauloh opauloh enabled auto-merge (squash) September 29, 2025 05:13
@opauloh opauloh closed this Oct 2, 2025
auto-merge was automatically disabled October 2, 2025 22:57

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants