Adding a security scanner to a pipeline gives us findings. The next task is deciding what those findings mean, what needs to change, and whether the proposed fix actually works.
As a DevOps engineer, that is where I wanted to explore AI assistance. Could I give GitHub Copilot the output from a real infrastructure scan and use it to work through remediation, while keeping the checks and review process in place?
I tested the idea with an intentionally insecure Terraform configuration for an Azure Storage Account. Azure Pipelines ran the scan, Microsoft Defender for Cloud provided a central view of repository findings, and GitHub Copilot in Visual Studio Code helped explain the results and propose changes.
The first remediation pass produced a partial improvement. The recorded pipeline warning count fell from seven to three, but the error count stayed at three. The screenshots also showed successful builds despite those errors.…