FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use proper DefectDojo importer for nuclei and wpscan scans by J12934 · Pull Request #646 · secureCodeBox/secureCodeBox · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .gradle  (1) .java  (3) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion hooks/persistence-defectdojo/hook/build.gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repositories {
dependencies {
implementation 'io.kubernetes:client-java:12.0.0'

implementation 'io.securecodebox:defectdojo-client:0.0.19-SNAPSHOT'
implementation 'io.securecodebox:defectdojo-client:0.0.20-SNAPSHOT'

implementation group: 'org.springframework', name: 'spring-web', version: '5.3.9'
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public enum ScanNameMapping {
SSLYZE("sslyze", ScanType.SSLYZE_3_JSON_SCAN),
TRIVY("trivy", ScanType.TRIVY_SCAN),
GITLEAKS("gitleaks", ScanType.GITLEAKS_SCAN),
NIKTO("nikto", ScanType.NIKTO_SCAN),
NIKTO("nikto", ScanType.NIKTO_SCAN),
NUCLEI("nuclei", ScanType.NUCLEI_SCAN),
WPSCAN("wpscan", ScanType.WPSCAN),
GENERIC(null, ScanType.GENERIC_FINDINGS_IMPORT)
;

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DefectDojoFindingToSecureCodeBoxMapperTest {

@BeforeEach
public void setup(){
var config = new DefectDojoConfig("http://example.defectdojo.com", "placeholder", "placeholder");
var config = new DefectDojoConfig("http://example.defectdojo.com", "placeholder", "placeholder", 1000);
this.mapper = new DefectDojoFindingToSecureCodeBoxMapper(config, endpointService);
}

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class VersionedEngagementsStrategyTest {

@BeforeEach
public void setup() throws Exception {
versionedEngagementsStrategy.config = new DefectDojoConfig("https://defectdojo.example.com", "<key>", "foobar");
versionedEngagementsStrategy.config = new DefectDojoConfig("https://defectdojo.example.com", "<key>", "foobar", 1000);

scan = new Scan();
scan.setApiVersion("execution.securecodebox.io/v1");
Expand Down

Back | FazBrowse Home | New Git URL