Add dbt Cloud API test

patch-1
Dwi Siswanto 2021-10-25 07:19:47 +07:00
parent 5759e77e6c
commit cedf73c3f5
1 changed files with 24 additions and 0 deletions

24
token-spray/dbt.yaml Normal file
View File

@ -0,0 +1,24 @@
id: api-dbt
info:
name: dbt Cloud API Test
author: dwisiswant0
reference: https://docs.getdbt.com/docs/introduction
severity: info
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"
negative: true