{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Re-judge stored content against the scanner's current signature database, without waiting for the sweep to reach it. Reads the bytes back out of the content store and quarantines on a detection.",
"errors": [
{
"description": "The content store holds nothing under that CID.",
"name": "BlobNotFound"
},
{
"description": "The daemon would not answer. Retryable.",
"name": "ScannerUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "The content address to re-judge.",
"type": "string"
}
},
"required": [
"cid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"findingId": {
"description": "The malware_findings row, for a detection.",
"type": "integer"
},
"quarantined": {
"description": "Whether a quarantine was raised. False for a clean or unscanned verdict, and for a PUA match under BARD_SCAN_ON_UNWANTED=log.",
"type": "boolean"
},
"signature": {
"description": "The signature name, for a detection.",
"type": "string"
},
"verdict": {
"description": "What the engine concluded. `unscanned` is neither a pass nor a failure: the engine declined to examine the bytes.",
"knownValues": [
"clean",
"malware",
"unwanted",
"unscanned"
],
"type": "string"
}
},
"required": [
"verdict"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "space.highport.admin.rescanBlob",
"lexicon": 1
}