Skip to main content

valued_resources

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

Overview

Namevalued_resources
TypeResource
Idgoogle.securitycenter.valued_resources

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringValued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789
displayNamestringHuman-readable name of the valued resource.
exposedScorenumber (double)Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
resourcestringThe full resource name of the valued resource.
resourceTypestringThe resource type of the valued resource.
resourceValuestringHow valuable this resource is.
resourceValueConfigsUsedarrayList of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_simulations_valued_resources_getselectorganizationsId, simulationsId, valuedResourcesIdGet the valued resource by name
organizations_simulations_attack_exposure_results_valued_resources_listselectorganizationsId, simulationsId, attackExposureResultsIdfilter, pageToken, pageSize, orderByLists the valued resources for a set of simulation results and filter.
organizations_simulations_valued_resources_listselectorganizationsId, simulationsIdfilter, pageToken, pageSize, orderByLists the valued resources for a set of simulation results and filter.
organizations_valued_resources_listselectorganizationsIdfilter, pageToken, pageSize, orderByLists the valued resources for a set of simulation results and filter.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
attackExposureResultsIdstring
organizationsIdstring
simulationsIdstring
valuedResourcesIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Get the valued resource by name

SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND valuedResourcesId = '{{ valuedResourcesId }}' -- required;