Microsoft Defender for Cloud
Developer and API

Retrieve attack path data with the Azure Resource Graph API

In brief

The page title and description now identify the Azure Resource Graph API. The example explains filtering attack path resources by subscription and display name, and the next-steps section received a navigation anchor.

What Defender admins need to know

Administrators get clearer guidance on which API to use and how to target a specific attack path in queries; no action is required.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.


**Get all instances for a specific attack path**:
ForThe following query filters attack path resources within a specific subscription and matches them by display name. Replace `<DISPLAY_NAME>` with the name of the attack path, for example, `Internet exposed VM with high severity vulnerabilities and read permission to a Key Vault`.

```kusto
securityresources
| Properties.graphComponent.connections | List of connections graph components related to the attack path |
| Properties.AttackPathID | The unique identifier of the attack path instance |

<a name="next-step"></a>
## Next stepsteps

> [!div class="nextstepaction"]
> [Build queries with cloud security explorer](how-to-manage-cloud-security-explorer.md)