{"files":{"SKILL.md":"---\nname: security-center\ndescription: \"Security Center API skill. Use when working with Security Center for subscriptions. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Security Center\nAPI version: 2017-08-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/workspaceSettings -- settings about where we should store your security data and logs. if the result is empty, it means that no custom-workspace configuration was set\n3. Explore available endpoints below\n\n## Endpoints\n5 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/workspaceSettings | Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName} | Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName} | creating settings about where we should store your security data and logs |\n| PATCH | /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName} | Settings about where we should store your security data and logs |\n| DELETE | /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName} | Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all workspaceSettings?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings\n- \"Get workspaceSetting details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n- \"Update a workspaceSetting?\" -> PUT /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n- \"Partially update a workspaceSetting?\" -> PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n- \"Delete a workspaceSetting?\" -> DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\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- Create/update endpoints return the modified resource on success\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 Security Center\n@base https://management.azure.com\n@version 2017-08-01-preview\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings\n@desc Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n@desc Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set\n@required {workspaceSettingName: any # Name of the security setting}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n@desc creating settings about where we should store your security data and logs\n@required {workspaceSettingName: any # Name of the security setting, workspaceSetting: map # Security data setting object}\n@returns(200) OK\n\n@endpoint PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n@desc Settings about where we should store your security data and logs\n@required {workspaceSettingName: any # Name of the security setting, workspaceSetting: map # Security data setting object}\n@returns(200) OK\n\n@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}\n@desc Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace\n@required {workspaceSettingName: any # Name of the security setting}\n@returns(204) No Content\n\n@end\n"}}