nuclei-templates/apis/asana.yaml

25 lines
579 B
YAML

id: api-asana
info:
name: Asana API Test
author: zzeitlin
reference: https://developers.asana.com/docs/using-terminal
severity: info
tags: api,asana
requests:
- method: GET
payloads:
token: token.txt
path:
- "https://app.asana.com/api/1.0/users/me"
redirects: false
headers:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Authorization: Bearer {{token}}
matchers:
- type: status
status:
- 401
negative: true