Skip to content

Security-Guard example alerts

  1. 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!
    
  2. 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,],],]
    
  3. 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!
    
  4. 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,],],],].
    

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK