def METHOD_NAME(path='/', ignored_paths=[]):
    """Get a dictionary with all check-files information recursively from a specific path
    Args:
        path (string): Root path from which to obtain the information
        ignored_paths (list): Path list to be ignored
    Returns:
        dict: Dictonary with all check files corresponding to the analized path. It has the following format:
            "/var/ossec/active-response":{
                    "group": "wazuh",
                    "mode": "0750",
                    "prot": "drwxr-x---",
                    "type": "directory",
                    "user": "root"
            }, ...
    """
    files_items_dict = {}
    script_logger.info(f"Ignoring the following paths: {ignored_paths}")
    script_logger.info(f"Getting check-files data from {path}")
    # If the given path is not a dir
    if os.path.exists(path) and not os.path.isdir(path):
        try:
            files_items_dict[path] = get_data_information(path)
        except OSError:  # Ignore errors like "No such device or address" due to dynamic and temporary files
            pass
    # If the given path is a dir, walk through the dir tree
    for (dirpath, _, filenames) in os.walk(path, followlinks=False):
        skip_path_checking = False
        for ignore_path in ignored_paths:
            if ignore_path == dirpath[0:len(ignore_path)]:
                skip_path_checking = True
        if not skip_path_checking:
            # Get the dir data
            if os.path.exists(dirpath):
                try:
                    files_items_dict[dirpath] = get_data_information(dirpath)
                except OSError:  # Ignore errors like "No such device or address" due to dynamic and temporary files
                    pass
            # Get the dir content data
            for filename in filenames:
                file_path = os.path.join(dirpath, filename)
                if file_path not in ignored_paths and os.path.exists(file_path):
                    try:
                        files_items_dict[file_path] = get_data_information(file_path)
                    except OSError:  # Ignore errors like "No such device or address" due to dynamic and temporary files
                        pass
    return files_items_dict