naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Security — Security.incident description: 'Microsoft Graph Security — Security.incident. 11 operations. Lead operation: Microsoft Graph List incidents. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Security.incident created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: security-security-incident baseUri: '' description: Microsoft Graph Security — Security.incident business capability. Self-contained, no shared references. resources: - name: security-incidents path: /security/incidents operations: - name: securitylistincidents method: GET description: Microsoft Graph List incidents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: securitycreateincidents method: POST description: Microsoft Graph Create new navigation property to incidents for security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: security-incidents-$count path: /security/incidents/$count operations: - name: securityincidentsgetcount9725 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: security-incidents-incident-id path: /security/incidents/{incident-id} operations: - name: securitygetincidents method: GET description: Microsoft Graph Get incident outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: securityupdateincidents method: PATCH description: Microsoft Graph Update incident outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: securitydeleteincidents method: DELETE description: Microsoft Graph Delete navigation property incidents for security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: security-incidents-incident-id-alerts path: /security/incidents/{incident-id}/alerts operations: - name: securityincidentslistalerts method: GET description: Microsoft Graph Get alerts from security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: security-incidents-incident-id-alerts-$count path: /security/incidents/{incident-id}/alerts/$count operations: - name: securityincidentsalertsgetcountd6ba method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: security-incidents-incident-id-alerts-alert-id path: /security/incidents/{incident-id}/alerts/{alert-id} operations: - name: securityincidentsgetalerts method: GET description: Microsoft Graph Get alerts from security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: security-incidents-incident-id-alerts-alert-id-comments path: /security/incidents/{incident-id}/alerts/{alert-id}/comments operations: - name: securityincidentsalertssetcomments method: POST description: Microsoft Graph Sets a new value for the collection of alertComment. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: body in: body type: object description: Request body (JSON). required: true - name: security-incidents-incident-id-alerts-alert-id-comments-$count path: /security/incidents/{incident-id}/alerts/{alert-id}/comments/$count operations: - name: securityincidentsalertscommentsgetcountee8f method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: security-security-incident-rest port: 8080 description: REST adapter for Microsoft Graph Security — Security.incident. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/security/incidents name: security-incidents description: REST surface for security-incidents. operations: - method: GET name: securitylistincidents description: Microsoft Graph List incidents call: security-security-incident.securitylistincidents with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: securitycreateincidents description: Microsoft Graph Create new navigation property to incidents for security call: security-security-incident.securitycreateincidents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/incidents/count name: security-incidents-count description: REST surface for security-incidents-$count. operations: - method: GET name: securityincidentsgetcount9725 description: Microsoft Graph Get the number of the resource call: security-security-incident.securityincidentsgetcount9725 outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id} name: security-incidents-incident-id description: REST surface for security-incidents-incident-id. operations: - method: GET name: securitygetincidents description: Microsoft Graph Get incident call: security-security-incident.securitygetincidents with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: securityupdateincidents description: Microsoft Graph Update incident call: security-security-incident.securityupdateincidents with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: securitydeleteincidents description: Microsoft Graph Delete navigation property incidents for security call: security-security-incident.securitydeleteincidents with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id}/alerts name: security-incidents-incident-id-alerts description: REST surface for security-incidents-incident-id-alerts. operations: - method: GET name: securityincidentslistalerts description: Microsoft Graph Get alerts from security call: security-security-incident.securityincidentslistalerts with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id}/alerts/count name: security-incidents-incident-id-alerts-count description: REST surface for security-incidents-incident-id-alerts-$count. operations: - method: GET name: securityincidentsalertsgetcountd6ba description: Microsoft Graph Get the number of the resource call: security-security-incident.securityincidentsalertsgetcountd6ba outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id}/alerts/{alert-id} name: security-incidents-incident-id-alerts-alert-id description: REST surface for security-incidents-incident-id-alerts-alert-id. operations: - method: GET name: securityincidentsgetalerts description: Microsoft Graph Get alerts from security call: security-security-incident.securityincidentsgetalerts with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id}/alerts/{alert-id}/comments name: security-incidents-incident-id-alerts-alert-id-comments description: REST surface for security-incidents-incident-id-alerts-alert-id-comments. operations: - method: POST name: securityincidentsalertssetcomments description: Microsoft Graph Sets a new value for the collection of alertComment. call: security-security-incident.securityincidentsalertssetcomments with: If-Match: rest.If-Match body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/incidents/{incident-id}/alerts/{alert-id}/comments/count name: security-incidents-incident-id-alerts-alert-id-comments-count description: REST surface for security-incidents-incident-id-alerts-alert-id-comments-$count. operations: - method: GET name: securityincidentsalertscommentsgetcountee8f description: Microsoft Graph Get the number of the resource call: security-security-incident.securityincidentsalertscommentsgetcountee8f outputParameters: - type: object mapping: $. - type: mcp namespace: security-security-incident-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Security — Security.incident. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-incidents description: Microsoft Graph List incidents hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securitylistincidents with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to incidents for security hints: readOnly: false destructive: false idempotent: false call: security-security-incident.securitycreateincidents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securityincidentsgetcount9725 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-incident description: Microsoft Graph Get incident hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securitygetincidents with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-incident description: Microsoft Graph Update incident hints: readOnly: false destructive: false idempotent: true call: security-security-incident.securityupdateincidents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property incidents for security hints: readOnly: false destructive: true idempotent: true call: security-security-incident.securitydeleteincidents with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-alerts-security description: Microsoft Graph Get alerts from security hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securityincidentslistalerts with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-2 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securityincidentsalertsgetcountd6ba outputParameters: - type: object mapping: $. - name: microsoft-graph-get-alerts-security-2 description: Microsoft Graph Get alerts from security hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securityincidentsgetalerts with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-sets-new-value description: Microsoft Graph Sets a new value for the collection of alertComment. hints: readOnly: false destructive: false idempotent: false call: security-security-incident.securityincidentsalertssetcomments with: If-Match: tools.If-Match body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-3 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: security-security-incident.securityincidentsalertscommentsgetcountee8f outputParameters: - type: object mapping: $.