elastic / cloudbeat

Analyzing Cloud Security Posture
Other
15 stars 43 forks source link

Test `Credentials JSON` authentication method #2127

Closed orouz closed 6 months ago

orouz commented 7 months ago

Motivation

when users install CSPM GCP and select manual deployment, they need to provide a service account json - Credentials JSON which will be used to initialize the GCP clients. we need a test to verify this authentication method works.

currently the GCP sanity tests use the credentials file located on the hosted machine, so we're only testing a single authentication option.

the test can be pretty simple - provide a a service account JSON and verify a client has been initialized successfully

Definition of done

Related issues

orouz commented 6 months ago

since in https://github.com/elastic/cloudbeat/pull/2118 this is effectively being tested whenever we change something in the deployment-manager folder