Microsoft Azure · Capability

Microsoft Azure AttestationClient — Policy

Microsoft Azure AttestationClient — Policy. 3 operations. Lead operation: Microsoft Azure Retrieves The Current Policy For An Attestation Type. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzurePolicy

What You Can Do

GET
Microsoftazurepolicyget — Microsoft Azure Retrieves The Current Policy For An Attestation Type
/v1/policies/{attestationtype}
PUT
Microsoftazurepolicyset — Microsoft Azure Sets The Policy For A Given Attestation Type
/v1/policies/{attestationtype}
POST
Microsoftazurepolicyreset — Microsoft Azure Resets The Attestation Policy For The Specified Tenant And Reverts To The Default Policy
/v1/policies/attestationtype-reset

MCP Tools

microsoft-azure-retrieves-current-policy

Microsoft Azure Retrieves The Current Policy For An Attestation Type

read-only idempotent
microsoft-azure-sets-policy-given

Microsoft Azure Sets The Policy For A Given Attestation Type

idempotent
microsoft-azure-resets-attestation-policy

Microsoft Azure Resets The Attestation Policy For The Specified Tenant And Reverts To The Default Policy

Capability Spec

attestationclient-policy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure AttestationClient — Policy
  description: 'Microsoft Azure AttestationClient — Policy. 3 operations. Lead operation: Microsoft Azure Retrieves The Current
    Policy For An Attestation Type. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Policy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: attestationclient-policy
    baseUri: ''
    description: Microsoft Azure AttestationClient — Policy business capability. Self-contained, no shared references.
    resources:
    - name: policies-attestationType
      path: /policies/{attestationType}
      operations:
      - name: microsoftazurepolicyget
        method: GET
        description: Microsoft Azure Retrieves The Current Policy For An Attestation Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazurepolicyset
        method: PUT
        description: Microsoft Azure Sets The Policy For A Given Attestation Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: newAttestationPolicy
          in: body
          type: string
          description: JWT Expressing the new policy whose body is a StoredAttestationPolicy object.
          required: true
    - name: policies-attestationType}:reset
      path: /policies/{attestationType}:reset
      operations:
      - name: microsoftazurepolicyreset
        method: POST
        description: Microsoft Azure Resets The Attestation Policy For The Specified Tenant And Reverts To The Default Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicyJws
          in: body
          type: string
          description: JSON Web Signature with an empty policy document
          required: true
  exposes:
  - type: rest
    namespace: attestationclient-policy-rest
    port: 8080
    description: REST adapter for Microsoft Azure AttestationClient — Policy. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/policies/{attestationtype}
      name: policies-attestationtype
      description: REST surface for policies-attestationType.
      operations:
      - method: GET
        name: microsoftazurepolicyget
        description: Microsoft Azure Retrieves The Current Policy For An Attestation Type
        call: attestationclient-policy.microsoftazurepolicyget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazurepolicyset
        description: Microsoft Azure Sets The Policy For A Given Attestation Type
        call: attestationclient-policy.microsoftazurepolicyset
        with:
          newAttestationPolicy: rest.newAttestationPolicy
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/attestationtype-reset
      name: policies-attestationtype-reset
      description: REST surface for policies-attestationType}:reset.
      operations:
      - method: POST
        name: microsoftazurepolicyreset
        description: Microsoft Azure Resets The Attestation Policy For The Specified Tenant And Reverts To The Default Policy
        call: attestationclient-policy.microsoftazurepolicyreset
        with:
          PolicyJws: rest.PolicyJws
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: attestationclient-policy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure AttestationClient — Policy. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-retrieves-current-policy
      description: Microsoft Azure Retrieves The Current Policy For An Attestation Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: attestationclient-policy.microsoftazurepolicyget
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-sets-policy-given
      description: Microsoft Azure Sets The Policy For A Given Attestation Type
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: attestationclient-policy.microsoftazurepolicyset
      with:
        newAttestationPolicy: tools.newAttestationPolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-resets-attestation-policy
      description: Microsoft Azure Resets The Attestation Policy For The Specified Tenant And Reverts To The Default Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: attestationclient-policy.microsoftazurepolicyreset
      with:
        PolicyJws: tools.PolicyJws
      outputParameters:
      - type: object
        mapping: $.