Environment
Kubernetes deployed via helm charts
Keywords
kubernetes
EKS
kubectl
Resolution
By having a user with the correct privileges in the kubernetes cluster run the following command you can ensure the correct Lacework Agent Access Token is in use. The output of the command should match what is in the Lacework UI.
kubectl get secret lacework-agent-access-token -n lacework -o yaml | grep -w agent-access-token | egrep -v 'lacework' | awk '{print $2}' | base64 --decode
Example:
kubectl get secret lacework-agent-access-token -n lacework -o yaml | grep -w agent-access-token | egrep -v 'lacework' | awk '{print $2}' | base64 --decode
2931d33371082cfref8767a2078ea73d4ccd7c6c2636dd51efa68124