Skip to main content

attack_paths

Creates, updates, deletes, gets or lists an attack_paths resource.

Overview

Nameattack_paths
TypeResource
Idgoogle.securitycenter.attack_paths

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78
edgesarrayA list of the edges between nodes in this attack path.
pathNodesarrayA list of nodes that exist in this attack path.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_simulations_valued_resources_attack_paths_listselectorganizationsId, simulationsId, valuedResourcesIdfilter, pageToken, pageSizeLists the attack paths for a set of simulation results or valued resources and filter.
organizations_simulations_attack_exposure_results_attack_paths_listselectorganizationsId, simulationsId, attackExposureResultsIdfilter, pageToken, pageSizeLists the attack paths for a set of simulation results or valued resources and filter.
organizations_simulations_attack_paths_listselectorganizationsId, simulationsIdfilter, pageToken, pageSizeLists the attack paths for a set of simulation results or valued resources and filter.
organizations_attack_paths_listselectorganizationsIdfilter, pageToken, pageSizeLists the attack paths for a set of simulation results or valued resources 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
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists the attack paths for a set of simulation results or valued resources and filter.

SELECT
name,
edges,
pathNodes
FROM google.securitycenter.attack_paths
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND valuedResourcesId = '{{ valuedResourcesId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';