Skip to content

Commit

Permalink
Merge pull request #1240 from hanshuaikang/feature/develop_by_han
Browse files Browse the repository at this point in the history
minor: apigw 初始化新增主动授权的配置
  • Loading branch information
hanshuaikang authored Dec 6, 2023
2 parents c52a801 + 5192147 commit d57bbac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions itsm/openapi/management/commands/data/api-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ stage:
release:
version: {{ settings.STATIC_VERSION }}+{{ settings.DEPLOY_DATETIME }}
comment: "auto release by bk-sops"

grant_permissions:
- bk_app_code: bk-audit
2 changes: 1 addition & 1 deletion itsm/pipeline_plugins/components/collections/bk_sops.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class BkOpsService(ItsmBaseService):
interval = StaticIntervalGenerator(3)

def prepare_task_params(self, state, ticket, sops_info):
values = ticket.get_output_fields(return_format="dict")
values = ticket.get_output_fields(return_format="dict", need_display=True)
if sops_info["bk_biz_id"]["value_type"] == "variable":
bk_biz_id = values.get(sops_info["bk_biz_id"]["value"], 0)
else:
Expand Down

0 comments on commit d57bbac

Please sign in to comment.