Security-Guard example alerts¶
-
Send an event with unexpected query string, for example:
curl "http://helloworld-go.default.52.118.14.2.sslip.io?a=3"This returns an output similar to the following:
Hello Secured World! -
Check alerts:
kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"This returns an output similar to the following:
...SECURITY ALERT! HttpRequest -> [QueryString:[KeyVal:[Key a is not known,],],] -
Send an event with unexpected long url, for example:
curl "http://helloworld-go.default.52.118.14.2.sslip.io/AAAAAAAAAAAAAAAA"This returns an output similar to the following:
Hello Secured World! -
Check alerts:
kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"This returns an output similar to the following:
...SECURITY ALERT! HttpRequest -> [Url:[Segments:[Counter out of Range: 1,],Val:[Letters:[Counter out of Range: 16,],Sequences:[Counter out of Range: 1,],],],].