c# - Microsoft-Windows-Security-SPP 记录级别等于 0 的信息
问题描述
我尝试从 EventLog 中检索和映射数据。为此,我使用 EventLogEntryType 作为Level
EventLog 条目的提供者。
public enum EventLogEntryType
{
/// <summary><para>An error event. This indicates a significant problem the user should know about; usually a loss of functionality or data.</para></summary>
Error = 1,
/// <summary><para>A warning event. This indicates a problem that is not immediately significant, but that may signify conditions that could cause future problems.</para></summary>
Warning = 2,
/// <summary><para>An information event. This indicates a significant, successful operation.</para></summary>
Information = 4,
/// <summary><para>A success audit event. This indicates a security event that occurs when an audited access attempt is successful; for example, logging on successfully.</para></summary>
SuccessAudit = 8,
/// <summary><para>A failure audit event. This indicates a security event that occurs when an audited access attempt fails; for example, a failed attempt to open a file.</para></summary>
FailureAudit = 16, // 0x00000010
}
但似乎由于某种原因Microsoft-Windows-Security-SPP
信息日志有一个Level
等于0
而不是4
。
我试图找出原因,但找不到任何描述该行为的文档。我想知道我是否应该在我的代码中处理该特定场景,或者它是某种Microsoft-Windows-Security-SPP
我不应该处理的错误。
解决方案
推荐阅读
- laravel - 你如何限制 Laravel Passport 的 oauth/clients 路由?
- amazon-web-services - 如何通过 WireGuard VPN 解析在 Route53 中创建的私有托管区域中的资源记录
- flutter - 我无法将颤振添加到路径中,但我可以通过 bin 文件夹中的 cmd 执行颤振
- javascript - 变量在使用 AJAX/JSON 退出函数时失去价值
- google-bigquery - 标准 SQl Bigquery 中的参数化表名和列名
- ios - 在 SwiftUI 中创建的路径没有动画
- apache-flink - Apache Flink 和 Pureconfig - 在作业启动时传递 java 属性
- reactjs - Material UI中垂直间距的Box vs className vs style
- flutter - “字符串”:controller.text 在颤动中是什么意思?
- java - Maven Jetty 垃圾邮件“从多个位置扫描”