Upload IEF custom policies from Azure DevOps task?

2020-05-06 18:17发布

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

The release pipeline might look like this:

  • Staging Environment - Deploy from Git to IEF, add suffix _staging
  • Block pipeline for manual testing
  • Prod Environment - Deploy to IEF without the staging suffix

2条回答
Animai°情兽
2楼-- · 2020-05-06 18:40

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

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.

查看更多
女痞
3楼-- · 2020-05-06 18:42

The MS Graph API is indeed the way to go. For a complete solution look here. Details on integrating with a DevOps pipeline are here.

查看更多
登录 后发表回答