Insecure host (OAS3)

owasp:api7:2019-security-hosts-https-oas3

Rule Severity:

High

Ensure APIs use HTTPS
This rule applies at the API Specification level (OAS/Swagger).
HTTP should never be used. Endpoints with weak security mechanisms are at risk of being breached.

1. How to Identify with Example Scenario

Find the text in bold to identify issues such as these in API specifications

paths:
 /myPath:
servers:
 - url: http://firetail.io

2. How to Identify with Example Scenario

Find the text in bold to identify issues such as these in API specifications

1. How to Resolve with Example Scenario

Find the text in bold to identify issues such as these in API specifications

paths: /myPath:servers: - url: https://firetail.io

2. How to Resolve with Example Scenario

Modify the text in bold to resolve issues such as these in API specifications
References: