Skip to content

Commit 14668d9

Browse files
author
Arya Girish K
committed
feat: Add UI regex valiadation
1 parent be679ea commit 14668d9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ibm_catalog.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,14 @@
254254
},
255255
{
256256
"key": "instance_crn",
257-
"required": true
257+
"required": true,
258+
"value_constraints": [
259+
{
260+
"type": "regex",
261+
"description": "The value provided for 'existing_monitoring_crn' is not valid.",
262+
"value": "^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
263+
}
264+
]
258265
},
259266
{
260267
"key": "access_key",

0 commit comments

Comments
 (0)