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