def METHOD_NAME(tags_to_apply, get_configuration, configure_environment, restart_syscheckd):
    '''
    description: Check if the 'wazuh-syscheckd' daemon detects every event when adding, modifying, and deleting
                 a subkey/value within multiple registry keys monitored in the same line. Also, it verifies that
                 it limits the monitoring to the maximum allowed number of keys (64) set in the 'windows_registry'
                 tag. For this purpose, the test will try to monitor an upper number of keys allowed and verify
                 that FIM discards the excess of keys to monitor. Then, it will make key/value operations inside
                 of the monitored keys, and finally, the test will verify that all FIM events are generated for
                 the operations made.
    wazuh_min_version: 4.2.0
    tier: 1
    parameters:
        - tags_to_apply:
            type: set
            brief: Run test if matches with a configuration identifier, skip otherwise.
        - get_configuration:
            type: fixture
            brief: Get configurations from the module.
        - configure_environment:
            type: fixture
            brief: Configure a custom environment for testing.
        - restart_syscheckd:
            type: fixture
            brief: Clear the 'ossec.log' file and start a new monitor.
    assertions:
        - Verify that FIM 'discard' event is generated with the number of discarded keys to monitor.
    input_description: A test case (multiple_keys) is contained in external YAML file (wazuh_conf_multiple_keys.yaml)
                       which includes configuration settings for the 'wazuh-syscheckd' daemon. That is combined
                       with the testing registry key to be monitored defined in this module.
    expected_output:
        - r'.*Maximum number of registries to be monitored in the same tag reached .* Excess are discarded'
        - r'.*Sending FIM event: (.+)$' ('added', 'modified', and 'deleted' events)
    tags:
        - scheduled
        - time_travel
    '''
    check_apply_test(tags_to_apply, get_configuration['tags'])
    discarded = wazuh_log_monitor.start(timeout=global_parameters.default_timeout,
                                        callback=callback_max_registry_monitored,
                                        error_message='Did not receive expected '
                                                      '"Maximum number of registries to be monitored..." event.'
                                        ).result()
    assert discarded == expected_discarded, f'Discarded registry keys are not the expected ones.'
    detect_initial_scan(wazuh_log_monitor)  # Registry scan only works in scheduled mode
    multiple_keys_and_entries_keys(MAX_MONITORED_ONE_TAG, subkeys, wazuh_log_monitor, KEY,
                                   timeout=global_parameters.default_timeout)
    time.sleep(2)  # These 2 seconds are needed to avoid overlapping between keys and values
    multiple_keys_and_entries_values(MAX_MONITORED_ONE_TAG, subkeys, wazuh_log_monitor, KEY,
                                     timeout=global_parameters.default_timeout)