Complete GCP Cloud Discovery API entries in Cloud Inventory Resource Inclusion List?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 01:56 PM
For GCP Cloud Discoveries, can someone tell me if we need to have all Google API's used by Discovery listed in the Cloud Inventory Resource Inclusion List (sa_cloud_inventory_resource_whitelist)? If so, how can we verify that we currently have the complete list? OOTB, we currently only have 31 entries in that table for GCP, but that does not appear to be anywhere-near complete.
Thanks!
Russ
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 09:37 PM
Records in this table get populated once discovery is run.
https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/service-mapping/reference/gcp-resource-inventory-discovery.html
The pattern collects inventory data either for all GCP-supported resources or for a preconfigured inclusion list of resources. The Cloud Inventory Resource Inclusion List contains all resource types supported by GCP Cloud Asset Inventory, except for Compute Engine resources and IAM policies. You can expand the inclusion list with additional resource types per your requirements. For more information about Google Cloud assets, see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 08:48 AM
Thanks for the information Anil, that really helps! Do you know for sure if the records in the Cloud Inventory Resource Inclusion Lists actually get created the first time Discovery runs on the instance, or is it when the 'Discovery and Service Mapping Patterns' plugin is first installed?
Thanks again,
Russ

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 09:59 AM
FYI, I just verified that our current list of Cloud Inventory Inclusions for GCP were all added on 10/02/2019, and were part of the 'Discovery and Service Mapping Pattern' plugin upgrade that occurred on that day.
Since modifying this OOTB whitelisting would potentially introduce customizations down the road for our GCP Discoveries, I am hesitant to make any changes to it. There are currently 29 entries for GCP in this table.
Does this concern sound reasonable to others, or am I misunderstanding the role of this table (sa_cloud_inventory_resource_whitelist)?
Thanks!
Russ