32 lines
505 B
YAML
32 lines
505 B
YAML
id: openapi
|
|
|
|
info:
|
|
name: OpenAPI
|
|
author: pdteam,ynnirc
|
|
severity: info
|
|
tags: exposure,api
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/openapi.json"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- openapi
|
|
- paths
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- application/openapi+json
|
|
- application/json
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|