naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Security — Security.alert description: 'Microsoft Graph Security — Security.alert. 13 operations. Lead operation: Microsoft Graph List alerts. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Security.alert 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-alert baseUri: '' description: Microsoft Graph Security — Security.alert business capability. Self-contained, no shared references. resources: - name: security-alerts path: /security/alerts operations: - name: securitylistalerts method: GET description: Microsoft Graph List alerts 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: securitycreatealerts method: POST description: Microsoft Graph Create new navigation property to alerts 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-alerts-$count path: /security/alerts/$count operations: - name: securityalertsgetcount82d4 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: security-alerts-alert-id path: /security/alerts/{alert-id} operations: - name: securitygetalerts method: GET description: Microsoft Graph Get alert 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: securityupdatealerts method: PATCH description: Microsoft Graph Update alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: security-alerts_v2 path: /security/alerts_v2 operations: - name: securitylistalertsv2 method: GET description: Microsoft Graph List alerts_v2 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: securitycreatealertsv2 method: POST description: Microsoft Graph Create new navigation property to alerts_v2 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-alerts_v2-$count path: /security/alerts_v2/$count operations: - name: securityalertsv2getcount9522 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: security-alerts_v2-alert-id path: /security/alerts_v2/{alert-id} operations: - name: securitygetalertsv2 method: GET description: Microsoft Graph Get alert 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: securityupdatealertsv2 method: PATCH description: Microsoft Graph Update alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: securitydeletealertsv2 method: DELETE description: Microsoft Graph Delete navigation property alerts_v2 for security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: security-alerts_v2-alert-id-comments path: /security/alerts_v2/{alert-id}/comments operations: - name: securityalertsv2setcomments method: POST description: Microsoft Graph Create comment for alert 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-alerts_v2-alert-id-comments-$count path: /security/alerts_v2/{alert-id}/comments/$count operations: - name: securityalertsv2commentsgetcount2f70 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-alert-rest port: 8080 description: REST adapter for Microsoft Graph Security — Security.alert. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/security/alerts name: security-alerts description: REST surface for security-alerts. operations: - method: GET name: securitylistalerts description: Microsoft Graph List alerts call: security-security-alert.securitylistalerts with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: securitycreatealerts description: Microsoft Graph Create new navigation property to alerts for security call: security-security-alert.securitycreatealerts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/alerts/count name: security-alerts-count description: REST surface for security-alerts-$count. operations: - method: GET name: securityalertsgetcount82d4 description: Microsoft Graph Get the number of the resource call: security-security-alert.securityalertsgetcount82d4 outputParameters: - type: object mapping: $. - path: /v1/security/alerts/{alert-id} name: security-alerts-alert-id description: REST surface for security-alerts-alert-id. operations: - method: GET name: securitygetalerts description: Microsoft Graph Get alert call: security-security-alert.securitygetalerts with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: securityupdatealerts description: Microsoft Graph Update alert call: security-security-alert.securityupdatealerts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/alerts-v2 name: security-alerts-v2 description: REST surface for security-alerts_v2. operations: - method: GET name: securitylistalertsv2 description: Microsoft Graph List alerts_v2 call: security-security-alert.securitylistalertsv2 with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: securitycreatealertsv2 description: Microsoft Graph Create new navigation property to alerts_v2 for security call: security-security-alert.securitycreatealertsv2 with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/alerts-v2/count name: security-alerts-v2-count description: REST surface for security-alerts_v2-$count. operations: - method: GET name: securityalertsv2getcount9522 description: Microsoft Graph Get the number of the resource call: security-security-alert.securityalertsv2getcount9522 outputParameters: - type: object mapping: $. - path: /v1/security/alerts-v2/{alert-id} name: security-alerts-v2-alert-id description: REST surface for security-alerts_v2-alert-id. operations: - method: GET name: securitygetalertsv2 description: Microsoft Graph Get alert call: security-security-alert.securitygetalertsv2 with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: securityupdatealertsv2 description: Microsoft Graph Update alert call: security-security-alert.securityupdatealertsv2 with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: securitydeletealertsv2 description: Microsoft Graph Delete navigation property alerts_v2 for security call: security-security-alert.securitydeletealertsv2 with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/security/alerts-v2/{alert-id}/comments name: security-alerts-v2-alert-id-comments description: REST surface for security-alerts_v2-alert-id-comments. operations: - method: POST name: securityalertsv2setcomments description: Microsoft Graph Create comment for alert call: security-security-alert.securityalertsv2setcomments with: If-Match: rest.If-Match body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/alerts-v2/{alert-id}/comments/count name: security-alerts-v2-alert-id-comments-count description: REST surface for security-alerts_v2-alert-id-comments-$count. operations: - method: GET name: securityalertsv2commentsgetcount2f70 description: Microsoft Graph Get the number of the resource call: security-security-alert.securityalertsv2commentsgetcount2f70 outputParameters: - type: object mapping: $. - type: mcp namespace: security-security-alert-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Security — Security.alert. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-alerts description: Microsoft Graph List alerts hints: readOnly: true destructive: false idempotent: true call: security-security-alert.securitylistalerts 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 alerts for security hints: readOnly: false destructive: false idempotent: false call: security-security-alert.securitycreatealerts 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-alert.securityalertsgetcount82d4 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-alert description: Microsoft Graph Get alert hints: readOnly: true destructive: false idempotent: true call: security-security-alert.securitygetalerts with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-alert description: Microsoft Graph Update alert hints: readOnly: false destructive: false idempotent: true call: security-security-alert.securityupdatealerts with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-list-alerts-v2 description: Microsoft Graph List alerts_v2 hints: readOnly: true destructive: false idempotent: true call: security-security-alert.securitylistalertsv2 with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-2 description: Microsoft Graph Create new navigation property to alerts_v2 for security hints: readOnly: false destructive: false idempotent: false call: security-security-alert.securitycreatealertsv2 with: body: tools.body 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-alert.securityalertsv2getcount9522 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-alert-2 description: Microsoft Graph Get alert hints: readOnly: true destructive: false idempotent: true call: security-security-alert.securitygetalertsv2 with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-alert-2 description: Microsoft Graph Update alert hints: readOnly: false destructive: false idempotent: true call: security-security-alert.securityupdatealertsv2 with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property alerts_v2 for security hints: readOnly: false destructive: true idempotent: true call: security-security-alert.securitydeletealertsv2 with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-create-comment-alert description: Microsoft Graph Create comment for alert hints: readOnly: false destructive: false idempotent: false call: security-security-alert.securityalertsv2setcomments 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-alert.securityalertsv2commentsgetcount2f70 outputParameters: - type: object mapping: $.