Skip to main content

attack_paths

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

Overview

Nameattack_paths
TypeResource
Idgoogle.securitycenter.attack_paths

Fields

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

NameAccessible byRequired ParamsDescription
organizations_simulations_attack_exposure_results_attack_paths_listSELECTattackExposureResultsId, organizationsId, simulationsIdLists the attack paths for a set of simulation results or valued resources and filter.
organizations_simulations_attack_paths_listSELECTorganizationsId, simulationsIdLists the attack paths for a set of simulation results or valued resources and filter.
organizations_simulations_valued_resources_attack_paths_listSELECTorganizationsId, simulationsId, valuedResourcesIdLists the attack paths for a set of simulation results or valued resources and filter.

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 }}'
AND simulationsId = '{{ simulationsId }}';