An array of valid IPs. Click the + button to add another IP to check against
The IP to check (for example {{event.client_ip}}
)
async
params => {
}
const validIPs = params.validIPs
return validIPs.includes(params.ip)
auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
if (!steps.is_ip_in_list_of_ips.$return_value) {
$end("IP not in range. Exiting")
}