docs: def list_app_resources(
          app, env, resources, cmdb, start, end, tz):
      """Analyze flow log records for application and generate metrics per period"""
      logging.basicConfig(level=logging.INFO)
      start, end = get_dates(start, end, tz)
  
      all_resources = []
      for rtype_name in resources:
          rtype = Resource.get_type(rtype_name)
          resources = rtype.get_resources(cmdb, start, end, app, env)
          all_resources.extend(resources)
      print(json.dumps(all_resources, indent=2))