|
197 | 197 | "key": "cloud_logs_existing_en_instances" |
198 | 198 | }, |
199 | 199 | { |
200 | | - "key": "existing_en_instance_crn" |
| 200 | + "key": "existing_en_instance_crn", |
| 201 | + "value_constraints": [ |
| 202 | + { |
| 203 | + "type": "regex", |
| 204 | + "description": "The value provided for 'existing_en_instance_crn' is not valid.", |
| 205 | + "value": "^__NULL__$|^crn:(.*:){3}event-notifications:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" |
| 206 | + } |
| 207 | + ] |
201 | 208 | }, |
202 | 209 | { |
203 | 210 | "key": "en_integration_name" |
|
218 | 225 | "key": "cloud_monitoring_provision" |
219 | 226 | }, |
220 | 227 | { |
221 | | - "key": "existing_cloud_monitoring_crn" |
| 228 | + "key": "existing_cloud_monitoring_crn", |
| 229 | + "value_constraints": [ |
| 230 | + { |
| 231 | + "type": "regex", |
| 232 | + "description": "The value provided for 'existing_cloud_monitoring_crn' is not valid.", |
| 233 | + "value": "^__NULL__$|^crn:(.*:){3}sysdig-monitor:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" |
| 234 | + } |
| 235 | + ] |
222 | 236 | }, |
223 | 237 | { |
224 | 238 | "key": "cloud_monitoring_instance_name" |
|
405 | 419 | ] |
406 | 420 | }, |
407 | 421 | { |
408 | | - "key": "existing_cos_instance_crn" |
| 422 | + "key": "existing_cos_instance_crn", |
| 423 | + "value_constraints": [ |
| 424 | + { |
| 425 | + "type": "regex", |
| 426 | + "description": "The value provided for 'existing_cos_instance_crn' is not valid.", |
| 427 | + "value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" |
| 428 | + } |
| 429 | + ] |
409 | 430 | }, |
410 | 431 | { |
411 | 432 | "key": "existing_at_cos_target_bucket_name" |
|
414 | 435 | "key": "existing_at_cos_target_bucket_endpoint" |
415 | 436 | }, |
416 | 437 | { |
417 | | - "key": "existing_cloud_logs_data_bucket_crn" |
| 438 | + "key": "existing_cloud_logs_data_bucket_crn", |
| 439 | + "value_constraints": [ |
| 440 | + { |
| 441 | + "type": "regex", |
| 442 | + "description": "The value provided for 'existing_cloud_logs_data_bucket_crn' is not valid.", |
| 443 | + "value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:bucket:[a-z0-9\\-]+$" |
| 444 | + } |
| 445 | + ] |
418 | 446 | }, |
419 | 447 | { |
420 | 448 | "key": "existing_cloud_logs_data_bucket_endpoint" |
421 | 449 | }, |
422 | 450 | { |
423 | | - "key": "existing_cloud_logs_metrics_bucket_crn" |
| 451 | + "key": "existing_cloud_logs_metrics_bucket_crn", |
| 452 | + "value_constraints": [ |
| 453 | + { |
| 454 | + "type": "regex", |
| 455 | + "description": "The value provided for 'existing_cloud_logs_metrics_bucket_crn' is not valid.", |
| 456 | + "value": "^__NULL__$|^crn:(.*:){3}cloud-object-storage:(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:bucket:[a-z0-9\\-]+$" |
| 457 | + } |
| 458 | + ] |
424 | 459 | }, |
425 | 460 | { |
426 | 461 | "key": "existing_cloud_logs_metrics_bucket_endpoint" |
|
435 | 470 | "key": "skip_at_cos_auth_policy" |
436 | 471 | }, |
437 | 472 | { |
438 | | - "key": "existing_cos_kms_key_crn" |
| 473 | + "key": "existing_cos_kms_key_crn", |
| 474 | + "value_constraints": [ |
| 475 | + { |
| 476 | + "type": "regex", |
| 477 | + "description": "The value provided for 'existing_cos_kms_key_crn' is not valid.", |
| 478 | + "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" |
| 479 | + } |
| 480 | + ] |
439 | 481 | }, |
440 | 482 | { |
441 | 483 | "key": "existing_kms_instance_crn", |
442 | 484 | "required": true, |
443 | | - "default_value": "__NOT_SET__" |
| 485 | + "default_value": "__NOT_SET__", |
| 486 | + "value_constraints": [ |
| 487 | + { |
| 488 | + "type": "regex", |
| 489 | + "description": "The value provided for 'existing_kms_instance_crn' is not valid.", |
| 490 | + "value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$" |
| 491 | + } |
| 492 | + ] |
444 | 493 | }, |
445 | 494 | { |
446 | 495 | "key": "cos_key_name" |
|
0 commit comments