Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Azure-Sentinel — 面向整个企业的云原生SIEM,用于智能安全分析。 | Kitploit
工具/GitHubGitHub/azure/azure-sentinel
防御工具云安全威胁情报入侵检测学习与教育事件响应精选资源日志分析
GitHubazure/azure-sentinel

Azure-Sentinel

面向整个企业的云原生SIEM,用于智能安全分析。

查看仓库
6.1k3.8k119小时28分前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

Microsoft Sentinel 与 Microsoft 365 Defender

欢迎来到统一的 Microsoft Sentinel 与 Microsoft 365 Defender 仓库!本仓库包含开箱即用的检测、探索查询、搜寻查询、工作簿、剧本以及更多内容,帮助您快速上手 Microsoft Sentinel,并提供安全内容以保护您的环境并搜寻威胁。这些搜寻查询还包括适用于 Microsoft 365 Defender 和 Microsoft Sentinel 中的高级搜寻场景的 Microsoft 365 Defender 搜寻查询。您还可以向 issues 提交您希望在接入 Microsoft Sentinel 时看到的任何示例或资源。本仓库欢迎贡献,请参阅本仓库的 wiki 开始操作。如有疑问或反馈,请联系 [email protected]

资源

  • Microsoft Sentinel 文档
  • Microsoft 365 Defender 文档
  • 安全社区网络研讨会
  • GitHub 入门

我们非常重视您的反馈。以下是一些帮助您提出疑问或反馈的渠道:

  1. SIEM 和 SOAR 的通用产品问答 - 加入 Microsoft Sentinel 技术社区讨论
  2. XDR 的通用产品问答 - 加入 Microsoft 365 Defender 技术社区讨论
  3. 产品特定功能请求 - 在 Microsoft Sentinel 反馈论坛 上投票或发布新请求
  4. 报告产品或贡献错误 - 使用 Bug 模板 提交 GitHub Issue
  5. 对社区和贡献流程的一般反馈 - 使用 功能请求模板 提交 GitHub Issue

贡献指南

本项目欢迎贡献和建议。大多数贡献需要您同意一份贡献者许可协议(CLA),声明您有权并且确实授予我们使用您的贡献的权利。有关详细信息,请访问 https://cla.microsoft.com。

在 GitHub 上添加新的或更新的贡献

注意:如果您是首次向本仓库贡献,请在克隆前查阅 常规 GitHub Fork 仓库指南 或 Sentinel 仓库的具体步骤。

一般步骤

全新贡献或更新贡献可通过以下方式:

  • 直接在 GitHub 网站上提交审核
    • 浏览到要上传文件的文件夹
    • 选择"上传文件"并浏览到您的文件。
    • 您需要创建自己的分支,然后提交拉取请求以供审核。
  • 使用 GitHub Desktop 或 Visual Studio 或 VSCode
    • Fork 仓库
    • 克隆仓库
    • 创建您自己的分支
    • 在 GitHub Desktop 中进行添加/更新
    • 确保在推送之前将 master 合并到您的分支。
    • 将更改推送到 GitHub

拉取请求

  • 推送更改后,您需要提交 拉取请求(PR)
  • 需要提供关于拟议更改的详细信息,请确保包含足够详细的信息,以便审核人员清楚了解更改的原因以及更改涉及代码的哪些部分。
  • 提交后,检查 拉取请求 中的评论
  • 根据建议进行修改并更新分支,或解释无需修改的原因。完成后解决评论。

拉取请求检测模板结构验证检查

作为 PR 检查的一部分,我们会运行结构验证,以确保包含 YAML 结构的所有必需部分。对于检测,必须包含一个新的部分。请参阅 贡献指南 了解更多信息。如果未包含此部分或任何其他必需部分,则会出现类似于以下的验证错误。 以下示例特指 YAML 缺少 entityMappings 部分的情况:

root@kitploit:~
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.95]     Kqlvalidations.Tests.DetectionTemplateStructureValidationTests.Validate_DetectionTemplates_HaveValidTemplateStructure(detectionsYamlFileName: "ExcessiveBlockedTrafficGeneratedbyUser.yaml") [FAIL]
  X Kqlvalidations.Tests.DetectionTemplateStructureValidationTests.Validate_DetectionTemplates_HaveValidTemplateStructure(detectionsYamlFileName: "ExcessiveBlockedTrafficGeneratedbyUser.yaml") [104ms]
  Error Message:
   Expected object to be <null>, but found System.ComponentModel.DataAnnotations.ValidationException with message "An old mapping for entity 'AccountCustomEntity' does not have a matching new mapping entry."

