naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — security.triggersRoot description: 'Microsoft Graph OData Service for namespace microsoft.graph — security.triggersRoot. 10 operations. Lead operation: Microsoft Graph Get triggers from security. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - security.triggersRoot 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: microsoft-graph-security-triggersroot baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — security.triggersRoot business capability. Self-contained, no shared references. resources: - name: security-triggers path: /security/triggers operations: - name: securitygettriggers method: GET description: Microsoft Graph Get triggers 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: securityupdatetriggers method: PATCH description: Microsoft Graph Update the navigation property triggers in security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: securitydeletetriggers method: DELETE description: Microsoft Graph Delete navigation property triggers for security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: security-triggers-retentionEvents path: /security/triggers/retentionEvents operations: - name: securitytriggerslistretentionevents method: GET description: Microsoft Graph List retentionEvents 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: securitytriggerscreateretentionevents method: POST description: Microsoft Graph Create retentionEvent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: security-triggers-retentionEvents-$count path: /security/triggers/retentionEvents/$count operations: - name: securitytriggersretentioneventsgetcount84a4 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: security-triggers-retentionEvents-retentionEvent-id path: /security/triggers/retentionEvents/{retentionEvent-id} operations: - name: securitytriggersgetretentionevents method: GET description: Microsoft Graph Get retentionEvent 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: securitytriggersupdateretentionevents method: PATCH description: Microsoft Graph Update the navigation property retentionEvents in security outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: securitytriggersdeleteretentionevents method: DELETE description: Microsoft Graph Delete retentionEvent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: security-triggers-retentionEvents-retentionEvent-id-retentionEventType path: /security/triggers/retentionEvents/{retentionEvent-id}/retentionEventType operations: - name: securitytriggersretentioneventsgetretentioneventtype method: GET description: Microsoft Graph Get retentionEventType 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 exposes: - type: rest namespace: microsoft-graph-security-triggersroot-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — security.triggersRoot. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/security/triggers name: security-triggers description: REST surface for security-triggers. operations: - method: GET name: securitygettriggers description: Microsoft Graph Get triggers from security call: microsoft-graph-security-triggersroot.securitygettriggers with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: securityupdatetriggers description: Microsoft Graph Update the navigation property triggers in security call: microsoft-graph-security-triggersroot.securityupdatetriggers with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: securitydeletetriggers description: Microsoft Graph Delete navigation property triggers for security call: microsoft-graph-security-triggersroot.securitydeletetriggers with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/security/triggers/retentionevents name: security-triggers-retentionevents description: REST surface for security-triggers-retentionEvents. operations: - method: GET name: securitytriggerslistretentionevents description: Microsoft Graph List retentionEvents call: microsoft-graph-security-triggersroot.securitytriggerslistretentionevents with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: securitytriggerscreateretentionevents description: Microsoft Graph Create retentionEvent call: microsoft-graph-security-triggersroot.securitytriggerscreateretentionevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/security/triggers/retentionevents/count name: security-triggers-retentionevents-count description: REST surface for security-triggers-retentionEvents-$count. operations: - method: GET name: securitytriggersretentioneventsgetcount84a4 description: Microsoft Graph Get the number of the resource call: microsoft-graph-security-triggersroot.securitytriggersretentioneventsgetcount84a4 outputParameters: - type: object mapping: $. - path: /v1/security/triggers/retentionevents/{retentionevent-id} name: security-triggers-retentionevents-retentionevent-id description: REST surface for security-triggers-retentionEvents-retentionEvent-id. operations: - method: GET name: securitytriggersgetretentionevents description: Microsoft Graph Get retentionEvent call: microsoft-graph-security-triggersroot.securitytriggersgetretentionevents with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: securitytriggersupdateretentionevents description: Microsoft Graph Update the navigation property retentionEvents in security call: microsoft-graph-security-triggersroot.securitytriggersupdateretentionevents with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: securitytriggersdeleteretentionevents description: Microsoft Graph Delete retentionEvent call: microsoft-graph-security-triggersroot.securitytriggersdeleteretentionevents with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/security/triggers/retentionevents/{retentionevent-id}/retentioneventtype name: security-triggers-retentionevents-retentionevent-id-retentioneventtype description: REST surface for security-triggers-retentionEvents-retentionEvent-id-retentionEventType. operations: - method: GET name: securitytriggersretentioneventsgetretentioneventtype description: Microsoft Graph Get retentionEventType from security call: microsoft-graph-security-triggersroot.securitytriggersretentioneventsgetretentioneventtype with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-security-triggersroot-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — security.triggersRoot. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-triggers-security description: Microsoft Graph Get triggers from security hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securitygettriggers with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property triggers in security hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securityupdatetriggers with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property triggers for security hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-security-triggersroot.securitydeletetriggers with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-list-retentionevents description: Microsoft Graph List retentionEvents hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securitytriggerslistretentionevents with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-retentionevent description: Microsoft Graph Create retentionEvent hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-security-triggersroot.securitytriggerscreateretentionevents 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: microsoft-graph-security-triggersroot.securitytriggersretentioneventsgetcount84a4 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-retentionevent description: Microsoft Graph Get retentionEvent hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securitytriggersgetretentionevents with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-2 description: Microsoft Graph Update the navigation property retentionEvents in security hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securitytriggersupdateretentionevents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-retentionevent description: Microsoft Graph Delete retentionEvent hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-security-triggersroot.securitytriggersdeleteretentionevents with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-retentioneventtype-security description: Microsoft Graph Get retentionEventType from security hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-security-triggersroot.securitytriggersretentioneventsgetretentioneventtype with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.