Summary


This article explains how to find what version of the MicroEnforcer is running, within an environment that uses protected containers.



Solution


In Docker

docker exec -it  <ProtectedContainerInstanceName> microenforcer aqua-version


In Kubernetes

kubectl exec -it <K8sRunningPodID> -- microenforcer aqua-version


The command result should look similar to the following:

$ kubectl exec -it nginx-protected-46-56cfd46747-45s2w -- microenforcer aqua-version


Version 4.6.27946 commit 96ca753 compiled Feb 18 2020 08:45:57
Copyright (c) 2020 Aqua Security Software Ltd. All Rights Reserved.