Skip to content
代码片段 群组 项目
未验证 提交 580838aa 编辑于 作者: Sashi Kumar Kumaresan's avatar Sashi Kumar Kumaresan 提交者: GitLab
浏览文件

Merge branch 'vulnerability-management-policy/allow-in-create' into 'master'

Allow vulnerability management policy in update policy mutation

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166939



Merged-by: default avatarSashi Kumar Kumaresan <skumar@gitlab.com>
Approved-by: default avatarMichał Zając <mzajac@gitlab.com>
Approved-by: default avatarSashi Kumar Kumaresan <skumar@gitlab.com>
Co-authored-by: default avatarLorenz van Herwaarden <lvanherwaarden@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -24,7 +24,7 @@ class OrchestrationPolicyConfiguration < ApplicationRecord
# json_schemer computes an $id fallback property for schemas lacking one.
# But this schema is kept anonymous on purpose, so the $id is stripped.
POLICY_SCHEMA_JSON = POLICY_SCHEMA.value.except('$id')
AVAILABLE_POLICY_TYPES = (%i[scan_execution_policy pipeline_execution_policy] +
AVAILABLE_POLICY_TYPES = (%i[scan_execution_policy pipeline_execution_policy vulnerability_management_policy] +
Security::ScanResultPolicy::SCAN_RESULT_POLICY_TYPES).freeze
JSON_SCHEMA_VALIDATION_TIMEOUT = 5.seconds
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册