一句话:提出融合静态分析、语义依赖、LLM业务上下文与运行时日志的整体风险演算,实现微服务漏洞的量化与溯因诊断。
微服务架构面临可观测性碎片化:静态应用安全测试分析代码却缺少运行时上下文,日志分析能发现故障却难以定位根因,CVSS等风险指标将复杂现实压成静态标量。本文提出整体风险演算,融合结构证据(静态分析)、语义证据(语义依赖图)、业务上下文(大语言模型)与动态证据(日志和追踪)。借助主观逻辑,将二元安全标志替换为多维“意见”(相信、不信、不确定),同时支持溯因推理,使系统不仅能量化风险,还能从运行时日志异常反向推断潜在漏洞,形成自诊断安全态势。
Modern microservices architectures suffer from the fragmented observability problem: Static Application Security Testing tools analyze the code but miss the runtime context; log analysis tools observe the failures but miss the root cause; and risk metrics (such as CVSS) flatten these complex realities into static scalar scores. This paper proposes a Holistic Risk Calculus that unifies these disparate signals. We present a framework that fuses structural evidence (from static analysis), semantic evidence (from semantic dependency graphs), business context (using Large Language Models), and dynamic evidence (from logs and traces). By leveraging Subjective Logic, we replace binary security flags with multi-dimensional "opinions" (belief, disbelief, uncertainty). Furthermore, our calculus could be used to perform abductive reasoning, allowing the system to not only quantify risk but to autonomously reason backwards-from runtime log anomalies to latent vulnerabilities, enabling self-diagnosing security postures.