从Azure DevOps任务上传IEF自定义策略吗? [英] Upload IEF custom policies from Azure DevOps task?

查看:44
本文介绍了从Azure DevOps任务上传IEF自定义策略吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否可以通过Azure DevOps任务上传自定义策略吗?

Anyone know if it's possible to upload custom policies via an Azure DevOps task?

发布管道可能如下所示:

  • 登台环境-从Git部署到IEF,添加后缀 _staging
  • 用于手动测试的块管道
  • 产品环境-部署到IEF 没有 staging 后缀
  • Staging Environment - Deploy from Git to IEF, add suffix _staging
  • Block pipeline for manual testing
  • Prod Environment - Deploy to IEF without the staging suffix

推荐答案

可以通过MS Graph API为以编程方式访问自定义策略和键集.

It is possible through MS Graph API for Programmatic access to Custom Policies and Keysets.

您可以使用Graph API请求创建,更新和删除自定义策略.这些是Graph API请求,因此您可以将它们集成到管道中,但是需要管理访问令牌.

You can use Graph API requests to create, update and delete custom policies. These are Graph API requests so you can integrate these in your pipeline but you need to manage the access token.

这篇关于从Azure DevOps任务上传IEF自定义策略吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