Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datasets] Remove OWASP #6

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.