feat: SQL 单规则例外(标准 CE)#3339
Open
LordofAvernus wants to merge 1 commit into
Open
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
变更说明
dev/rule-excmain关联 Issue: https://github.com/actiontech/sqle-ee/issues/2991
Description
新增 SQL 单规则例外增删功能
实现 SQLRuleException 数据模型
扩展审计、操作记录接口
更新单元测试及 API 文档
Diagram Walkthrough
File Walkthrough
13 files
添加 SQL 单规则例外接口和业务逻辑扩展审计白名单接口支持例外功能新增 SQLRuleException 数据模型及操作函数新增操作记录查询模板和统计接口扩展操作记录接口,记录详细操作内容修改审计流程,增加跳过例外规则校验更新任务模型支持跳过审核结果记录扩展中间件记录操作日志细节注册新的 SQL 例外接口路由及处理函数修改审核接口输出,包含跳过规则结果更新操作记录模型,完善日志字段修改任务接口返回结构加入跳过结果更新自动迁移列表注册 SQLRuleException 模型3 files
添加单规则例外单元测试用例添加与优化 SQL 审核例外测试逻辑添加测试覆盖跳过审核例外逻辑2 files
更新 API 文档,增加 SQL 例外接口说明更新 Swagger 定义,增加 SQL 例外接口说明1 files