from typing import List


def url_create_tags(urlhaus_data: dict) -> List[str]:
    """
        Create url tags.

        Args:
            urlhaus_data (dict): The data retrieved from URLHaus db.

        Returns:
            tags (list): a list of tags to add.
    """
    tags = urlhaus_data.get('Tags', [])
    if urlhaus_data.get('Threat'):
        tags.append(urlhaus_data.get('Threat'))
    return tags