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

39 lines
956 B
YAML
Raw Permalink 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
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,smartsheet
2021-12-01 16:11:55 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-12-01 16:11:55 +00:00
- method: GET
path:
- "https://api.smartsheet.com/2.0/home?include=source"
2023-10-14 11:27:55 +00:00
2021-12-01 16:11:55 +00:00
headers:
Authorization: Bearer {{token}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"sheets":'
- '"folders":'
condition: and
# digest: 4a0a00473045022100d891d3a31383016e6255823ee59d42ca05d0eb1488d200d4ecb00bd272e67556022023dc430bedd0f64f68633d2a1c5609af786059418838b9848f5756ce59c71d9a:922c64590222798bb761d5b6d8e72950