Tag: AWS

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