def outputToYamlFile()

in tooling/export-alerts/export-alerts.py [0:0]


def outputToYamlFile(data, filename):
  # Write the results to a file
  with open(filename, "w") as f:
      yaml.dump(data, f, indent=2)