def METHOD_NAME(self, rule: SigmaRule, query: str, index: int, state: ConversionState) -> str:
    try:
        fields = state.processing_state["fields"]
    except KeyError:
        raise SigmaFeatureNotSupportedByBackendError("No fields specified by processing pipeline")
    # fields_input_parsing = ''
    # for count, value in enumerate(fields):
    #     fields_input_parsing = fields_input_parsing + value + '=ucast(map_get(input_event, "' + value + '"), "string", null)'
    #     if not count == len(fields) - 1:
    #         fields_input_parsing = fields_input_parsing + ', '
    detection_str = """