跳至內容

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. 傳送帶有非預期長網址的事件,例如

    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 分享。了解更多。