Using `alert.extra` was not really reflecting the nature of what
was added. So renaming it to `alert.context`.
"gid": {
"type": "integer"
},
- "extra": {
+ "context": {
"type": "object",
"additionalProperties": true,
- "description": "Extra data created by keywords such as dataset with JSON"
+ "description": "Extra context data created by keywords such as dataset with JSON"
},
"metadata": {
"type": "object",
}
},
"additionalProperties": true
- },
- },
+ }
+ }
},
"optional": true
},
}
if (pa->json_info.json_string != NULL) {
- SCJbOpenObject(js, "extra");
+ SCJbOpenObject(js, "context");
const struct ExtraDataJsonList *json_info = &pa->json_info;
while (json_info) {
SCJbSetFormatted(js, json_info->json_string);