naftiko: 1.0.0-alpha2 info: label: Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.auditEvent description: 'Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.auditEvent. 8 operations. Lead operation: Microsoft Graph Get auditEvents from deviceManagement. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - deviceManagement.auditEvent 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-devicemanagement-auditevent baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.auditEvent business capability. Self-contained, no shared references. resources: - name: deviceManagement-auditEvents path: /deviceManagement/auditEvents operations: - name: devicemanagementlistauditevents method: GET description: Microsoft Graph Get auditEvents from deviceManagement 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: devicemanagementcreateauditevents method: POST description: Microsoft Graph Create new navigation property to auditEvents for deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deviceManagement-auditEvents-$count path: /deviceManagement/auditEvents/$count operations: - name: devicemanagementauditeventsgetcount7cd0 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deviceManagement-auditEvents-getAuditActivityTypes(category='{category}') path: /deviceManagement/auditEvents/getAuditActivityTypes(category='{category}') operations: - name: devicemanagementauditeventsgetauditactivitytypes method: GET description: Microsoft Graph Invoke function getAuditActivityTypes outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deviceManagement-auditEvents-getAuditCategories() path: /deviceManagement/auditEvents/getAuditCategories() operations: - name: devicemanagementauditeventsgetauditcategories method: GET description: Microsoft Graph Invoke function getAuditCategories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deviceManagement-auditEvents-auditEvent-id path: /deviceManagement/auditEvents/{auditEvent-id} operations: - name: devicemanagementgetauditevents method: GET description: Microsoft Graph Get auditEvents from deviceManagement 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: devicemanagementupdateauditevents method: PATCH description: Microsoft Graph Update the navigation property auditEvents in deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: devicemanagementdeleteauditevents method: DELETE description: Microsoft Graph Delete navigation property auditEvents for deviceManagement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: microsoft-graph-devicemanagement-auditevent-rest port: 8080 description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.auditEvent. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/devicemanagement/auditevents name: devicemanagement-auditevents description: REST surface for deviceManagement-auditEvents. operations: - method: GET name: devicemanagementlistauditevents description: Microsoft Graph Get auditEvents from deviceManagement call: microsoft-graph-devicemanagement-auditevent.devicemanagementlistauditevents with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: devicemanagementcreateauditevents description: Microsoft Graph Create new navigation property to auditEvents for deviceManagement call: microsoft-graph-devicemanagement-auditevent.devicemanagementcreateauditevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/auditevents/count name: devicemanagement-auditevents-count description: REST surface for deviceManagement-auditEvents-$count. operations: - method: GET name: devicemanagementauditeventsgetcount7cd0 description: Microsoft Graph Get the number of the resource call: microsoft-graph-devicemanagement-auditevent.devicemanagementauditeventsgetcount7cd0 outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/auditevents/getauditactivitytypes-category-category name: devicemanagement-auditevents-getauditactivitytypes-category-category description: REST surface for deviceManagement-auditEvents-getAuditActivityTypes(category='{category}'). operations: - method: GET name: devicemanagementauditeventsgetauditactivitytypes description: Microsoft Graph Invoke function getAuditActivityTypes call: microsoft-graph-devicemanagement-auditevent.devicemanagementauditeventsgetauditactivitytypes outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/auditevents/getauditcategories name: devicemanagement-auditevents-getauditcategories description: REST surface for deviceManagement-auditEvents-getAuditCategories(). operations: - method: GET name: devicemanagementauditeventsgetauditcategories description: Microsoft Graph Invoke function getAuditCategories call: microsoft-graph-devicemanagement-auditevent.devicemanagementauditeventsgetauditcategories outputParameters: - type: object mapping: $. - path: /v1/devicemanagement/auditevents/{auditevent-id} name: devicemanagement-auditevents-auditevent-id description: REST surface for deviceManagement-auditEvents-auditEvent-id. operations: - method: GET name: devicemanagementgetauditevents description: Microsoft Graph Get auditEvents from deviceManagement call: microsoft-graph-devicemanagement-auditevent.devicemanagementgetauditevents with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: devicemanagementupdateauditevents description: Microsoft Graph Update the navigation property auditEvents in deviceManagement call: microsoft-graph-devicemanagement-auditevent.devicemanagementupdateauditevents with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: devicemanagementdeleteauditevents description: Microsoft Graph Delete navigation property auditEvents for deviceManagement call: microsoft-graph-devicemanagement-auditevent.devicemanagementdeleteauditevents with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-graph-devicemanagement-auditevent-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — deviceManagement.auditEvent. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-auditevents-devicemanagement description: Microsoft Graph Get auditEvents from deviceManagement hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementlistauditevents 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 auditEvents for deviceManagement hints: readOnly: false destructive: false idempotent: false call: microsoft-graph-devicemanagement-auditevent.devicemanagementcreateauditevents 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-devicemanagement-auditevent.devicemanagementauditeventsgetcount7cd0 outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-getauditactivitytypes description: Microsoft Graph Invoke function getAuditActivityTypes hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementauditeventsgetauditactivitytypes outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-getauditcategories description: Microsoft Graph Invoke function getAuditCategories hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementauditeventsgetauditcategories outputParameters: - type: object mapping: $. - name: microsoft-graph-get-auditevents-devicemanagement-2 description: Microsoft Graph Get auditEvents from deviceManagement hints: readOnly: true destructive: false idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementgetauditevents with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property auditEvents in deviceManagement hints: readOnly: false destructive: false idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementupdateauditevents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property auditEvents for deviceManagement hints: readOnly: false destructive: true idempotent: true call: microsoft-graph-devicemanagement-auditevent.devicemanagementdeleteauditevents with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.