AWS

Download 604
Last updated Dec 1, 2026

7. Response Service

The AWS app provides the AWS WAF response model. Adding or removing an IP in a Logpresso address group updates the AWS WAF IP set accordingly, so detection rules and playbooks can block addresses.

Skip this page if you do not use the response service.

1. Prepare the AWS WAF IP set

In IP sets of the AWS WAF console, create the IP set to use for blocking or pick an existing one. Copy its name and ID; both are entered in the response service settings.

IP sets are managed per region, and an IP set applied to CloudFront must be created with the global (CloudFront) scope. The scope of the IP set must match the AWS region value of the response service.

To actually block traffic, a web ACL rule must reference the IP set with the action set to Block. Logpresso synchronizes only the address list of the IP set and does not change web ACL rules.

2. Check the IAM permissions

The WAF permissions in 2. IAM Policy Configuration must be granted to the connection profile.

  • wafv2:GetIPSet
  • wafv2:ListIPSets
  • wafv2:UpdateIPSet

3. Add the response service

Go to Settings > Response Services, click Add, and fill in the fields.

GroupFieldValue
RequiredNameUnique name to identify the response service
RequiredModelSelect AWS WAF
RequiredConnect profileThe AWS connection profile created in 5. Connection Profile
RequiredAWS regionRegion where the IP set was created. Select CloudFront for an IP set applied to CloudFront
RequiredIP set IDID of the IP set copied in step 1
RequiredIP set nameName of the IP set copied in step 1

The supported actions are block IP, block IP list, unblock IP, and unblock IP list.

4. Verify the setup

After saving the response service, add a test IP to the address group and check that the same address appears in the IP set in the AWS WAF console. Then remove the test IP and check that it disappears from the IP set as well.

Caution
An AWS WAF IP set stores addresses in CIDR form: a single IPv4 address is recorded as /32 and a single IPv6 address as /128. Addresses that Logpresso did not add can stay in the IP set, but a dedicated IP set for the response service is recommended to avoid confusion during operation.