Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

Rule: API Gateway Stage Should Be Associated with WAF

Ensure that API Gateway stage is associated with Web Application Firewall for enhanced security.

RuleAPI Gateway stage should be associated with waf
FrameworkFederal Financial Institutions Examination Council (FFIEC)
Severity
Medium

Rule Description: API Gateway Stage Association with WAF for FFIEC Compliance

Overview:

This rule ensures compliance with the Federal Financial Institutions Examination Council (FFIEC) guidelines by ensuring that the API Gateway stage is associated with a Web Application Firewall (WAF). The WAF helps protect the API Gateway and its associated resources from potential security threats and vulnerabilities.

Policy Details:

The FFIEC mandates the implementation of appropriate security measures for financial institutions to safeguard sensitive customer information and assets. One of the essential security measures includes protecting web applications against potential attacks. To comply with this requirement, the API Gateway stages should be associated with a WAF.

Enabling a WAF for API Gateway stages provides an additional layer of security, allowing you to configure rules and policies that protect your APIs from common web vulnerabilities such as SQL injection, cross-site scripting (XSS), and other malicious attacks. This protects your API and the data it handles from unauthorized access, manipulation, and potential data breaches.

Troubleshooting Steps (if applicable):

In case you encounter any issues while associating the API Gateway stage with a WAF, you can follow these troubleshooting steps:

  1. 1.

    Ensure proper permissions: Verify that you have the necessary permissions to configure the API Gateway and WAF resources. Contact your AWS account's administrator if needed.

  2. 2.

    Check WAF subscription: Verify that you have an active subscription to the AWS WAF service. If not, you need to subscribe to the service before proceeding.

  3. 3.

    Verify the API Gateway deployment: Ensure that you have deployed your API in the desired stage within the API Gateway before attempting to associate it with a WAF.

  4. 4.

    Check WAF availability: Confirm that the desired WAF is available in the desired AWS region where your API Gateway is deployed.

  5. 5.

    Validate API Gateway integration: Ensure that your API Gateway is integrated correctly with the backend services or Lambda functions. Any misconfigurations in integration might impact WAF association.

Necessary Codes (if applicable):

There are no specific codes required for this rule. However, you will need to use AWS Management Console or AWS Command Line Interface (CLI) commands to associate the API Gateway stage with a WAF.

Step-by-step Guide for Remediation:

Follow these steps to associate an API Gateway stage with a WAF:

  1. 1.

    Open the AWS Management Console or launch AWS CLI.

  2. 2.

    Go to the Amazon API Gateway service and select your desired API.

  3. 3.

    Navigate to the "Stages" section within the API Gateway console.

  4. 4.

    Select the desired stage that needs to be associated with a WAF.

  5. 5.

    Click on the "Associated WAF" tab or option in the stage settings.

  6. 6.

    Choose the WAF that you want to associate with the selected stage.

  7. 7.

    Save the changes and apply the association.

  8. 8.

    Validate the integration by testing the API and monitoring WAF logs for any potential security threats.

By associating a WAF with your API Gateway stages, you enhance the security posture of your API infrastructure and ensure compliance with FFIEC guidelines.

Note: The exact steps may vary slightly based on the AWS Management Console UI changes and updates. Always refer to the official AWS documentation for the most up-to-date instructions.

Remember to regularly monitor and maintain your WAF and API Gateway configurations to address any emerging security threats and vulnerabilities, ensuring continuous compliance with regulatory requirements.

Conclusion:

Associating API Gateway stages with a Web Application Firewall (WAF) is crucial for FFIEC compliance and overall security. By implementing this rule, you strengthen your API infrastructure, protect against common web vulnerabilities, and safeguard sensitive data. Following the steps outlined above helps ensure a secure and compliant environment for your financial institution.

Is your System Free of Underlying Vulnerabilities?
Find Out Now