GithubHelp home page GithubHelp logo

aws-breach-store's Introduction

AWS Breach Store

This project includes a parser for breached credentials and an API for accessing the data after it has been ingested into an Elasticsearch instance. It leverages Amazon Web Services in the following manner:

  • Elasticsearch - used as a NoSQL database for indexing breach data
  • API Gateway - used to create a simple API with authentication for accessing the breach data
  • Lambda - used to execute API functions tied to the API Gateway endpoints
  • CloudWatch - used to log API requests.

The guidelines and test data for this project were provided by SpyCloud.

The Parser

The parser takes a file name as a command line argument, which it parses and outputs the results as a .json file.

It expects the data to be in the format <email>:<password> with one record per line. It will reject lines which are not in this format and/or do not contain a valid email.

The API

The API provides 4 endpoints for retrieving breach data:

  • email
  • username (the username portion of the email)
  • domain (the domain portion of the email)
  • password

The Lambda Function

Since the scheme of the API bears a 1-to-1 relationship to the indexed fields, the Lambda function leans on the API for controlling what fields can be queried by dynamically retrieving the pathParameters and filtering the query based on the parameter names/values.

aws-breach-store's People

Contributors

qbedard avatar

Stargazers

A0XZ avatar

Watchers

James Cloos avatar  avatar

aws-breach-store's Issues

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.