mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-07 19:23:18 +08:00
30 lines
721 B
YAML
30 lines
721 B
YAML
id: api-buildkite
|
|
|
|
info:
|
|
name: Buildkite API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://buildkite.com/docs/apis/rest-api/user
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,buildkite
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.buildkite.com/v2/user"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"graphql_id":'
|
|
- '"email":'
|
|
condition: and
|
|
# digest: 4b0a00483046022100bb960b3c5a7147471a44f16ab0b2b4db283ccf786af7b61fb8f82e8419ab1ffa022100e2ab5a426423fff4fe4bf370d8bcaf3bed8384002022c71b11469b9600f408b2:922c64590222798bb761d5b6d8e72950 |