Cloud-native SIEM for intelligent security analytics for your entire enterprise.
Перейти к файлу
Pete Bryan 2f1f38dc6c
Merge pull request #1245 from ehudk-msft/patch-2
Update Threat Intel Matches to GitHub Audit Logs.yaml
2020-11-02 07:43:04 -08:00
.azure-pipelines Add Kql Validation to PR pipeline (detection only) (#1223) 2020-11-01 09:15:35 +02:00
.github Add Kql Validation to PR pipeline (detection only) (#1223) 2020-11-01 09:15:35 +02:00
.script Add Kql Validation to PR pipeline (detection only) (#1223) 2020-11-01 09:15:35 +02:00
.vscode Added handling for templates not named azuredeploy 2020-08-20 09:11:10 -05:00
BYOML Update README.md 2020-10-05 19:20:12 -07:00
DataConnectors Merge pull request #1198 from NoamLandress/bugfix/SetConfigurationFilesPermissions 2020-11-02 16:08:56 +02:00
Detections Merge pull request #1245 from ehudk-msft/patch-2 2020-11-02 07:43:04 -08:00
Exploration Queries mapping OMS agent id to reduce chances of creating weak Host entity 2020-10-21 10:57:38 +03:00
Functions Functions to check if daylight savings in US/EU 2020-04-08 11:36:45 -07:00
Hunting Queries Update WindowsSystemTimeChange.yaml 2020-10-27 10:33:23 -07:00
Logos new request from WireX systems (#1064) 2020-10-06 17:09:12 -07:00
Notebooks@7402ad1fc3 Update Notebooks 2020-10 2020-10-12 16:16:59 -07:00
Parsers Update WindowsFirewall.kql 2020-10-09 09:49:29 -04:00
Playbooks logicapp watchlist update incident 2020-10-27 18:32:13 +02:00
QueryLanguageSamples Adding current items (#11) 2019-01-18 14:20:01 +00:00
Sample Data Indicator publish: 10/27/2020 5:28:14 PM 2020-10-27 10:28:14 -07:00
Tools Leaderboard update 2020-11-02 06:08:18 -08:00
Workbooks Add health to metadata 2020-11-02 14:27:56 +02:00
docs Add files via upload 2019-02-28 02:08:02 -08:00
.gitignore Merge branch 'master' into master 2020-06-28 22:10:54 -07:00
.gitmodules Adding Azure-Sentinel-Notebooks as submodule of Azure-Sentinel 2020-04-30 10:47:38 -07:00
CODEOWNERS Update CODEOWNERS 2020-10-29 10:48:06 -07:00
LICENSE Initial commit 2018-08-17 19:25:18 -07:00
README.md Add Kql Validation to PR pipeline (detection only) (#1223) 2020-11-01 09:15:35 +02:00
azure-pipelines.yml Add Kql Validation to PR pipeline (detection only) (#1223) 2020-11-01 09:15:35 +02:00
logic_app_logo.png Add files via upload 2020-10-21 16:33:38 +13:00
package-lock.json Bump node-fetch from 2.6.0 to 2.6.1 (#1066) 2020-09-14 11:51:18 -07:00
package.json add schema validation for workbooksMetadata 2020-08-20 11:48:43 -07:00
tsconfig.json fix tsconfig.json file (#416) 2019-12-19 02:36:56 +02:00

README.md

Azure Sentinel

Welcome to the Azure Sentinel repository! This repository contains out of the box detections, exploration queries, hunting queries, workbooks, playbooks and much more to help you get ramped up with Azure Sentinel and provide you security content to secure your environment and hunt for threats. You can also submit to issues for any samples or resources you would like to see here as you onboard to Azure Sentinel. This repository welcomes contributions and refer to this repository's wiki to get started. For questions and feedback, please contact AzureSentinel@microsoft.com

Resources

We value your feedback. Here are some channels to help surface your questions or feedback:

  1. General product specific Q&A - Join in the Azure Sentinel Tech Community conversations
  2. Product specific feature requests - Upvote or post new on Azure Sentinel feedback forums
  3. Report product or contribution bugs - File a GitHub Issue using Bug template
  4. General feedback on community and contribution process - File a GitHub Issue using Feature Request template

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

Add in your new or updated contributions to GitHub

Note: If you are a first time contributor to this repository, Fork the repo before cloning.

Brand new or update to a contribution via these methods:

Pull Request

  • After you push your changes, you will need to submit the Pull Request (PR)
  • After submission, check the Pull Request for comments
  • Make changes as suggested and update your branch or explain why no change is needed. Resolve the comment when done.

Pull Request Kql Validation Check

As part of the PR checks we run a syntax validation of the kql queries defined in the template. If this check fails go to Azure Pipeline (by pressing on the errors link on the checks tab in your PR) Azurepipeline In the pipeline you can see which test failed and what is the cause: Pipeline Tests Tab If you are using custom logs table (a table which is not defined on all workspaces by default) you should verify your table schema is defined in json file in the folder Azure-Sentinel\.script\tests\KqlvalidationsTests\CustomTables

Example for table tablexyz.json

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

Run Kql Validation Locally

In order to run the kql validation before submitting Pull Request in you local machine:

  • You need to have .Net Core 3.1 SDK installed How to download .Net (Supports all platforms)
  • Open Shell and navigate to Azure-Sentinel\\.script\tests\KqlvalidationsTests\
  • Execute dotnet test

Example of output (in Ubuntu):

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

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

For information on what you can contribute and further details, refer to the "get started" section on the project's wiki.