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

Filter out disabled Service Account keys in 1.7 #91

Open
dinvlad opened this issue Mar 2, 2022 · 2 comments
Open

Filter out disabled Service Account keys in 1.7 #91

dinvlad opened this issue Mar 2, 2022 · 2 comments

Comments

@dinvlad
Copy link
Contributor

dinvlad commented Mar 2, 2022

Hi Team,

The benchmark appears to report old Service Account keys, even if they're disabled. Could you add logic to 1.07 control that filters out disabled keys?

Thanks!

@aaronlippold
Copy link
Contributor

aaronlippold commented Mar 2, 2022 via email

@dinvlad
Copy link
Contributor Author

dinvlad commented Mar 3, 2022

@aaronlippold yes, there's disabled field on the ServiceAccountKey object, I believe:
https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts.keys#ServiceAccountKey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants