attack_paths
Creates, updates, deletes, gets or lists an attack_paths resource.
Overview
| Name | attack_paths |
| Type | Resource |
| Id | google.securitycenter.attack_paths |
Fields
The following fields are returned by SELECT queries:
- organizations_simulations_valued_resources_attack_paths_list
- organizations_simulations_attack_exposure_results_attack_paths_list
- organizations_simulations_attack_paths_list
- organizations_attack_paths_list
| Name | Datatype | Description |
|---|---|---|
name | string | The attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78 |
edges | array | A list of the edges between nodes in this attack path. |
pathNodes | array | A list of nodes that exist in this attack path. |
| Name | Datatype | Description |
|---|---|---|
name | string | The attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78 |
edges | array | A list of the edges between nodes in this attack path. |
pathNodes | array | A list of nodes that exist in this attack path. |
| Name | Datatype | Description |
|---|---|---|
name | string | The attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78 |
edges | array | A list of the edges between nodes in this attack path. |
pathNodes | array | A list of nodes that exist in this attack path. |
| Name | Datatype | Description |
|---|---|---|
name | string | The attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78 |
edges | array | A list of the edges between nodes in this attack path. |
pathNodes | array | A list of nodes that exist in this attack path. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
organizations_simulations_valued_resources_attack_paths_list | select | organizationsId, simulationsId, valuedResourcesId | filter, pageToken, pageSize | Lists the attack paths for a set of simulation results or valued resources and filter. |
organizations_simulations_attack_exposure_results_attack_paths_list | select | organizationsId, simulationsId, attackExposureResultsId | filter, pageToken, pageSize | Lists the attack paths for a set of simulation results or valued resources and filter. |
organizations_simulations_attack_paths_list | select | organizationsId, simulationsId | filter, pageToken, pageSize | Lists the attack paths for a set of simulation results or valued resources and filter. |
organizations_attack_paths_list | select | organizationsId | filter, pageToken, pageSize | Lists 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.
| Name | Datatype | Description |
|---|---|---|
attackExposureResultsId | string | |
organizationsId | string | |
simulationsId | string | |
valuedResourcesId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- organizations_simulations_valued_resources_attack_paths_list
- organizations_simulations_attack_exposure_results_attack_paths_list
- organizations_simulations_attack_paths_list
- organizations_attack_paths_list
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 }}'
;
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 attackExposureResultsId = '{{ attackExposureResultsId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;
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 filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;
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 filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;