naftiko: 1.0.0-alpha2 info: label: Microsoft Purview Data Security and Governance API — Sensitivity Labels description: 'Microsoft Purview Data Security and Governance API — Sensitivity Labels. 2 operations. Lead operation: Microsoft Purview List tenant sensitivity labels. Self-contained Naftiko capability covering one Microsoft Purview business surface.' tags: - Microsoft Purview - Sensitivity Labels created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_PURVIEW_API_KEY: MICROSOFT_PURVIEW_API_KEY capability: consumes: - type: http namespace: data-security-governance-sensitivity-labels baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Purview Data Security and Governance API — Sensitivity Labels business capability. Self-contained, no shared references. resources: - name: security-dataSecurityAndGovernance-sensitivityLabels path: /security/dataSecurityAndGovernance/sensitivityLabels operations: - name: listtenantsensitivitylabels method: GET description: Microsoft Purview List tenant sensitivity labels outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $top in: query type: integer - name: $filter in: query type: string - name: $select in: query type: string - name: $count in: query type: boolean - name: security-dataSecurityAndGovernance-sensitivityLabels-sensitivityLabelId path: /security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabelId} operations: - name: gettenantsensitivitylabel method: GET description: Microsoft Purview Get a tenant sensitivity label outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sensitivityLabelId in: path type: string required: true authentication: type: bearer token: '{{env.MICROSOFT_PURVIEW_API_KEY}}' exposes: - type: rest namespace: data-security-governance-sensitivity-labels-rest port: 8080 description: REST adapter for Microsoft Purview Data Security and Governance API — Sensitivity Labels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/security/datasecurityandgovernance/sensitivitylabels name: security-datasecurityandgovernance-sensitivitylabels description: REST surface for security-dataSecurityAndGovernance-sensitivityLabels. operations: - method: GET name: listtenantsensitivitylabels description: Microsoft Purview List tenant sensitivity labels call: data-security-governance-sensitivity-labels.listtenantsensitivitylabels with: $top: rest.$top $filter: rest.$filter $select: rest.$select $count: rest.$count outputParameters: - type: object mapping: $. - path: /v1/security/datasecurityandgovernance/sensitivitylabels/{sensitivitylabelid} name: security-datasecurityandgovernance-sensitivitylabels-sensitivitylabelid description: REST surface for security-dataSecurityAndGovernance-sensitivityLabels-sensitivityLabelId. operations: - method: GET name: gettenantsensitivitylabel description: Microsoft Purview Get a tenant sensitivity label call: data-security-governance-sensitivity-labels.gettenantsensitivitylabel with: sensitivityLabelId: rest.sensitivityLabelId outputParameters: - type: object mapping: $. - type: mcp namespace: data-security-governance-sensitivity-labels-mcp port: 9090 transport: http description: MCP adapter for Microsoft Purview Data Security and Governance API — Sensitivity Labels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-purview-list-tenant-sensitivity description: Microsoft Purview List tenant sensitivity labels hints: readOnly: true destructive: false idempotent: true call: data-security-governance-sensitivity-labels.listtenantsensitivitylabels with: $top: tools.$top $filter: tools.$filter $select: tools.$select $count: tools.$count outputParameters: - type: object mapping: $. - name: microsoft-purview-get-tenant-sensitivity description: Microsoft Purview Get a tenant sensitivity label hints: readOnly: true destructive: false idempotent: true call: data-security-governance-sensitivity-labels.gettenantsensitivitylabel with: sensitivityLabelId: tools.sensitivityLabelId outputParameters: - type: object mapping: $.