naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Defender EASM — Discovery Groups description: 'Microsoft Azure Defender EASM — Discovery Groups. 6 operations. Lead operation: Microsoft Azure Get Discogroups. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Discovery Groups 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: defender-easm-discovery-groups baseUri: '' description: Microsoft Azure Defender EASM — Discovery Groups business capability. Self-contained, no shared references. resources: - name: discoGroups path: /discoGroups operations: - name: microsoftazurediscoverygroupslistdiscogroup method: GET description: Microsoft Azure Get Discogroups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: discoGroups-groupName path: /discoGroups/{groupName} operations: - name: microsoftazurediscoverygroupsgetdiscogroup method: GET description: Microsoft Azure Get Discogroups Groupname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupName in: path type: string description: The caller provided unique name for the resource. required: true - name: microsoftazurediscoverygroupscreateorreplacediscogroup method: PUT description: Microsoft Azure Put Discogroups Groupname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupName in: path type: string description: The caller provided unique name for the resource. required: true - name: body in: body type: string required: true - name: discoGroups-groupName-runs path: /discoGroups/{groupName}/runs operations: - name: microsoftazurediscoverygroupslistruns method: GET description: Microsoft Azure Get Discogroups Groupname Runs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: discoGroups-groupName}:run path: /discoGroups/{groupName}:run operations: - name: microsoftazurediscoverygroupsrundiscogroup method: POST description: Microsoft Azure Post Discogroups Groupname:run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupName in: path type: string description: The caller provided unique name for the resource. required: true - name: discoGroups:validate path: /discoGroups:validate operations: - name: microsoftazurediscoverygroupsvalidatediscogroup method: POST description: Microsoft Azure Post Discogroups:validate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string required: true exposes: - type: rest namespace: defender-easm-discovery-groups-rest port: 8080 description: REST adapter for Microsoft Azure Defender EASM — Discovery Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/discogroups name: discogroups description: REST surface for discoGroups. operations: - method: GET name: microsoftazurediscoverygroupslistdiscogroup description: Microsoft Azure Get Discogroups call: defender-easm-discovery-groups.microsoftazurediscoverygroupslistdiscogroup outputParameters: - type: object mapping: $. - path: /v1/discogroups/{groupname} name: discogroups-groupname description: REST surface for discoGroups-groupName. operations: - method: GET name: microsoftazurediscoverygroupsgetdiscogroup description: Microsoft Azure Get Discogroups Groupname call: defender-easm-discovery-groups.microsoftazurediscoverygroupsgetdiscogroup with: groupName: rest.groupName outputParameters: - type: object mapping: $. - method: PUT name: microsoftazurediscoverygroupscreateorreplacediscogroup description: Microsoft Azure Put Discogroups Groupname call: defender-easm-discovery-groups.microsoftazurediscoverygroupscreateorreplacediscogroup with: groupName: rest.groupName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/discogroups/{groupname}/runs name: discogroups-groupname-runs description: REST surface for discoGroups-groupName-runs. operations: - method: GET name: microsoftazurediscoverygroupslistruns description: Microsoft Azure Get Discogroups Groupname Runs call: defender-easm-discovery-groups.microsoftazurediscoverygroupslistruns outputParameters: - type: object mapping: $. - path: /v1/discogroups/groupname-run name: discogroups-groupname-run description: REST surface for discoGroups-groupName}:run. operations: - method: POST name: microsoftazurediscoverygroupsrundiscogroup description: Microsoft Azure Post Discogroups Groupname:run call: defender-easm-discovery-groups.microsoftazurediscoverygroupsrundiscogroup with: groupName: rest.groupName outputParameters: - type: object mapping: $. - path: /v1/discogroups-validate name: discogroups-validate description: REST surface for discoGroups:validate. operations: - method: POST name: microsoftazurediscoverygroupsvalidatediscogroup description: Microsoft Azure Post Discogroups:validate call: defender-easm-discovery-groups.microsoftazurediscoverygroupsvalidatediscogroup with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: defender-easm-discovery-groups-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Defender EASM — Discovery Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-discogroups description: Microsoft Azure Get Discogroups hints: readOnly: true destructive: false idempotent: true call: defender-easm-discovery-groups.microsoftazurediscoverygroupslistdiscogroup outputParameters: - type: object mapping: $. - name: microsoft-azure-get-discogroups-groupname description: Microsoft Azure Get Discogroups Groupname hints: readOnly: true destructive: false idempotent: true call: defender-easm-discovery-groups.microsoftazurediscoverygroupsgetdiscogroup with: groupName: tools.groupName outputParameters: - type: object mapping: $. - name: microsoft-azure-put-discogroups-groupname description: Microsoft Azure Put Discogroups Groupname hints: readOnly: false destructive: false idempotent: true call: defender-easm-discovery-groups.microsoftazurediscoverygroupscreateorreplacediscogroup with: groupName: tools.groupName body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-get-discogroups-groupname-2 description: Microsoft Azure Get Discogroups Groupname Runs hints: readOnly: true destructive: false idempotent: true call: defender-easm-discovery-groups.microsoftazurediscoverygroupslistruns outputParameters: - type: object mapping: $. - name: microsoft-azure-post-discogroups-groupname-run description: Microsoft Azure Post Discogroups Groupname:run hints: readOnly: false destructive: false idempotent: false call: defender-easm-discovery-groups.microsoftazurediscoverygroupsrundiscogroup with: groupName: tools.groupName outputParameters: - type: object mapping: $. - name: microsoft-azure-post-discogroups-validate description: Microsoft Azure Post Discogroups:validate hints: readOnly: true destructive: false idempotent: false call: defender-easm-discovery-groups.microsoftazurediscoverygroupsvalidatediscogroup with: body: tools.body outputParameters: - type: object mapping: $.