Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

智能扫描审核结果描述丢失 #2596

Closed
BugsGuru opened this issue Sep 9, 2024 · 0 comments
Closed

智能扫描审核结果描述丢失 #2596

BugsGuru opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working publish-pre2
Milestone

Comments

@BugsGuru
Copy link
Collaborator

BugsGuru commented Sep 9, 2024

版本信息(Version)

sqle 76ba04301923d3195bfa9b7298c69e9ae1e51c7d

问题描述(Describe)

开启智能扫描后,扫描结果中审核结果描述为空。

截图或日志(Log)

image

sql管控中审核结果描述可以正常显示
image

如何复现(To Reproduce)

开启扫描任务,在SQL管控配置里概览页查看扫描到的sql审核结果。

问题原因

这里的审核结果,接口是直接返回的数据库审核结果字段的json格式内容。国际化后该json结构变更,描述字段弃用未同步。
image

解决方案

从国际化的描述中获取对应语言的描述,响应给前端

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

@BugsGuru BugsGuru added the bug Something isn't working label Sep 9, 2024
@ColdWaterLW ColdWaterLW added this to the v3.2409.0 milestone Sep 9, 2024
@ColdWaterLW ColdWaterLW assigned BugsGuru and unassigned ColdWaterLW Sep 9, 2024
@BugsGuru BugsGuru mentioned this issue Sep 9, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working publish-pre2
Projects
None yet
Development

No branches or pull requests

2 participants