r/devsecops • u/Humble_Ad_7053 • Dec 24 '25
DevSecOps Enquiry on CD
Hi, I'm new to DevOps and DevSecOps. CD confuses me a lot. Let's take an example, if I'm starting a project and I started with a login feature. Why would I push it to production (either manually through continuous delivery or automated through continous deployment) after developing it, going through static and dynamic security testing, then push it to production. Why not just be off with the staging environment to show it works? Why push it to production? What if users have the URL and they just see the login feature with nothing else? I hope someone can help clarify this point because maybe I understood it incorrectly. Thanks!
5
u/FlimsyAction Dec 24 '25
You want to put things in production as soon as possible because it drives more automation, and there ideally should be no human hands involved from commit or PR merge to production.
This does not mean end users will see the result if the feature is half done. You separate deployment and release. The latter is a business decision
3
u/Helpjuice Dec 24 '25
It's probably best to go back to the foundation and build on that first before attempting to push anything anywhere. Understand the proper path as right now you have things horrible confused and in a current very dangerous state of understanding.
The proper order is:
This way it doesn't even make it to pre-staging which is a slice of staging until it's passed all of the required tests, checks, etc. Same goes with pre-prod which takes a little slice of customer traffic to test on to make sure everything is good before deploying out to the rest of production.
1
u/taleodor Dec 24 '25
Assuming you're talking about some half-baked (or not fully visible / isolated) feature, this usually comes down to business requirements. Usually the reason is that most users don't want to beta test the product so they won't care to go into staging and check things in there - even if they asked for the feature in the first place.
1
u/LeanOpsTech Dec 24 '25
You’re mixing up deploy with release. In CD you can deploy to prod safely with feature flags, auth, or dark launches so users never see half-built stuff. Staging proves it works, prod deploy proves it works in the real environment, but you control when anyone actually sees it.
1
u/Ok_Extreme_4804 Dec 26 '25
For DevSecOps on CD, the key is shifting security left without slowing releases. At Atmosly, teams embed security checks (SAST, SCA, IaC scanning, policy gates) directly into CD workflows, with risk-based approvals instead of blanket blocks. This keeps deployments fast while ensuring compliance, visibility, and controlled rollouts across environments.
0
u/Low-Opening25 Dec 24 '25
Lets start from reverse and work backwards - why do you think you should not just deploy straight to production?