commonfields: id: IsIPInRanges version: -1 name: IsIPInRanges script: '' type: javascript tags: - ip comment: Returns yes if the IP is in one of the ranges provided, returns no otherwise. enabled: true args: - name: ip required: true default: true description: IP to check in ranges - name: ipRanges description: 'A list of IP ranges to check the IP in. The list should be provided in CIDR notation, separated by commas. An example of a list of ranges would be: "172.16.0.0/12,10.0.0.0/8,192.168.0.0/16" (without quotes). If a list is not provided, will use default list provided in the IsIPInRanges script (the known IPv4 private address ranges).' outputs: - contextPath: "yes" description: if given value is an IP range - contextPath: "no" description: if given value is not a IP range - contextPath: IP.Address description: The IP Address - contextPath: IP.InRange description: Is the IP is in the input ranges? (could be 'yes' or 'no) scripttarget: 0 runas: DBotWeakRole tests: - IP Enrichment - Generic v2 - Test fromversion: 5.0.0