elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.35k stars 7.98k forks source link

Automated creation of cloud credentials #175977

Open maxcold opened 3 months ago

maxcold commented 3 months ago

User story As a user of Cloud Security in Agentless I want help in creating cloud resources I need to make CSPM integration work so that I don't spend too much time figuring out what exactly I need to do

Motivation

If users don't have credentials required for CSPM to work at hand, we want to help them out by providing a convenient way to create one on a cloud provider of their choice (AWS, GCP, Azure), eg. Cloudformation in case of AWS

Design https://www.figma.com/file/jmdsEtaqB6im6T0Y08Vais/Agentless-CSPM-for-serverless?type=design&node-id=3557-11941&mode=design&t=vjweBGMeadQ7d2BP-0

Image

Definition of done

Out of scope

Related tasks/epics

Blocked by

Team tag

@elastic/kibana-cloud-security-posture

maxcold commented 3 months ago

@tin @kfirpeled there are a couple of open questions for this feature:

  1. Am I correct that we want to support all three cloud providers with this feature, not only AWS? Assuning that we bring Agentless support to GCP and Azure as well
  2. Is the feature agentless specific? We have the same setup methods in ESS/on-prem, should we also provide the cloudformation (or other tech) option to create credentials there?
  3. We need to work on a copy and the flow a bit more in my opinion. For example, in case of AWS, we support Direct Access Keys and Temp Keys as credentials for Agentless. Will cloudformation create one or the other? We need to make sure we explain well what to expect from the feature
oren-zohar commented 3 months ago

@maxcold @kfirpeled @olegsu @tehilashn I think my team can take care of the template part (Cloudformation, ARM, etc) next sprint

maxcold commented 1 month ago

@maxcold check for other tickets to link here

maxcold commented 1 month ago

@tinnytintin10 can you confirm that we prio this feature for Agentless, so there is no need to implement the Cloudformation/ARM Template/Cloud Shell for credential options not supported by Agentless

Omolola-Akinleye commented 1 week ago

Currently for this sprint the following cloud providers will be done for 8.15.0 :

With Azure ARM Template is not possible to create Automation Credentials Google Cloud Shell Work is still in progress and merged by end of next week.