nuclei-templates/token-spray/api-circleci.yaml

24 lines
426 B
YAML

id: api-circleci
info:
name: CircleCI API Test
author: zzeitlin
severity: info
reference:
- https://circleci.com/docs/api/v1
tags: token-spray,circleci
self-contained: true
requests:
- method: GET
path:
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
matchers:
- type: word
part: body
words:
- '"admin"'
- '"login"'
condition: and