Giter Site home page Giter Site logo

api's Introduction

API

This is where the Node Security Project api is going to live.

Pull requests are appreciated and contributors will be attributed at https://nodesecurity.io/contributors

General Data Workflow

  1. NPM Change Event
  2. Jobsystem publishes job to check plugin
  3. plugins executed
  4. Plugin events created
  5. Area of Interest generated
  6. Area of Interest validated

Feature thoughts and considerations

  • API should be decoupled from the website and other clients

Users

  • Email
  • First Name
  • Last Name

Roles

  • Type [Admin, User]
  • User

Plugin Event

A plugin event is a paper trail that determines if a particular pattern was run against a particular module and a boolean result if something was found or not.

  • Points to a area of interest if true
  • Can't be deleted
  • Used to build search queries on what has been checked for what module
  • Shouldn't leak information about what's been found or not on a module until publish date

Area of Interest (aoi)

A aoi is an area of interest that the machine identified needs further investigation.

  • Machine user can create area of interest
  • User or any role can pop a area of interest off the stack to work on
  • Only Admin roles can see all area of interest
  • Hotspots may not be deleted only marked into a state other than open
  • Hotspots should contain the following and be ordered by timestamp (as we want users to pop the oldest one off)
    • Created date
    • UUID
    • Creator (could be a machine, could be a human)
    • area of interest description (README.md from plugin)
    • plugin title
    • relavent tech data (code, diff, etc)
    • module name
    • module version

Communication

  • If a area of interest is validated as a vulnerability it moves into the communicate stage.
  • Should be able to send emails
  • Should be able to recieve emails

Comments

  • All the things should be able to have associated comments
  • Fields
    • Created On
    • author
    • comment (markdown)
    • Thing it's associated with

api's People

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.