def METHOD_NAME():
    parser = argparse.ArgumentParser(
        description=
        "Find recommendation status of projects from your organization.")
    parser.add_argument(
        "--organization",
        required=True,
        type=str,
        help=
        "Enter the organization id in the format organizations/[ORGANIZATION_ID]."
    )
    parser.add_argument(
        "--service_account_file_path",
        required=True,
        type=str,
        help="Enter the location of service account key for the resources.")
    parser.add_argument(
        "--to_csv",
        type=str,
        nargs="?",
        default="",
        help="Enter the csv file name to store the recommendation data.")
    parser.add_argument("--recommendation_state",
                        type=str,
                        nargs="?",
                        default="ACTIVE",
                        help="Enter the state of recommendation.")
    parser.add_argument("--log",
                        type=str,
                        nargs="?",
                        default="INFO",
                        help="Enter the log level.")
    args = parser.parse_args()
    logging.basicConfig(format="%(levelname)s[%(asctime)s]:%(message)s",
                        level="INFO")
    credentials = service_account.Credentials.from_service_account_file(
        args.service_account_file_path, scopes=SCOPES)
    projects = get_all_projects_using_asset_manager(args.organization,
                                                    credentials)
    recommendation_data = get_recommendation_summary_of_projects(
        projects, args.recommendation_state, credentials)
    if not args.to_csv:
        to_print(recommendation_data)
    else:
        to_csv(recommendation_data, args.to_csv)
        logging.info("The security status of your organization has been exported to %s.",
                     args.to_csv)