diff --git a/ssg/oval_object_model/oval_entities/definition.py b/ssg/oval_object_model/oval_entities/definition.py index a28164dc55b..c4a2a7c0da9 100644 --- a/ssg/oval_object_model/oval_entities/definition.py +++ b/ssg/oval_object_model/oval_entities/definition.py @@ -461,4 +461,4 @@ def translate_id(self, translator, store_defname=False): super(Definition, self).translate_id(translator, store_defname) self.criteria.translate_id(translator) if store_defname: - self.metadata.add_reference(self.id_, translator.content_id) + self.metadata.add_reference(self.name, translator.content_id)