Add Microsoft Defender for DevOps workflow#600
Conversation
This workflow integrates Microsoft Security DevOps for static analysis.
…ntain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to run Microsoft Security DevOps (MSDO) static analysis and publish results to GitHub’s Security tab via SARIF upload.
Changes:
- Introduces a new
defender-for-devops.ymlworkflow triggered on pushes/PRs tomasterand on a weekly schedule. - Runs
microsoft/security-devops-actionand uploads generated SARIF to GitHub code scanning.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
5 similar comments
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
@copilot 这一份PR里使用Microsoft Security DevOps是干什么的? |
这个 PR 引入了 Microsoft Security DevOps (MSDO) 工作流,主要用于静态代码分析和安全扫描。具体来说,它做以下几件事:
简而言之,这是为项目添加的一层自动化安全检查,帮助发现代码中潜在的安全漏洞。 |
|
@copilot 我还需要什么手动配置吗?还是说可以直接合并? |
取决于你的目标: 如果只需要在 GitHub Security 标签页查看扫描结果,可以直接合并,无需额外配置——工作流本身已包含所需权限( 如果需要将数据上报到 Microsoft Defender for Cloud(Azure),则合并前需要手动完成以下配置:
详见官方文档:https://learn.microsoft.com/en-us/azure/defender-for-cloud/quickstart-onboard-github 如果只是想做基础的代码安全扫描,直接合并即可。 |
This workflow integrates Microsoft Security DevOps for static analysis.
Ⅰ. 描述此PR的作用:
Ⅱ. 此PR修复了哪个issue吗?
Ⅲ. 界面变化截屏