r/devops • • Oct 16 '26

Vendor / market research Any good arguments for getting AI agents approved by security?

Working with a team where engineers really want to use Claude Code on servers, not just for local dev. Security and audit keep blocking it.
I get their concerns. Who approved the command, how do you prove what it did, that kind of thing. But the push from the engineers isn’t going away.
Has anyone found an argument or approach that actually got security on board?
Full disclosure, I work in this space so it’s not purely random curiosity. But I’m not here to pitch anything. I just want to know how teams usually solve this in practice.

0 Upvotes

53 comments sorted by

35

u/redvelvet92 Oct 16 '26

Have a terrible security department like me

1

u/vibe-co Oct 16 '26

Ha, that’s one way to solve it. Works great until the first incident.

6

u/[deleted] Oct 16 '26

[removed] — view removed comment

1

u/redvelvet92 Oct 16 '26

Pretty much this

18

u/carsncode Oct 16 '26

If security ever gets onboard, I'd question their competence. All of those concerns are valid, and if you can't solve them, you shouldn't be able to get them on board. Pretending the problems aren't problems isn't a solution.

0

u/vibe-co Oct 16 '26

Fair. So say you could see exactly what the agent can access, who approved each command before it ran, and a full record of what it did. Would that be enough? I’m trying to figure out if the real blocker is that agents are unpredictable, or that nobody can prove what happened.

14

u/carsncode Oct 16 '26

If you want to understand the blockers in your org, you'd have to ask your security team, not Reddit. You'd also need a real value prop, because "engineers won't stop asking for it" isn't a strong business case.

2

u/killz111 Oct 16 '26

Start with all things agents do are logged and audited. A full list of systems/datasets the agents will have access to. Then think about the worst thing the agent can do in that context. Estimate likelihood. Provide mitigation strategies.

If after all that you can't say agents wont do something catastrophic, then your agents dont belong in prod.

Also ask yourself the question, are you or your developers happy to get the blame for when agents go bad?

5

u/mralex215 Oct 16 '26

Are you in a regulated industry?

1

u/vibe-co Oct 16 '26

Not us directly. I’m on the vendor side, so it’s a mix of teams I talk to. Some regulated (public sector), some not. Does your answer change a lot between the two?

8

u/mralex215 Oct 16 '26

Regulated: ask legal

Non-regulated: demonstrate budget

Vendor: make you pay for dinner and laugh at you

10

u/hulagalula Oct 16 '26

What is the problem that is being solved with AI agents on the server?

If you are looking at config changes etc, that’s better done with deterministic tooling. You can use AI to generate and review those changes as part of a pipeline, but why have AI on the server itself?

Similarly for troubleshooting, knock yourself out with AI looking at telemetry captured from a server, but why do you need the AI on the server for that?

-1

u/derff44 Oct 16 '26

To run commands. To run diagnostics. Why should I have to copy/paste to the server when it can do it itself in a fraction of the time and add it directly to the other evidence it found from logs

10

u/ADDSquirell69 Oct 16 '26

Oh Lord.

1

u/derff44 Oct 16 '26

It's coming either way bud. Why fight it

3

u/Lba5s Oct 16 '26

have proper metrics/logging aggregation that devs can hook into via mcp…

→ More replies (1)

1

u/ADDSquirell69 Oct 16 '26

You've never written a shell script that performs diagnostics cmds for you?

→ More replies (1)

1

u/R10t-- Oct 16 '26

How many times have you seen your agent say “by the way, I accidentally deleted this but I was able to restore it” or something similar….

I see this A LOT, and I just use it locally

→ More replies (3)

8

u/j_neutron Oct 16 '26

Why do you have servers needing dev access? That is the core problem.

6

u/gzk Oct 16 '26 edited Oct 16 '26

Tell the engineers (really, an engineering lead) to make an actual case for it, including why they can't feed observations from servers into an agent's context in their local environments, and ideally, why they even need to be logging directly into servers at all in 2026.

