Question
An error occurred when importing a yml file from the HENNGE Email DLP management screen. Please provide details of the error.
Answer
1) Syntax error
If the message "Syntax Error" appears on the console, it means that the import file cannot be read because the format is incorrect. Please export the current yml file using the "Export" function, and try modifying the import file based on the exported yml file format.
(Reference)
About exporting HENNGE Email DLP settings
Creating HENNGE Email DLP import data (YAML file)
2) Error report
If an error report is displayed, please refer to the table below for details. Correct the errors listed in the report and try importing the file again. If the cause of the error is unclear, please contact HENNGE Customer Success Guide.
Field Name | Description |
location |
Location where the error occurred |
violation | Reason for the error. Refer to "3) Error List" for details. |
actual_value | Setting value in the yaml file |
snippet | Excerpt of where the error occurred |
Example of an error report: Temporary hold time entered for approval request action
==========================================================
[1]
location: $.rule_groups[0].rules[0].action.type
violation: chkattrfield
actual_value: request_approval
snippet:
--------------------------------------------------------------
5 | - priority: 100
6 | name: test approval
7 | action:
> 8 | type: request_approval
^
9 | attribute:
10 | auto_release: true
11 | duration: 10m
12 |
--------------------------------------------------------------
==========================================================
3) Error List
■ General ※Occurs across all YAML files
required | Input is missing in a required field |
ieversion | There is an error in the version notation. Do not change the value "version: 1" |
min | Does not meet the minimum value that can be set. Please review the number |
max | Exceeds the maximum value that can be set. Please review the number |
unique | Duplicate found. Please review the value |
■Address Group
Creating a YAML File (Address Group Definition)
name_reserved_by_system | "All" cannot be used in the address group name. Please change it to a different name |
email_or_domain |
There is an error in the address format. Please enter in the format of Email Address, Domain, or Subdomain |
not_asterisk |
"*" (wildcard) cannot be used. Please enter in the format of Email Address, Domain, or Subdomain Example: sample@test.com, @test.com, .test.com |
duplicate_address_in_address_group | There is a duplicate address in one address group. Please review the list |
duplicate_address_group_name | There is a duplicate in the address group name. Please change it to a different name |
■Rule Group
YAML File Columns (Rule Group Definition)
eq | Incorrect setting value. Please check for any errors in the setting value |
msgsz | Message size should be specified between 1 and 2147483647 (2097152KB) |
chkattrfield |
There are parameters that cannot be used in the specified action, or there may be missing parameters. Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
notiftype | Incorrect setting value for "Notification". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
checkAttachmentOption | Incorrect setting value for "Attachment Files". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
chktargetfield |
Incorrect setting value for "Target". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
chkpredfield | Incorrect setting value for "Condition". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
chkpatfield | Incorrect setting value for "Pattern". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
chkcntfield | Incorrect setting value for "Frequency". Please review the Help Center article "Creating a YAML File (Rule Group)" for reference |
unknown_address_group_name | The address group specified in the "Pattern" does not exist. Please check the address group |
■FILTER
YAML File Columns (FILTER Definition)
unknown_address_group_name | The specified address group name does not exist. Please check if the target address group exists or if there are any errors in the group name |
unknown_rule_group_name | The specified rule group name does not exist. Please check if the target rule group exists or if there are any errors in the group name |
■Encryption Type
Column of YAML file (Encryption Type Definition)
encryption_cfg_name_reserved | The encryption type name "Don't Encrypt" cannot be used. Please change to a different name |
valid_encryption_type | There is an error in the setting value of "Password Type". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
valid_random_password_per_encryption_type | An invalid value is set for "Fixed Password". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
valid_fixed_password_format_per_encryption_type | An invalid value is set for "Random Password". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
not_required_notify_recipient_type_never | When specifying "Fixed Password", you cannot set "Notify Recipients" |
not_required_notification_template_id_for_encrypt_type | When specifying "Fixed Password", you cannot specify a notification template ID in "Notify Recipients" |
valid_filename_encoding | There is an error in the setting value of "File Name Encoding". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
valid_filename | There is an error in the setting value of "ZIP File Name". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
notify_template_not_exist | There is an error in the notification template ID being referenced while specifying "Notify" and "Notify Recipients". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
valid_extension | There is an error in the setting value of "Non-encrypted File Extension". Please review referring to the Help Center article "Creating a YAML file (Encryption Type)" |
■Encryption Policy
Column of YAML file (Encryption Policy Definition)
unknown_address_group_name | The specified address group name does not exist. Please confirm whether the target address group exists or if there is no error in the group name |
unknown_encryption_config_name | The specified encryption type name does not exist. Please confirm whether the target encryption type exists or if there is no error in the type name |