id: api-scanii info: name: Scanii API Test author: daffainfo severity: info description: Simple REST API that can scan submitted documents/files for the presence of threats reference: - https://docs.scanii.com/v2.1/resources.html - https://github.com/daffainfo/all-about-apikey/tree/main/scanii metadata: max-request: 1 tags: token-spray,scanii self-contained: true http: - raw: - | GET https://api.scanii.com/v2.1/ping HTTP/1.1 Authorization: Basic {{base64(api + ':' + secret)}} Host: api.scanii.com matchers: - type: word part: body words: - '"key"' - '"message" : "pong"' condition: and # digest: 4a0a00473045022078f825c2797fe08f026fddaa434bd3b1841c0692a1bf603fd611ea755c3dd2c9022100b3a0b85cdd13e42a0cfd47d5cce8339db6615475a64ad404ab873801fd4874a8:922c64590222798bb761d5b6d8e72950