# AWS WAF

Scanner supports AWS WAF logs, which contain data about traffic that is analyzed by your web ACL. In order for Scanner to see these logs, you can configure WAF to publish these logs to S3.

## Step 1: Publish web ACL traffic logs to S3

You can follow the AWS documentation to configure WAF to write web ACL traffic logs to an S3 bucket. See: [Sending web ACL traffic logs to an Amazon Simple Storage Service bucket](https://docs.aws.amazon.com/waf/latest/developerguide/logging-s3.html).

## Step 2: Ingest via Scanner Collect

Follow the [Custom Logs - AWS S3](/scanner/using-scanner-complete-feature-reference/data-ingestion/sources/custom-logs-aws-s3.md) guide to ingest logs from S3 via Scanner Collect.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scanner.dev/scanner/using-scanner-complete-feature-reference/data-ingestion/sources/aws-waf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
