All Projects → mybuilder → aws-waf-logger

mybuilder / aws-waf-logger

Licence: MIT license
Log all AWS WAF Matched Rules to S3 and/or Loggly using Serverless

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to aws-waf-logger

lambda-resize-image
An AWS Lambda Function to resize images automatically with API Gateway and S3 for imagemagick tasks. When an image is called on AWS Api Gateway, this package will resize it and send it to the S3.
Stars: ✭ 56 (+211.11%)
Mutual labels:  lambda
terraform-external-module-artifact
Terraform module to fetch any kind of artifacts using curl (binary and text okay)
Stars: ✭ 13 (-27.78%)
Mutual labels:  lambda
serverless-email-scheduler
Schedule future emails with AWS Lambda and Step Functions
Stars: ✭ 29 (+61.11%)
Mutual labels:  lambda
go-appsync-graphql-cloudformation
AWS AppSync GraphQL API Proxy with Lambda, CloudFormation, and SAM
Stars: ✭ 28 (+55.56%)
Mutual labels:  lambda
basic-serverless-api
A basic full stack example of building an API with AWS Amplify, Amazon API Gateway, AWS Lambda, and Amazon DynamoDB
Stars: ✭ 45 (+150%)
Mutual labels:  lambda
gozeit
GoZeit
Stars: ✭ 19 (+5.56%)
Mutual labels:  lambda
sigs
Simple thread-safe signal/slot C++17 include-only library.
Stars: ✭ 32 (+77.78%)
Mutual labels:  lambda
py-lambda-action
A Github Action to deploy AWS Lambda functions written in Python with their dependencies in a separate layer.
Stars: ✭ 49 (+172.22%)
Mutual labels:  lambda
GDPatrol
A Lambda-powered Security Orchestration framework for AWS GuardDuty
Stars: ✭ 50 (+177.78%)
Mutual labels:  aws-security
ebs-backup
Backup EBS Volumes
Stars: ✭ 34 (+88.89%)
Mutual labels:  lambda
sidecar
Deploy and execute AWS Lambda functions from your Laravel application.
Stars: ✭ 543 (+2916.67%)
Mutual labels:  lambda
lastkeypair
A serverless SSH certificate authority to control access to machines using IAM and Lambda
Stars: ✭ 39 (+116.67%)
Mutual labels:  lambda
serverless-plugin-epsagon
Epsagon's plugin for Serverless Framework ⚡️
Stars: ✭ 53 (+194.44%)
Mutual labels:  lambda
functions.netlify.com
Tutorials, examples, workshops and a playground for serverless with Netlify Functions
Stars: ✭ 498 (+2666.67%)
Mutual labels:  lambda
java-functional-features-tutorial
This repo is DEPRECATED. Please use https://github.com/bobocode-projects/java-fundamentals-course
Stars: ✭ 15 (-16.67%)
Mutual labels:  lambda
pulumi-aws-serverless
Easy serverless programming for AWS
Stars: ✭ 15 (-16.67%)
Mutual labels:  lambda
aws-lambda-powertools-typescript
A suite of utilities for AWS Lambda Functions that makes structured logging, creating custom metrics asynchronously and tracing with AWS X-Ray easier
Stars: ✭ 817 (+4438.89%)
Mutual labels:  lambda
amazon-eventbridge-producer-consumer-example
A simple producer/consumer example for Amazon EventBridge. Questions? @jbesw.
Stars: ✭ 49 (+172.22%)
Mutual labels:  lambda
recipeek
🍽️ Recipe search app
Stars: ✭ 20 (+11.11%)
Mutual labels:  lambda
lambda
lambda calculus interpreter
Stars: ✭ 23 (+27.78%)
Mutual labels:  lambda

AWS WAF Logger

The AWS WAF is an amazing feature however actually getting meaningful logs out of it can be a pain. Since putting it in-place we have been wanting to analyse the traffic patterns and which rules are getting hit. However, at this time AWS does not provide such a log stream.

To remedy this we have created this small scheduled Lambda which queries the AWS SDK GetSampledRequests action to fetch any matches and store them in S3 and/or Loggly. This allows us to look at current and historical data about the WAF's actions.

Configuration

You must first specify your desired configuration within env.yml, using env.yml.example as a template. This service uses Serverless to manage provisioning the Lambda, so with this present on your machine you can simply execute:

$ serverless deploy -v

Depending on if you have configured to output the logs to S3 and/or Loggly you will now begin to see any resulting output based on your check frequency.

Note: GetSampledRequests only returns a 'sample' (max 500) among the first 5,000 request that your resource receives during the specified time range. As such the check frequency may need to be adjusted according to your throughput.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].