Last Modified: Jul 24, 2024
Affected Product(s):
BIG-IP ASM
Fixed In:
17.1.1, 16.1.5, 15.1.10
Opened: Apr 25, 2023 Severity: 3-Major
Some valid hours option would not match the Regular Expression (RegExp).
Valid hours options 10 and 19 would not match the RegExp.
Creating a policy using swagger file and uploading a swagger file which contains parameter in date time format.
Manually fix the regular expression in the parameter from: '^([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))T(0\d|2[0-3]):([0-5]\d):([0-5]\d)(\.\d+)?(Z|((\+|-)(0\d|2[0-3]):([0-5]\d)))$' to: '^([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))T(0\d|1\d|2[0-3]):([0-5]\d):([0-5]\d)(\.\d+)?(Z|((\+|-)(0\d|1\d|2[0-3]):([0-5]\d)))$'
The date-time regular expression for swagger is fixed and now suppose to cover all valid options.