36 lines
766 B
YAML
36 lines
766 B
YAML
id: api-dbt
|
|
|
|
info:
|
|
name: dbt Cloud API - Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
description: dbt Cloud API test was conducted.
|
|
reference:
|
|
- https://docs.getdbt.com/docs/introduction
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,dbt
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- 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
|