firewall_rule_policy_hits
Displays firewall policy hit counts (Firewall rule names and corresponding hit count)
Response
Returns FirewallInsightsReport
Arguments
| Name | Description |
|---|---|
start_time - Long! | The time frame start time. |
end_time - Long! | The time frame end time. |
action - ActionStatus | Firewall Insights action. |
units - FirewallInsightUnits | Firewall Insights Unit |
QUERY
query ZERO_TRUST_FIREWALL {
ZERO_TRUST_FIREWALL {
firewall_rule_policy_hits(start_time: "123456789", end_time: "123456789", action: ALLOW, units: SESSIONS) {
entries(limit: 10, order_by: [{ name: ASC, total: ASC }], filter_by: { name: { in: ["AWS"] } }) {
name
total
}
obfuscated
}
}
}RESPONSE
{
"data": {
"ZERO_TRUST_FIREWALL": {
"firewall_rule_policy_hits": {
"entries": [{
"name": "example_value",
"total": 123
}],
"obfuscated": true
}
}
}
}