in bots/incident-response-slackbot/scripts/alert_feed.py [0:0]
def get_alert_details(**kwargs) -> str:
"""
This function returns the alert details for each key in the
property. Each alert could have different properties.
"""
content = ""
for key, value in kwargs.items():
line = f"The value of {key} for this alert is {value}. "
content += line
if content:
return content
return "No details available for this alert."