rule update (Anonymous Request Allowed): update to checking auth decision equals to allow

Signed-off-by: kaizhe <derek0405@gmail.com>
This commit is contained in:
kaizhe
2020-06-18 11:51:30 -07:00
committed by poiana
parent 8429256e37
commit dee0cc67f3

View File

@@ -186,7 +186,7 @@
- rule: Anonymous Request Allowed - rule: Anonymous Request Allowed
desc: > desc: >
Detect any request made by the anonymous user that was allowed Detect any request made by the anonymous user that was allowed
condition: kevt and ka.user.name=system:anonymous and ka.auth.decision!=reject and not health_endpoint condition: kevt and ka.user.name=system:anonymous and ka.auth.decision="allow" and not health_endpoint
output: Request by anonymous user allowed (user=%ka.user.name verb=%ka.verb uri=%ka.uri reason=%ka.auth.reason)) output: Request by anonymous user allowed (user=%ka.user.name verb=%ka.verb uri=%ka.uri reason=%ka.auth.reason))
priority: WARNING priority: WARNING
source: k8s_audit source: k8s_audit