Cloud-Native & IaC Threat Modeling: Tools, Workflow & Comparison
Table of Contents

TL;DR
- DevArmor maintains a living threat model, reviews architecture changes, and enforces policy as code on pull requests. Its public materials do not confirm dedicated Terraform or Kubernetes manifest parsers.
- ThreatModeler Nexus converts documents, diagrams, infrastructure as code, and cloud context into system maps. It checks pull requests against governed models and supports enterprise compliance workflows.
- ThreatModeler now owns IriusRisk, so buyers should treat IriusRisk’s descriptor-driven IaC modeling as part of the ThreatModeler portfolio rather than a separate option.
- Neither vendor’s cited materials document Kubernetes manifest or serverless parsing in enough detail to verify format-specific support.
What cloud-native threat modeling has to account for
Cloud-native architectures change too quickly for a point-in-time diagram to remain accurate. Terraform modules define cloud resources and identity relationships. Helm charts package Kubernetes manifests, while Kustomize overlays modify those manifests for each environment. Kubernetes then maintains the declared state described in these files. A threat model becomes stale when code changes any resource, permission, or connection after the diagram was approved.
IaC also turns one configuration error into many deployed exposures. A shared Terraform module can apply an overly permissive role across several accounts. A Helm value can grant privileged container access to every workload created from the chart. Palo Alto Networks describes this pattern as a misconfiguration snowball effect, where one IaC error produces hundreds of alerts. Threat modeling must trace how shared components propagate risk instead of treating each alert as an unrelated finding.
Serverless and microservices architectures add relationships that ordinary infrastructure diagrams often omit. A serverless configuration can connect an event source to a function with excessive permissions. A microservice deployment can expose a new service route or remove network isolation between workloads. Crossplane and similar controllers add another source of change because they continuously reconcile external cloud resources against Kubernetes declarations. GitOps tools apply the same reconciliation pattern to cluster resources, so deployed state can change whenever the source repository changes.
Continuous scanning provides the minimum technical foundation for cloud-native threat modeling. Checkov scans IaC for issues such as permissive IAM policies before deployment. Policy-as-code tools such as Open Policy Agent and Kyverno can reject configurations that violate defined controls. CI/CD systems can run these checks when a pull request creates a Terraform plan or changes a manifest.
Scanners identify individual policy violations, but threat models connect those findings to trust boundaries, data flows, and attack paths. A credible cloud-native threat modeling tool therefore needs to ingest current IaC, reassess the model when code changes, and return findings during pull request or plan review. Static diagrams can still document intent, but they cannot serve as the sole record for an architecture that code continuously changes.
Tools that generate threat models from Terraform, Kubernetes, and architecture docs
DevArmor and ThreatModeler are the two current options for generating threat models from code, infrastructure definitions, and architecture documents while connecting the results to delivery workflows.
DevArmor builds a living threat model from design context and repository content, then updates security requirements as the software changes. DevArmor converts approved design decisions into policy-as-code and checks every pull request, with an option to block unsafe merges. Its public materials do not confirm dedicated parsers for Terraform files or Kubernetes manifests, so buyers should verify format support directly.
ThreatModeler Nexus uses its System Mapping Agent to convert documents, diagrams, infrastructure-as-code, and cloud context into a model-ready system map. ThreatModeler also checks pull requests against the resulting model. Its portfolio includes the former IriusRisk IaC workflow, which imports descriptors exported by tools such as Terraform and automatically generates associated threats and controls. The IriusRisk IaC materials document Terraform plan import, diagram import, CI/CD connectivity, and issue-tracker synchronization.
Neither vendor’s cited public materials document a Kubernetes-manifest-specific parser. ThreatModeler provides the clearest published Terraform import workflow, while DevArmor provides the clearest continuous path between design decisions, threat models, and pull-request enforcement.
How DevArmor ingests IaC and runs continuous threat modeling
DevArmor builds a living architecture model from shared security context rather than recreating a separate model for each review. The Context Collector retrieves design specifications and business context through configurable integrations. DevArmor also says it can reconstruct security context from source code when documentation is missing.
When an integration supplies a Terraform or Kubernetes change, the Context Collector would normalize that change for the other agents. The Architecture Composer then updates the represented components, data flows, and trust boundaries. In a microservices environment, an update might add a service-to-service connection. In a serverless design, an update might introduce a function that processes sensitive data.
The Threat Modeler evaluates the updated architecture and generates security requirements. DevArmor says its platform can create a threat model in less than 10 minutes, although the published claim does not specify repository size or IaC format. The model remains connected to the architecture context, so later design changes can trigger another review rather than requiring a new modeling exercise.
The Policy Builder converts approved requirements and design decisions into checks that development tools can apply. The Controls Enforcer then reviews each pull request against those policies. DevArmor lets you block unsafe merges, suggests fixes, and links each finding to the approved design review or threat model that produced the requirement. That traceability explains why a check exists and gives auditors evidence that the policy came from a documented risk decision.
DevArmor does not currently publish format-specific parsing details for Terraform HCL, Kubernetes manifests, Helm charts, or Kustomize files. Its public materials confirm ingestion from code and documents, architecture reconstruction, rapid model generation, and pull-request policy enforcement. They do not confirm which IaC resources the platform recognizes or how it interprets provider relationships and Kubernetes objects. You should verify those format-level capabilities in a product evaluation before treating DevArmor as a native parser for a particular cloud-native stack.
How ThreatModeler and IriusRisk handle IaC
ThreatModeler Nexus converts existing architecture material into a system map that can support automated threat modeling. Its System Mapping Agent ingests documents, diagrams, infrastructure as code, and cloud context. Nexus can also check pull requests against the model and enforce governance as designs change.
Following ThreatModeler’s acquisition of IriusRisk, buyers should treat the IriusRisk IaC workflow as part of the broader ThreatModeler portfolio. The five-step workflow starts when you export an IaC descriptor from a supported design or infrastructure tool. You then import the descriptor into IriusRisk, which automatically generates a threat model with associated risks and controls. Next, you tailor the model to a framework such as NIST, OWASP, HIPAA, or GDPR. A two-way integration then sends remediation work to Jira, Azure DevOps, or ServiceNow.
Published vendor materials leave a Kubernetes-specific evidence gap. IriusRisk demonstrates threat-model generation through HashiCorp Terraform Plan import, but it does not provide a named demonstration for Kubernetes manifests. ThreatModeler’s general platform material covers IaC and cloud environments without documenting manifest parsing or serverless-specific ingestion. Buyers who require those inputs should verify format-level support during evaluation.
DevArmor vs. ThreatModeler on cloud-native and IaC threat modeling
DevArmor emphasizes continuous pull request enforcement, while ThreatModeler combines automated repository checks with IriusRisk’s file import workflow.
CI/CD integration: what "automatic" actually requires
Automatic threat modeling requires pipeline triggers, updated architecture context, and enforceable results. A seven-stage IaC security pipeline provides a practical test for vendor claims.
-
Pre-commit checks catch syntax errors, exposed secrets, and critical configuration problems before code enters the shared repository.
-
Branch protection requires reviews and security checks before a pull request can merge.
-
PR scanning examines changed Terraform files, Kubernetes manifests, container definitions, and pipeline configuration. A continuous threat-modeling tool should update the model here and connect new risks to the proposed change.
-
The CI gate applies broader compliance rules and organization-specific policies after code merges. Threat-model findings can inform these policies, but configuration scanners still need to detect known misconfigurations.
-
Plan review evaluates the infrastructure that Terraform will create or modify. Threat modeling should inspect the computed plan because module expansion can widen permissions or expose resources in ways that source templates do not reveal.
-
Drift detection compares deployed infrastructure with the approved configuration. Cloud security tools must also detect resources created outside the pipeline.
-
Application validation tests the deployed software for flaws such as SQL injection. An IaC threat model cannot detect application behavior that infrastructure definitions do not describe.
The PR scan and plan review stages provide the main insertion points for continuous threat modeling. The other stages supply controls that threat modeling cannot replace.
DevArmor implements one concrete part of this pattern by enforcing policy as code on every PR, optionally blocking unsafe merges, and tracing each review to an approved design decision or threat model. Buyers should still verify how a vendor updates models from plan output, reports drift, and passes findings into required CI checks.
Best for: choosing between DevArmor and ThreatModeler
- DevArmor is best for continuous and agentic development teams that want threat models to drive policy checks on every pull request, including the option to block unsafe merges through policy-as-code enforcement.
- DevArmor is best for teams with incomplete architecture documentation because it reconstructs security context from source code and connects findings to design decisions.
- ThreatModeler is best for regulated enterprises that need governed threat models based on established methodologies, mapped compliance controls, and audit-ready reporting through ThreatModeler Nexus.
- ThreatModeler is best for enterprises that want to convert documents, diagrams, IaC, and cloud context into a shared system map.
- ThreatModeler is best for buyers evaluating IriusRisk because IriusRisk now belongs to the ThreatModeler portfolio rather than operating as a separate option.
FAQs
Can DevArmor and ThreatModeler model Kubernetes and serverless systems?
Both products can represent broader cloud architectures, but their published pages do not confirm native parsing for Kubernetes manifests or serverless templates. ThreatModeler says its System Mapping Agent converts infrastructure code, documents, diagrams, and cloud context into model-ready maps.
Does IaC scanning replace threat modeling?
No. IaC scanners find configuration problems such as permissive access, privileged containers, and missing network restrictions. Threat modeling examines system relationships, trust boundaries, attack paths, and required controls that individual configuration checks may miss.
What happened to IriusRisk?
ThreatModeler acquired IriusRisk, so buyers should treat IriusRisk as part of the ThreatModeler portfolio rather than as a separate vendor. IriusRisk IaC capabilities now belong in an evaluation of ThreatModeler’s broader offering.
How quickly can a threat model be generated after a Terraform change?
DevArmor says its Threat Modeler can create a model and generate requirements in less than 10 minutes after the Context Collector obtains the necessary context. DevArmor’s public homepage does not confirm Terraform-specific parsing or whether every Terraform pull request completes within that period. ThreatModeler states that every pull request can be checked against its model, but it publishes no specific generation time for Terraform changes.
Table of Contents
Subscribe
