Exposing Swagger/OpenAPI documentation is primarily a risk if your API has underlying security flaws, as it gives attackers a precise roadmap to find them.
Those detail every endpoint, parameter, and data model, making it easier to discover and exploit vulnerabilities like broken access control or injection points.
While a perfectly secure API mitigates the danger, protecting your documentation is a critical layer of defense that forces attackers to work without a map.
Severity: info
Fingerprint: 5733ddf49ff49cd1f5e22fb41664ce734f6ddeecf4ff0cb9bb1ab7494fc06d25
Public Swagger UI/API detected at path: /api/swagger.json - sample paths:
GET /customer
GET /customer/{id}
GET /customer/{id}/contacts
GET /invoice/{customerId}
GET /invoice/{customerId}/{invoiceId}/file
GET /page-content
GET /portal-config
GET /repairOrder
GET /repairOrder/requests
GET /role/my-roles
GET /serviceRequestType
GET /user
GET /user/{id}
GET /workInProgress
GET /workInProgress/{id}/repairOrders
POST /repairOrder/{id}/cancel
POST /repairOrder/{id}/reschedule
POST /role
Open service 20.101.2.157:443 · pcs-preview.protechas.com
2026-01-09 01:48
HTTP/1.1 302 Found Content-Length: 0 Connection: close Date: Fri, 09 Jan 2026 01:49:58 GMT Cache-Control: no-store Location: /.auth/login/aadb2c
Open service 20.101.2.157:443 · pcs-preview.protechas.com
2026-01-02 04:35
HTTP/1.1 302 Found Content-Length: 0 Connection: close Date: Fri, 02 Jan 2026 04:35:09 GMT Cache-Control: no-store Location: /.auth/login/aadb2c
Open service 20.101.2.157:443 · pcs-preview.protechas.com
2025-12-30 06:55
HTTP/1.1 302 Found Content-Length: 0 Connection: close Date: Tue, 30 Dec 2025 06:55:23 GMT Cache-Control: no-store Location: /.auth/login/aadb2c
Open service 20.101.2.157:443 · pcs-preview.protechas.com
2025-12-22 11:23
HTTP/1.1 302 Found Content-Length: 0 Connection: close Date: Mon, 22 Dec 2025 11:23:35 GMT Cache-Control: no-store Location: /.auth/login/aadb2c
Open service 20.101.2.157:443 · pcs-preview.protechas.com
2025-12-20 11:50
HTTP/1.1 302 Found Content-Length: 0 Connection: close Date: Sat, 20 Dec 2025 11:50:50 GMT Cache-Control: no-store Location: /.auth/login/aadb2c