24 lines
422 B
YAML
24 lines
422 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
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"admin"'
|
|
- '"login"'
|
|
condition: and
|