| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains all the stuff used for Dealing with DevSEcOps findinings session in OWASP Open Securiry Summit
Please don't use this set up in production and let us know of any problems by logging an issue.
Installed packages:
User with uid 1000 in the host environment belongs to docker group
Atlassian account to get trial licences for Jira Core and Jira Software
git clone https://github.com/frannovo/dwdsof.git cd dwdsof/ git clone https://github.com/teamatldocker/jira.git jira git clone https://github.com/DefectDojo/django-DefectDojo mkdir data/postgresql_data mkdir data/jira_postgresqldata chmod 0777 -R data docker-compose up -d
# ln -s /path/to/dwdsof/data/jenkins_data /var/jenkins_home
Get admin credentials
docker exec -t $(docker ps | grep jenkins | awk '{print $1}') cat /var/jenkins_home/secrets/initialAdminPassword
Copy JobTemplate and scripts
cp -r /path/to/dwdsof/jenkins/JobTemplate /path/to/dwdsof/data/jenkins_data/jobs cp -r /path/to/dwdsof/jenkins/scripts /path/to/dwdsof/data/jenkins_data/
Reload Jenkins (Manage Jenkins > Reload Configuration from disk)
Create credentials
This change has been made to automatically create jira issues when a new finding is populated in the DefectDojo engagement when importing a scan.
--- a/dojo/api_v2/serializers.py
+++ b/dojo/api_v2/serializers.py
@@ -17,7 +17,7 @@ import datetime
import six
from django.utils.translation import ugettext_lazy as _
import json
-
+from dojo.tasks import add_issue_task, update_issue_task
class TagList(list):
def __init__(self, *args, **kwargs):
@@ -616,6 +616,8 @@ class ImportScanSerializer(TaggitSerializer, serializers.Serializer):
item.endpoints.add(ep)
+ # Automatic push to jira (WIP)
+ add_issue_task.delay(item, True)
# if item.unsaved_tags is not None:
# item.tags = item.unsaved_tags
chmod 0777 -R data
rm -rf /path/to/dwdsof-oss2019/data/sonarqube/es6
| Back | FazBrowse Home | New Git URL |