Update query
This commit is contained in:
parent
b5c2fb41b8
commit
51dec399d1
1 changed files with 26 additions and 26 deletions
|
|
@ -1,30 +1,30 @@
|
||||||
const query = `query ListFirewallEvents($zoneTag: string, $filter: FirewallEventsAdaptiveFilter_InputObject) {
|
const query = `query ListFirewallEvents($zoneTag: string, $filter: FirewallEventsAdaptiveFilter_InputObject) {
|
||||||
viewer {
|
viewer {
|
||||||
zones(filter: { zoneTag: $zoneTag }) {
|
zones(filter: { zoneTag: $zoneTag }) {
|
||||||
firewallEventsAdaptive(
|
firewallEventsAdaptive(
|
||||||
filter: $filter
|
filter: $filter,
|
||||||
limit: 500
|
limit: 500,
|
||||||
orderBy: [datetime_DESC]
|
orderBy: [datetime_DESC]
|
||||||
) {
|
) {
|
||||||
action
|
action
|
||||||
clientASNDescription
|
clientASNDescription
|
||||||
clientAsn
|
clientAsn
|
||||||
clientCountryName
|
clientCountryName
|
||||||
clientIP
|
clientIP
|
||||||
clientRequestHTTPHost
|
clientRequestHTTPHost
|
||||||
clientRequestHTTPMethodName
|
clientRequestHTTPMethodName
|
||||||
clientRequestHTTPProtocol
|
clientRequestHTTPProtocol
|
||||||
clientRequestPath
|
clientRequestPath
|
||||||
clientRequestQuery
|
clientRequestQuery
|
||||||
datetime
|
datetime
|
||||||
rayName
|
rayName
|
||||||
ruleId
|
ruleId
|
||||||
source
|
source
|
||||||
userAgent
|
userAgent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
module.exports = () => {
|
module.exports = () => {
|
||||||
const variables = {
|
const variables = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue