{
"id": "space.highport.admin.rescanBlob",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"cid"
],
"properties": {
"cid": {
"type": "string",
"description": "The content address to re-judge."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "BlobNotFound",
"description": "The content store holds nothing under that CID."
},
{
"name": "ScannerUnavailable",
"description": "The daemon would not answer. Retryable."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"verdict"
],
"properties": {
"verdict": {
"type": "string",
"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"
]
},
"findingId": {
"type": "integer",
"description": "The malware_findings row, for a detection."
},
"signature": {
"type": "string",
"description": "The signature name, for a detection."
},
"quarantined": {
"type": "boolean",
"description": "Whether a quarantine was raised. False for a clean or unscanned verdict, and for a PUA match under BARD_SCAN_ON_UNWANTED=log."
}
}
},
"encoding": "application/json"
},
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}