Security-Guardの例となるアラート¶
-
予期しないクエリ文字列を含むイベントの送信例
curl "http://helloworld-go.default.52.118.14.2.sslip.io?a=3"以下のような出力が返されます
Hello Secured World! -
アラートの確認
kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"以下のような出力が返されます
...SECURITY ALERT! HttpRequest -> [QueryString:[KeyVal:[Key a is not known,],],] -
予期しない長さのURLを含むイベントの送信例
curl "http://helloworld-go.default.52.118.14.2.sslip.io/AAAAAAAAAAAAAAAA"以下のような出力が返されます
Hello Secured World! -
アラートの確認
kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"以下のような出力が返されます
...SECURITY ALERT! HttpRequest -> [Url:[Segments:[Counter out of Range: 1,],Val:[Letters:[Counter out of Range: 16,],Sequences:[Counter out of Range: 1,],],],].