Kong Application Security Using Lua PlugIn
Last updated
Was this helpful?
Was this helpful?
--set image.repository=checkpoint/infinity-next-kong-k8s-plugin
--set image.tag=latest--set image.repository=checkpoint/infinity-next-kong-gateway-k8s-plugin \
--set image.tag=latestapiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: cloudguard-waf-kong-plugin
config: {}
plugin: cloudguard-waf-kong-pluginkubectl apply -f cloudguard-waf-kong-plugin.yaml -n <your-kong-namespace>helm install cloudguard-waf-injector \
oci://registry-1.docker.io/checkpoint/cloudguard-waf-injector \
--version <version>\
--set webhook.objectSelector.labelName="app.kubernetes.io/name" \
--set webhook.objectSelector.labelValue=kong \
--set kind=kong \
--set appsec.persistence.enabled=false \
--set appsec.agentToken=<TOKEN> \
-n <your-kong-namespace>kubectl label namespace <your-kong-namespace> inject-waf-attachment="true" --overwrite
kubectl label deployment <your-kong-deployment> app.kubernetes.io/name=kong --overwritekubectl rollout restart deployment <your-kong-deployment> -n <your-kong-namespace>