advice on defusedxml but that is not in global-requiriments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bandit |
Incomplete
|
Low
|
Unassigned |
Bug Description
Got in glance this advise:
>> Issue: [blacklist_calls] Using xml.etree.
2016-02-26 06:28:40.208 | Severity: Medium Confidence: High
2016-02-26 06:28:40.208 | Location: glance/
2016-02-26 06:28:40.208 | 183 disk_filename, file_elements, file_ref = None, None, None
2016-02-26 06:28:40.208 | 184 properties = {}
2016-02-26 06:28:40.208 | 185 for event, elem in ET.iterparse(ovf):
2016-02-26 06:28:40.208 | 186 if event == 'end':
2016-02-26 06:28:40.208 | 187 ns, tag = _get_namespace_
2016-02-26 06:28:40.208 |
but defusedxml is not in global-requirements and thus cannot be used in projects. Either update the test or update global-
See also /review. openstack. org/#/c/ 282885/
https:/