You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As TiDB's SQL auditing tool, Tispector uses TiDB Parser to construct syntax trees for SQL statements. Rules in Tispector trigger corresponding rules by grabbing feature points in the syntax tree. Tispector implements user-defined rules by modifying the variable thresholds of some rules and persists different rule templates through the database. It solves the shortcomings of TiDB in SQL auditing, so that users can use the TiDB database more conveniently and safely.
Motivation
This proposal mainly solves the problem that there is no SQL auditing tool that can well adapt to some functional features of TiDB and some SQL syntax requirements.
Issues to be resolved
Some SQL rules need to optimize the implementation logic
Part of the code needs to be refactored for better performance and experience
Functionality that needs to be improved in the future
Enrich the rules , especially more rules for the distributed characteristics of TiDB
Distinguish online auditing and offline auditing to apply to different application scenarios
Improve the workflow and front-end interface of SQL auditing
Activity
[-]TiDB SQL audit tool Tispector[/-][+]Incubating Project: TiDB SQL audit tool Tispector[/+]winkyao commentedon Feb 7, 2022
LGTM
sunxiaoguang commentedon Feb 25, 2022
LGTM
winkyao commentedon Feb 28, 2022
@AllinChen Repo: https://github.com/tidb-incubator/tispector have been created, already invited you to be the admin of this project. Please accept the invitation https://github.com/tidb-incubator/tispector/invitations