Skip to content
Open
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: 4 additions & 0 deletions app/src/main/java/io/seqera/wave/cli/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public class App implements Runnable {
@Option(names = {"--scan-level"}, paramLabel = "false", description = "Specify one or more security scan vulnerabilities level allowed in the container e.g. low,medium,high,critical")
private List<ScanLevel> scanLevels;

@Option(names = {"--build-template"}, paramLabel = "false", description = "Specify one or more security scan vulnerabilities level allowed in the container e.g. low,medium,high,critical")
private String buildTemplate;

@CommandLine.Parameters
List<String> prompt;

Expand Down Expand Up @@ -413,6 +416,7 @@ protected SubmitContainerTokenRequest createRequest() {
.withMirror(mirror)
.withScanMode(scanMode)
.withScanLevels(scanLevels)
.withBuildTemplate(buildTemplate)
;
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ rootProject.name = 'wave-cli'
include('app')

// enable for local development
// includeBuild("../libseqera")
includeBuild("../libseqera")
Loading