{"files":{"SKILL.md":"---\nname: microsoft-defender-for-cloud\ndescription: \"Microsoft Defender for Cloud API skill. Use when working with Microsoft Defender for Cloud for subscriptions. Covers 3 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Microsoft Defender for Cloud\nAPI version: 2015-06-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies -- gets a list that allows to build a topology view of a subscription.\n3. Explore available endpoints below\n\n## Endpoints\n3 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies | Gets a list that allows to build a topology view of a subscription. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/topologies | Gets a list that allows to build a topology view of a subscription and location. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName} | Gets a specific topology component. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all topologies?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies\n- \"Get topology details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Microsoft Defender for Cloud\n@base https://management.azure.com\n@version 2015-06-01-preview\n@auth OAuth2\n@endpoints 3\n@toc subscriptions(3)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies\n@desc Gets a list that allows to build a topology view of a subscription.\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/topologies\n@desc Gets a list that allows to build a topology view of a subscription and location.\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}\n@desc Gets a specific topology component.\n@required {topologyResourceName: any # Name of a topology resources collection.}\n@returns(200) OK\n\n@end\n"}}