23 lines
427 B
YAML
23 lines
427 B
YAML
|
id: api-circleci
|
||
|
|
||
|
info:
|
||
|
name: CircleCI API Test
|
||
|
author: zzeitlin
|
||
|
reference: https://circleci.com/docs/api/v1
|
||
|
severity: info
|
||
|
tags: token-spray,circle,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
|