What Is DevSecOps? A Guide for Low-Code and AI-Built Apps
What is DevSecOps when makers and AI build the apps? Who reviews, which checks Microsoft runs at import, and which gaps your CoE still owns.
In this article · 7 sections
In the Security Development Lifecycle that Microsoft applies to its own teams, a manual review “is conducted by a reviewer who isn’t the engineer that developed the code”. Suppose an AI agent drafted the flow and a maker clicked publish. Who is the engineer, and who is the reviewer? So what is DevSecOps? DevSecOps means security checks run at every stage of delivery, not as one final review before release.
Our view: low-code and AI building did not break DevSecOps. They removed the single engineer that most review processes quietly assumed. One person used to write the change and another person read it. Now the author is often a prompt, the builder is a business user, and the reviewer is whoever happens to be around.
Our view: the question for a CoE is who owns each stage, not which scanner to buy. Scanners matter, and several appear below with their license terms. A scanner without an owner produces alerts that nobody closes.
DevSecOps defined: security in every stage, not a gate at the end
Microsoft describes DevSecOps as “an approach to software development that integrates security into every phase of the DevOps lifecycle.” The same page adds: “Instead of treating security as a final review before release, DevSecOps embeds automated security controls directly into continuous integration and continuous delivery (CI/CD) pipelines.” It also says DevSecOps “extends DevOps by making security a shared responsibility.” The page is a Microsoft marketing page that frames DevSecOps inside a product pitch. The definition still holds up.
Microsoft’s DevOps guidance from 2022 states the human side more bluntly. It calls DevSecOps “a continuous and ongoing effort that requires the attention of everyone in both development and IT operations,” and asks for a change of mindset: “Not only do you need to prevent breaches, but assume them as well.” That page splits security strategy into two columns:
- Preventing breaches: threat models, code reviews, security testing and the SDL.
- Assuming breaches: war game exercises, central security monitors and live site penetration tests.
A governance program that funds only the first column has no plan for the day prevention fails.
For a vendor-neutral anchor, use NIST. SP 800-218 recommends the Secure Software Development Framework (SSDF). NIST describes the SSDF as a core set of high-level secure software development practices that can be built into any development lifecycle, and it positions the framework as a common vocabulary between software buyers and suppliers.
The SSDF project page sorts the practices into four groups: Prepare the Organization, Protect the Software, Produce Well-Secured Software and Respond to Vulnerabilities. It also says “the intention of the SSDF is not to create a checklist to follow,” but to support “a risk-based approach.”
Microsoft says on its SDL overview that the SDL practices can be applied to all types of software development. Its own list of software types includes AI applications and low-code/no-code apps. Our view: with DevSecOps defined this way, the apps your makers ship are in scope, not something the app-dev team handles on the side.
Takeaway: DevSecOps is a practice you run. No product you license can be “the DevSecOps” for your tenant.
Why a final security review fails when makers and AI ship
Microsoft’s SDL practices page says security risks “can occur at any point in the development lifecycle.” Our view: a review at the end sees only the last state of the app, not the decisions behind it. It cannot tell you why a connector was added, which prompt produced a flow, or whether a credential sat in an earlier version that someone later edited out.
Our view: AI building makes this gap wider. On the same Security 101 page, Microsoft says “Governance extends to AI-generated code, with automated review and policy checks ensuring generated output meets security standards.” It also lists “AI-generated code risk” among the common challenges of DevSecOps.
Our view: at the volume makers change things, a quarterly or pre-launch review turns into a rubber stamp. When many makers ship small edits every week, a single gate either blocks everything or waves everything through. Spread the checks across four points instead: the build, source control, import into a managed environment, and run time. If you already run the three-tier model for AI-built apps, these stage checks sit inside each tier. They do not replace the tiers.
Takeaway: Move one review earlier this quarter. Put it at the point where code or configuration enters source control or a managed environment.
Who reviews what
Three roles cover every stage in the framework table below; how the stages split between them is our view.
Maker. The maker builds in a development environment. Our view: the maker does the first pass, with no credentials in the app, the flow or the prompt, and never approves their own promotion. Microsoft’s SDL states the same principle for its own code reviews: “Separation of duties is an important control in this step to minimize the risk of code being written and released that leads to accidental or malicious harm.”
Our view: when an AI agent wrote most of the change, the maker is closer to an author than a reviewer. That makes the second person more important, not less.
CoE or platform admin. This role owns the deployment pipeline, the managed environment settings and the service identities that deploy. Microsoft’s DevOps guidance asks for “clear manual approval stages” and for “automated gates” between stages. The Power Platform Well-Architected guidance adds: “Explore the use of service principals for deployment.”
Security lead. This role owns secret handling, dependency and code scanning on any code repo, and monitoring. Two of Microsoft’s own lessons learned belong on this person’s wall: “Control of the engineering system leads to control of everything.” and “Production should never trust anything in test.”
Practitioner caveat: the guidance says to explore service principals for deployment, but
pac admin create-service-principalgives the new identity System Administrator as its default role. A new identity is not least privilege until you scope it.
Our view on owners per stage:
- Build: the maker.
- Import and Deploy: the CoE or platform admin, with a Deploy approver who is not the maker.
- Source control, Dependencies and Run: the security lead.
If you still need the app inventory that has to come before any of this, start with how IT governs AI-built apps in five steps.
Takeaway: Write down one named owner per stage before the next AI-built app reaches production.
A low-code DevSecOps framework: what the platform checks and what you add
A low-code DevSecOps framework starts from an accurate map of what is already enforced and what only looks enforced. The table covers six delivery stages. It shows the controls the platform or GitHub supplies and the gap your team still owns. Sources follow below the table.
| Stage | What the platform or GitHub supplies | Gap your team owns |
|---|---|---|
| Build: secrets | Environment variables that reference a vault secret, for Power Automate flows, Copilot Studio agents and custom connectors only | Secrets in canvas apps, and anything hard-coded in a flow |
| Source control: Git and code repos | GitHub secret scanning, push protection and code scanning; private repos need GitHub Secret Protection for secret scanning and GitHub Code Security for code scanning; push protection is disabled by default | Turning on and licensing a scanner for your Git provider, and who triages alerts |
| Import into a managed environment | Import-time checker enforcement: Block cancels the import on critical-severity issues, Warn lets the import continue | Every non-critical finding, and the deliberate choice of setting per environment |
| Deploy | Managed environment targets required; Microsoft guidance recommends manual approval stages and service principals | An approver who is not the maker, and scoping the deploying identity |
| Dependencies | Dependabot alerts on vulnerable dependencies | Issues the alerts can’t catch, and owning the upgrade |
| Run: monitoring and assume breach | Guidance only: assume breach, run central security monitors | Who watches, and who rotates a leaked credential |
Import. Learn lets administrators enforce checks when a solution is imported into a managed environment. With Block, “When a solution has highly-critical issues, the import process is canceled,” and Learn reminds you that “only critical severity rules block a solution from being imported.” With Warn, “you’re warned about the action but the import itself continues.” Learn’s environment strategy guidance lists per-environment settings as “the most common settings”, not as required ones. Our view: a clean import under Block tells you no critical rule fired. It does not tell you the app is safe.
What the checker does not look for. Microsoft’s Well-Architected guidance says the checker “should be used for Power Platform resources.” It says traditional code “could be checked for potential security flaws, including the presence of credentials in code.” Read that sentence carefully: it does not say the checker finds credentials.
The solution checker rules table has no rule for hard-coded secrets in canvas apps or cloud flows. The only password rule is the desktop flow rule desktopflow-avoid-unsafe-password. Your tenant needs another control for that gap.
Secrets. The same guidance is firm: “Credentials and application secrets should never be stored in the source code of the workload (app or flow).” Learn says Azure Key Vault is currently the only secret store supported with environment variables. Variables backed by the secret store are limited to Power Automate flows, Copilot Studio agents and custom connectors, so canvas apps are not on the list. That is why canvas apps head the inventory in the last section.
Source control. Learn documents no built-in secret scanning in Power Platform Git integration. Its guidance is to add your own scanning tool to your Git provider.
On GitHub, secret scanning “scans your entire Git history on all branches of your repository for hardcoded credentials.” For organization-owned private and internal repositories it is “Available with GitHub Secret Protection enabled on GitHub Team or GitHub Enterprise Cloud.” For code scanning, “If you want to use code scanning on private repositories, you need a GitHub Code Security license.” Repository push protection “Is disabled by default,” and “by default, anyone with write access to the repository can bypass push protection by specifying a bypass reason.”
If your repos live in Azure Repos instead, GitHub Advanced Security for Azure DevOps “is only available for Azure DevOps Services and specifically for code Git repositories.”
Dependencies. Dependabot alerts help, but the first limitation GitHub lists is “Alerts can’t catch every security issue.”
Deploy. Microsoft’s Well-Architected guidance recommends the platform’s own deployment pipeline for deployments. It also warns: “If it runs in exploitable pipelines, all security efforts are futile and incomplete.”
On the admin deployment page, Learn states “Pipeline target environments must be managed environments” and “Targets that are already managed aren’t affected.” For an unmanaged target, Pipelines in Power Platform give a 30-day initial grace period, then require an acknowledgement, then allow a one-time 30-day extension before deployments to that target are blocked. Learn adds that “Enforcement blocks new deployments only. Deployed apps and solutions continue to run.”
Takeaway: Every gap in the third column without a named owner belongs on your risk register for next quarter.
AI app DevSecOps basics: the risks no import check sees
AI app DevSecOps basics start where import checks stop, with what an agent is allowed to do. OWASP’s 2025 Top 10 Risk & Mitigations for LLMs and Gen AI Apps includes LLM01:2025 Prompt Injection, LLM02:2025 Sensitive Information Disclosure, LLM05:2025 Improper Output Handling and LLM06:2025 Excessive Agency. Our view: a static rule at import is not built to catch these.
Excessive Agency is the one a CoE controls most directly. OWASP defines it as “the vulnerability that enables damaging actions to be performed in response to unexpected, ambiguous or manipulated outputs from an LLM, regardless of what is causing the LLM to malfunction.” OWASP lists three typical root causes: excessive functionality, excessive permissions and excessive autonomy.
Our view: require two of OWASP’s mitigations of any agent with write access:
- A human approves high-impact actions before they run. This is OWASP’s user approval mitigation.
- The downstream system decides what is allowed. OWASP’s complete mediation mitigation: “Implement authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not.”
NIST has also published SSDF guidance for generative AI. Its SSDF page notes that “NIST has finalized SP 800-218A, Secure Software Development Practices for Generative AI and Dual-Use Foundation Models: An SSDF Community Profile.”
Takeaway: For every agent, list the actions it can take and which system, not the model, says no.
Where to start this quarter
Three moves, in this order.
- Inventory where secrets live in canvas apps, cloud flows, agents and custom connectors. Start with canvas apps, because vault-backed variables don’t reach them.
- Confirm that import-time checker enforcement is set deliberately in every production managed environment. Block or Warn should be a decision someone signed, not a default nobody looked at.
- Require a promotion approver who is not the maker on every stage that reaches production.
The ALM and DevSecOps hub goes deeper on pipelines, testing and release operations once these three moves are in place.
When your security team asks, “What is DevSecOps for our maker estate?”, give them this answer. Our view: it comes down to a named owner at every stage. Microsoft supplies controls at import and deployment, and each needs a deliberate setting. The secret, source and agent-authority gaps belong to the CoE until someone signs for them.
Takeaway: One owner, one control, one approver.
Bring the app you are about to approve
If you are about to approve an AI-built app, or recently inherited one, bring it to a free 30-minute call. We look at what was built or is planned, name the top three risks, and recommend one next step.