v1

latestSwagger 2.02026-07-17172265595.1 KB
compliance

Get single finding event

Retrieving single finding event

get/compliance/api/v1/compliance_result_events/single/{id}

Path parameters

findingIDstring required

ComplianceResultID

Response

OK

benchmarkIDstring
complianceJobIDinteger
complianceResultIDstring
complianceStatus'failed' | 'passed'
controlIDstring
evaluatedAtstring
idstring
integrationIDstring
integrationNamestring
integrationTypestring
parentComplianceJobIDinteger
platformResourceIDstring
previousComplianceStatus'failed' | 'passed'
previousStateActiveboolean
providerIDstring
reasonstring
resourceIDstring
resourceLocationstring
resourceNamestring
resourceTypestring
resourceTypeNamestring

Fake fields (won't be stored in ES)

severity'none' | 'low' | 'medium' | 'high' | 'critical'
stateActiveboolean

Example response

{
  "benchmarkID": "azure_cis_v140",
  "controlID": "azure_cis_v140_7_5",
  "id": "8e0f8e7a1b1c4e6fb7e49c6af9d2b1c8",
  "integrationID": "8e0f8e7a-1b1c-4e6f-b7e4-9c6af9d2b1c8",
  "integrationName": "8e0f8e7a-1b1c-4e6f-b7e4-9c6af9d2b1c8",
  "integrationType": "Azure",
  "platformResourceID": "/subscriptions/123/resourceGroups/rg-1/providers/Microsoft.Compute/virtualMachines/vm-1",
  "providerID": "8e0f8e7a-1b1c-4e6f-b7e4-9c6af9d2b1c8",
  "resourceID": "/subscriptions/123/resourceGroups/rg-1/providers/Microsoft.Compute/virtualMachines/vm-1",
  "resourceLocation": "eastus",
  "resourceName": "vm-1",
  "resourceType": "Microsoft.Compute/virtualMachines",
  "resourceTypeName": "Virtual Machine"
}