24 lines
428 B
YAML
24 lines
428 B
YAML
|
id: api-travisci
|
||
|
|
||
|
info:
|
||
|
name: Travis CI API Test
|
||
|
author: zzeitlin
|
||
|
severity: info
|
||
|
reference: https://developer.travis-ci.com/
|
||
|
tags: token-spray,travis
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://api.travis-ci.com/user"
|
||
|
headers:
|
||
|
Travis-API-Version: 3
|
||
|
Authorization: token {{token}}
|
||
|
|
||
|
matchers:
|
||
|
- type: status
|
||
|
status:
|
||
|
- 403
|
||
|
negative: true
|