nuclei-templates/http/token-spray/api-smartsheet.yaml

35 lines
759 B
YAML
Raw Normal View History

2021-12-01 16:11:55 +00:00
id: api-smartsheet
info:
name: Smartsheet API Test
author: daffainfo
severity: info
description: Allows you to programmatically access and Smartsheet data and account information
2021-12-01 16:11:55 +00:00
reference:
- https://smartsheet.redoc.ly/
- https://github.com/daffainfo/all-about-apikey/tree/main/smartsheet
2021-12-01 16:11:55 +00:00
tags: token-spray,smartsheet
metadata:
max-request: 1
2021-12-01 16:11:55 +00:00
self-contained: true
http:
2021-12-01 16:11:55 +00:00
- method: GET
path:
- "https://api.smartsheet.com/2.0/home?include=source"
headers:
Authorization: Bearer {{token}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"sheets":'
- '"folders":'
condition: and