cloudbeat
cloudbeat copied to clipboard
Enrich GCP asset types with multiple values
Summary of your changes
- modifies ECS types that accept a
keywordfromstringto[]string - adds cloud run enricher
- adds utility function to traverse maps/arrays and collect leaf string values
- improves testing to account for all enrichers
with this PR, all asset types required for GA are fetched and enriched plus additional enrichments we may want to include next would be easy to collect.
Screenshot/Data
Related Issues
- closes https://github.com/elastic/cloudbeat/issues/3018
This pull request does not have a backport label. Could you fix it @orouz? 🙏 To fixup this pull request, you need to add the backport labels for the needed branches, such as:
backport-v./d./d./dis the label to automatically backport to the8./dbranch./dis the digitbackport-active-allis the label that automatically backports to all active branches.backport-active-8is the label that automatically backports to all active minor branches for the 8 major.backport-active-9is the label that automatically backports to all active minor branches for the 9 major. NOTE:backport-v8.xhas been added to help with the transition to the new branch 8.x.
This pull request is now in conflicts. Could you fix it? 🙏 To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
git fetch upstream
git checkout -b gcp_asset_path_values upstream/gcp_asset_path_values
git merge upstream/main
git push upstream gcp_asset_path_values
One more thing - it probably needs backport-v9.x label as well.