简体   繁体   English

如何审核 Azure DevOps 服务并监控发布?

[英]How to audit azure DevOps services and monitor releases?

I have an Azure DevOps instance where I am trying to control and monitor who is doing releases.我有一个 Azure DevOps 实例,我试图在其中控制和监视谁在发布。 So, who pressed the button to do the release and what releases have happened.那么,谁按下按钮进行发布以及发生了哪些发布。

I tried in Audit options, but it is not satisfying my requirement.我尝试了审计选项,但它不能满足我的要求。

What is the best way to get what I am looking for?获得我正在寻找的东西的最佳方式是什么?

Thanks in advance…提前致谢…

It's a little unclear what you mean by CONTROL有点不清楚你说的 CONTROL 是什么意思

If you are needing to tighten control of which users are allowed to initiate releases outside of a CI/CD pipeline, this is something you would use the built in object permissions for release pipelines.如果您需要加强对允许哪些用户在 CI/CD 管道之外启动发布的控制,您可以使用发布管道的内置对象权限。

I've organized our release pipelines into folders我已将我们的发布管道组织到文件夹中

Each of these folders is treated as an object upon which permissions can be set.这些文件夹中的每一个都被视为可以设置权限的对象。 在此处输入图片说明 在此处输入图片说明

For MONITORING the release pipelines用于监控发布管道

Again, I tend to just use the All Pipelines folder which gives a list of the releases that happened ordered by date.同样,我倾向于只使用All Pipelines文件夹,该文件夹提供按日期排序的发布列表。 That view lists the pipeline and gives the users Avatar, which is enough to know who created the release.该视图列出了管道并为用户提供了 Avatar,这足以知道是谁创建了发布。

在此处输入图片说明

Also

There are some out-of-the-box widgets that you can put on your dashboard, but I've found them to be unhelpful on the whole.您可以将一些开箱即用的小部件放在仪表板上,但我发现它们总体上没有帮助。 Not to mention that if you have 100's of pipelines you will want to have something reading from your list of pipelines via REST api and pushing those widgets onto the dashboard via the REST api so that you don't need to manage them all "by hand" through the UI.更不用说,如果您有 100 条管道,您将希望通过 REST api 从管道列表中读取一些内容,并通过 REST api 将这些小部件推送到仪表板上,这样您就无需“手动管理所有” "通过用户界面。 Then if you're going to get into using the REST api, you might as well write your own tool to report the information you need (and possibly turn it into a widget others can consume from the marketplace).然后,如果您打算使用 REST api,您不妨编写自己的工具来报告您需要的信息(并可能将其转换为其他人可以从市场上消费的小部件)。 I haven't found anything very effective on reporting/summarizing the collection of release pipelines from the marketplace, but there may be something squirreled away in there somewhere.我还没有发现任何非常有效的报告/总结来自市场的发布管道的集合,但可能有一些东西隐藏在那里。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM