Security-Guard example alerts

  1. Send an event with unexpected query string, for example:

    1. curl "http://helloworld-go.default.52.118.14.2.sslip.io?a=3"

    This returns an output similar to the following:

    1. Hello Secured World!
  2. Check alerts:

    1. kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"

    This returns an output similar to the following:

    1. ...SECURITY ALERT! HttpRequest -> [QueryString:[KeyVal:[Key a is not known,],],]
  3. Send an event with unexpected long url, for example:

    1. curl "http://helloworld-go.default.52.118.14.2.sslip.io/AAAAAAAAAAAAAAAA"

    This returns an output similar to the following:

    1. Hello Secured World!
  4. Check alerts:

    1. kubectl logs deployment/helloworld-go-00001-deployment queue-proxy|grep "SECURITY ALERT!"

    This returns an output similar to the following:

    1. ...SECURITY ALERT! HttpRequest -> [Url:[Segments:[Counter out of Range: 1,],Val:[Letters:[Counter out of Range: 16,],Sequences:[Counter out of Range: 1,],],],].