Files
nuclei-templates/token-spray/api-sonarcloud.yaml
Prince Chaddha dc81d63630 matcher fixed
2021-11-02 10:49:21 +05:30

23 lines
463 B
YAML

id: api-sonarcloud
info:
name: SonarCloud API Test
author: zzeitlin
severity: info
reference: https://sonarcloud.io/web_api/api/authentication
tags: token-spray,sonarcloud
self-contained: true
requests:
- method: GET
path:
- "https://sonarcloud.io/api/authentication/validate"
headers:
Authorization: Basic {{base64(token + ':')}}
matchers:
- type: word
part: body
words:
- '{"valid": true}'