def get_additional_names(options):
    """
    Return a list of strings to be added to a SAN certificates.

    :param options:
    :return:
    """
    names = []
    # add SANs if present
    if options.get("extensions"):
        for san in options["extensions"]["sub_alt_names"]["names"]:
            is_ip_addr = (isinstance(san, x509.IPAddress) and (isinstance(san.value, ipaddress.IPv4Address) or isinstance(san.value, ipaddress.IPv6Address)))
            if isinstance(san, x509.DNSName) or is_ip_addr:
                names.append(str(san.value))
    return names

    Return a list of strings to be added to a SAN certificates.

    :param options:
    :return:
    
lemur/plugins/lemur_digicert/plugin.py