diff --git a/token-spray/api-dbt.yaml b/token-spray/api-dbt.yaml new file mode 100644 index 0000000000..8d19b5b055 --- /dev/null +++ b/token-spray/api-dbt.yaml @@ -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