regex for hostgroups

This commit is contained in:
Mike Reeves
2023-04-27 15:30:59 -04:00
parent b8f9a9a311
commit e4375a6568
2 changed files with 1 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ firewall:
description: List of IP or CIDR blocks to allow to this hostgroup.
helpLink: firewall.html
advanced: True
multiline: True
regex: ^(([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?)?$
regexFailureMessage: You must enter a valid IP address or CIDR.
customhostgroup2: *customhostgroupsettings