def METHOD_NAME(self, **kwargs):
    filters = kwargs.get("filters", None)
    first = kwargs.get("first", 500)
    after = kwargs.get("after", None)
    order_by = kwargs.get("orderBy", None)
    order_mode = kwargs.get("orderMode", None)
    custom_attributes = kwargs.get("customAttributes", None)
    get_all = kwargs.get("getAll", False)
    with_pagination = kwargs.get("withPagination", False)
    if get_all:
        first = 500
    LOGGER.info(
        "Listing Kill-Chain-Phase with filters " + json.dumps(filters) + "."
    )
    query = (
        """
        query KillChainPhases($filters: [KillChainPhasesFiltering], $first: Int, $after: ID, $orderBy: KillChainPhasesOrdering, $orderMode: OrderingMode) {
            killChainPhases(filters: $filters, first: $first, after: $after, orderBy: $orderBy, orderMode: $orderMode) {
                edges {
                    node {
                        """
        + (custom_attributes if custom_attributes is not None else self.properties)
        + """
                    }
                }
                pageInfo {
                    startCursor
                    endCursor
                    hasNextPage
                    hasPreviousPage
                    globalCount
                }
            }
        }
    """
    )
    result = self.opencti.query(
        query,
        {
            "filters": filters,
            "first": first,
            "after": after,
            "orderBy": order_by,
            "orderMode": order_mode,
        },
    )
    return self.opencti.process_multiple(
        result["data"]["killChainPhases"], with_pagination
    )