> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-cloudfront-viewer-protocol-policy-is-not-configured-with-https.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS CloudFront viewer protocol policy is not configured with HTTPS

### Synopsis

| Field               | Value                                                              |
| ------------------- | ------------------------------------------------------------------ |
| Rule Type           | Detection                                                          |
| Finding Type        | AWS CloudFront viewer protocol policy is not configured with HTTPS |
| Finding ID          | 60000174                                                           |
| Generates a Finding | This detection rule also generates a finding                       |
| Severity            | Low                                                                |
| Category            | CONFIGURATION                                                      |
| Cloud Providers     | AWS                                                                |
| Platform Module     | CSPM                                                               |
| Asset Types         | CLOUDFRONT\_DISTRIBUTION                                           |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                    |
| ATT\&CK Technique   | T1600 (T1600)                                                      |

### Description

CloudFront distributions lacking HTTPS viewer protocol policies expose sensitive data transmitted to and from your web applications. This misconfiguration allows attackers to intercept unencrypted data.

CloudFront's viewer protocol policy determines how viewers connect to your distribution. Setting it to HTTPS ensures all connections use HTTPS, encrypting data in transit. Failure to enforce HTTPS leaves data vulnerable to eavesdropping, man-in-the-middle attacks, and data breaches, potentially exposing sensitive user information and compromising application integrity.

The impact of this misconfiguration is the exposure of sensitive data to unauthorized access, leading to data breaches, loss of user trust, and regulatory non-compliance. Enforcing HTTPS protects against these threats and ensures data confidentiality and integrity.

To mitigate this, explicitly configure the viewer protocol policy to HTTPS for all CloudFront distributions. Regularly review and update these settings, ensuring that only HTTPS connections are allowed. Utilize monitoring tools to detect and alert on any deviation from this policy.

### Remediation

**Manual steps:**

Cloudfront Distribution - Manual remediation steps:

Configure CloudFront to require HTTPS between viewers and CloudFront.

1. Go to the AWS console CloudFront dashboard.
2. Select your distribution Id.
3. Select the 'Behaviors' tab.
4. Check the behavior you want to modify then select Edit.
5. Choose 'HTTPS Only' or 'Redirect HTTP to HTTPS' for Viewer Protocol Policy.
6. Select 'Yes, Edit.'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-cloudfront-viewer-protocol-policy-is-not-configured-with-https.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
