> 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-has-field-level-logging-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS AppSync has field-level logging disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS AppSync has field-level logging disabled |
| Finding ID          | 60000735                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AWS\_APPSYNC\_GRAPHQL\_API                   |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685.002 (T1685.002)                        |

### Description

AWS AppSync APIs lacking field-level logging ('ERROR' or 'ALL') present a significant security risk. This misconfiguration hinders comprehensive monitoring and debugging, potentially leaving critical API activity undetected.

AWS AppSync's field-level logging enhances security by recording detailed information about data accessed through specific fields within GraphQL APIs. Disabling this feature limits visibility into API interactions, hindering the detection of malicious activities such as data exfiltration or unauthorized access. Attackers could exploit this lack of logging to evade detection.

The impact of this misconfiguration includes compromised security monitoring, reduced ability to identify and respond to security incidents, and difficulty in meeting compliance requirements. Enabling field-level logging provides granular insights into API usage, enabling faster detection of suspicious activity and aiding in forensic analysis following security incidents.

Mitigate this risk by explicitly enabling field-level logging in your AWS AppSync GraphQL APIs, selecting either 'ERROR' or 'ALL' logging levels. Regularly review and audit your AppSync API configurations to ensure this setting remains enabled and effective. Implement robust monitoring and alerting to detect any unexpected changes or disabling of this critical security feature.

### Remediation

**Manual steps:**

AWS Appsync Graphql Api - Manual remediation steps:

To turn on field-level logging on an AWS AppSync GraphQL API,

1. Sign in to the AWS Management Console.
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated
3. In the navigation pane, choose 'AWS AppSync' under the 'Front-end Web & Mobile' section.
4. On the APIs page, choose the name of a reported GraphQL API.
5. On your API's homepage, in the navigation pane, choose Settings.
6. Under API configurations, Click on Edit button.
7. In Edit API configuration window, Under Logging turn on Enable Logging.
8. Under Field resolver log level, choose your preferred field-level logging level Error or All according to your business requirements.
9. Under Create or use an existing role, choose New role to create a new AWS Identity and Access Management (IAM) that allows AWS AppSync to write logs to CloudWatch. Or, choose the Existing role to select the Amazon Resource Name (ARN) of an existing IAM role in your AWS account.
10. Choose Save.


---

# 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-has-field-level-logging-disabled.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.
