MS Defender 4 cloud: Devops security in Github environment
Tags: azure, devops, github, security
Published: 2022-10-14 21:34:40

Greetings my fellow Technology Advocates and Specialists.

In this Session, I will demonstrate __MICROSOFT IGNITE - 2022__ release of __MICROSOFT DEFENDER 4 CLOUD: DEVOPS SECURITY IN GITHUB ENVIRONMENT__. 


| __THIS IS HOW IT LOOKS AT THE END!!!__ |
| --------- |


| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7dxbm1y55afm4ytdueyd.jpg) |
| --------- |


| __IMPORTANT POINTS TO NOTE:-__ |
| --------- |
| 1. The Connector Name __CANNOT__ be more than __20 Characters__. |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s0yrnmeywtp5vlyoa5gw.jpg) |
| 2. Defender for DevOps Only Supports __Central US__ during __PREVIEW__ |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6m0eclncge2hqu2z891d.jpg) |
| 3. The Subscription should be Registered to __Microsoft.SecurityDevOps__. If Not, Below Error is Encountered. |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g458plc9q1xco0an32qg.jpg) |


| __STEP BY STEP IMPLEMENTATION:-__ |
| --------- |
| 1. Browse to __Microsoft Defender for Cloud__ > __DevOps Security (Preview)__ > __Connect DevOps Environments__ > __Add Connector__ -  |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fv7obngk4cv5a1a7du02.jpg) |
| 2. __Add Environment__ > __GitHub__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rhn3i92wy8ortic3fi52.jpg) |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pz70fove7ne7q92du1o3.jpg) |
| 3. Provide __Connector Details__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wnfsodx6hx1u05de7sok.jpg) |
| 4. __Select Plans__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qhgjl19lwsgask7vs6r5.jpg) |
| 5. __Authorize Connection__ > __Authorize Defender for DevOps__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/huier8e0mlhz9m7o5zce.jpg) |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h4s1uvc4qbx52xzpr7iu.jpg) |
| 6. __Authorize Connection__ > __Install Defender for DevOps App__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/non5mwrrvsdw3vur39kw.jpg) |
| 7. __Select All Repositories or Selected Repositories__. In this Demo, I have Selected a Single Repository - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4a250kasr8tq1wiwwcam.jpg) |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qkxkyu7tq73ur2aoiwmu.jpg) |
| 8. __Review and Create__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/19s6r2gg8m0003c89lpg.jpg) |
| 9. __New GitHub Connector Created Successfully__ - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ht2xal95qlp16qt8sadr.jpg) |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9jeyvs48ip5nmme729s7.jpg) |
| 10. __Resources in the Resource Group__ - |
| __Note:__ Check the Option "__Show Hidden Types__" inside the Resource Group to view the "__Defender Resources__" |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xveoo05smvsbhetvygk.jpg) |
| 11. __Where is the Defender for DevOps app installed inside the Github Repository__ ? |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d65yiuf793d6p4fm1ww0.jpg) |
| On Clicking "__Configure__" - |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fvh2idxs537h5b7r9mh.jpg) |
| Using above option, Defender for DevOps app can be __uninstalled__ (If Required). |

| __FINAL RESULT:-__ |
| --------- |
| ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wjbomy0ttmhqdk8bccxs.jpg) |

__Hope You Enjoyed the Session!!!__

__Stay Safe | Keep Learning | Spread Knowledge__