Edit: this has some good, non-obvious effects:

  • you don't hurt the engineers' feefees by just giving them a flat no, you look like you are open to persuasion (even though realistically you're going to say no)
  • you require them to actually invest effort beyond "I want it now Daddy", which is a good first gate for whether they really want it or not
  • if you reject their case for legitimate reasons that address the elements of their case, they will at least feel heard and at most, be convinced of your POV

3

u/GottaGetThemGains22 Oct 16 '26

Separate aws account for ai workloads.

Heavily secured, zero trust k8s cluster, prom, Loki, istio, kyverno, qwiet, others I probably am not thinking of.

Skills/agents/etc must come from internal source control

Langfuse for metric collection/auditing, litellm as a gateway.

User identity that initiates call is used for attribution.

My security review panel was pleased, I think this would satisfy most. Curious if I left out anything juicy people are using though!

3

u/dobesv Oct 16 '26

It's one of those things that seems convenient but is also very risky.

I think one way to mitigate it would be to set up MCP servers that can only do very specific things that are known to be safe.

If people just are trying to use Claude to diagnose some problems then you could set up an MCP server with a bunch of diagnosis tools that can be used to get logs, procrss lists, etc but can't make changes or run arbitrary commands that could cause oomkill or heavy cpu usage. The MCP server can be setup with authentication and logging using agent gateway or litellm or whatever.

Of course for logs in particular you usually prefer those to be aggregated somewhere instead of having to ssh into the server to get them.

2

u/derff44 Oct 16 '26

We use agents to do the actual audits themselves lol. You have to present it as they are guarded. You need repo commited steering files that say the agents have all read only they want, but any actual command has to be approved. And you make sure all engineers have their own keys/creds/auth so you can trace back any command to where it came from. AI agents are tools. Any dev or engineer uses tools. As long as you put the guardrails in place, security should see AI as an extension of the engineer.

1

u/josejulianariza Nov 02 '26

The argument that usually works with Security isn't telling them "the agent is safe," but changing the "what" for the "how." The problem with giving Claude Code server access is that it has an open shell; if you ask for something weird, it might run commands nobody audited.

If instead you give it a closed set of tools (e.g., "you can only read logs" or "you can only restart this pod"), Security breathes much easier. The agent no longer has a shell; it has a contract of what it can do.

The other golden argument is traceability. Security likes knowing that if the agent does something, there's a record of which prompt was used and what action was taken. If you show them every step is logged in your observability stack, the conversation shifts from "no" to "how do we configure it?".

1

u/Low_Box_752 27d ago

What seems to move security is making the request small. Not "agents on servers", but: these five actions need a named person, here's who approved each one and when, and everything else has no production credentials at all. carsncode is right that if you can't answer the worst-case question you shouldn't get approval.

Bias: I build an approvals tool in this area.

1

u/Lunarvolo Oct 16 '26

There are on-site versions where nothing leaves. That may only be for things like copilot though

1

u/phoenix823 Oct 16 '26

If you can't explain why they want Claude on the servers, then I'm not surprised they can't explain what they're trying to do to InfoSec and Audit.

You could do just as much damage in my world by having Claude write crazy python scripts that iterate across the entire server fleet.

1

u/zaersx Oct 16 '26

The questions (regardless of anyone's phrasing) is reliability. Can you maintain all expected prod invariants when agents can change things under your feet? If your foot never falls through, then it's fine.

The simplest answer is any prod access (server deployments, binary promotions, data writes/migrations, etc.) or prod-adjecent access (e.g. ACLs, CD automations, etc.) has to be approved by a qualified human (relevant role, experience, seniority, responsibility level).

Hard answers are bespoke CD solutions for every potential AI prod(-adjecent) touch, and making sure that black box testing is managed separately and is complete enough, and there is enough soak time for monitoring. That's just one spit ball, I'm sure there are a myriad of other hard solutions that actually bring value to a business that someone would be willing to pay for it.

1

u/reactive_dmv_pattern Oct 16 '26

So we got a new safety guy

1

u/dutchman76 Oct 16 '26 edited Oct 16 '26

Those things are a security nightmare

1

u/1_H4t3_R3dd1t Oct 16 '26

making sure your AI agents have tight operational bounds and locked down MCP connections

basically an unpluggable sandbox

they are not smart self thinking autopilots they are input/output machines and the automation will do whatever is possible to achieve the output or valid state

1

u/DoStopBelieving Oct 16 '26

Work directly with security to have changes approved incrementally.

Then if you make changes security doesn't like, you've only invested a few hours into the changes instead of several weeks. Talk with security to find what else would be acceptable, then pivot.

I work on AI systems that currently run in production alongside highly regulated workloads involving sensitive data, and we manage just fine with security approving every major change.

1

u/Xantier Oct 16 '26

Introducing a middle man between the harness and your servers would probably alleviate the fears of security people a little bit. Those things can be used to audit the connections and calls and actions made as well as used for permissioning. Effectively it would mean that your harness connects to a single endpoint and all the actions are done through that instead of directly connecting to the boxes.

1

u/Consistent-Wash-2440 Oct 16 '26

The engineers want it is not much of a business case when an agent can execute commands on production servers. The stronger argument is to show exactly what it can access, how actions are approved, and how every change can be audited or rolled back. Those controls matter across cloud environments, including the infrastructure work associated with trusted tech, because convenience alone does not justify giving automation broad privileges.

1

u/puntium Oct 16 '26

I'm in a slightly different situation (small investment firm) but end up having similar concerns -- we have a lot around sensitive data.

We ended up building a new type of harness that can categorize safe/risky commands and require approvals around the risk ones. For us that means what kind of data gets sent to who, but we've found that most other types of integrations have similar classifications and decision points.

We open sourced the whole thing and it has a plugin system where you can ask an agent to code up an integration with whatever service you want (the vast majority of the time it will one-shot it).

We don't have a core action auditing view, but it would be easy to add. But because all risky tools require human approval, that record is in the system and it is also in all the stored conversation transcripts (including who approved what).

Might be worth taking a look and at least stealing some ideas: https://github.com/electric-capital/quest

1

u/nidzapidza Oct 16 '26 edited Oct 17 '26

A limited pilot seems like the best way to make the case. Run agents in an isolated environment with least-privilege access, command logging and human approval for sensitive actions. Security can review the audit trail and failure cases before deciding whether to expand access.

0

u/i_rate_slop Oct 16 '26 edited Oct 16 '26

Go around them. Talk to your CTO. He’s the only one that can change their direction.

I guarantee you, this is exactly the sort of email a CTO will want to see. They might not agree that agents need to be part of your toolkits, but they will want to be part of this discussion.

Don’t be afraid to reach out directly to them.

1

u/chat-lu Oct 16 '26

That's the worst advice of the whole conversation.

1

u/i_rate_slop Oct 16 '26

Why? I’m speaking from experience, are you? Where do you work that you’re afraid of your leadership team - must suck.

Just be professional about it and don’t come as a complaint. It’s their literal job to manage this situation as it impacts the direction of technology at the company.

1

u/chat-lu Oct 16 '26

Yes. Don't short-circuit the hierarchy, you will be in a world of hurt.

1

u/i_rate_slop Oct 16 '26

Same. I would be extremely pissed if someone was somehow punished for reaching out to me over something that is meant to benefit the company, even if I disagree.

I’d also be pissed about an infosec team unilaterally deciding what technologies developers are allowed to use, especially one like this. At a minimum, I’d want a pilot to evaluate the practical risks for that teams specific plans.

I mean sure maybe go to your manager first, but I would not want a topic like this buried under a manager that chooses not to action on it.

But sure. Maybe my advice is risky. Obviously, OP, if you work somewhere rigid with people larping lords, maybe talk your manager first. If they don’t help, talk to your skip level if you have a relationship with them.

1

u/chat-lu Oct 16 '26

I would be extremely pissed if I had to waste my time because every dude with an opinion thought he was entitled to my time.

OP has very little to win following your course of action.

1

u/i_rate_slop Oct 16 '26 edited Oct 16 '26