3 # gkreport - report Gatekeeper state to MessageTracer
5 main
=$(/usr/sbin/spctl --status)
6 gk
=$(/usr/sbin/spctl --test-devid-status)
7 /usr
/bin
/syslog
-s -k \
8 com.apple.message.domain com.apple.security.assessment.current_state \
9 com.apple.message.signature
"$main" \
10 com.apple.message.signature2
"$gk" \
11 Message
"Gatekeeper state $main/$gk"