public class NVScanner extends Object
| Constructor and Description |
|---|
NVScanner() |
NVScanner(String nvScannerImage,
String nvRegistryURL,
String nvRegistryUser,
String nvRegistryPassword) |
NVScanner(String nvScannerImage,
String nvRegistryURL,
String nvRegistryUser,
String nvRegistryPassword,
String nvMountPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNvMountPath() |
String |
getNvRegistryPassword() |
String |
getNvRegistryURL() |
String |
getNvRegistryUser() |
String |
getNvScannerImage() |
void |
setNvMountPath(String nvMountPath) |
void |
setNvRegistryPassword(String nvRegistryPassword) |
void |
setNvRegistryURL(String nvRegistryURL) |
void |
setNvRegistryUser(String nvRegistryUser) |
void |
setNvScannerImage(String nvScannerImage) |
public NVScanner()
public NVScanner(String nvScannerImage, String nvRegistryURL, String nvRegistryUser, String nvRegistryPassword)
nvScannerImage - The name of the NeuVector Scanner image. For example, "neuvector/scanner:latest"nvRegistryURL - The registry from which to pull the NeuVector Scanner image. If it is empty, the API will skip the action to pull the NeuVector Scanner image.nvRegistryUser - The user name to login the registry. If the user name and the password are empty, the API will skip the docker login action.nvRegistryPassword - The password to login the registry.public NVScanner(String nvScannerImage, String nvRegistryURL, String nvRegistryUser, String nvRegistryPassword, String nvMountPath)
nvScannerImage - The name of the NeuVector Scanner image. For example, "neuvector/scanner:latest"nvRegistryURL - The registry from which to pull the NeuVector Scanner image. If it is empty, the API will skip the action to pull the NeuVector Scanner image.nvRegistryUser - The user name to login the registry. If the user name and the password are empty, the API will skip the docker login action.nvRegistryPassword - The password to login the registry.nvMountPath - The mount path mapping to the path inside the NeuVector Scanner container. It is the path to store the scan result. It is optional. If you don't pass in nvMountPath, it will use the default path "/var/neuvector"public String getNvScannerImage()
public void setNvScannerImage(String nvScannerImage)
nvScannerImage - The name of the NeuVector Scanner Imagepublic String getNvRegistryURL()
public void setNvRegistryURL(String nvRegistryURL)
nvRegistryURL - The registry url from which to pull NeuVector Scanner imagepublic String getNvRegistryUser()
public void setNvRegistryUser(String nvRegistryUser)
nvRegistryUser - The login user of the registry urlpublic String getNvRegistryPassword()
public void setNvRegistryPassword(String nvRegistryPassword)
nvRegistryPassword - The login password of the registry urlpublic String getNvMountPath()
public void setNvMountPath(String nvMountPath)
nvMountPath - The file path to save the scan report.Copyright © 2021. All rights reserved.