nuclei-templates/http/token-spray/api-wakatime.yaml

28 lines
504 B
YAML

id: api-wakatime
info:
name: WakaTime CI API Test
author: zzeitlin
severity: info
reference:
- https://wakatime.com/developers
metadata:
max-request: 1
tags: token-spray,wakatime
self-contained: true
http:
- method: GET
path:
- "https://wakatime.com/api/v1/users/current/projects/?api_key={{token}}"
matchers:
- type: word
part: body
words:
- '"data":'
- '"seconds":'
- '"is_up_to_date":'
condition: and