跳至内容

Security-Guard 示例警报

  1. 发送带有意外查询字符串的事件,例如

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

    这将返回类似于以下内容的输出

    Hello Secured World!
    
  2. 检查警报

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

    这将返回类似于以下内容的输出

    ...SECURITY ALERT! HttpRequest -> [QueryString:[KeyVal:[Key a is not known,],],]
    
  3. 发送带有意外长 URL 的事件,例如

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

    这将返回类似于以下内容的输出

    Hello Secured World!
    
  4. 检查警报

    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,],],],].
    

我们使用分析和 cookie 来了解网站流量。有关您使用我们网站的信息将与 Google 共享,用于该目的。 了解更多。