Skip to main content

assets

Creates, updates, deletes, gets or lists a assets resource.

Overview

Nameassets
TypeResource
Idgoogle.securitycenter.assets

Fields

NameDatatypeDescription
assetobjectSecurity Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
stateChangestringState change of the asset between the points in time.

Methods

NameAccessible byRequired ParamsDescription
folders_assets_listSELECTfoldersIdLists an organization's assets.
organizations_assets_listSELECTorganizationsIdLists an organization's assets.
projects_assets_listSELECTprojectsIdLists an organization's assets.
folders_assets_groupEXECfoldersIdFilters an organization's assets and groups them by their specified properties.
organizations_assets_groupEXECorganizationsIdFilters an organization's assets and groups them by their specified properties.
organizations_assets_run_discoveryEXECorganizationsIdRuns asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.
projects_assets_groupEXECprojectsIdFilters an organization's assets and groups them by their specified properties.

SELECT examples

Lists an organization's assets.

SELECT
asset,
stateChange
FROM google.securitycenter.assets
WHERE foldersId = '{{ foldersId }}';