More Info:

This rule verifies whether Amazon API Gatewayv2 API routes have an authorization type configured. It ensures that appropriate authentication and authorization mechanisms are in place for accessing the API routes. The rule is marked as non-compliant if the authorization type is set to NONE, indicating that no authentication is required to access the routes

Risk Level

Medium

Address

Security

Compliance Standards

CBP,SEBI

Triage and Remediation

Remediation

To remediate the misconfiguration of API Gateway V2 not having an Authorization Type configured in AWS, you can follow these steps using the AWS Management Console:

  1. Login to AWS Console: Go to the AWS Management Console at https://console.aws.amazon.com/.

  2. Navigate to API Gateway: Click on the “Services” dropdown in the top left corner and select “API Gateway” under the Networking & Content Delivery section.

  3. Select the API: In the API Gateway dashboard, select the API that you want to remediate from the list of APIs.

  4. Configure Authorization Type:

    • Click on the “Routes” tab on the left-hand side of the console.
    • Select the route for which you want to configure the Authorization Type.
    • Click on the “Authorization” tab in the route configuration.
    • Under the “Authorization Type” dropdown, select the appropriate authorization type based on your requirements (e.g., JWT, AWS IAM, Lambda Authorizer, etc.).
  5. Save Changes: After selecting the desired Authorization Type, click on the “Save” button to apply the changes.

  6. Test the Configuration: It is recommended to test the API with the new Authorization Type to ensure that the configuration is working as expected.

By following these steps, you can remediate the misconfiguration of API Gateway V2 not having an Authorization Type configured in AWS using the AWS Management Console.