Skip to content

Commit

Permalink
update dict key
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Steen committed Oct 3, 2018
1 parent 0ce29bb commit 9c015a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/insightvm.py
Expand Up @@ -68,7 +68,7 @@ def retrieve_site_names_and_site_ids_containing_an_ip(target):
site_dict = {}

# Create a dictionary for each site name and site ID.
site_dict["ip_address"] = target
site_dict["target"] = target
site_dict["asset_id"] = json_response[0]["assetID"]
site_dict["site_id"] = site["siteID"]
site_dict["site_name"] = site["siteName"]
Expand Down

0 comments on commit 9c015a5

Please sign in to comment.