You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2024. It is now read-only.
In this step, you will configure the WAF Security Automation Solution. Once you have configured the HTTP Flood Protection and Probe/Scanner Log Parser, you will test the new rules.
The HTTP Flood protection provided by the Security Automation Solution can be configured. In this step, you will explore the possible configuration options.
8
+
9
+
6
10
The HTTP Flood log parser comes with some extensions points, they are:
7
11
8
12
* Request Threshold: the maximum acceptable requests per five minutes per IP address.
@@ -13,7 +17,9 @@ The HTTP Flood log parser comes with some extensions points, they are:
13
17
The goal now is to apply customizations and check how it affects the log parser behavior.
14
18
15
19
16
-
### 2.1.2 Customising the Parser
20
+
### 2.1.2 Customising the HTTP Log Parser
21
+
22
+
In this step you will edit the configuration file for the HTTP Log parser. This configuration is used by the Lambda Log Parser when processing log files.
17
23
18
24
* Go to the S3 bucket used for WAF Logs Bucket. To check it's name, go to stack's Outputs tab and search for the value defined for WafLogBucket;
19
25
* Download the configuration file `<stack_name>-waf_log_conf.json`;
Now we will customise our Scanner and Probe rules. These use Amazon Athena.
66
-
The solutions refer to the Athena by a saved query ID. As Athena don't allow you to change saved queries, the process to apply customizations to Athena query is by creating a new query and updating the Athena log parser event to use the new query ID.
71
+
Now you will customise our Scanner and Probe rules. These use Amazon Athena to query the logs generated by an application.
72
+
The solutions refer to Athena by a saved query ID. As Athena don't allow you to change saved queries, the process to apply customizations to Athena query is by creating a new query and updating the Athena log parser event to use the new query ID.
73
+
74
+
By customising the query performed by Athena, you can specify the rules for blocking scanners and probes.
67
75
68
76
### 2.2.1
69
77
* Navigate to the Amazon Athena console, select the Saved Queries tab;
0 commit comments