diff --git a/.release/RELEASE.md b/.release/RELEASE.md index 2e00955e..ba58afbc 100644 --- a/.release/RELEASE.md +++ b/.release/RELEASE.md @@ -12,6 +12,7 @@ Changelog - [x] wait for ES to fully start (not just a dumb 10 sec wait) - [x] monitor logs to output important info as to why it might not start (not enough RAM etc) - [x] add `~/.malice/logs/elastic.log` to catch ES errors +- [x] fix `plugin update --all` to only update **enabled** plugins Plugin list ----------- diff --git a/.release/VERSION b/.release/VERSION index 7becae11..600e6fd3 100644 --- a/.release/VERSION +++ b/.release/VERSION @@ -1 +1 @@ -v0.3.2 +v0.3.3 diff --git a/README.md b/README.md index 7eaecbe7..2196c7a0 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ $ malice elk #### Install/Update all Plugins ```bash -docker run --rm -v /var/run/docker.sock:/var/run/docker.sock malice/engine plugin update +docker run --rm -v /var/run/docker.sock:/var/run/docker.sock malice/engine plugin update --all ``` #### Scan a file diff --git a/commands/plugin.go b/commands/plugin.go index 4c731625..99aa78cc 100644 --- a/commands/plugin.go +++ b/commands/plugin.go @@ -158,7 +158,7 @@ func cmdRemovePlugin(name string) error { func cmdUpdatePlugin(name string, all bool, source bool) error { docker := client.NewDockerClient() if all { - plugins.UpdateAllPlugins(docker) + plugins.UpdateEnabledPlugins(docker) } else { if name == "" { log.Error("Please enter a valid plugin name.") diff --git a/docs/installation/docker/README.md b/docs/installation/docker/README.md index be636021..7dda0eb6 100644 --- a/docs/installation/docker/README.md +++ b/docs/installation/docker/README.md @@ -14,7 +14,7 @@ Install/Update all Plugins -------------------------- ```bash -docker run --rm -v /var/run/docker.sock:/var/run/docker.sock malice/engine plugin update +docker run --rm -v /var/run/docker.sock:/var/run/docker.sock malice/engine plugin update --all ``` Scan a file