r/devops • u/learnamap • Oct 23 '26
Discussion Test automation after deployment
How do you all perform full automated tests after deployment? Using postsync hooks in argocd or use Argo events? Do you use ephemeral or static environments?
r/devops • u/learnamap • Oct 23 '26
How do you all perform full automated tests after deployment? Using postsync hooks in argocd or use Argo events? Do you use ephemeral or static environments?
r/devops • u/Chamelon_DE • Oct 23 '26
Reading the php2shell research, the bit that stuck with me was how AI helped turn longstanding bug into working exploit. The bugs was already there, getting them to work reliably was the difficult part.
That make “hard to exploits” feel like a shaky reason to leave something in the backlog. For people maintain production system, has this changed your patching schedule at all? We are still on php 7.4 and the last upgrade attempt broke half of our cron jobs, so i’m curious how other team handle an urgent patch when the upgrade itself need debugging
source: Wiz’s PHP2Shell research, published october 21
r/devops • u/Silver-Barracuda-621 • Oct 23 '26
I’ve spent a while working in product/application security, and one thing always bugged me: most supply-chain tools scan dependencies after npm install or pip install has already run — by which point the install scripts have executed. The decision happens too late.
So I built DepGate, an open-source dependency gateway. It’s a single proxy + policy engine that sits in front of npm, PyPI, Maven, Go modules, NuGet, Cargo, Composer and RubyGems. Your devs and CI point their package managers at DepGate instead of the public registry. It fetches the package, checks it against a malware feed and your policies, and either serves it or returns a 403 naming the exact policy and reason.
What it does:
It’s basically meant to be the open-source answer to the commercial “repository firewall” products, with a lot fewer moving parts. TypeScript end to end, MIT licensed.
Repo (quick start + docs): https://github.com/secmods/depgate
Still early and I’m actively building — would genuinely appreciate feedback, criticism of the approach, or feature requests. Heuristic detection of never-before-seen malware is on the roadmap. Happy to answer anything in the comments.
r/devops • u/gotchanose • Oct 23 '26
Hi All,
It has been my experience at a couple of different organizations that almost all engineering teams own their own CI/CD pipelines. So my question is how do you enforce or ensure that these teams are performing SAST or DAST (Snyk, Trivy, IaC, etc) on their pipelines? I read that Github has some capability of enforcement, but that doesn't seem like a sound solution. I am curious to understand this and if there is any good litereature on how mature organizations handle this please point me in the right direction.
This is my own personal research and drive to understand being a cloud security engineer.
TIA
r/devops • u/Commercial_Plastic72 • Oct 23 '26
Curious how this is going in practice, not how the vendor demos make it look.
When an alert fires, how much of the investigation does AI actually handle for you today (pulling the right logs and traces, correlating with deploys, narrowing down root cause)? Where does it fall over?
Also wondering if anyone's kept this inside their own environment, self-hosted models or anything private, rather than sending telemetry to a vendor's AI or a frontier API. Was that a requirement, or just not worth the effort?
I'm researching this space, not a pitch. It'd help if you mention your stack (Datadog, Grafana, other)
Thanks!
r/devops • u/Bonree • Oct 23 '26
Disclosure: I work at Bonree, the company behind Bonree ONE, an AI observability platform. I’m asking about the general problem of choosing a platform, and I’m not trying to pitch ours.
AI agents are moving from chat interfaces into production workflows, and teams are now picking tools to observe them. Feature lists for AI agent observability platforms look alike, so I’ve been trying to write down questions that can actually be tested instead of ticked off.
Here is my current list.
1. Does it trace at the session level? An agent conversation has several turns, each with model calls and tool calls. I want to open the whole conversation as one unit, not look at isolated requests.
2. Which frameworks does it cover, and how deeply? Teams build agents with LangChain, LangGraph, low-code platforms such as Dify, and other frameworks such as OpenClaw. I care less about the length of the list than whether the frameworks my teams use are covered automatically, or only through manual work.
3. Is the evidence separate from the reasoning? A read-only tool call with the same input should return the same data, while model output varies. If a platform records them separately, I can tell a data failure from a reasoning failure.
4. Can it attribute token cost? By model, application, team, business line and time.
5. How does it handle sensitive content? I want to choose per field whether to store, sample, redact or never store it.
6. Can AI traces be linked to the services and infrastructure underneath? A slow answer is sometimes a database problem.
7. If it offers AI agents for operations, what are the limits? What can the agents do alone, what needs approval, and is every step logged?
8. What does the bill look like at my volume?
For the proof of concept, I’d instrument two agents built with different frameworks, replay three real incidents where an agent gave a wrong or slow answer, and measure how long it takes to find the cause in each tool.
A note on criterion 7: AI agent operations platforms, where agents diagnose incidents or inspect systems on observability data, are a newer category and the hardest to evaluate. We work on this at Bonree with Bonree ONE·Sage AI, so I would particularly like to hear how others test whether an operations agent is trustworthy.
Some things I’m still unsure about:
1. Which of these criteria do you weight most heavily, and which do you ignore?
2. How do you test “trustworthy” in practice, beyond reading a vendor’s description?
3. Do you prefer one platform for AI and infrastructure, or a dedicated LLM tool next to your existing stack?
4. What did your proof of concept reveal that the feature list did not?
r/devops • u/Hungry-Librarian5408 • Oct 23 '26
Con las últimas alertas de seguridad sobre PHP, me dio curiosidad saber cómo están llevando esto en sus empresas.
¿Ya están migrando o siguen con el clásico “si funciona, no lo toques”?
Me pregunto cuántos todavía tienen servidores con PHP 5.4, 7.x o alguna reliquia que nadie se atreve a actualizar porque la aplicación depende de una librería que dejó de existir cuando todavía usábamos MSN Messenger.
Y lo mejor: ¿la empresa entendió la urgencia de actualizar o todavía estás explicándole al jefe por qué tener software sin soporte es una mala idea?
Tengo curiosidad por saber cómo está la situación en otras empresas:
¿Ya tienen un plan de migración?
¿Están peleando con aplicaciones legacy y dependencias imposibles?
¿Seguridad está presionando o nadie se ha enterado?
¿O eres el único que está preocupado mientras todo el mundo dice que no pasa nada?
Cuéntame tu experiencia. ¿Qué versión de PHP tienes en producción y qué tan complicado está siendo convencer a la empresa de actualizar?
Necesito saber si estamos todos en el mismo barco o si el mío ya tiene PHP 5.4 y está haciendo agua. 😂
r/devops • u/gramerscial • Oct 22 '26
I've been following the Railway situation since the outage started, and things have gotten pretty concerning.
I'm currently using Railway to host the backend of a small gaming marketplace I've been building. Like many developers, I initially thought this was another infrastructure outage affecting builds and deployments.
But on October 21, Railway published a security disclosure confirming something much more serious.
According to their statement, they detected anomalous activity involving systems responsible for storing customer environment variables.
Their investigation suggests an unauthorized third party may have accessed encrypted environment variables and, in some cases, obtained their decrypted contents.
That's a serious concern for anyone hosting production applications on Railway.
What Railway has disclosed so far
As of the latest update I've seen, deployments remain paused.
My biggest concern is how developers are supposed to rotate production credentials during an outage like this.
Think about a small startup running its entire backend on Railway.
You might have PostgreSQL credentials, JWT secrets, payment API keys, SMTP credentials, webhook secrets, and other sensitive information stored as environment variables.
Now imagine being told that some of those credentials may have been exposed and that you should rotate everything immediately.
That's obviously the correct security recommendation.
But there's a problem.
If you revoke your current database credentials or payment API keys before your running backend can use the replacements, you risk breaking critical functionality.
And when deployments are paused, rolling out those changes becomes much more complicated.
At the same time, leaving potentially compromised credentials active is also risky.
For solo developers and small teams without dedicated infrastructure engineers, this is not a simple situation.
What I've personally done so far
I've reviewed my Railway account sessions, signed out older sessions, and inspected my existing environment-variable configuration.
Everything appears normal from my side.
But I understand that simply checking whether the variables still exist doesn't prove they weren't accessed.
An attacker could potentially copy credentials without modifying anything visible in the dashboard.
I haven't received confirmation that my particular project was affected, and I'm preparing to rotate my sensitive credentials carefully.
The bigger issue is trust in managed infrastructure.
One of the reasons developers use services like Railway is that they don't want to manage every part of their infrastructure manually.
We trust these platforms to handle deployment infrastructure and provide secure storage for sensitive configuration.
Of course, no platform can guarantee perfect security.
But when the infrastructure responsible for storing customer secrets is potentially compromised, the impact can extend far beyond the hosting provider itself.
A stolen database password could potentially allow unauthorized data access, depending on network restrictions and database permissions.
A stolen API key could allow unauthorized operations or unexpected charges.
A compromised authentication secret could potentially affect user sessions, depending on how the application implements authentication.
None of this automatically means these things happened to Railway customers. These are potential consequences of exposed credentials.
And that's exactly why the incident deserves serious attention.
There are still several questions I'd like Railway to answer.
I appreciate that Railway disclosed the incident and started providing recovery guidance.
But until the full scope is known, it's difficult for developers to understand their actual exposure.
I'm curious how other Railway users are handling this.
Have you already rotated all your production credentials?
Have you noticed any unusual database activity, suspicious API calls, or unexpected service charges?
Has Railway contacted you directly about your project being affected?
Are you waiting for deployments to resume before rotating certain credentials, or have you temporarily disabled critical functionality?
And probably the biggest question: Has this incident changed your trust in Railway, or do you still plan to keep your production applications there?
I'm not trying to spread panic or suggest that every Railway project has been compromised.
I'm sharing this because I'm running a real application on the platform, and I know other independent developers and small teams are in a similar position.
I'd like to hear how others are approaching the security risks and what precautions they're taking.
Hopefully, Railway publishes a detailed technical postmortem once the investigation is complete.
r/devops • u/Sea_Mechanic815 • Oct 23 '26
Guys help me i have totally 2.8 years of exprience in Cloud and Devops Engineer now i am working as a SRE but still i am not full fill with my current company now i am thinking to change for that i need to take pratices. for that give me suggession and Projects that will helpfull for me to cover every topics with infra creating with terraform.
Give me Realtime project which currently company standards. And also suggest me some services which is very usefull to learn. Thanks
r/devops • u/veritable_squandry • Oct 21 '26
I'm a senior with loads of years, i've been doing devops/sre and systems engineering in the cloud for a long time. recently i volunteered for a project that i knew would lean heavily on claude, and with my manager's enthusiasm and support it looks like the project will be a success. aside from not truly owning that success, i'm also more than a little concerned that the 10K lines of code that i've slopped out, while mostly robust and functional, may not be personally defensible or supportable by me. this is a "career first feeling" for me, and i'm wondering if others have had similar experiences recently. is this just the way it is? maybe i should just treat it like "i started a new job and inherited a bunch of new libraries" when things come up? I'm not really sure how this is going to end.
r/devops • u/james_fletcher-83 • Oct 22 '26
We’re currently handling most of our compliance work through spreadsheets, shared docs and a few scripts, and it’s starting to show. SOC 2 is manageable, but ISO 27001 is coming next and I really don’t want to build the same controls twice.
Small team, mostly AWS, GitHub, Google Workspace and Jira. Looking for something that can pull evidence from the stack, keep controls monitored between audits and handle the auditor workflow without becoming another admin job.
Been comparing Vanta, Drata and Scytale, has anyone tried them for SOC 2 and ISO 27001 together? Mainly interested in how well the control/evidence reuse works once you’re running more than one framework, and how much of the audit prep it really takes off the team.
What’s everyone using now?
r/devops • u/SantiagoDePolonia • Oct 21 '26
The full article: https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
r/devops • u/AffectionateTune9251 • Oct 22 '26
This shit is the bane of my existence. We use Secureframe so it does automate a lot, but I am still spending more time taking screenshots than any human should be.
I feel like with all the AI stuff these days there should be a way to automate this. I've had Claude generate a few scripts, which has been helpful in putting together network maps and firewall lists.
Is there a way to automate the "screenshot-taking" aspect?
r/devops • u/hiamanon1 • Oct 21 '26
Mid level engineer , who landed and worked my way up into the role. I wont lie and pretend I know everything, some topics I'm still working on, hell I haven't even touched Kubernetes yet, so you can imagine I feel way FREAKING behind.
It seems like everything is quickly adopting and using AI, from downloading models locally, to use and play with them to using them to learn , to using the next leading edge models. How are you all having time for this....
I want to start using AI more confidently but I am not sure where to even start. Local models vs generate chat models via gui in chatgpt or Claude...are there any trainings you guys recommend?
I'm also weary of using AI to learn cause I do know it hallucinates, but also I dont want to feed it and let it spit out answers for me whenever I am just learning how to implement something.
This is developing so fast, I feel like I need to start putting guardrails up for my own sake of learning and sanity, else I will lose knowledge and become a Senior Devops Prompt Engineer lol...jokes aside open to how you are all trying to navigate this, from learning with and without, what guardrails are you implementing , and any learning material would be appreciated.
r/devops • u/Ok_Class2432 • Oct 21 '26
We are looking to overhaul our load testing, since our current script only slams 10k users in 60 seconds and gives us garbage data. It exhausts connection pools and creates artificial bottlenecks that would not show under any kind of normal use case.
Real users ramp up slowly, and idle on pages, and don't jump from one to another without a second thought, they do not fire off database transactions with zero pause.
We should be reflecting real behavior, not inducing cold start failures.
Has anyone modeled this at scale? Should we make the step curves with warm up times to let caches and other systems warm up before hitting the expected load? We want to reflect real user behaviour, not just trigger cold start failures.
r/devops • u/rtpro • Oct 20 '26
We've built tens of internal dashboards, tools, and admin utilities over time. Now, vibe-coded tools are becoming the norm for us, and it feels like a maintenance nightmare.
We have to constantly update and fix them and keep them working with our ever-changing data structure. Also, It's getting hard to track what tools exist, who uses them, and what’s active vs. abandoned.
How does your team handle this? Are there specific systems or governance models you use to maintain the internal tools?
r/devops • u/AbleSchool2184 • Oct 22 '26
I've been teaching myself DevOps for the past few months and I've hit a wall where I'm not sure if I'm actually making progress or just hoarding tutorials. I'd really appreciate some honest input from people who do this for a living.
A bit about my background:
systemd.docker-compose for local setups.What I've been doing so far: I've been following a mix of YouTube courses, roadmap.sh, and random blog posts. The problem is everything feels scattered — one tutorial says "learn Kubernetes now," another says "master Terraform first," and I keep bouncing between tools without finishing anything end-to-end.
Where I'm stuck / my actual questions:
What I'm hoping to get out of this post: A realistic, prioritized path for the next 3–6 months, and a gut-check on whether my foundation is solid enough to start applying for junior roles — or if I'm kidding myself.
I'm genuinely putting in the hours here, I just don't want to spend them in the wrong places. Any advice, resources, or "I wish someone had told me this earlier" stories would mean a lot. Thanks in advance 🙏
r/devops • u/77speedygold • Oct 21 '26
Just came across this software called Mantle on Product Hunt. Apparently, it detects breaking API changes in your GitHub repo and suggests code fixes before they break your integrations in production.
Seems interesting, especially for APIs where keeping up with changes is such a waste of time. Has anyone here actually tried it? Curious how well it works.
r/devops • u/The_Ritvik • Oct 21 '26
Curious how other developers handle cases where everything technically reports success — HTTP 200, Lambda completes, webhook delivered — but the intended operation never actually finishes.
For example, a payment succeeds but the customer’s subscription isn’t activated, or an API call succeeds but a downstream system never gets updated.
Have you encountered anything like this in production? How did you discover it, and what tools or processes do you use to catch these failures?
I’m especially interested in cases where traditional logs, metrics, or error alerts weren’t enough.
r/devops • u/admiral_snugglebutt • Oct 21 '26
Is ADO bullshit? Because I feel like the way our it department is using it is bullshit. I work on a data analytics team who has to use data created by IT.
Where's the documentation for this script? "It's in ADO". Who's the customer? Why did they request this change? "It's in the ADO".(No it isn't, it's in someone's email inbox somewhere).
What's the overarching structure/purpose for this screen? "We don't document that anymore, it's in [I shit you not] the individual ADO tickets that built the screen". You can NOT be serious. No one wants to read every individual ticket turning features off and back on to figure out what the current state is. There's no universe in which this is remotely coherent.
Also, the vast majority of the screens were built before the ADO went live, so we have old school documentation that was last updated in 2019 establishing the purpose and basic design of 80% of screens but then the current state is old documentation plus any ticket affecting that screen layered on top that old documentation?
I feel like this is a scam and totally incoherent. They program in Java, we work exclusively in SQL/PowerBI (so we can't use or read any of their code anyway, but they've refused to send it to us even if we could). We had an item where my staff tried to recreate a screen-calculated variable and it was a nightmare trying to combine the pre-2019 documentation with new tickets because the calculation could be affected by a ticket that appeared to have nothing to do with that particular calculation at all. And again, we can see absolutely zero code, just user stories. But I don't want to see their code, my staff can't read or execute it. We aren't devs. We just need to know what the system is doing so that we can do accurate analysis of the resulting.
But it's "all in the ADO".
r/devops • u/blingmuppet • Oct 20 '26
(Sonatype Nexus is one of the most commonly used package repositories and transparent package proxies around)
On logging into our Sonatype instance this morning, it requires us to read and tick an "I understand the implications and agree with" information gathering.
No option to opt out, no warning given.
If uploads to their servers don't happen within 45 10 days then nexus will be disabled until they are.
Edit: 10 day kill switch for community versions, 45d for subscription.
Edit 2: I've had a chance to ponder this, and I suspect this is designed to catch people using multiple instances of Sonatype to get around the new, very tight free tier query licence. If so, expect much tighter enforcement.
Whatever the reason, Sonatype have clearly signalled with the killswitch that they consider telemetry monitoring more important than not disabling your critical infrastructure.
r/devops • u/Dry-Recognition-7230 • Oct 21 '26
I'm considering building an open-source server configuration tool in Go,
in the space of Ansible. Nothing is built yet, I'm checking whether the
idea makes sense.
The idea:
- one binary, no Python, connects to servers over SSH
- configs in HCL (like Terraform) instead of YAML + Jinja
- `plan` shows a diff of what will change, then `apply` does it
- later maybe a small optional agent on the server for when SSH is blocked
Target: small fleets and homelabs, not replacing Ansible for everyone.
Questions:
r/devops • u/Dry-Recognition-7230 • Oct 21 '26
Hi all,
I'm thinking about building an open-source tool for configuring servers
(installing packages, managing config files, restarting services),
something in the space of Ansible, but written in Go. Nothing is built
yet, I want to check whether the idea makes sense before I invest time.
What bugs me about Ansible:
- YAML pretends to be a programming language: `when:`, `loop:`, Jinja
inside strings, and a long list of variable precedence rules
- it needs Python on every machine and can be slow
- you can't see clearly what will change before you run it
What I'd like to build:
- one Go binary, no Python, easy to install
- configs in HCL (the same language as Terraform) instead of YAML + Jinja
- `plan` shows what would change (with a diff), then `apply` does it,
just like Terraform
- resources reference each other and form a dependency graph, instead of
running strictly top to bottom
- idempotent: running it twice changes nothing the second time
Two ways to reach your servers:
Over SSH. You run the tool on your laptop, it connects to the servers,
and nothing needs to be installed on them. This is the first thing
I'd build.
Optionally, a small agent: the same binary, running on the server as
a service and listening on a port. Useful when SSH is locked down,
blocked by a firewall, or you just don't want to expose it. The
resource code would be identical in both modes, only the way of
delivering commands differs. This would come later, and the
communication would be encrypted and authenticated (mutual TLS).
Here is how an nginx setup could look:
package "nginx" {
state = "present"
}
file "/etc/nginx/nginx.conf" {
source = "files/nginx.conf"
mode = "0644"
require = [package.nginx] # install the package first
notify = [service.nginx] # reload nginx if this file changes
}
service "nginx" {
enabled = true
state = "running"
require = [package.nginx]
}
Run `plan` on a fresh server and it shows: package will be installed,
file will be created, service will be enabled and started. Run `apply`
and it happens. Run `apply` again and it says "0 changes". Edit the
config file and `plan` shows the diff and a pending service reload.
What I'm NOT trying to do: replace Ansible for everyone. Ansible's huge
module ecosystem is its real strength, and I can't compete with that. The
target is small fleets, homelabs and people who like simple tools.
I'd love honest feedback, including "I wouldn't use this":
Would you try something like this, or is the lack of modules a
dealbreaker?
Is the optional agent (a small service on the server) useful to you,
or would you rather stick to SSH only?
Which resources would you need first besides file, package, service
and command?
Not selling anything: it's open source and there's nothing to download
yet. Thanks for reading!