Skip to main content
POST
/
v1
/
evidence
/
azure
Analyze Azure environment for compliance (live)
curl --request POST \
  --url https://api.usenabla.com/v1/evidence/azure \
  --header 'Content-Type: application/json' \
  --header 'X-Customer-Key: <api-key>' \
  --data '
{
  "name": "azure-production",
  "format": "json",
  "azure_wif": {
    "tenant_id": "00000000-0000-0000-0000-000000000000",
    "client_id": "00000000-0000-0000-0000-000000000000",
    "oidc_token": "<string>",
    "subscription_ids": [
      "00000000-0000-0000-0000-000000000000"
    ]
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "completed",
  "created_at": "2023-11-07T05:31:56Z",
  "assessment": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "framework": "NIST 800-53",
    "version": "Rev. 5",
    "timestamp": "2023-11-07T05:31:56Z",
    "controls": [
      {
        "control_id": "SC-13",
        "title": "Cryptographic Protection",
        "status": "satisfied",
        "findings": [
          "<string>"
        ],
        "evidence": [
          "<string>"
        ]
      }
    ],
    "summary": {
      "total_controls": 123,
      "satisfied": 123,
      "not_satisfied": 123,
      "not_applicable": 123
    }
  },
  "artifacts": [
    {
      "filename": "nist80053-assessment.json",
      "content_type": "application/json",
      "content_base64": "<string>",
      "size_bytes": 123,
      "diagram": "<string>"
    }
  ]
}

Authorizations

X-Customer-Key
string
header
required

Customer API key for authentication

Body

application/json
name
string
required

Name for the evidence assessment

Example:

"azure-production"

format
enum<string>
required

Output format for the assessment

Available options:
oscal,
yaml,
json
Example:

"json"

azure_wif
object
required

Azure Workload Identity Federation configuration

Response

Evidence assessment completed successfully

id
string<uuid>
required

Unique identifier for this assessment

status
enum<string>
required

Assessment status

Available options:
completed,
failed
created_at
string<date-time>
required

Timestamp when assessment was created

assessment
object
required
artifacts
object[]
required

Generated artifacts (assessment files, diagrams)