简体   繁体   中英

How to know if the attack hit the preconfigure rules on google cloud armor?

Im new on this field and i need some help. There is no log when the rules hit by attack. can anyone help me with this? where i can find kind of log of blocking by rules when attack happened? i've been reading the documentation and still got nothing, i'm so glad if you guys can help me

If you are using Cloud Armor with a load balancer on the stackdriver logs [ 1 ] you can see if some policy was applied.

On [ 2 ] you can find a log example:

  jsonPayload: { 
    @type:  "type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry"
    enforcedSecurityPolicy: {
      configuredAction: "DENY"
      name: "my-policy"
      outcome: "DENY"
      priority: 50
    }
    statusDetails: "denied_by_security_policy"
  }

On the log you can see the configured action ACCEPT or DENY and the policy name.


The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM