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

Add table gcp_cloud_asset Closes #484 #532

Merged
merged 6 commits into from
Jan 15, 2024
Merged

Add table gcp_cloud_asset Closes #484 #532

merged 6 commits into from
Jan 15, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Jan 10, 2024

Integration test logs

Logs
N/A

Example query results

Results
select
  name,
  asset_type,
  update_time,
  ancestors
from
  gcp_cloud_asset_inventory limit 5;
[
 {
  "ancestors": [
   "projects/33333333333",
   "folders/3333334444",
   "folders/973319786971",
   "organizations/33333355555"
  ],
  "asset_type": "apikeys.googleapis.com/Key",
  "name": "//apikeys.googleapis.com/projects/33333333333/locations/global/keys/1b871ce5-0fe8-43f8-8be7-c17412df8765",
  "update_time": "2023-11-24T13:35:25+05:30"
 },
 {
  "ancestors": [
   "projects/33333333333",
   "folders/3333334444",
   "folders/973319786971",
   "organizations/33333355555"
  ],
  "asset_type": "apikeys.googleapis.com/Key",
  "name": "//apikeys.googleapis.com/projects/33333333333/locations/global/keys/80bd9a2a-1133-41be-8c2f-90793640dece",
  "update_time": "2023-11-27T19:36:05+05:30"
 },
 {
  "ancestors": [
   "projects/33333333333",
   "folders/3333334444",
   "folders/973319786971",
   "organizations/33333355555"
  ],
  "asset_type": "apikeys.googleapis.com/Key",
  "name": "//apikeys.googleapis.com/projects/33333333333/locations/global/keys/6053ca53-2666-46dd-99df-2ee9c557f6cf",
  "update_time": "2023-10-19T12:36:27+05:30"
 },
 {
  "ancestors": [
   "projects/33333333333",
   "folders/3333334444",
   "folders/973319786971",
   "organizations/33333355555"
  ],
  "asset_type": "aiplatform.googleapis.com/Endpoint",
  "name": "//aiplatform.googleapis.com/projects/33333333333/locations/us-central1/endpoints/5580736193521254400",
  "update_time": "2023-09-11T23:15:23+05:30"
 },
 {
  "ancestors": [
   "projects/33333333333",
   "folders/3333334444",
   "folders/973319786971",
   "organizations/33333355555"
  ],
  "asset_type": "apikeys.googleapis.com/Key",
  "name": "//apikeys.googleapis.com/projects/33333333333/locations/global/keys/41d0591d-720a-43bc-bf58-38fe7fdd52f4",
  "update_time": "2023-07-25T11:34:46+05:30"
 }
]

@ParthaI ParthaI requested a review from bigdatasourav January 10, 2024 09:57
@ParthaI ParthaI self-assigned this Jan 10, 2024
@ParthaI ParthaI linked an issue Jan 10, 2024 that may be closed by this pull request
@bigdatasourav bigdatasourav changed the title Add table gcp_cloud_asset_inventory Closes #484 Add table gcp_cloud_asset Closes #484 Jan 15, 2024
@bigdatasourav bigdatasourav merged commit 87f803a into main Jan 15, 2024
1 check passed
@bigdatasourav bigdatasourav deleted the issue-484 branch January 15, 2024 06:36
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

Successfully merging this pull request may close these issues.

GCP plugin can not query Asset Inventory
2 participants