naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Identityprotection — identityProtection.riskDetection description: 'Microsoft Graph Identityprotection — identityProtection.riskDetection. 6 operations. Lead operation: Microsoft Graph List riskDetections. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - identityProtection.riskDetection 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: identityprotection-identityprotection-riskdetection baseUri: '' description: Microsoft Graph Identityprotection — identityProtection.riskDetection business capability. Self-contained, no shared references. resources: - name: identityProtection-riskDetections path: /identityProtection/riskDetections operations: - name: identityprotectionlistriskdetections method: GET description: Microsoft Graph List riskDetections 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: identityprotectioncreateriskdetections method: POST description: Microsoft Graph Create new navigation property to riskDetections for identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityProtection-riskDetections-$count path: /identityProtection/riskDetections/$count operations: - name: identityprotectionriskdetectionsgetcountee19 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: identityProtection-riskDetections-riskDetection-id path: /identityProtection/riskDetections/{riskDetection-id} operations: - name: identityprotectiongetriskdetections method: GET description: Microsoft Graph Get riskDetection 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: identityprotectionupdateriskdetections method: PATCH description: Microsoft Graph Update the navigation property riskDetections in identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityprotectiondeleteriskdetections method: DELETE description: Microsoft Graph Delete navigation property riskDetections for identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: identityprotection-identityprotection-riskdetection-rest port: 8080 description: REST adapter for Microsoft Graph Identityprotection — identityProtection.riskDetection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/identityprotection/riskdetections name: identityprotection-riskdetections description: REST surface for identityProtection-riskDetections. operations: - method: GET name: identityprotectionlistriskdetections description: Microsoft Graph List riskDetections call: identityprotection-identityprotection-riskdetection.identityprotectionlistriskdetections with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: identityprotectioncreateriskdetections description: Microsoft Graph Create new navigation property to riskDetections for identityProtection call: identityprotection-identityprotection-riskdetection.identityprotectioncreateriskdetections with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskdetections/count name: identityprotection-riskdetections-count description: REST surface for identityProtection-riskDetections-$count. operations: - method: GET name: identityprotectionriskdetectionsgetcountee19 description: Microsoft Graph Get the number of the resource call: identityprotection-identityprotection-riskdetection.identityprotectionriskdetectionsgetcountee19 outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskdetections/{riskdetection-id} name: identityprotection-riskdetections-riskdetection-id description: REST surface for identityProtection-riskDetections-riskDetection-id. operations: - method: GET name: identityprotectiongetriskdetections description: Microsoft Graph Get riskDetection call: identityprotection-identityprotection-riskdetection.identityprotectiongetriskdetections with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: identityprotectionupdateriskdetections description: Microsoft Graph Update the navigation property riskDetections in identityProtection call: identityprotection-identityprotection-riskdetection.identityprotectionupdateriskdetections with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: identityprotectiondeleteriskdetections description: Microsoft Graph Delete navigation property riskDetections for identityProtection call: identityprotection-identityprotection-riskdetection.identityprotectiondeleteriskdetections with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: identityprotection-identityprotection-riskdetection-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Identityprotection — identityProtection.riskDetection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-riskdetections description: Microsoft Graph List riskDetections hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskdetection.identityprotectionlistriskdetections 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 riskDetections for identityProtection hints: readOnly: false destructive: false idempotent: false call: identityprotection-identityprotection-riskdetection.identityprotectioncreateriskdetections 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: identityprotection-identityprotection-riskdetection.identityprotectionriskdetectionsgetcountee19 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-riskdetection description: Microsoft Graph Get riskDetection hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskdetection.identityprotectiongetriskdetections with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property riskDetections in identityProtection hints: readOnly: false destructive: false idempotent: true call: identityprotection-identityprotection-riskdetection.identityprotectionupdateriskdetections with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property riskDetections for identityProtection hints: readOnly: false destructive: true idempotent: true call: identityprotection-identityprotection-riskdetection.identityprotectiondeleteriskdetections with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.