Microsoft Purview · Schema
ScanResult
The result of a scan run
ComplianceData CatalogData ClassificationData GovernanceData Loss PreventionInformation Protection
Properties
| Name | Type | Description |
|---|---|---|
| parentId | string | |
| id | string | |
| resourceId | string | |
| status | string | |
| assetsDiscovered | integer | |
| assetsClassified | integer | |
| diagnostics | object | |
| startTime | string | |
| endTime | string | |
| scanRulesetVersion | integer | |
| scanRulesetType | string | |
| scanLevelType | string | |
| errorMessage | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ScanResult",
"title": "ScanResult",
"type": "object",
"description": "The result of a scan run",
"properties": {
"parentId": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"Accepted",
"InProgress",
"TransientFailure",
"Succeeded",
"Failed",
"Canceled"
]
},
"assetsDiscovered": {
"type": "integer",
"format": "int64"
},
"assetsClassified": {
"type": "integer",
"format": "int64"
},
"diagnostics": {
"type": "object"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"scanRulesetVersion": {
"type": "integer",
"format": "int32"
},
"scanRulesetType": {
"type": "string",
"enum": [
"Custom",
"System"
]
},
"scanLevelType": {
"type": "string",
"enum": [
"Full",
"Incremental"
]
},
"errorMessage": {
"type": "string"
}
}
}