Skip to content

Commit

Permalink
Fixing gcp json parsing for aquasecurity#269 (aquasecurity#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhankinsgdl authored Mar 30, 2021
1 parent 1947ac5 commit bd4bbf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ if (config.credentials.aws.credential_file) {
} else if (config.credentials.google.credential_file) {
settings.cloud = 'google';
cloudConfig = loadHelperFile(config.credentials.google.credential_file);
cloudConfig.project = cloudConfig.project_id;
} else if (config.credentials.google.project) {
settings.cloud = 'google';
checkRequiredKeys(config.credentials.google, ['client_email', 'private_key']);
Expand Down

0 comments on commit bd4bbf1

Please sign in to comment.