OWASP Benchmark with IAST agent
About this task
Run OWASP Benchmark with AppScan IAST Java agent
Procedure
-
Clone
BenchmarkJavaandBenchmarkUtilsfrom https://github.com/OWASP-Benchmark. -
Open a command prompt, change to the
BenchmarkUtilsdirectory, and runmvn install -DskipTests. - In ASoC, start an IAST Java session and download the agent zip as described in Starting an IAST session.
-
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. Wait until the message'[INFO] Press Ctrl-C to stop the container...'is displayed. -
Open another command prompt and run
BenchmarkJava\runCrawler.bat. -
Run
BenchmarkJava\createScorecards.bat.The test results are located in: BenchmarkJava\scorecard\Benchmark_v1.2_Scorecard_for_HCL_AppScan_IAST_v{IAST_version} filesOWASP Benchmark v1.2 result comparison
Run OWASP Benchmark with AppScan IAST Python agent
Before you begin
- Python 3.12 from https://www.python.org/downloads/windows/.
- rust from https://rustup.rs/. This is required for one of the OWASP dependencies.
- Java 17 from https://builds.openlogic.com/downloadJDK/openlogic-openjdk/17.0.18+8/openlogic-openjdk-17.0.18+8-windows-x64.msi
- Maven from https://maven.apache.org/download.cgi#CurrentMaven. Extract it to C:\Program files and add it to your PATH.
About this task
Procedure
-
Install OWASP Benchmark with IAST:
-
Run the crawler to generate benchmark results:
OWASP Benchmark v0.1 result comparison
