{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Rescan stored content against the current signature database now, instead of waiting for the sweep. Quarantines on a detection.",
"errors": [
{
"description": "Nothing is stored under that CID.",
"name": "BlobNotFound"
},
{
"description": "The scanner did not respond. Safe to retry.",
"name": "ScannerUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "The content address to rescan.",
"type": "string"
}
},
"required": [
"cid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"findingId": {
"description": "The ID of the recorded finding, for a detection.",
"type": "integer"
},
"quarantined": {
"description": "Whether the content was quarantined. False for clean and unscanned verdicts, and for a PUA match when BARD_SCAN_ON_UNWANTED=log.",
"type": "boolean"
},
"signature": {
"description": "The signature name, for a detection.",
"type": "string"
},
"verdict": {
"description": "The scanner's verdict. `unscanned` means the scanner declined to look at the bytes; it is neither a pass nor a failure.",
"knownValues": [
"clean",
"malware",
"unwanted",
"unscanned"
],
"type": "string"
}
},
"required": [
"verdict"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "space.highport.admin.rescanBlob",
"lexicon": 1
}