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

fix: 删除不包含执行方案的作业模版,会生成一条不合法的删除执行方案审计事件 #2558

Closed
wangyu096 opened this issue Oct 27, 2023 · 0 comments
Assignees
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞

Comments

@wangyu096
Copy link
Collaborator

image

如上图,delete_job_plan 操作中,由于作业执行方案(资源实例)是空的,所以生成了一个不包含资源实例的删除事件。不符合预期。

审计事件代码如下:
image

@wangyu096 wangyu096 added kind/bug 程序故障Bug,漏洞 backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels Oct 27, 2023
@wangyu096 wangyu096 self-assigned this Oct 27, 2023
@wangyu096 wangyu096 changed the title fix: 删除作业模版,如果这个模版没有执行方案,会生成一条不合法的删除执行方案审计事件 fix: 删除不包含执行方案的作业模版,会生成一条不合法的删除执行方案审计事件 Oct 27, 2023
wangyu096 added a commit that referenced this issue Oct 27, 2023
fix: 删除不包含执行方案的作业模版,会生成一条不合法的删除执行方案审计事件 #2558
@bkjob-bot bkjob-bot added for test 可以在测试环境进行验收 and removed backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels Oct 31, 2023
@bkjob-bot bkjob-bot added for gray 可以在灰度环境/预发布环境验收 done 已上线到正式环境并验收通过 and removed for test 可以在测试环境进行验收 for gray 可以在灰度环境/预发布环境验收 labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞
Projects
None yet
Development

No branches or pull requests

2 participants