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

GCP Deployment Script Error in Agentless CSPM #201055

Open
opauloh opened this issue Nov 20, 2024 · 2 comments
Open

GCP Deployment Script Error in Agentless CSPM #201055

opauloh opened this issue Nov 20, 2024 · 2 comments
Assignees
Labels
Team:Cloud Security Cloud Security team related

Comments

@opauloh
Copy link
Contributor

opauloh commented Nov 20, 2024

Describe the bug

As identified here, GCP Instructions don't work on serverless.

Preconditions

  1. Serverless environment

To Reproduce
Steps to reproduce the behavior:

  1. Log in a Serverless environment with an user with Fleet access
  2. Attempt to install CSPM Integration -> Select GCP -> Single account
  3. Advanced options -> Select Agentless
  4. Replace <PROJECT_ID> with a project and copy the config command
  5. Click Launch Cloud Shell and Paste the copied command
  6. Confirm the following Error appears:
gcloud config set project my-project ./deploy_service_account.sh

ERROR: (gcloud.config.set) unrecognized arguments: ./deploy_service_account.sh 

To search the help text of gcloud commands, run:
  gcloud help -- SEARCH_TERM

Expected behavior

The correct command should be:

gcloud config set project my-project && ./deploy_service_account.sh

Version

Serverless build 80725
Kibana Commit 0ed8230

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 20, 2024
@opauloh opauloh added the Team:Cloud Security Cloud Security team related label Nov 20, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 20, 2024
@opauloh opauloh changed the title Agentless GCP Instructions doesn't work on Serverless Agentless GCP Instructions don't work on Serverless Nov 20, 2024
@opauloh opauloh removed the v8.18.0 label Nov 20, 2024
@opauloh
Copy link
Contributor Author

opauloh commented Nov 21, 2024

@seanrathier - I am assigning you to this issue for acknowledgement, it was found as part of the Custom Roles validation in serverless.

@opauloh opauloh changed the title Agentless GCP Instructions don't work on Serverless GCP Deployment Script Error in Agentless CSPM Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Cloud Security Cloud Security team related
Projects
None yet
Development

No branches or pull requests

3 participants