SQL server support audit logging queries/RPC calls with NTEXTTYPE
parameter
#29411
Labels
bug
database-access
Database access related issues and PRs
db/sqlserver
Microsoft SQL Server related database access issues
Currently, SQL Server packets that contain
NTEXTTYPE
parameters failed to be parsed, causing their contents to be audit logged asdb.session.malformed_packet
instead of properdb.session.query
ordb.session.sqlserver.rpc_request
. This is mainly due to thego-mssql
parsing expecting a different data format (tablename and ROW).Here is an example of an RPC call (
SP_ExecuteSql
) from Azure Data Studio that has its SQL parameter asNTEXTTYPE
:The text was updated successfully, but these errors were encountered: