Giter Site home page Giter Site logo

zoph-io / aws-security-survival-kit Goto Github PK

View Code? Open in Web Editor NEW
436.0 18.0 35.0 754 KB

Bare minimum AWS Security Alerting and Configuration

Home Page: https://bio.link/zoph

License: GNU General Public License v3.0

Makefile 100.00%
alerting aws observability security

aws-security-survival-kit's People

Contributors

christophelimpalair avatar gvwalker avatar quinnypig avatar z0ph avatar

Stargazers

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

Watchers

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

aws-security-survival-kit's Issues

Monitor launch of IMDSv1 Instances.

Alarm on IMDSv1 Instances RunInstances

  "metadataOptions": {
      "state": "pending",
      "httpTokens": "optional",
      "httpPutResponseHopLimit": 1,
      "httpEndpoint": "enabled",
      "httpProtocolIpv4": "enabled",
      "httpProtocolIpv6": "disabled",
      "instanceMetadataTags": "disabled"
  },

Feature flag / cherry-pick of alerting

The idea is to be able to enable/disable some of the basic features of this kit.

For example, you don't want to enable the alerting when someone is triggering sts get-caller-identity to avoid alert fatigue.

Add Custom CloudWatch Dashboard

Consolidate in a CW Dashboard some useful metrics and findings like the CloudWatch Insight logs of "AccessDenied" to easily find and understand what is going wrong.

Ideas for later

  • Better naming of assets with a assk prefix everywhere #18
  • Feature flag / cherry-pick of alerting
  • Better Dashboarding Capabilities (Observability)
  • Full Integration with AWS ChatBot (Teams + Slack)
  • New detections based on this paper

CloudWatch Log Group does not get created automatically with CloudFormation Template

Hi,

The CTLogGroupName variable needs to point to an already existing Log Group created in CloudWatch. If the log group is not created the following errors are reported in CloudFormation:
cloudformation_error

If the log group is created, the kit works like a charm!
Can you add in the cloud formation template also the log group creation? I recommend to put 1 week retention not to have surprise costs, or have the retention defined as a variable in your Makefile.

Thanks for the work!

Multi-Account Support

Create a version which supports multi-account setups (AWS Organizations).

It should:

  1. Support sending all alerts to a centralized SNS topic (maybe in a Security Account). This can be managed separate from this stack.
  2. Ensure that documentation is clear on how to use CF StackSets to deploy not only across multiple accounts in the ORG, but also which stacks should be deployed across all regions that are in use, and which should be deployed to just US-EAST-1.

Rationale:

  • AWS Best Practice recommends the use of multiple accounts with Organizations to seperate workloads and different environments (DEV, PROD)

Add a License

Please consider defining a license, I would like to use this in line with your wishes. Thanks.

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.