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

34 lines
727 B
YAML

id: api-hubspot
info:
name: HubSpot API Test
author: zzeitlin
severity: info
reference:
- https://legacydocs.hubspot.com/docs/methods/owners/get_owners
tags: token-spray,hubspot
metadata:
max-request: 2
self-contained: true
http:
- method: GET
path:
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
- "https://api.hubapi.com/contacts/v1/lists/static?count=3&hapikey={{token}}"
matchers-condition: or
matchers:
- type: word
part: body
words:
- '"portalId":'
- '"ownerId":'
condition: and
- type: word
part: body
words:
- '"metaData":'
- '"portalId":'
condition: and