curl --request POST \
--url https://api.example.com/api/scan/run \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "<string>",
"upload_id": "<string>",
"mapping_id": "<string>",
"audit_id": "<string>",
"audit_name": "<string>"
}
'{
"scan_id": "<string>",
"status": "<string>"
}Trigger a compliance scan with a policy against uploaded data
curl --request POST \
--url https://api.example.com/api/scan/run \
--header 'Content-Type: application/json' \
--data '
{
"policy_id": "<string>",
"upload_id": "<string>",
"mapping_id": "<string>",
"audit_id": "<string>",
"audit_name": "<string>"
}
'{
"scan_id": "<string>",
"status": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Basit-Ali0/Yggdrasil/llms.txt
Use this file to discover all available pages before exploring further.
/api/upload/api/mapping/confirm before scanning/api/scan/{id}"running" even though the scan completes synchronously{
"policy_id": "550e8400-e29b-41d4-a716-446655440000",
"upload_id": "123e4567-e89b-12d3-a456-426614174000",
"mapping_id": "789e0123-e45b-67c8-d901-234567890123",
"audit_name": "Q1 2024 Compliance Audit"
}
{
"scan_id": "abc12345-def6-7890-ghij-klmnopqrstuv",
"status": "running"
}
{
"error": "VALIDATION_ERROR",
"message": "Invalid request body",
"details": [
{
"path": ["policy_id"],
"message": "Required"
}
]
}
{
"error": "NOT_FOUND",
"message": "Mapping not found. Confirm mapping first."
}
{
"error": "NOT_FOUND",
"message": "Upload not found. Upload data first."
}
{
"error": "NOT_FOUND",
"message": "No rules found for this policy."
}
status: "running"completed with final metrics