Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/How to turn legacy remediation playbooks into ai agents and share them with ever
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

How to turn legacy remediation playbooks into AI agents and share them with everyone

Source: Tenable®•December 1, 2026 at 03:23 PM

How to turn legacy remediation playbooks into AI agents and share them with everyone

Most remediation knowledge remains locked in dusty playbooks. At Tenable, we believe in democratizing exposure fixes by transforming them into agentic AI skills, MCPs, and AI playbooks, and sharing them publicly via the CyberAgents Exchange. Learn how you can contribute to, and benefit from,…

Most remediation knowledge remains locked in dusty playbooks. At Tenable, we believe in democratizing exposure fixes by transforming them into agentic AI skills, MCPs, and AI playbooks, and sharing them publicly via the CyberAgents Exchange. Learn how you can contribute to, and benefit from, this effort.

Key takeaways

  • Agentic AI is ideally suited for streamlining, scaling, and accelerating remediation, especially for IaC security findings. Unlike rigid legacy remediation playbooks, AI agents can read code, deeply analyze policies, and autonomously draft fixes.
  • When using AI agents to automate remediation, security teams should route their fixes through standard pull requests so that humans can review and roll them back if necessary.
  • By converting manual remediation processes into shareable AI skills and publishing them to platforms like the CyberAgents Exchange, security teams can democratize fixes and help their peers in other organizations eliminate backlogs.

If AI agents can read code, reason about security policies, and use developer tools, organizations should be leveraging them to clean up chronically backlogged remediation queues. The key for eliminating these bottlenecks is to convert old remediation processes into agentic AI skills, thus automating and accelerating fixes.

But you shouldn’t stop there. Historically, remediation processes have resided in the minds of engineers and in rigid, legacy playbooks. Again thanks to agentic AI, this remediation knowledge can become an asset that gets shared internally with your IT and security teams, as well as externally, for the benefit of your peers in other organizations.

How can you do this? In this blog, we’ll explain how Tenable built an agentic AI skill that automates fixes of infrastructure-as-code (IaC) security findings, and why we chose to share it publicly via the open source CyberAgents Exchange directory. We hope to motivate many colleagues to join in this effort to automate and democratize remediation.

Why remediation is an ideal use case for agentic AI

Remediation is an ideal application for agentic AI because it bridges an operational gap between security prioritization and engineering execution. Traditionally, remediation involves a largely manual handoff process: The security team prioritizes findings, opens tickets, and assigns them to the engineering team, which, of course, has different prerogatives. Writing, reviewing, and shipping fixes is only one of engineering’s many responsibilities.

The possibility to streamline this process is a low-hanging fruit for organizations using an AI-powered exposure management platform like Tenable One. Let’s look at IaC specifically, since it’s particularly easy to fix with a few lines of code in a text file.

Our platform’s Tenable One Cloud Exposure domain goes way beyond simply flagging that there’s an issue with a cloud storage bucket.

Tenable One is designed to:

  • Detect your IaC security issues.
  • Help you prioritize them.
  • Flag the violated policies.
  • Point at the exact files and resources impacted.
  • Detail what “right” looks like by prescribing the fixes.

For an engineer, this is a work ticket, but for an agent, it’s a complete instruction set. Fixing an IaC misconfiguration involves editing text that can be diffed, linted, and validated before deploying the fix to the production environment. It’s a task that’s ideally suited for an AI agent. Agentic AI gives you a realistic way to change who drafts the fix, without limiting the process to fixes that someone pre-templated.

To add a safety net, organizations should design the AI agents to deliver their IaC fixes as a pull request, replicating the workflow most developers already use. Engineering teams typically route infrastructure changes through code review. The pull request is a mature, trusted approval mechanism with history, ownership, and rollback built in.

How agentic remediation works in practice: The evidence

Agentic remediation replaces manual engineering handoffs with a direct pipeline. To test the idea, we built an open-source skill called Tenable IaC Finding to PR, which you can find on the Tenable-powered CyberAgents Exchange, a directory where security practitioners can discover, share, and deploy AI agents, skills, Model Context Protocol (MCP) servers, and multi-agent playbooks.

