Skip to content

Commit

Permalink
Mark Nessus as deprecated inside SecHub #1932
Browse files Browse the repository at this point in the history
- renamed nessus gradle subprojects
- changed build
- changed example data pathes
  • Loading branch information
de-jcup committed Feb 13, 2023
1 parent ab948ce commit 963f1f9
Show file tree
Hide file tree
Showing 40 changed files with 30 additions and 22 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static NessusAdapterTestFileSupport getTestfileSupport() {
}

NessusAdapterTestFileSupport() {
super("sechub-adapter-nessus/src/test/resources");
super("deprecated-sechub-adapter-nessus/src/test/resources");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static NetsparkerAdapterTestFileSupport getTestfileSupport() {
}

NetsparkerAdapterTestFileSupport() {
super("sechub-adapter-netsparker/src/test/resources");
super("deprecated-sechub-adapter-netsparker/src/test/resources");
}

}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
dependencies {

implementation project(':sechub-scan')
implementation project(':sechub-adapter-nessus')
implementation project(':deprecated-sechub-adapter-nessus')

testImplementation project(':sechub-testframework')
}
Expand Down
14 changes: 7 additions & 7 deletions gradle/projects.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ projectType = [
/* adapter projects - have simple spring dependencies, but know only sechub-adapter as base */
springBootAdapterProjects: [
project(':sechub-adapter'),
project(':deprecated-sechub-adapter-netsparker'),
project(':sechub-adapter-nessus'),
project(':sechub-adapter-checkmarx'),
project(':sechub-adapter-pds'),
project(':sechub-adapter-checkmarx'),
project(':deprecated-sechub-adapter-netsparker'),
project(':deprecated-sechub-adapter-nessus'),
],

/* PDS projects, all contained inside product delegation server */
Expand All @@ -74,11 +74,11 @@ projectType = [
project(':sechub-shared-kernel'),

project(':sechub-scan'),
project(':deprecated-sechub-scan-product-netsparker'),
project(':sechub-scan-product-nessus'),
project(':sechub-scan-product-checkmarx'),
project(':sechub-scan-product-sereco'),
project(':sechub-scan-product-pds'),
project(':sechub-scan-product-sereco'),
project(':sechub-scan-product-checkmarx'),
project(':deprecated-sechub-scan-product-netsparker'),
project(':deprecated-sechub-scan-product-nessus'),
],

/* SecHub frontend projects */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
==== Netsparker
[WARNING]
====
Netsparker support is deprecated and will vanish. As a replacement we have:
Netsparker support inside {sechub} is deprecated and will vanish. As a replacement we have:
{pds-solutions-projectsite}/owasp-zap
====
Netsparker is a web scanner.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// SPDX-License-Identifier: MIT
[[section-infrastructure-setup-security-products-nessus]]
==== Nessus

[WARNING]
====
Nessus support inside {sechub} is deprecated and will vanish when there is another infra structure scan
product integration available as an replacement.
====
see https://www.tenable.com
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"fileSystem": {
"folders": ["sechub-adapter/src/main/java",
"sechub-adapter-checkmarx/src/main/java",
"sechub-adapter-nessus/src/main/java",
"deprecated-sechub-adapter-nessus/src/main/java",
"deprecated-sechub-adapter-netsparker/src/main/java",
"sechub-administration/src/main/java",
"sechub-authorization/src/main/java",
"sechub-cli/src",
"sechub-notification/src/main/java",
"sechub-scan/src/main/java",
"sechub-scan-product-checkmarx/src/main/java",
"sechub-scan-product-nessus/src/main/java",
"deprecated-sechub-scan-product-nessus/src/main/java",
"deprecated-sechub-scan-product-netsparker/src/main/java",
"sechub-scan-product-sereco/src/main/java",
"sechub-schedule/src/main/java",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public enum ProductIdentifier {
/**
* Infrastructure scanner
*/
@Deprecated
NESSUS(ProductType.INFRASCAN),

/**
Expand Down
8 changes: 5 additions & 3 deletions sechub-server-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ dependencies {
api project(':sechub-administration')
api project(':sechub-notification')
api project(':sechub-scan')
api project(':deprecated-sechub-scan-product-netsparker')
api project(':sechub-scan-product-nessus')
api project(':sechub-scan-product-sereco')
api project(':sechub-scan-product-checkmarx')
api project(':sechub-scan-product-pds')
api project(':sechub-sereco')

api project(':deprecated-sechub-scan-product-netsparker')
api project(':deprecated-sechub-scan-product-nessus')


testImplementation project(':sechub-testframework')
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ dependencies {
api project(':sechub-administration')
api project(':sechub-notification')
api project(':sechub-scan')
api project(':deprecated-sechub-scan-product-netsparker')
api project(':sechub-scan-product-nessus')
api project(':sechub-scan-product-sereco')
api project(':sechub-scan-product-checkmarx')
api project(':sechub-scan-product-pds')
api project(':sechub-sereco')

api project(':deprecated-sechub-scan-product-netsparker')
api project(':deprecated-sechub-scan-product-nessus')

testImplementation project(':sechub-testframework')
}
6 changes: 3 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ include 'sechub-cli',
'sechub-schedule',
'sechub-scan',
'deprecated-sechub-scan-product-netsparker',
'sechub-scan-product-nessus',
'deprecated-sechub-scan-product-nessus',
'sechub-scan-product-checkmarx',
'sechub-scan-product-sereco',
'sechub-scan-product-pds',

// adapters
'sechub-adapter',
'deprecated-sechub-adapter-netsparker',
'sechub-adapter-nessus',
'deprecated-sechub-adapter-nessus',
'sechub-adapter-checkmarx',
'sechub-adapter-pds',

Expand Down Expand Up @@ -92,4 +92,4 @@ buildCache {
}
}

}
}

0 comments on commit 963f1f9

Please sign in to comment.