Skip to content

Commit

Permalink
Merge pull request #6 from joernio/andrei/remove-owasp
Browse files Browse the repository at this point in the history
[Datasets] Remove OWASP
  • Loading branch information
AndreiDreyer committed Jun 18, 2024
2 parents a0ba2f9 + dfa1d98 commit e1c8580
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 58 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
mv workspace/ichnaea.zip ichnaea.zip
mv workspace/securibench-micro-JAVA.zip securibench-micro-JAVA.zip
mv workspace/securibench-micro-JAVASRC.zip securibench-micro-JAVASRC.zip
mv workspace/OWASP-BenchmarkJava-JAVA.zip OWASP-BenchmarkJava-JAVA.zip
mv workspace/OWASP-BenchmarkJava-JAVASRC.zip OWASP-BenchmarkJava-JAVASRC.zip
mv workspace/THORAT.zip THORAT.zip
- name: Set next release version
id: taggerFinal
Expand All @@ -61,6 +59,4 @@ jobs:
ichnaea.zip
securibench-micro-JAVA.zip
securibench-micro-JAVASRC.zip
OWASP-BenchmarkJava-JAVA.zip
OWASP-BenchmarkJava-JAVASRC.zip
THORAT.zip
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import io.joern.benchmarks.datasets.AvailableBenchmarks
import io.joern.benchmarks.datasets.runner.{
DatasetDownloader,
IchnaeaDownloader,
OWASPJavaDownloader,
SecuribenchMicroDownloader,
ThoratDownloader
}
Expand Down Expand Up @@ -37,9 +36,6 @@ class BenchmarkDataset(config: BenchmarkDatasetConfig) {

object BenchmarkDataset {
val benchmarkConstructors: Map[AvailableBenchmarks.Value, BenchmarkDatasetConfig => DatasetDownloader] = Map(
// TODO: Add when implementing
(AvailableBenchmarks.OWASP_JAVASRC, x => new OWASPJavaDownloader(x.datasetDir, JavaCpgTypes.JAVASRC)),
(AvailableBenchmarks.OWASP_JAVA, x => new OWASPJavaDownloader(x.datasetDir, JavaCpgTypes.JAVA)),
(
AvailableBenchmarks.SECURIBENCH_MICRO_JAVASRC,
x => new SecuribenchMicroDownloader(x.datasetDir, JavaCpgTypes.JAVASRC)
Expand All @@ -50,7 +46,6 @@ object BenchmarkDataset {
AvailableBenchmarks.SECURIBENCH_MICRO_SEMGREP,
x => new SecuribenchMicroDownloader(x.datasetDir, JavaCpgTypes.SEMGREP)
),
(AvailableBenchmarks.OWASP_SEMGREP, x => new OWASPJavaDownloader(x.datasetDir, JavaCpgTypes.SEMGREP)),
(AvailableBenchmarks.ICHNAEA_SEMGREP, x => new IchnaeaDownloader(x.datasetDir)),
(AvailableBenchmarks.THORAT_PYSRC, x => new ThoratDownloader(x.datasetDir)),
(AvailableBenchmarks.THORAT_SEMGREP, x => new ThoratDownloader(x.datasetDir))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ object AvailableBenchmarks extends Enumeration {
val ALL = Value

// Joern
val OWASP_JAVASRC = Value
val OWASP_JAVA = Value
val SECURIBENCH_MICRO_JAVASRC = Value
val SECURIBENCH_MICRO_JAVA = Value
val ICHNAEA_JSSRC = Value
Expand Down

This file was deleted.

0 comments on commit e1c8580

Please sign in to comment.