naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Database Threat Detection Policy APIs — SecurityAlert description: 'Microsoft Azure Database Threat Detection Policy APIs — SecurityAlert. 2 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - SecurityAlert created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: database-threat-detection-policy-apis-securityalert baseUri: https://management.azure.com description: Microsoft Azure Database Threat Detection Policy APIs — SecurityAlert business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName} operations: - name: microsoftazuredatabasethreatdetectionpoliciesget method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: databaseName in: path type: string description: The name of the database for which database Threat Detection policy is defined. required: true - name: securityAlertPolicyName in: path type: string description: The name of the security alert policy. required: true - name: microsoftazuredatabasethreatdetectionpoliciescreateorupdate method: PUT description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: databaseName in: path type: string description: The name of the database for which database Threat Detection policy is defined. required: true - name: securityAlertPolicyName in: path type: string description: The name of the security alert policy. required: true - name: parameters in: body type: string description: The database Threat Detection policy. required: true exposes: - type: rest namespace: database-threat-detection-policy-apis-securityalert-rest port: 8080 description: REST adapter for Microsoft Azure Database Threat Detection Policy APIs — SecurityAlert. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-sql/servers/{servername}/databases/{databasename}/securityalertpolicies/{securityalertpolicyname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazuredatabasethreatdetectionpoliciesget description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname call: database-threat-detection-policy-apis-securityalert.microsoftazuredatabasethreatdetectionpoliciesget with: databaseName: rest.databaseName securityAlertPolicyName: rest.securityAlertPolicyName outputParameters: - type: object mapping: $. - method: PUT name: microsoftazuredatabasethreatdetectionpoliciescreateorupdate description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname call: database-threat-detection-policy-apis-securityalert.microsoftazuredatabasethreatdetectionpoliciescreateorupdate with: databaseName: rest.databaseName securityAlertPolicyName: rest.securityAlertPolicyName parameters: rest.parameters outputParameters: - type: object mapping: $. - type: mcp namespace: database-threat-detection-policy-apis-securityalert-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Database Threat Detection Policy APIs — SecurityAlert. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-subscriptions-subscriptionid description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname hints: readOnly: true destructive: false idempotent: true call: database-threat-detection-policy-apis-securityalert.microsoftazuredatabasethreatdetectionpoliciesget with: databaseName: tools.databaseName securityAlertPolicyName: tools.securityAlertPolicyName outputParameters: - type: object mapping: $. - name: microsoft-azure-put-subscriptions-subscriptionid description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Sql Servers Servername Databases Databasename Securityalertpolicies Securityalertpolicyname hints: readOnly: false destructive: false idempotent: true call: database-threat-detection-policy-apis-securityalert.microsoftazuredatabasethreatdetectionpoliciescreateorupdate with: databaseName: tools.databaseName securityAlertPolicyName: tools.securityAlertPolicyName parameters: tools.parameters outputParameters: - type: object mapping: $.