If you previously configured the Generic Firewall Denylist integration and want to add support for Basic Auth, you can update your existing CloudFormation stack using using the AWS CloudFormation console.
- Sign in to the AWS CloudFormation console.
- Search for your previously created stack.
- Click .
- In the Prepare template section, select Replace an existing template.
- In the Specify template section, click Upload a template file.
- Click Choose file, and then select the deny_list_cfn JSON file.
- Click Next.
- Enter a username for HTTP Basic Authentication. For example, admin.
- Enter a comma-separated list of the IP addresses for the firewalls that require access to the denylist to apply it to your network traffic. For example, 0.0.0.0,8.8.8.8.
Note: These are IP addresses that need to read the denylist, not the IP addresses included in the denylist. The IP addresses should be public WAN IP addresses, not management IP addresses.
- Click Next.
- On the Configure stack options page, keep the default options selected.
- Select the I acknowledge that AWS CloudFormation might create IAM resources checkbox.
This stack creates a lambda role with access to read the bucket that contains the denylist.
- Click Next.
- Click Submit.
- Navigate back to the stack in the AWS CloudFormation console.
- Save the URLs for BasicAuthDenyListUrl and GetDenyListIPAllowlistUrl in a safe location.
- In any existing products previously configured to use the Generic Firewall Denylist integration, update the URL with the value found in GetDenyListIPAllowlistUrl.