29 lines
651 B
YAML
29 lines
651 B
YAML
id: api-circleci
|
|
|
|
info:
|
|
name: CircleCI API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://circleci.com/docs/api/v1
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,circleci
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"admin"'
|
|
- '"login"'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100befa69c8084387c43f1df5df2a5b9cacb42b1ad4d09c75933ba3db370ad2697b022100b6229895dd79e1bdbdd69a91b78d59b9227e543ee8df3bf385460c9ab095b9d0:922c64590222798bb761d5b6d8e72950
|