2021-01-10 23:20:14 +00:00
|
|
|
id: swagger-api
|
2020-04-04 18:19:48 +00:00
|
|
|
|
|
|
|
info:
|
2021-03-24 09:51:58 +00:00
|
|
|
name: Public Swagger API
|
|
|
|
author: pdteam
|
2020-08-03 21:52:00 +00:00
|
|
|
severity: info
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: exposure,api,swagger
|
2020-04-04 18:19:48 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
2020-05-25 08:13:15 +00:00
|
|
|
path:
|
2021-04-14 03:26:50 +00:00
|
|
|
- "{{BaseURL}}/swagger/ui/index"
|
2020-04-04 18:19:48 +00:00
|
|
|
- "{{BaseURL}}/swagger/index.html"
|
|
|
|
- "{{BaseURL}}/swagger-ui.html"
|
|
|
|
- "{{BaseURL}}/swagger/swagger-ui.html"
|
|
|
|
- "{{BaseURL}}/api/swagger-ui.html"
|
|
|
|
- "{{BaseURL}}/api-docs/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api-docs/swagger.yaml"
|
2022-02-06 17:57:16 +00:00
|
|
|
- "{{BaseURL}}/api_docs"
|
2020-04-04 18:19:48 +00:00
|
|
|
- "{{BaseURL}}/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/swagger.yaml"
|
2020-04-04 18:19:48 +00:00
|
|
|
- "{{BaseURL}}/swagger/v1/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/swagger/v1/swagger.yaml"
|
2020-07-26 19:26:57 +00:00
|
|
|
- "{{BaseURL}}/api/index.html"
|
|
|
|
- "{{BaseURL}}/api/docs/"
|
|
|
|
- "{{BaseURL}}/api/swagger.json"
|
|
|
|
- "{{BaseURL}}/api/swagger.yaml"
|
|
|
|
- "{{BaseURL}}/api/swagger.yml"
|
|
|
|
- "{{BaseURL}}/api/swagger/index.html"
|
|
|
|
- "{{BaseURL}}/api/swagger/swagger-ui.html"
|
|
|
|
- "{{BaseURL}}/api/api-docs/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api/api-docs/swagger.yaml"
|
2020-07-26 19:26:57 +00:00
|
|
|
- "{{BaseURL}}/api/swagger-ui/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api/swagger-ui/swagger.yaml"
|
2020-07-26 19:26:57 +00:00
|
|
|
- "{{BaseURL}}/api/apidocs/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api/apidocs/swagger.yaml"
|
2020-07-26 19:26:57 +00:00
|
|
|
- "{{BaseURL}}/api/swagger-ui/api-docs"
|
|
|
|
- "{{BaseURL}}/api/api-docs"
|
|
|
|
- "{{BaseURL}}/api/apidocs"
|
|
|
|
- "{{BaseURL}}/api/swagger"
|
|
|
|
- "{{BaseURL}}/api/swagger/static/index.html"
|
|
|
|
- "{{BaseURL}}/api/swagger-resources"
|
|
|
|
- "{{BaseURL}}/api/swagger-resources/restservices/v2/api-docs"
|
|
|
|
- "{{BaseURL}}/api/__swagger__/"
|
|
|
|
- "{{BaseURL}}/api/_swagger_/"
|
|
|
|
- "{{BaseURL}}/api/spec/swagger.json"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api/spec/swagger.yaml"
|
2020-07-26 19:26:57 +00:00
|
|
|
- "{{BaseURL}}/api/swagger/ui/index"
|
2020-10-15 10:03:03 +00:00
|
|
|
- "{{BaseURL}}/__swagger__/"
|
|
|
|
- "{{BaseURL}}/_swagger_/"
|
2021-02-11 21:08:09 +00:00
|
|
|
- "{{BaseURL}}/api/v1/swagger-ui/swagger.json"
|
|
|
|
- "{{BaseURL}}/api/v1/swagger-ui/swagger.yaml"
|
2020-10-15 10:03:03 +00:00
|
|
|
- "{{BaseURL}}/swagger-resources/restservices/v2/api-docs"
|
2022-02-06 14:27:54 +00:00
|
|
|
- "{{BaseURL}}/api/swagger_doc.json"
|
2020-10-15 16:46:02 +00:00
|
|
|
|
2021-09-02 11:59:10 +00:00
|
|
|
stop-at-first-match: true
|
2020-10-15 16:46:02 +00:00
|
|
|
matchers-condition: and
|
2020-04-04 18:19:48 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2020-05-25 08:13:15 +00:00
|
|
|
words:
|
2021-02-11 21:08:09 +00:00
|
|
|
- "swagger:"
|
2021-04-14 03:26:50 +00:00
|
|
|
- "Swagger 2.0"
|
2020-04-04 18:19:48 +00:00
|
|
|
- "\"swagger\":"
|
|
|
|
- "Swagger UI"
|
2021-02-23 12:14:36 +00:00
|
|
|
- "**token**:"
|
2020-04-04 18:19:48 +00:00
|
|
|
condition: or
|
2020-10-15 16:46:02 +00:00
|
|
|
|
|
|
|
- type: status
|
2020-10-15 18:50:12 +00:00
|
|
|
status:
|
2021-02-23 12:14:36 +00:00
|
|
|
- 200
|