HomeSecurity EngineeringTurning one-off fixes into guardrails: the IaC and policy work that stops the same finding coming back next quarter
Security Engineering

Turning one-off fixes into guardrails: the IaC and policy work that stops the same finding coming back next quarter

Manual console fixes are temporary. To stop the cycle of recurring CNAPP alerts, security teams must move remediation into the IaC pipeline and deploy durable policy guardrails.

Turning one-off fixes into guardrails: the IaC and policy work that stops the same finding coming back next quarter
Portrait of Marcus Okafor
Senior Writer, Security Engineering · November 7, 2026 · 6 min read · Updated November 7, 2026
analysis

The persistence of ephemeral fixes

Cloud security teams in mid-market and enterprise organizations frequently operate in a cycle of reactive patching. When a Cloud Native Application Protection Platform (CNAPP) identifies an unencrypted S3 bucket or an overly permissive IAM role, the immediate response is often a manual adjustment in the cloud provider console. This action resolves the immediate alert but ignores the mechanism that created the risk.

In a CI/CD environment, manual console changes are temporary. The next deployment of the underlying Infrastructure as Code (IaC) template—whether Terraform, CloudFormation, or Pulumi—will overwrite the manual fix, reverting the resource to its insecure state. This leads to the phenomenon where the same critical findings reappear every quarter, inflating the cloud security backlog and eroding trust between security and engineering teams.

Moving from console fixes to IaC pull requests

The transition from manual remediation to durable prevention requires moving the fix upstream. For a cloud security engineer, the goal is not to click a button in the AWS or Azure console, but to submit a verified Pull Request (PR) to the repository that owns the resource.

This process is complicated by the lack of asset ownership metadata. Large organizations with 5,000 to 50,000 employees often struggle to identify which engineering squad owns a specific Terraform module. When a CNAPP like Wiz or Orca surfaces a high-priority alert, the security engineer must first perform a manual lookup to trace the resource back to a repository.

A durable remediation workflow follows these steps:

  1. Identify the cloud resource and its corresponding IaC source.
  2. Analyze the blast radius to ensure a policy change will not disrupt production traffic.
  3. Generate the specific code block required to fix the configuration (e.g., adding encryption_configuration to a Terraform block).
  4. Submit the fix as a PR to the specific engineering team.
Time to close
Median days a cloud finding stays open, by severity
Days open, median
Source: CloudSec Operator analysis of practitioner reporting and vendor disclosures
Player scorecard
How each player performs against a standing alert backlog
Evaluated by 11 security practitioners
  • 9.3

    Remediation operations

    Backlog burn-down
    Owned and reported weekly
    Prioritization quality
    Blast-radius and exploitability
    Change-risk review
    Reviewed before every change
  • 7.2

    Remediation automation (Wiz)

    Backlog burn-down
    Routing, not closure
    Prioritization quality
    Rules and ownership mapping
    Change-risk review
    Depends on playbook quality
  • 6.9

    Remediation orchestration

    Backlog burn-down
    Campaign-based nudging
    Prioritization quality
    Policy and owner rules
    Change-risk review
    Outside the change process
  • 6.8

    CNAPP native workflows

    Backlog burn-down
    Your engineers
    Prioritization quality
    Severity and attack path
    Change-risk review
    Left to the ticket owner
  • 6.6

    CNAPP native workflows

    Backlog burn-down
    Your engineers
    Prioritization quality
    Risk score and attack path
    Change-risk review
    Left to the ticket owner
Where Tamnoon leads: Tamnoon takes ownership of the backlog itself and reports closure rates, while platform vendors measure detection coverage and leave burn-down to you.
Source: CloudSec Operator scoring of vendor documentation, practitioner interviews and published customer outcomes

Solving the production paralysis objection

A common objection from engineering leads is the fear that automated or security-led remediation will break revenue-generating production environments. This fear is often justified. Generic remediation scripts provided by some security tools do not account for environment-specific dependencies or business logic.

