schemas.schema-form.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gravitee-policy-ipfiltering Show documentation
Show all versions of gravitee-policy-ipfiltering Show documentation
The IPFiltering Gravitee Policy allows you to define an ip blacklist/whitelist filter.
You can use IPv4 and CIDR notation.
The newest version!
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties" : {
"matchAllFromXForwardedFor" : {
"title" : "Use X-Forwarded-For header",
"type" : "boolean"
},
"whitelistIps" : {
"title" : "IPs Whitelist (CIDR and hosts allowed)",
"type" : "array",
"items" : {
"title" : "IP / CIDR / Host",
"type" : "string",
"minLength": 1
}
},
"blacklistIps" : {
"title" : "IPs Blacklist (CIDR and hosts allowed)",
"type" : "array",
"items" : {
"title" : "IP / CIDR / Host",
"type" : "string",
"minLength": 1
}
},
"lookupIpVersion" : {
"title" : "Lookup IP version to use (default is ALL)",
"description": "If you're not sure your DNS server can handle multi-question requests (both V4 and V6) specify a version",
"type" : "string",
"enum": [
"IPV4",
"IPV6",
"ALL"
],
"default": "ALL"
},
"isInclusiveHostCount": {
"title": "Inclusive Host Count",
"description": "If true, include the network and broadcast addresses (useful for CIDR/31 and CIDR/32).",
"type": "boolean"
}
}
}