Giter Site home page Giter Site logo

defectdojo / defectdojo-engagement-survey Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grendel513/defectdojo-engagement-survey

1.0 2.0 2.0 223 KB

Extends django-DefectDojo (https://github.com/rackerlabs/django-DefectDojo) by incorporating survey(s) associated with each engagement to help develop a test strategy.

Python 68.97% HTML 31.03%

defectdojo-engagement-survey's Introduction

   ___      ___        __  ___         _         
  / _ \___ / _/__ ____/ /_/ _ \___    (_)__      
 / // / -_) _/ -_) __/ __/ // / _ \  / / _ \     
/____/\__/_/ \__/\__/\__/____/\___/_/ /\___/  __ 
  / __/__  ___ ____ ____ ____ __ |___/_ ___  / /_
 / _// _ \/ _ `/ _ `/ _ `/ -_)  ' \/ -_) _ \/ __/
/___/_//_/\_, /\_,_/\_, /\__/_/_/_/\__/_//_/\__/ 
  / __/_ /___/__  _/___/__ __                    
 _\ \/ // / __/ |/ / -_) // /                    
/___/\_,_/_/  |___/\__/\_, /                     
                      /___/                                      

defectDojo_engagement_survey

DefectDojo Engagement Survey extends django-DefectDojo (https://github.com/rackerlabs/django-DefectDojo) by incorporating survey(s) associated with each engagement to help develop a test strategy. The questions within these surveys have been created by the Rackspace Security Engineering team to help identify the attack vectors and risks associated with the product being assessed.

Installation

If you are using virtual environments, make sure you activate the appropriate one before installation.

clone the repository:

git clone https://github.com/grendel513/defectDojo-engagement-survey.git

run the install script:

cd defectDojo-engagement-survey
pip install .

synchronize your database (Django < 1.7 with south):

python manage.py schemamigration defectDojo_engagement_survey  --initial
python manage.py migrate defectDojo_engagement_survey

synchronize your database (Django >= 1.7):

python manage.py makemigrations defectDojo_engagement_survey
python manage.py migrate

Load initial fixtures

The Rackspace Security Engineering team has created an initial set of surveys, if you want to import them run:

python manage.py loaddata /path_to/initial_surveys.json

NOTE: Before installing the fixtures, add a Question via the Django Admin. Then use mysql to select * from defectDojo_engagement_survey_question;, this will give you the polymorphic_ctype_id for your system.

Update the initial_surveys.json to reflect your ID number, this can be accomplised with vim with :%s/70/NEW/g where NEW is your polymorphic_ctype_id

Configuration

settings.py

Add the following to the INSTALLED_APPS setting:

INSTALLED_APPS = (
    ...
    'defectDojo_engagement_survey',
    'dojo',
    'polymorphic',   # provides admin templates
    "overextends",
    ...
) 

Notice that defectDojo_engagement_survey is before dojo, this is because it extends and overrides features.

urls.py

Add the following:

from defectDojo_engagement_survey.urls import urlpatterns as survey_urls

urlpatterns += survey_urls

Usage

The Engagement Survey functionality will now be available under each engagement.
The creation of surveys is done via Django's Admin Interface

Questions or Comments?

Let me know if you have any questions or comments. Send me an email to [email protected]

Contributing

I love getting patches! Send me a pull request.

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.