mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat: add support for plugin index (#6674)
Signed-off-by: knqyf263 <knqyf263@gmail.com> Co-authored-by: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com>
This commit is contained in:
@@ -28,6 +28,8 @@ Manage plugins
|
||||
* [trivy plugin install](trivy_plugin_install.md) - Install a plugin
|
||||
* [trivy plugin list](trivy_plugin_list.md) - List installed plugin
|
||||
* [trivy plugin run](trivy_plugin_run.md) - Run a plugin on the fly
|
||||
* [trivy plugin search](trivy_plugin_search.md) - List Trivy plugins available on the plugin index and search among them
|
||||
* [trivy plugin uninstall](trivy_plugin_uninstall.md) - Uninstall a plugin
|
||||
* [trivy plugin update](trivy_plugin_update.md) - Update an existing plugin
|
||||
* [trivy plugin update](trivy_plugin_update.md) - Update the local copy of the plugin index
|
||||
* [trivy plugin upgrade](trivy_plugin_upgrade.md) - Upgrade installed plugins to newer versions
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Install a plugin
|
||||
|
||||
```
|
||||
trivy plugin install URL | FILE_PATH
|
||||
trivy plugin install NAME | URL | FILE_PATH
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Run a plugin on the fly
|
||||
|
||||
```
|
||||
trivy plugin run URL | FILE_PATH
|
||||
trivy plugin run NAME | URL | FILE_PATH
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
## trivy plugin search
|
||||
|
||||
List Trivy plugins available on the plugin index and search among them
|
||||
|
||||
```
|
||||
trivy plugin search [KEYWORD]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for search
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--cache-dir string cache directory (default "/path/to/cache")
|
||||
-c, --config string config path (default "trivy.yaml")
|
||||
-d, --debug debug mode
|
||||
--generate-default-config write the default config to trivy-default.yaml
|
||||
--insecure allow insecure server connections
|
||||
-q, --quiet suppress progress bar and log output
|
||||
--timeout duration timeout (default 5m0s)
|
||||
-v, --version show version
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [trivy plugin](trivy_plugin.md) - Manage plugins
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
## trivy plugin update
|
||||
|
||||
Update an existing plugin
|
||||
Update the local copy of the plugin index
|
||||
|
||||
```
|
||||
trivy plugin update PLUGIN_NAME
|
||||
trivy plugin update
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
## trivy plugin upgrade
|
||||
|
||||
Upgrade installed plugins to newer versions
|
||||
|
||||
```
|
||||
trivy plugin upgrade [PLUGIN_NAMES]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for upgrade
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--cache-dir string cache directory (default "/path/to/cache")
|
||||
-c, --config string config path (default "trivy.yaml")
|
||||
-d, --debug debug mode
|
||||
--generate-default-config write the default config to trivy-default.yaml
|
||||
--insecure allow insecure server connections
|
||||
-q, --quiet suppress progress bar and log output
|
||||
--timeout duration timeout (default 5m0s)
|
||||
-v, --version show version
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [trivy plugin](trivy_plugin.md) - Manage plugins
|
||||
|
||||
Reference in New Issue
Block a user