Fix security risk 'Improper Input Validation'
[sdc.git] / catalog-be / src / main / docker / backend / chef-repo / cookbooks / sdc-catalog-be / files / default / error-configuration.yaml
index 532ee3e..75f8904 100644 (file)
@@ -2411,7 +2411,7 @@ errors:
       # %1 - property name
         code: 400,
         message: 'Error: Invalid Content. %1 has invalid format.',
-        messageId: "SVC4723"
+        messageId: "SVC4731"
     }
     #---------SVC4734------------------------------
     # %1 - list of validation errors
@@ -2822,6 +2822,13 @@ errors:
         message: "Capability '%1' not found in '%2' '%3'."
         messageId: "SVC4186"
 
+    #---------SVC4001------------------------------
+    NOT_PERMITTED_SPECIAL_CHARS: {
+        code: 406,
+        message: 'Error: HTML elements not permitted in field values.',
+        messageId: "SVC4001"
+    }
+
     # %1 - The data type Uid
     DATA_TYPE_NOT_FOUND:
         code: 404