35 lines
767 B
YAML
35 lines
767 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.0
|
|
cwe-id: CWE-200
|
|
tags: token-spray,dbt
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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
|