mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix regex and label for hypervisor annotation
This commit is contained in:
@@ -31,22 +31,22 @@ hypervisor:
|
||||
- static4
|
||||
- dhcp4
|
||||
- field: ip4
|
||||
label: "IP Address with netmask. ex. 192.168.1.10/24"
|
||||
label: "IP address with netmask: 192.168.1.10/24 - If using dhcp, enter a character in this field and delete it. This will eliminate the incomplete/invalid setting entry error as well as the improperly formatted address error."
|
||||
forcedType: string
|
||||
regex: '^(\d{1,3}\.){3}\d{1,3}/\d{1,2}$'
|
||||
regex: "^$|^(\\d{1,3}\\.){3}\\d{1,3}/\\d{1,2}$"
|
||||
regexFailureMessage: "Enter a properly formatted CIDR address"
|
||||
readonly: true
|
||||
- field: gw4
|
||||
label: "Gateway"
|
||||
label: "Gateway - If using dhcp, enter a character in this field and delete it. This will eliminate the incomplete/invalid setting entry error as well as the improperly formatted address error."
|
||||
forcedType: string
|
||||
regex: '^(\d{1,3}\.){3}\d{1,3}$'
|
||||
regex: "^$|^(\\d{1,3}\\.){3}\\d{1,3}$"
|
||||
regexFailureMessage: "Enter a properly formatted IP address"
|
||||
readonly: true
|
||||
- field: dns4
|
||||
label: "DNS. Comma separated list. ex. 192.168.1.1,8.8.8.8"
|
||||
label: "Single DNS IP or comma separated list: 192.168.1.1,8.8.8.8 - If using dhcp, enter a character in this field and delete it. This will eliminate the incomplete/invalid setting entry error as well as the improperly formatted address error."
|
||||
forcedType: string
|
||||
regex: '^(\d{1,3}\.){3}\d{1,3}$'
|
||||
regexFailureMessage: "Enter a properly formatted IP address"
|
||||
regex: "^$|^(\\d{1,3}\\.){3}\\d{1,3}(,\\s*(\\d{1,3}\\.){3}\\d{1,3})*$"
|
||||
regexFailureMessage: "Enter a properly formatted IP address or list of addresses"
|
||||
readonly: true
|
||||
- field: search4
|
||||
label: "Search domain"
|
||||
|
||||
Reference in New Issue
Block a user