valued_resources
Creates, updates, deletes, gets or lists a valued_resources
resource.
Overview
Name | valued_resources |
Type | Resource |
Id | google.securitycenter.valued_resources |
Fields
The following fields are returned by SELECT
queries:
- organizations_simulations_valued_resources_get
- organizations_simulations_attack_exposure_results_valued_resources_list
- organizations_simulations_valued_resources_list
- organizations_valued_resources_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789 |
displayName | string | Human-readable name of the valued resource. |
exposedScore | number (double) | Exposed score for this valued resource. A value of 0 means no exposure was detected exposure. |
resource | string | The full resource name of the valued resource. |
resourceType | string | The resource type of the valued resource. |
resourceValue | string | How valuable this resource is. |
resourceValueConfigsUsed | array | List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789 |
displayName | string | Human-readable name of the valued resource. |
exposedScore | number (double) | Exposed score for this valued resource. A value of 0 means no exposure was detected exposure. |
resource | string | The full resource name of the valued resource. |
resourceType | string | The resource type of the valued resource. |
resourceValue | string | How valuable this resource is. |
resourceValueConfigsUsed | array | List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789 |
displayName | string | Human-readable name of the valued resource. |
exposedScore | number (double) | Exposed score for this valued resource. A value of 0 means no exposure was detected exposure. |
resource | string | The full resource name of the valued resource. |
resourceType | string | The resource type of the valued resource. |
resourceValue | string | How valuable this resource is. |
resourceValueConfigsUsed | array | List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789 |
displayName | string | Human-readable name of the valued resource. |
exposedScore | number (double) | Exposed score for this valued resource. A value of 0 means no exposure was detected exposure. |
resource | string | The full resource name of the valued resource. |
resourceType | string | The resource type of the valued resource. |
resourceValue | string | How valuable this resource is. |
resourceValueConfigsUsed | array | List 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
organizations_simulations_valued_resources_get | select | organizationsId , simulationsId , valuedResourcesId | Get the valued resource by name | |
organizations_simulations_attack_exposure_results_valued_resources_list | select | organizationsId , simulationsId , attackExposureResultsId | filter , pageToken , pageSize , orderBy | Lists the valued resources for a set of simulation results and filter. |
organizations_simulations_valued_resources_list | select | organizationsId , simulationsId | filter , pageToken , pageSize , orderBy | Lists the valued resources for a set of simulation results and filter. |
organizations_valued_resources_list | select | organizationsId | filter , pageToken , pageSize , orderBy | Lists 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.
Name | Datatype | Description |
---|---|---|
attackExposureResultsId | string | |
organizationsId | string | |
simulationsId | string | |
valuedResourcesId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- organizations_simulations_valued_resources_get
- organizations_simulations_attack_exposure_results_valued_resources_list
- organizations_simulations_valued_resources_list
- organizations_valued_resources_list
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;
Lists the valued resources for a set of simulation results and filter.
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND attackExposureResultsId = '{{ attackExposureResultsId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}';
Lists the valued resources for a set of simulation results and filter.
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}';
Lists the valued resources for a set of simulation results and filter.
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}';