Helper function to update the Advanced Audit policy on the machine. This
    function modifies the two ``audit.csv`` files in the following locations:

    C:\\Windows\\Security\\Audit\\audit.csv
    C:\\Windows\\System32\\GroupPolicy\\Machine\\Microsoft\\Windows NT\\Audit\\audit.csv

    Then it applies those settings using ``auditpol``

    After that, it updates ``__context__`` with the new setting

    Args:
        option (str): The name of the option to set
        value (str): The value to set. ['None', '0', '1', '2', '3']

    Returns:
        bool: ``True`` if successful, otherwise ``False``

def _setOptionValueAdvAudit(option, value):
    '''
    Helper function to update the Advanced Audit policy on the machine. This
    function modifies the two ``audit.csv`` files in the following locations:

    C:\\Windows\\Security\\Audit\\audit.csv
    C:\\Windows\\System32\\GroupPolicy\\Machine\\Microsoft\\Windows NT\\Audit\\audit.csv

    Then it applies those settings using ``auditpol``

    After that, it updates ``__context__`` with the new setting

    Args:
        option (str): The name of the option to set
        value (str): The value to set. ['None', '0', '1', '2', '3']

    Returns:
        bool: ``True`` if successful, otherwise ``False``
    '''
    # Set the values in both audit.csv files
    if not _set_audit_file_data(option=option, value=value):
        raise CommandExecutionError('Failed to set audit.csv option: {0}'
                                    ''.format(option))
    # Apply the settings locally
    if not _set_auditpol_data(option=option, value=value):
        # Only log this error, it will be in effect the next time the machine
        # updates its policy
        log.debug('Failed to apply audit setting: {0}'.format(option))

    # Update __context__
    if value is None:
        log.debug('LGPO: Removing Advanced Audit data: {0}'.format(option))
        __context__['lgpo.adv_audit_data'].pop(option)
    else:
        log.debug('LGPO: Updating Advanced Audit data: {0}: {1}'
                  ''.format(option, value))
        __context__['lgpo.adv_audit_data'][option] = value

    return True