OWASP Benchmark with IAST agent
The OWASP Benchmark Project is a Java test suite designed to evaluate software vulnerability detection tools. The HCL AppScan IAST Java Agent is fully compliant with the OWASP Benchmark.
Procedure
To run OWASP Benchmark with AppScan IAST Java agent:
-
Clone
BenchmarkJavaandBenchmarkUtilsfrom https://github.com/OWASP-Benchmark. -
Open a command prompt, change to the
BenchmarkUtilsdirectory and, runmvn install -DskipTests. - In AppScan Enterprise: Start an IAST Java session and download the agent zip as described in Downloading and deploying Java IAST agent on the Web server.
-
Extract the contents of the
zipfile. -
In the extracted
JAR, locatesecagent.jarin thejar_deploymentfolder and copy it toBenchmarkJava\tools\HCL. -
From a command prompt, run
runBenchmark_wHCL.bat, and wait for a few moments until the message '[INFO] Press Ctrl-C to stop the container...'is displayed. -
Open another command prompt and run
BenchmarkJava\runCrawler.bat. -
After the crawl is complete, press Ctrl+C to stop the Benchmark
Tomcat instance. When asked
'Terminate batch job (Y/N)?', enter N. -
Run
BenchmarkJava\createScorecards.batThe test results can be found in:
BenchmarkJava\scorecard\Benchmark_v1.2_Scorecard_for_HCL_AppScan_IAST_v{IAST_version} filesFigure: OWASP Benchmark v1.2 result comparison