拉取请求 KQL 验证检查

作为 PR 检查的一部分,我们会运行模板中定义的 KQL 查询的语法验证。如果此检查失败,请转到 Azure Pipeline(通过点击 PR 中 checks 选项卡上的错误链接) Azurepipeline 在管道中,您可以查看哪个测试失败以及原因: Pipeline Tests Tab

示例错误消息:

root@kitploit:~
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:01.81]     Kqlvalidations.Tests.KqlValidationTests.Validate_DetectionQueries_HaveValidKql(detectionsYamlFileName: "ExcessiveBlockedTrafficGeneratedbyUser.yaml") [FAIL]
  X Kqlvalidations.Tests.KqlValidationTests.Validate_DetectionQueries_HaveValidKql(detectionsYamlFileName: "ExcessiveBlockedTrafficGeneratedbyUser.yaml") [21ms]
  Error Message:
   Template Id:fa0ab69c-7124-4f62-acdd-61017cf6ce89 is not valid Errors:The name 'SymantecEndpointProtection' does not refer to any known table, tabular variable or function., Code: 'KS204', Severity: 'Error', Location: '67..93',The name 'SymantecEndpointProtection' does not refer to any known table, tabular variable or function., Code: 'KS204', Severity: 'Error', Location: '289..315'

如果您使用自定义日志表(默认所有工作区中未定义的表),您应验证 您的表架构是否定义在文件夹 Azure-Sentinel\.script\tests\KqlvalidationsTests\CustomTables 中的 json 文件中

表 tablexyz.json 的示例

root@kitploit:~
{
  "Name": "tablexyz",
  "Properties": [
    {
      "Name": "SomeDateTimeColumn",
      "Type": "DateTime"
    },
    {
      "Name": "SomeStringColumn",
      "Type": "String"
    },
    {
      "Name": "SomeDynamicColumn",
      "Type": "Dynamic"
    }
  ]
}

在本地运行 KQL 验证

为了在提交拉取请求之前在本地机器上运行 KQL 验证:

  • 您需要安装 .Net Core 3.1 SDK 如何下载 .Net(支持所有平台)
  • 打开 Shell 并导航到 Azure-Sentinel\\.script\tests\KqlvalidationsTests\
  • 执行 dotnet test

输出示例(在 Ubuntu 中):

root@kitploit:~
Welcome to .NET Core 3.1!
----------------------
SDK Version: 3.1.403

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Test run for /mnt/c/git/Azure-Sentinel/.script/tests/KqlvalidationsTests/bin/Debug/netcoreapp3.1/Kqlvalidations.Tests.dll(.NETCoreApp,Version=v3.1)
Microsoft (R) Test Execution Command Line Tool Version 16.7.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

A total of 1 test files matched the specified pattern.

Test Run Successful.
Total tests: 171
     Passed: 171
 Total time: 25.7973 Seconds

检测架构验证测试

与 KQL 验证类似,检测的架构也会自动验证。 架构验证包括检测的频率和周期、检测的触发类型和阈值、连接器 ID 的有效性(有效连接器 ID 列表)等。 格式错误或缺少属性将导致信息性检查失败,这应指导您解决问题,但请确保查看已批准检测的格式。

在本地运行检测架构验证

为了在提交拉取请求之前在本地机器上运行检测架构验证:

  • 您需要安装 .Net Core 3.1 SDK 如何下载 .Net(支持所有平台)
  • 打开 Shell 并导航到 Azure-Sentinel\\.script\tests\DetectionTemplateSchemaValidation\
  • 执行 dotnet test

当您提交拉取请求时,CLA 机器人会自动确定您是否需要提供 CLA,并适当装饰 PR(例如,标签、评论)。只需按照机器人提供的指示操作即可。您只需在使用我们 CLA 的所有仓库中执行一次此操作。

本项目已采用 Microsoft 开源行为准则。 有关更多信息,请参阅 行为准则常见问题解答 或联系 [email protected] 提出其他问题或意见。

有关您可以贡献的内容以及更多详细信息,请参阅项目 wiki 中的 “入门” 部分。

下载工具