Quiz 4
Task 1: Create a Product in DefectDojo
-
Log in to the DefectDojo dashboard.
-
Navigate to Products > Add Product.
-
Use the following details to create the product:
-
Name: Training AdiJava
-
Description: Training AdiJava Application
-
Product Manager: Admin User (admin)
-
Technical Contact: Admin User (admin)
-
Team Manager: Admin User (admin)
-
Product Type: Internal Application
-
SLA Configuration: Default
-
Regulations: Nothing selected
-
Business Criticality: Medium
-
Platform: Web
-
Lifecycle: Production
-
Origin: Internally Developed
-
-
Save the product and note the Product ID for later use. (Screenshot the Product ID)
Task 2: Set Up a SonarQube Project for Training AdiJava
On SonarQube Dashboard:
-
Log in to the SonarQube dashboard.
-
Select
Import Project
and choose theTraining AdiJava
repository from GitLab. -
Generate a
project token
and save it for later use.
On Tools Server:
-
Clone the
Training AdiJava
repository from your groupadinusa-pro-<your_username>
-
Run sonar-scanner using the
sonar-project.properties
file (Screenshot the sonar-project.properties content)
On SonarQube Dashboard:
-
Review the analysis results on the dashboard under the
Training AdiJava
project.(Screenshot the result in Sonarqube Dashboard)
Task 3: Run Dependency-Check and Send Results to DefectDojo
-
On the
tools
server, navigate to thetraining-adijavatransaksi
repository directory. -
Run the
dependency-check.sh
and generateXML
report format -
Send the results to DefectDojo
-
Confirm the report has been successfully uploaded and associated with the
Training AdiJava
product. (Screenshot the result in Defectdojo Dashboard)