You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository has been included into SCS Zuul configuration via zuul PR#20
As for now it executes nightly the following tools aginst a testbed instance: naabu + httpx + nuclei. The ouptut can be seen on SCS Zuul logs while the DefectDojo instance is being configured properly.
Pipeline development has been performed through private repos and a test Zuul deployment in order to not interfere with SCS Zuul instance and working pipelines.
After some blockers with ZAP integration, as by default official containers only support scanning one target at a time, daily scans work as expected, uploading resutls to defect dojo instance.
This daily scan performs a baseline passive scanning, leaving the heavy workloads of active scans to the weekly trigger (still under development). This trigger has been already added to Zuul configuration in zuul-config PR#41
Please give an update about the current state of blockers and progress in the next days, maybe in IAM/Sec call?
Will add everything we have worked until now in the call agenda.
Regarding current state of the pipeline, we are dealing with uploading weekly Greenbone Scans to DefectDojo. The scans themselves are working and providing valid xml results, but the import process is failing and debug information is not very "explicit" on what is happening.
A new branch has been created with the files and configuration that allow to perform weekly scans. This includes all previous tools plus Greenbone CE => feat/weekly-pipeline
During the development and deployment of this weekly pipeline, we encountered some blockers, that were investigated, mitigated and tested in our private environment before getting it into this stable state:
Docker-compose file modifications. In order to expose the gvmd unix socket to the worker node, and allow the communication between the python scanning script and the container architecture, some changes on the configuration of the volumes mappings has been done.
XML report was not being imported to DefectDojo. "import-scan" api POST request and specifically the "scan_type" variable was configured to use "OpenVAS Parser".
Pipeline was being stopped unexpectedly. The workaround was to specify a default timeout of some hours (1 for daily scans and 6 for weekly ones) in job configuration, as the scan of a single target (including tools deployment and setup) takes around 1,5 hrs to complete.
Minor fixes have been carried on the daily pipeline:
Installation and configuration scripts have been provided in order to allow the deployment of a fully functional DefectDojo instance. The infrastructure is created via terraform scripts and the installation via ansible playbooks and roles. Instructions for deployment have been provided in README file: SovereignCloudStack/defectdojo#1
Activity
bitkeks commentedon Mar 1, 2024
As discussed, the container pipeline is ready to be tested and ran in SCS Zuul.
As a first target, the security-test testbed is used. Reports are uploaded to the DefectDojo installed in this environment as well.
90n20 commentedon Mar 11, 2024
Initial draft of the pipeline has been commited to dev_pipeline branch at security-infra-scan-pipeline repository.
The repository has been included into SCS Zuul configuration via zuul PR#20
As for now it executes nightly the following tools aginst a testbed instance: naabu + httpx + nuclei. The ouptut can be seen on SCS Zuul logs while the DefectDojo instance is being configured properly.
90n20 commentedon Apr 30, 2024
Pipeline development has been performed through private repos and a test Zuul deployment in order to not interfere with SCS Zuul instance and working pipelines.
After some blockers with ZAP integration, as by default official containers only support scanning one target at a time, daily scans work as expected, uploading resutls to defect dojo instance.
This daily scan performs a baseline passive scanning, leaving the heavy workloads of active scans to the weekly trigger (still under development). This trigger has been already added to Zuul configuration in zuul-config PR#41
Mentioned updates are being merged via security-infra-scan-pipeline PR#2.
bitkeks commentedon May 17, 2024
Please give an update about the current state of blockers and progress in the next days, maybe in IAM/Sec call?
90n20 commentedon May 22, 2024
Will add everything we have worked until now in the call agenda.
Regarding current state of the pipeline, we are dealing with uploading weekly Greenbone Scans to DefectDojo. The scans themselves are working and providing valid xml results, but the import process is failing and debug information is not very "explicit" on what is happening.
90n20 commentedon Jun 3, 2024
A new branch has been created with the files and configuration that allow to perform weekly scans. This includes all previous tools plus Greenbone CE => feat/weekly-pipeline
During the development and deployment of this weekly pipeline, we encountered some blockers, that were investigated, mitigated and tested in our private environment before getting it into this stable state:
Minor fixes have been carried on the daily pipeline:
90n20 commentedon Jun 27, 2024
Weekly pipeline has been merged through SovereignCloudStack/security-infra-scan-pipeline#6. During the review of this PR some concerns were introduced:
Installation and configuration scripts have been provided in order to allow the deployment of a fully functional DefectDojo instance. The infrastructure is created via terraform scripts and the installation via ansible playbooks and roles. Instructions for deployment have been provided in README file: SovereignCloudStack/defectdojo#1
Documentation for the security scanner pipeline is WIP. It will expand https://docs.scs.community/docs/category/automated-pentesting with details on the following: