nuclei-templates/token-spray/heroku.yaml

26 lines
518 B
YAML

id: api-heroku
info:
name: Heroku API Test
author: zzeitlin
reference: https://devcenter.heroku.com/articles/platform-api-quickstart#calling-the-api
severity: info
tags: token-spray,heroku
requests:
- method: POST
path:
- "https://api.heroku.com/apps"
headers:
Accept: application/vnd.heroku+json; version=3
Authorization: Bearer {{token}}
matchers:
- type: status
status:
- 200
- 201
- 202
- 206
condition: or