We ran the Tenable IaC Finding to PR skill end-to-end against a misconfigured Terraform repository connected to Tenable One. The skill consists of a short, plain-language workflow file plus a few reference documents and one helper script. It does four things, in order:

The live run surfaced four open findings. One ranked as a high-severity issue, and three ranked as medium-severity issues.

First walkthrough: Closing SSH to the internet without inventing values

What the agent did: It removed unrestricted inbound Secure Shell (SSH) access from a security group.

How it worked: The finding identified the security group risky_sg in main.tf and the policy against unrestricted inbound internet access. The obvious shortcut would be to hardcode a “safe” network range. That would be a fabricated value, and the skill’s rules forbid it because the agent has no way to know which networks the team actually trusts. Instead, the agent replaced the open range with a variable that has no default, so Terraform’s t apply command wouldn’t be triggered until the team supplied its own ranges for each environment.

Second walkthrough: Three findings, one bucket, zero renamed resources

What the agent did: It closed three findings on a single S3 bucket:

  • Missing AWS Key Management Service (KMS) encryption
  • Missing a multi-factor authentication (MFA) delete key, which helps prevent accidental bucket deletions
  • Missing enforcement of encryption in transit

How it worked: The repository contains two S3 buckets. The findings applied to only one of them: app_logs in storage.tf. The agent matched the resource by its exact name, then added three new configuration resources:

  • A KMS key with rotation and server-side encryption
  • Versioning with MFA delete
  • A bucket policy that denies non-HTTPS access, without editing or renaming the bucket itself.

Renaming a Terraform resource forces Terraform to destroy and recreate real infrastructure, so the skill treats it as off-limits.

Why a defender would miss this: When one resource contains several findings, it’s tempting to delete the block and replace it with a new one, or to make a mistake and fix the wrong bucket. Each new resource in the pull request carries a comment that names the finding it closes, so a reviewer can trace every line back to a policy.

Knowing when not to fix

Notably, there was a fix the agent didn’t make. The same bucket also had a public-read access control list, which showed up in a separate scan view but not in the findings the agent was authorized to act on. The agent didn’t silently widen its scope or invent a finding to match. It reported the discrepancy to us, and we chose to leave it out of this pull request.

That boundary is designed in. The skill guides the agent to only fix findings from our security platform, never to work from memory, and to leave out any fix it isn’t confident about.

Agentic remediation earns your trust with the changes it declines to make as much as with the ones it makes.

The result was a single pull request with a findings table linking each fix back to the Tenable One console, a short risk-and-remediation note per finding, and a reminder that a human must review before merging. All it took for us to go from asking “fix my IaC findings” to a reviewable pull request was one short, guided conversation.

Remediation knowledge should become an open, shareable asset

Instead of building a product feature, we created an agentic AI skill that consists of written remediation instructions that specify which findings to trust, how to read a policy as an end state, which changes are never safe, and when to stop and ask.

That type of remediation knowledge usually lives in the heads of engineers and in playbooks that few read. Transformed into an agent skill, this remediation knowledge becomes something you can execute, review, version, and improve.

Converting remediation playbooks into agentic AI skills changes defenders’ mentality in two ways.

First, security work shifts from the finding to the fix. Measuring how many issues you detect matters less than measuring how many actually get fixed. Agents write fixes faster than engineers can review them, so prioritization matters more than ever. Otherwise, we’ve just moved the backlog into code review.

Second, defenders can start to share remediation know-how like open-source software. A skill that safely fixes a generic, common S3 encryption issue for one team is designed to safely fix it for thousands, and every team that encounters an edge case can make it better for the next one.

This is why we listed our skill on the CyberAgents Exchange. The CyberAgents Exchange doesn’t host code. Listings point to each author’s own repository, so you always get code directly from the person or team who wrote it.

