import demistomock as demisto from CommonServerPython import * def main(): try: incident = demisto.incidents() query = incident[0].get("CustomFields", {}).get("breachconfirmation", "Pending Confirmation") color = "green" header = "Pending Confirmation" if query == "Confirm": color = "red" header = "Confirmed" elif query == "Not Confirm": color = "blue" header = "Not Confirmed" html = f"