Class ScannerExecuter


  • public class ScannerExecuter
    extends Object
    This class does the actual execution..
    Author:
    Oran Moshai
    • Constructor Detail

      • ScannerExecuter

        public ScannerExecuter()
    • Method Detail

      • execute

        public static int execute​(hudson.model.Run<?,​?> build,
                                  hudson.FilePath workspace,
                                  hudson.Launcher launcher,
                                  hudson.model.TaskListener listener,
                                  String artifactName,
                                  String aquaScannerImage,
                                  String apiURL,
                                  String user,
                                  hudson.util.Secret password,
                                  hudson.util.Secret token,
                                  int timeout,
                                  String runOptions,
                                  String locationType,
                                  String localImage,
                                  String registry,
                                  boolean register,
                                  String hostedImage,
                                  boolean hideBase,
                                  boolean showNegligible,
                                  boolean checkonly,
                                  String notCompliesCmd,
                                  boolean caCertificates,
                                  String policies,
                                  hudson.util.Secret localTokenSecret,
                                  String customFlags,
                                  String tarFilePath,
                                  String containerRuntime,
                                  String scannerPath)