Coder Social home page Coder Social logo

cyber-security-nessus's Introduction

Cyber Security Nessus

This repo holds the infrastructure to support cyber security's Nessus instance. Nessus is a vulnerability scanner which we have set up to scan specified government domains on a daily schedule.

Architecture

This infrastructure can broadly be broken down into the following steps:

  • Nessus is set up on an EC2 instance, and scans the specified domains daily.
  • Each day, a lambda will take the generated scans from Nessus and send them forward to cloudwatch
  • Using the centralised-security-logging-service, these cloudwatch logs are then forwarded onto splunk, where they can be queried under index nessus_scans

See below for a diagram of the architecture. Architecture diagram

Deployment details

Merges to master will trigger a deploy in Concourse.

This deploys to account 676218256630 in region eu-west-2

Prerequisites

Before contributing to this project for the first time, you will need to install pipenv and create an environment for this repo:

pip install pipenv
pipenv install --dev
cd cyber-security-nessus
pipenv shell

This will install all dev dependencies listed in Pipfile.

Tests

Tests are run as part of the concourse deployment, however if you want to run the tests manually, you need to use AWS credentials. The easiest was to do this is with aws-vault:

  • run the tests in the root of the project with
    aws-vault exec {vulnerability-account} -- pipenv run pytest
    

Adding a new scan

In order to schedule a new scan, you will need to add the scan details to scan.toml. Here you can configure scan schedule and domain. Information on how to do this can be found in this file.

This change is deployed by the Concourse pipeline on a merge to master.

Resources

cyber-security-nessus's People

Contributors

0atman avatar akinnane avatar alice-carr avatar danjoneslf avatar denizgenc avatar dependabot[bot] avatar detnon avatar elisha512 avatar gds-ahine avatar jhutchings1 avatar pritchyspritch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.