diff --git a/bin/convert_1.3.2_to_1.3.3.py b/bin/convert_1.3.2_to_1.3.3.py index ad67ed27..fa60d238 100644 --- a/bin/convert_1.3.2_to_1.3.3.py +++ b/bin/convert_1.3.2_to_1.3.3.py @@ -231,7 +231,7 @@ def main(cfg): if 'asset' in incident: if 'hosting' in incident['asset']: - incident['asset']['hosting'] = [gov_hosting_lookup[incident['asset']['hosting']]] + incident['asset']['hosting'] = [gov_hosting_lookup.get(incident['asset']['hosting'], incident['asset']['hosting'])] if 'ownership' in incident['asset']: incident['asset']['ownership'] = [incident['asset']['ownership']] if 'management' in incident['asset']: