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/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,travis
|
|
|
|
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: 4a0a0047304502210081398c66d276a217de7d283093d20c326b2258d36c91764c23547d5394c4a66a022007829492943ed4b1c990525f63eb28b24749e790ece26d7293f8f8d75410f240:922c64590222798bb761d5b6d8e72950 |