CyberAgents Exchange maintainers review every submission before it goes live. Security teams have spent years building remediation workflows and experiments in isolation. Creating a shared, reviewable, and public catalog of remediation skills and workflows can help the entire cyber defender community streamline and automate fixes.

7 best practices for agentic remediation

  • Start with your most repeated IaC fixes. Pick the three misconfiguration policies your teams fix most often, such as publicly exposed storage, open management ports, or missing encryption, and create agentic AI skills designed to automate the remediation process there first, where the fixes are well understood.
  • Deliver every agent change as a pull request. Keep your existing code review process, branch protection, and continuous integration (CI) checks as the approval gate instead of granting agents direct access to cloud consoles or production environments.
  • Write explicit boundary rules for your agents. Forbid renaming or deleting resources, hardcoding network ranges, and fabricating keys or account IDs. Allowing actions such as those can trigger critical mistakes that turn a fix into an outage.
  • Require that a human approve code changes. Have the agent show findings and ask how to group them before it edits a file. Once you feel comfortable with the results you get, edit your agentic workflow to skip that step.
  • Put guardrails in scripts. Enforce checks such as the correct Git account and commit message rules in a helper script the agent calls, since deterministic code is harder to miss than instructions.
  • Link every fix back to its finding. Include the Tenable One platform link and policy name in the pull request so reviewers, auditors, and the automated next scan can confirm what changed and why.

Tenable One is engineered to scan IaC in connected repositories and map each misconfiguration to a named policy, file, and resource, giving an AI agent the precise information it needs to draft a fix. Through their ability to use Tenable One’s MCP server, agents are designed to query those findings directly and link every pull request back to the finding in Tenable One. The CyberAgents Exchange gives practitioners an open place to find, install, and contribute agent skills like this one.

  • Tenable IaC Finding to PR skill on GitHub
  • Browse the CyberAgents Exchange
  • Complete cloud lifecycle visibility with Tenable One
  • Learn about Tenable’s CNAPP solution
← All articles

What this article says

More in Cybersecurity

All →
Wiz Green Agent is now generally available: Remediate risks at AI speed
Wiz

Wiz Green Agent is now generally available: Remediate risks at AI speed

Silent takeover: New Android malware secretly streams screens
ESET

Silent takeover: New Android malware secretly streams screens

How to integrate Okta with Amazon Bedrock AgentCore: Five use cases
Okta

How to integrate Okta with Amazon Bedrock AgentCore: Five use cases

Identity security pays off: What a $3B enterprise study means for technology, media, and telecom
Okta

Identity security pays off: What a $3B enterprise study means for technology, media, and telecom

Analyzing how attackers use agentic offensive frameworks | Threat Intelligence
Okta

Analyzing how attackers use agentic offensive frameworks | Threat Intelligence

Post-Quantum Identity Security: From Risk to Readiness
Palo Alto Networks

Post-Quantum Identity Security: From Risk to Readiness

More from Tenable

How exposure management can help public sector prepare for PHP2Shell-like vulnerabilities
Tenable

How exposure management can help public sector prepare for PHP2Shell-like vulnerabilities

Identity context is essential for exposure management: Tenable One adds ways to bring in identity security data
Tenable

Identity context is essential for exposure management: Tenable One adds ways to bring in identity security data

Fix Tenable One findings where developers work: Tenable and OpenAI Daybreak Defense Factory
Tenable

Fix Tenable One findings where developers work: Tenable and OpenAI Daybreak Defense Factory

Tenable One Adversary View brings Claude Mythos’ adversarial reasoning to your environment
Tenable

Tenable One Adversary View brings Claude Mythos’ adversarial reasoning to your environment

U.S. urges critical infrastructure orgs to secure refrigeration systems ASAP after EU supermarket and blood bank attacks
Tenable

U.S. urges critical infrastructure orgs to secure refrigeration systems ASAP after EU supermarket and blood bank attacks

Whole-of-state defense: How SLED agencies can secure critical infrastructure in the AI era
Tenable

Whole-of-state defense: How SLED agencies can secure critical infrastructure in the AI era