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

Use cycle-aware cache for GCP cloud metadata #2182

Open
1 task
orouz opened this issue May 7, 2024 · 0 comments
Open
1 task

Use cycle-aware cache for GCP cloud metadata #2182

orouz opened this issue May 7, 2024 · 0 comments
Labels
gcp Team:Cloud Security Cloud Security team related

Comments

@orouz
Copy link
Collaborator

orouz commented May 7, 2024

Motivation

we currently initiate a cache in the GCP asset inventory provider to hold cloud account metadata:

crmCache: make(map[string]*fetching.CloudAccountMetadata),

but if the project/org names changed between cycles (unlikely, but possible) we'd still get the old values. we still need the cache itself, as resources tend to have same project/org names, but we need to make sure the values are fresh.

Definition of done

  • make sure we get fresh values for cloud account metadata

Related tasks/epics

@orouz orouz added Team:Cloud Security Cloud Security team related gcp labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gcp Team:Cloud Security Cloud Security team related
Projects
None yet
Development

No branches or pull requests

1 participant