AppSync field-level logging is not enabled

firetail:aws-appsync-no-fiel-level-logging

Type:

CSPM

Rule Severity:

Low

The AppSync Graphql API does not have field-level logging enabled.

Field-level logging provides granular insights into the specific fields being queried in GraphQL requests. Without this detailed logging, it's difficult to monitor and track how sensitive fields are being accessed, leading to potential security issues such as:

  • Limited Visibility: Lack of detailed data makes it challenging to identify unauthorized or suspicious access to specific fields.
  • Harder Troubleshooting: Diagnosing errors or misconfigurations within individual fields becomes difficult without field-level logs.
  • Security Blind Spots: Malicious actors may exploit unmonitored fields, making it difficult to detect issues like data scraping or unauthorized access.

Remediation

Enable field-level logging for the AppSync GraphQL API.

Example Attack Scenario

An attacker targets a GraphQL endpoint to access sensitive user data by exploiting unmonitored fields. For example, the attacker could try to manipulate queries to access a user’s private information, such as email addresses, payment details, or account balances. Since field-level logging is not enabled, these specific field accesses remain undetected in the logs, making it harder for security teams to identify or respond to the unauthorized data access. The attacker could continue querying sensitive fields without triggering any alerts or alarms, potentially scraping large amounts of data without being noticed.

How to Identify with Example Scenario

How to Resolve with Example Scenario

How to Identify with Example Scenario

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

How to Resolve with Example Scenario

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

More findings

All Findings