Merge pull request #3158 from daffainfo/patch-251

Create api-scanii.yaml
patch-1
Prince Chaddha 2021-11-19 11:10:33 +05:30 committed by GitHub
commit ddb8320de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: api-scanii
info:
name: Scanii API Test
author: daffainfo
severity: info
reference:
- https://docs.scanii.com/v2.1/resources.html
- https://github.com/daffainfo/all-about-apikey/blob/main/Anti-Malware/Scanii.md
tags: token-spray,scanii
self-contained: true
requests:
- 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