diff options
| author | liuchang <[email protected]> | 2024-11-25 03:39:51 +0000 |
|---|---|---|
| committer | liuchang <[email protected]> | 2024-11-25 03:39:51 +0000 |
| commit | 57149b306076b88a914e43cb459142c836c58ef3 (patch) | |
| tree | f059bd6e02362bca6cf711309dc67b9c245daf2b /test/test_utils.cpp | |
| parent | df24326470e7ab75aadfc591791aebd8aaf50768 (diff) | |
rename attribute_name to field_name
Diffstat (limited to 'test/test_utils.cpp')
| -rw-r--r-- | test/test_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp index 946935c..63cbb87 100644 --- a/test/test_utils.cpp +++ b/test/test_utils.cpp @@ -155,7 +155,7 @@ int rule_table_set_line(struct maat *maat_inst, const char *table_name, cJSON_AddItemToArray(object_uuids_array, cJSON_CreateString(and_conditions[i].or_conditions[j].object_uuids_str[k])); } cJSON_AddItemToObject(or_condition, "object_uuids", object_uuids_array); - cJSON_AddStringToObject(or_condition, "attribute_name", and_conditions[i].or_conditions[j].attribute_name); + cJSON_AddStringToObject(or_condition, "field_name", and_conditions[i].or_conditions[j].field_name); cJSON_AddItemToArray(or_conditions_array, or_condition); } |
