Manuscript Offprint

arXiv:2608.13389

TopoIntent: Compiling Security Intent into Executable, Compliance-Checked Network Topologies

Xiaokang Qu, Jianliang Ma, Zao Fan, Tianshu Chu, Tianlong Fan, Linyuan Lü

Abstract

Enterprise security topology design begins before device configuration. Architects must translate business intent, regulatory requirements, and risk assumptions into zones, boundary devices, inter-zone paths, and access-control policies. Existing NetOps automation tools mostly operate after this design has been fixed: they translate policies into configurations or interpret existing diagrams, but provide limited support for producing a structured security topology from an underspecified natural-language request.

We describe TopoIntent, a system that compiles security intent into executable, compliance-checked network topologies. TopoIntent uses a schema contract to constrain topology generation, retrieves reference architectures from a curated template library through dense-vector search, and applies staged fusion to separate intent-template alignment from IG-level security completion. It then checks the generated topology against CIS Controls v8.1.2 safeguards whose evidence is visible at the topology layer, records cases requiring manual review, and repairs structural gaps through additive schema-preserving edits. The final topology is exported to Mininet scripts with kernel-level iptables ACLs, so that reachability and allow/deny behavior can be exercised rather than inspected only as a static diagram.

We build an evaluation set from reference security architecture diagrams because no public benchmark exists for this requirement-to-topology task. The retrieval reference set contains 22 templates and 44 synthetic intents across five scenarios; the held-out evaluation set contains 7 templates and 14 intents from finance and government scenarios excluded from the retrieval index. We evaluate TopoIntent with structural coverage, topology-visible CIS satisfaction, Mininet policy tests, and diagnostic feedback from Stage 5 to Stage 4. On the held-out set, additive repair raises first-pass topology-visible CIS satisfaction from 0.78/0.78 (IG2/IG3) to 1.00 in fewer than 1.5 rounds on average. In the end-to-end ablation, one feedback round raises the post-ACL policy pass rate from 0.78 to 0.88.

Index Terms:

Intent Networking, Topology Generation, Compliance, RAG, Network Security

References (14)

  • can llms facilitate network configuration?
  • IEEE Communications Magazine 63 (7), pp. 146–153
  • intent-based translation for network configuration with llm agents
  • International Journal of Network Management 35 (1), pp. e2313
  • the confucius framework
  • bridging network-wide objectives and device-level configurations
  • Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation
  • practical network-wide configuration synthesis with autocompletion
  • a multimodal llm-based co-pilot for network topology and configuration
  • rapid prototyping for software-defined networks
  • NIST Special Publication Technical Report 800-82r3, National Institute of Standards and Technology
  • Retrieval-Augmented Generation for Large Language Models: A Survey
  • multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation
  • IEEE Transactions on Big Data 7 (3), pp. 535–547