code: def log_target_types(all_logs=False, **kwargs):
      
      log_types = {
          'for_alert_event_log': False,
          'for_alert_log': False,
          'for_audit_log': False,
          'for_fw_log': False,
          'for_ips_log': False,
          'for_ips_recording_log': False,
          'for_l2fw_log': False,
          'for_third_party_log': False}
      
      if all_logs:
          for key in log_types.keys():
              log_types[key] = True
      else:
          for key, value in kwargs.items():
              log_types[key] = value
      
      return log_types
docs: Log targets for log tasks. A log target defines the log types
      that will be affected by the operation. For example, when creating
      a DeleteLogTask, you can specify which log types are deleted.
      
      :param bool for_alert_event_log: alert events traces (default: False)
      :param bool for_alert_log: alerts (default: False)
      :param bool for_fw_log: FW logs (default: False)
      :param bool for_ips_log: IPS logs (default: False)
      :param bool for_ips_recording: any IPS pcaps (default: False)
      :param bool for_l2fw_log: layer 2 FW logs (default: False)
      :param bool for_third_party_log: any 3rd party logs (default: False)
      :return: dict of log targets