Cortex CloudApplication Security
Azure Spring Cloud API Portal is not enabled for HTTPS misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_161
Category - Subcategory
Public Exposure - APIs
Provider
AZURE
Severity
LOW
Framework
Terraform
Impact
Enabling HTTPS for your Azure Spring Cloud API Portal can help improve the security of your API portal. HTTPS is a secure protocol that encrypts data in transit, and using it can help prevent attackers from intercepting and reading your data.
How to Fix
Resources: azurerm_spring_cloud_api_portal
Attribute: https_only_enabled [source,go]
resource "azurerm_spring_cloud_api_portal" "pass" { name = "default" spring_cloud_service_id = azurerm_spring_cloud_service.example.id gateway_ids = [azurerm_spring_cloud_gateway.example.id] https_only_enabled = true public_network_access_enabled = true instance_count = 1 sso { client_id = "test" client_secret = "secret" issuer_uri = "https://www.example.com/issueToken" scope = ["read"] } }
PreviousAzure HTTP (port 80) access from the internet is not restricted misconfiguration detected in code
NextAzure Spring Cloud API Portal Public Access Is Enabled misconfiguration detected in code
Last updated
Was this helpful?
