def get_analysis_id(input_file):
    """This function parses a CodeSonar log file to determine the analysis ID

    Inputs:
        - input_file: Absolute path to the CodeSonar analysis log file of interest [string]

    Outputs:
        - analysis_id: the analysis ID found in the input file will be returned [string]
    """

    # Import the log file
    with open(input_file, 'r') as input_fh:
        log_data = input_fh.readlines()

    # Pull the number from the log file
    analysis_id = log_data[0].strip()

    return analysis_id