Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jandro996 committed Apr 10, 2024
1 parent 645db4b commit 830be9a
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void reportAdminConsoleActive(AgentSpan span, final String evidence) {
}

private void reportDefaultAppDeployed(final AgentSpan span, final String evidence) {
reporter.report(
reporter.noDedupReport(
span,
new Vulnerability(
VulnerabilityType.DEFAULT_APP_DEPLOYED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ class ApplicationModuleTest extends IastModuleImplTestBase {
'report' | 'application/directorylistingleak/insecure/websphere/xmi' | DIRECTORY_LISTING_LEAK | 'Directory listings configured' | 1
'report' | 'application/directorylistingleak/insecure/websphere/xml' | DIRECTORY_LISTING_LEAK | 'Directory listings configured' | 10
'noDedupReport' | 'application/adminconsoleactive/secure' | null | null | _
'noDedupReport' | 'application/adminconsoleactive/insecure/tomcat/manager' | DEFAULT_APP_DEPLOYED | ApplicationModuleImpl.TOMCAT_MANAGER_APP | NO_LINE
'noDedupReport' | 'application/adminconsoleactive/insecure/tomcat/host' | DEFAULT_APP_DEPLOYED | ApplicationModuleImpl.TOMCAT_HOST_MANAGER_APP | NO_LINE
'noDedupReport' | 'application/adminconsoleactive/insecure/tomcat/manager' | ADMIN_CONSOLE_ACTIVE | ApplicationModuleImpl.TOMCAT_MANAGER_APP | NO_LINE
'noDedupReport' | 'application/adminconsoleactive/insecure/tomcat/host' | ADMIN_CONSOLE_ACTIVE | ApplicationModuleImpl.TOMCAT_HOST_MANAGER_APP | NO_LINE
'noDedupReport' | 'application/defaultappdeployed/secure' | null | null | _
'noDedupReport' | 'application/defaultappdeployed/insecure/tomcat/samples' | DEFAULT_APP_DEPLOYED | ApplicationModuleImpl.TOMCAT_SAMPLES_APP | NO_LINE
'noDedupReport' | 'application/defaultappdeployed/insecure/jetty/async' | DEFAULT_APP_DEPLOYED | ApplicationModuleImpl.JETTY_ASYNC_REST_APP | NO_LINE
'noDedupReport' | 'application/defaultappdeployed/insecure/jetty/jaas' | DEFAULT_APP_DEPLOYED | ApplicationModuleImpl.JETTY_JAAS_APP | NO_LINE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
<display-name>Test app</display-name>
</web-app>

0 comments on commit 830be9a

Please sign in to comment.