Skip to content

ferozsalam/terraform-s3-clamav

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 12, 2018 22:10
November 14, 2018 15:46
April 9, 2019 09:08
November 12, 2018 22:10

terraform-s3-clamav

What is this?

This is a Terraform module that allows antivirus scanning of S3 buckets on object creation.

Pretty rough-and-ready, but does the job.

The code and architecture of the resulting AWS infrastructure is the work of Upside Travel, although their current build does not work, so I have used the forked version by Petri Laakso. The lambda function build was created in April 2019. This is simply a wrapper to ease the provisioning of this service, removing the need to manually click on buttons in the AWS console.

See the Upside Travel documentation for more information regarding how the system works.

Clamav definitions are updated every three hours. The default behaviour is to prevent download of an infected file by any user other than the root user. Access to the file is also provided to the Lambda function that does the scanning, naturally.

This is the result of two days of learning Terraform and two weeks of playing with AWS, so I welcome any pull requests, especially if they make my configuration files more idiomatic.

About

Terraform module that allows antivirus scanning of S3 buckets on object creation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages