27 lines
654 B
YAML
27 lines
654 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
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.travis-ci.com/user"
|
|
headers:
|
|
Travis-API-Version: 3
|
|
Authorization: token {{token}}
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 403
|
|
negative: true
|
|
# digest: 4a0a00473045022100ef21fb10a0c1f5fff7a5b0cc6e22678120d684f0c02a65cc4b70e2854a11625802203a9e8a5722ab1768ffe61d860673375995ccf315fa5b18fe80fed706efdfaaef:922c64590222798bb761d5b6d8e72950 |