commit
a3a4949d21
|
@ -0,0 +1,26 @@
|
||||||
|
id: api-dbt
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: dbt Cloud API Test
|
||||||
|
author: dwisiswant0
|
||||||
|
severity: info
|
||||||
|
reference: https://docs.getdbt.com/docs/introduction
|
||||||
|
tags: token-spray,dbt
|
||||||
|
|
||||||
|
self-contained: true
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "https://cloud.getdbt.com/api/v2/accounts/"
|
||||||
|
headers:
|
||||||
|
Content-Type: application/json
|
||||||
|
Authorization: Token {{token}}
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- "Invalid token"
|
||||||
|
- "Authentication credentials were not provided."
|
||||||
|
condition: or
|
||||||
|
negative: true
|
Loading…
Reference in New Issue