Update payload
This commit is contained in:
parent
ad909b8777
commit
7a7447b6e9
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ const query = `query ListFirewallEvents($zoneTag: string, $filter: FirewallEvent
|
||||||
zones(filter: { zoneTag: $zoneTag }) {
|
zones(filter: { zoneTag: $zoneTag }) {
|
||||||
firewallEventsAdaptive(
|
firewallEventsAdaptive(
|
||||||
filter: $filter,
|
filter: $filter,
|
||||||
limit: 1000,
|
limit: 1500,
|
||||||
orderBy: [datetime_DESC]
|
orderBy: [datetime_DESC]
|
||||||
) {
|
) {
|
||||||
action
|
action
|
||||||
|
|
@ -30,7 +30,7 @@ module.exports = () => {
|
||||||
const variables = {
|
const variables = {
|
||||||
zoneTag: process.env.CLOUDFLARE_ZONE_ID,
|
zoneTag: process.env.CLOUDFLARE_ZONE_ID,
|
||||||
filter: {
|
filter: {
|
||||||
datetime_geq: new Date(Date.now() - (60 * 60 * 10.5 * 1000)).toISOString(),
|
datetime_geq: new Date(Date.now() - (60 * 60 * 12 * 1000)).toISOString(),
|
||||||
datetime_leq: new Date(Date.now() - (60 * 60 * 8 * 1000)).toISOString(),
|
datetime_leq: new Date(Date.now() - (60 * 60 * 8 * 1000)).toISOString(),
|
||||||
AND: [
|
AND: [
|
||||||
{ action_neq: 'allow' },
|
{ action_neq: 'allow' },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue