diff --git a/scripts/payload.js b/scripts/payload.js index 84a6c00..16034b6 100644 --- a/scripts/payload.js +++ b/scripts/payload.js @@ -3,7 +3,7 @@ const query = `query ListFirewallEvents($zoneTag: string, $filter: FirewallEvent zones(filter: { zoneTag: $zoneTag }) { firewallEventsAdaptive( filter: $filter, - limit: 1000, + limit: 1800, orderBy: [datetime_DESC] ) { action @@ -31,7 +31,7 @@ module.exports = () => { zoneTag: process.env.CLOUDFLARE_ZONE_ID, filter: { 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: [ { action_neq: 'allow' }, { action_neq: 'skip' },