Azure-Sentinel icon indicating copy to clipboard operation
Azure-Sentinel copied to clipboard

KqlvalidationsTests does not support latest Kusto Functions

Open andrewj-t opened this issue 11 months ago • 5 comments

Describe the bug I raised PR https://github.com/Azure/Azure-Sentinel/pull/13170, and the KqlvalidationsTests failed stating that replace_strings is not a valid function name. However it is a valid function name, documented here and works fine through the Azure Portal

To Reproduce Steps to reproduce the behavior:

  1. Prepare a new contribution that utilises a newer kql function, such as replace_strings
  2. Raise a PR to this repo for somethign which will trigger the kql-validations.yaml workflow
  3. An error will be returned stating Errors: the name 'replace_strings' does not refer to any known function

Expected behavior The validation should pass if the function is a valid kql function

Additional context The issue lies with Microsoft.Azure.Sentinel.KustoServices.dll, which is inside the Microsoft.Azure.Sentinel.KustoServices.6.7.0.nupkg. The dll is built with version 11.0.0 of the Microsoft.Azure.Kusto.Language nuget package, which is visible in the nuspec file (attached).

Version 11 of Microsoft.Azure.Kusto.Language was released in 19/09/2022 which is over 3 years old. Is it able to be refreshed with the latest version?

Additionally, could it potentially be open sourced and setup with a github action to rebuild regularly to the latest one to keep it up to date in the future?

Microsoft.Azure.Sentinel.KustoServices.nuspec.txt

andrewj-t avatar Dec 29 '25 07:12 andrewj-t

Are there any updates to the requested change? @v-utpalkumar @v-kasghosh The PR (https://github.com/Azure/Azure-Sentinel/pull/13170) is currently blocked due to this gap.

yummyblabla avatar Feb 03 '26 18:02 yummyblabla

Hello @yummyblabla, we’re checking this with our internal team. Please allow us a little more time—we’ll share any updates as soon as we receive them. Thank you!

v-utpalkumar avatar Feb 04 '26 10:02 v-utpalkumar

Since the conversation around this issue is continuing in PR: https://github.com/Azure/Azure-Sentinel/pull/13206, we are closing this issue and tracking further discussion there. If additional discussion or work is required, please feel free to reopen this issue. Thank you!

v-utpalkumar avatar Jun 15 '26 12:06 v-utpalkumar

Hello @andrewj-t, the internal PR team would like to know if PR https://github.com/Azure/Azure-Sentinel/pull/13206 is still relevant and needs to be reviewed. Thank you!

v-utpalkumar avatar Jun 22 '26 10:06 v-utpalkumar

Hello @andrewj-t, the internal PR team would like to know if PR #13206 is still relevant and needs to be reviewed. Thank you!

Hi @v-utpalkumar - I am happy for these to be closed off/unmerged. I ended up use creating my own query not using the ASIM parsers to solve my origional issue

andrewj-t avatar Jun 24 '26 04:06 andrewj-t