Git Product home page Git Product logo

aws-security-hub-prowler-integrations's Introduction

Use AWS Fargate and Prowler to send AWS Service security configuration findings to Security Hub

The code in this repo accompanies the AWS Security Blog Post: Use AWS Fargate and Prowler to send AWS Service security configuration findings to Security Hub. Prowler checks are ran from a container running on AWS Fargate which are sent to DynamoDB for persistence. Subsequent checks won't be sent to Security Hub if they are duplicate findings as only New Images are sent to the Stream.

For more information on Prowler see: https://github.com/toniblyx/prowler For more information on DynamoDB Streams see: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

Getting Started

Copy or download the AWS CloudFormation template ProwlerToSecurityHub_CloudFormation.yml and create a Stack from it. The rest of the instructions are within the Blog.

Solution architecture

Architecture The integration works as follows:

  1. A time-based CloudWatch Event will start the Fargate task on a schedule
  2. Fargate will pull a Docker image from Amazon Elastic Container Registry (ECR) that contains Prowler and Python scripts used to load an Amazon DynamoDB table.
  3. Prowler scans your AWS infrastructure and writes the scan results to a CSV file
  4. Python scripts convert the CSV to JSON and load DynamoDB with formatted Prowler findings
  5. A DynamoDB stream invokes an AWS Lambda function
  6. Lambda maps Prowler findings into the Amazon Security Finding Format (ASFF) before importing them to Security Hub

Where is the information from the Prowler check?

That will appear in the Description of the finding

License

This library is licensed under the MIT-0 License. See the LICENSE file.

aws-security-hub-prowler-integrations's People

Contributors

amazon-auto avatar jonrau-at-aws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.