Package io.jenkins.plugins.neuvector
Class NeuVectorWorker
java.lang.Object
io.jenkins.plugins.neuvector.NeuVectorWorker
-
Constructor Summary
ConstructorsConstructorDescriptionNeuVectorWorker(Log logger, Config config) NeuVectorWorker(Log logger, Config config, FilePath workspace, String artifactName) -
Method Summary
Modifier and TypeMethodDescriptionvoidprintHTMLReport(ScanResult scanResult) voidprintJsonReport(String scanJson) voidprintTxtReport(ScanResult scanResult) voidvoidvoid
-
Constructor Details
-
NeuVectorWorker
-
NeuVectorWorker
-
-
Method Details
-
scan
public void scan(Run<?, ?> run, Launcher launcher) throws IOException, InterruptedException, VulnerabilityCriterionException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException, SSLHandshakeException, SSLPeerUnverifiedException -
printJsonReport
- Throws:
IOExceptionInterruptedException
-
printHTMLReport
- Throws:
IOExceptionInterruptedException
-
printTxtReport
- Throws:
IOExceptionInterruptedException
-
testConnection
public void testConnection() throws IOException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException, SSLHandshakeException, SSLPeerUnverifiedException -
testApiKey
public void testApiKey() throws IOException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException, SSLHandshakeException, SSLPeerUnverifiedException
-