Tag: AWS

Creating a Regex Pattern Set in AWS WAF
Creating a Regex Pattern Set in AWS WAF

AWS Web Application Firewall (WAF) is a powerful tool for protecting your web applications from various types of attacks. A Regex Pattern Set in AWS WAF enables you to match complex string patterns, helping to filter malicious requests or enforce specific rules. Here’s a step-by-step guide on creating a Regex Pattern Set in AWS WAF. Understand […]

Read More
How to Allow Verified Bots Using AWS WAF Bot Control
How to Allow Verified Bots Using AWS WAF Bot Control

AWS WAF Bot Control helps you manage bot traffic effectively by allowing you to distinguish between verified bots, like those from search engines, and unverified or potentially malicious bots. Below is an overview of how to configure your web ACL to allow verified bots: 1. Prerequisites Ensure AWS WAF Bot Control is enabled on your […]

Read More
How to Enable and Manage AWS WAF Logging with CloudWatch Logs
How to Enable and Manage AWS WAF Logging with CloudWatch Logs

AWS WAF allows you to log traffic of your web ACLs, providing detailed insights such as the request details, matched rules, and timestamps. Here’s a concise guide to enable and manage logging using Amazon CloudWatch Logs. 1. Configuring Logging To log web ACL traffic: Navigate to the AWS WAF console. Select the desired web ACL. Click Logging […]

Read More
Enhancing Request Handling with Custom Headers in AWS WAF
Enhancing Request Handling with Custom Headers in AWS WAF

AWS WAF allows you to insert custom headers into HTTP requests for non-blocking actions. This feature enables tailored downstream processing or request flagging for analysis without modifying or replacing the original request content. Use Cases and Applicable Actions Custom headers are used to signal downstream applications or flag requests for further analysis. They can be […]

Read More
AWS WAF: Overriding Rule Actions in a Rule Group
AWS WAF: Overriding Rule Actions in a Rule Group

Steps to Override Rule Actions 2. Manage Rule Actions: All Rules: Single Rule: 3. Save Changes Here is the example of the JSON configuration or overriding rule actions:

Read More
Finalizing Your AWS WAF Web ACL Configuration
Finalizing Your AWS WAF Web ACL Configuration

After adding rules and rule groups as suggested in this article, complete your web ACL setup.You have to do these steps: Set Rule Priority On the Set rule priority page, arrange the processing order for your rules and rule groups.AWS WAF processes rules from top to bottom. Adjust the order by selecting a rule and […]

Read More
AWS WAF: Creating Custom String Match Rule
AWS WAF: Creating Custom String Match Rule

Start with navigating to Add Rules. Go to the Add Rules and Rule Groups page.Click Add Rules, then Add my own rules and rule groups, and choose Rule builder > Rule visual editor. Let’s define the Rule Settings: For a Single header, specify the header (for example, User-Agent). Leave as None or choose a transformation […]

Read More
OpenSearch Alert Monitoring: High CPU Usage Example
OpenSearch Alert Monitoring: High CPU Usage Example

OpenSearch alerting feature sends notifications when data from one or more indices meets certain customizable conditions. Use cases include monitoring for HTTP status code 503, detecting CPU load averages above a specific threshold, or tracking the count of specific keywords in logs over defined intervals. Notifications can be configured to be sent via email, Slack, […]

Read More
How to Retrieve and Restore Snapshots from S3 Repository in OpenSearch
How to Retrieve and Restore Snapshots from S3 Repository in OpenSearch

Step 1: List Available Snapshots First, you need to list the snapshots available in your S3 repository. You can do this by running the following query: This will return a list of all snapshots in the my_s3_repository. The response will include details like the snapshot id, creation date, and state (e.g., success, partial). Step 2: […]

Read More
Creating Snapshot Management Policies with Keystore Integration and Slack Notification Setup
Creating Snapshot Management Policies with Keystore Integration and Slack Notification Setup

Step 1: Add AWS Credentials to the Keystore To securely store your AWS credentials, use the OpenSearch keystore. Add your AWS credentials to the OpenSearch keystore with the following commands: Enter your AWS access_key and secret_key when prompted. OpenSearch will use these stored credentials for S3 interactions. Step 2: Connect to S3 Bucket Now that […]

Read More