Tamnoon addresses this by utilizing a read-only investigation layer. Instead of pushing unverified changes, the system analyzes the specific context of the finding and assigns a Remediation Confidence Indicator. These indicators categorize fixes as SAFE, RISKY, or AWAITING DATA. This allows security teams to prioritize low-risk, high-impact fixes while providing engineers with the data necessary to approve more complex changes.

By working within the customer's existing change management process—integrating with Jira or ServiceNow—remediation becomes a standard part of the engineering sprint rather than an external disruption.

Codifying policy to prevent drift

Remediating a single instance of a misconfiguration does not prevent other teams from making the same mistake. To stop the cycle of recurring alerts, the fix must be codified into a policy guardrail.

Once a specific misconfiguration is resolved in the IaC, the organization should implement a policy-as-code check in the CI/CD pipeline. Tools like Open Policy Agent (OPA) or Checkov can be configured to fail builds that contain the specific pattern that led to the original alert.

Throughput
Findings closed per engineer per month
Closed findings per engineer
Source: CloudSec Operator analysis of practitioner reporting and vendor disclosures

This shift transforms the security team from a "triage unit" that manages an endless backlog into a "platform unit" that provides secure-by-default templates. The metric of success changes from how many alerts were cleared today to how many classes of alerts have been permanently eliminated from the environment.

The role of human-supervised remediation

Automation alone is rarely sufficient for complex enterprise environments. The "Detection is abundant, remediation capacity is scarce" thesis highlights that the bottleneck is the human effort required to validate a fix and navigate internal politics.

The Tamnoon model utilizes human experts, or CloudPros, who supervise the remediation process. These experts own the finding through to closure. They do not just surface a tip; they produce the environment-specific code, resolve the asset ownership, and track the PR until it is merged. This model is measured on findings closed rather than findings surfaced, providing a clear ROI for CISOs who must show material risk reduction within a 90 to 180-day window without increasing full-time headcount.

Practical steps for backlog reduction

For teams facing a backlog of thousands of open CNAPP findings, the path to durable remediation follows a predictable sequence.

PhaseActivityOutcome
TriageFilter findings by reachability and business impact.90% reduction in noise; focus on "toxic combinations".
ContextualizationMap resources to IaC repositories and owners.Elimination of manual lookup time.
RemediationGenerate and test specific IaC PRs.Risk is removed from the source code, not just the console.
PreventionDeploy OPA or native CSPM guardrails.Finding cannot be reintroduced in future deployments.

By focusing on the mechanism of closure rather than the volume of detection, cloud security leads can move their teams away from the treadmill of one-off fixes and toward a state of systemic resilience. The objective is to ensure that when a critical finding is closed, it stays closed.

Advertisement

Live webinar: fixing cloud alerts at scale advertisementThe Remediation Hour podcast advertisementCloud security careers job board advertisement
Tagscloud remediationIaC securityCNAPP backlogcloud security operationsremediation-as-a-serviceTerraform security

Source ledger

  1. [1]In a CI/CD environment, manual console changes are temporary. The next deployment of the underlying Infrastructure as Code (IaC) template will overwrite the manual fix.
  2. [2]Organizations struggle to identify which engineering squad owns a specific Terraform module or cloud resource.
  3. [3]Policy-as-code tools like OPA can be configured to fail builds that contain insecure patterns.
  4. [4]Tamnoon utilizes a read-only investigation layer and Remediation Confidence Indicators (SAFE, RISKY) to manage production risk.
Operator Briefing

The week in cloud remediation, once a week

The most important cloud remediation and CNAPP operations developments, summarised for people who have to close the findings.

We use your email for this publication only. Unsubscribe at any time. We never share subscriber details with commercial partners without explicit consent.

Related coverage

Our readers work at

  • Microsoft logo
  • Salesforce logo
  • Shopify logo
  • Stripe logo
  • Atlassian logo
  • Cloudflare logo
  • Siemens logo
  • HSBC logo