Closed shravankshenoy closed 7 months ago
This is part of the output generated when I run the CloudAsset crawler. The actual list is much bigger, because of the the huge number of asset types Google Cloud supports.
Found complete list of supported asset types in the following link : https://cloud.google.com/asset-inventory/docs/supported-asset-types
{
"cloud_assets": [
{
"name": "//cloudbilling.googleapis.com/projects/circular-fusion-406401/billingInfo",
"assetType": "cloudbilling.googleapis.com/ProjectBillingInfo",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T01:41:08.364780Z"
},
{
"name": "//cloudresourcemanager.googleapis.com/projects/674352937902",
"assetType": "cloudresourcemanager.googleapis.com/Project",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T01:41:03.707782Z"
},
{
"name": "//logging.googleapis.com/projects/674352937902/locations/global/buckets/_Default",
"assetType": "logging.googleapis.com/LogBucket",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T06:54:40.032022Z"
},
{
"name": "//serviceusage.googleapis.com/projects/674352937902/services/bigquery.googleapis.com",
"assetType": "serviceusage.googleapis.com/Service",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T13:04:03.814827Z"
},
{
"name": "//serviceusage.googleapis.com/projects/674352937902/services/bigquerymigration.googleapis.com",
"assetType": "serviceusage.googleapis.com/Service",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T13:04:03.814827Z"
},
{
"name": "//serviceusage.googleapis.com/projects/674352937902/services/bigquerystorage.googleapis.com",
"assetType": "serviceusage.googleapis.com/Service",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T13:04:03.814827Z"
},
{
"name": "//serviceusage.googleapis.com/projects/674352937902/services/cloudapis.googleapis.com",
"assetType": "serviceusage.googleapis.com/Service",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T13:04:03.814827Z"
},
{
"name": "//serviceusage.googleapis.com/projects/674352937902/services/cloudasset.googleapis.com",
"assetType": "serviceusage.googleapis.com/Service",
"ancestors": [
"projects/674352937902"
],
"updateTime": "2023-11-27T13:04:03.814827Z"
}
]
}
Description
Changes Made
cloudasset_client.py
cloud_asset_crawler.py
test_unit.py
Testing
App ran successfully during local testing