> 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-appsync-not-configured-with-aws-web-application-firewall-v2-aws-wafv2.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS AppSync not configured with AWS Web Application Firewall v2 (AWS WAFv2)

### Synopsis

| Field               | Value                                                                       |
| ------------------- | --------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                   |
| Finding Type        | AWS AppSync not configured with AWS Web Application Firewall v2 (AWS WAFv2) |
| Finding ID          | 60000646                                                                    |
| Generates a Finding | This detection rule also generates a finding                                |
| Severity            | Medium                                                                      |
| Category            | CONFIGURATION                                                               |
| Cloud Providers     | AWS                                                                         |
| Platform Module     | CSPM                                                                        |
| Asset Types         | AWS\_APPSYNC\_GRAPHQL\_API                                                  |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                             |
| ATT\&CK Technique   | T1686.001 (T1686.001)                                                       |

### Description

AWS AppSync instances lacking AWS WAFv2 protection are susceptible to application layer attacks. This misconfiguration exposes AppSync to various threats, including SQL injection, cross-site scripting (XSS), and denial-of-service (DoS) attacks.

AppSync, a managed service for building GraphQL APIs, inherently trusts all incoming requests unless explicitly protected. Without WAFv2, malicious actors can easily exploit known vulnerabilities or attempt brute-force attacks against your APIs, potentially leading to data breaches or service disruption. Untrusted IP addresses accessing unprotected AppSync endpoints pose a significant security risk.

The impact of this misconfiguration can range from unauthorized data access and API abuse to complete service compromise. Implementing WAFv2 provides an essential security layer, filtering malicious traffic before it reaches your AppSync. This proactive defense mechanism significantly reduces the risk of exploitation and protects sensitive data.

To mitigate this, configure AWS WAFv2 for each AppSync. Create a web ACL with appropriate rules to block suspicious traffic, such as requests from untrusted IP addresses or those containing malicious patterns. Regularly review and update WAFv2 rules to adapt to evolving threats. Ensure that all AppSync are protected by a WAFv2 web ACL.

### Remediation

**Manual steps:**

AWS Appsync Graphql Api - Manual remediation steps:

To configure AppSync with AWS WAF, follow the below URL:

<https://docs.aws.amazon.com/appsync/latest/devguide/WAF-Integration.html>


---

# 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-appsync-not-configured-with-aws-web-application-firewall-v2-aws-wafv2.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.
