Manage custom content with repository connections - Microsoft Sentinel (2024)

  • Article

The Microsoft Sentinel repositories feature provides a central experience for the deployment and management of Sentinel content as code. Repositories allow connections to an external source control for continuous integration / continuous delivery (CI/CD). This automation removes the burden of manual processes to update and deploy your custom content across workspaces. For more information on Sentinel content, see About Microsoft Sentinel content and solutions.

Important

The Microsoft Sentinel Repositories feature is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Plan your repository connection

Microsoft Sentinel repositories require careful planning to ensure you have the proper permissions from your workspace to the repository (repo) you want connected. Only connections to GitHub and Azure DevOps repositories with contributor access are currently supported. The Microsoft Sentinel application will need authorization to your repo and have Actions enabled for GitHub and Pipelines enabled for Azure DevOps.

Repositories require an Owner role in the resource group that contains your Microsoft Sentinel workspace. This role is required to create the connection between Microsoft Sentinel and your source control repository. If you're' unable to use the Owner role in your environment, you can instead use the combination of User Access Administrator and Sentinel Contributor roles to create the connection.

If you find content in a public repository where you aren't a contributor, you'll need to get that content into your repo first. You can do that with an import, fork, or clone of the content to a repo where you're a contributor. Then you can connect your repo to your Sentinel workspace. For more information, see Deploy custom content from your repository.

Validate your content

The following Microsoft Sentinel content types can be deployed through a repository connection:

  • Analytics rules
  • Automation rules
  • Hunting queries
  • Parsers
  • Playbooks
  • Workbooks

Tip

This article does not describe how to create these types of content from scratch. For more information, see the relevant Microsoft Sentinel GitHub wiki for each content type.

Repositories content needs to be stored as ARM templates. The repositories deployment doesn't validate the content except to confirm it's in the correct JSON format.

The first step to validate your content is to test it within Microsoft Sentinel. You can also apply the Microsoft Sentinel GitHub validation process and tools to complement your validation process.

A sample repository is available with ARM templates for each of the content types listed above. The repo also demonstrates how to use advanced features of repository connections. For more information, see Sentinel CICD repositories sample.

Maximum connections and deployments

  • Each Microsoft Sentinel workspace is currently limited to five repository connections.

  • Each Azure resource group is limited to 800 deployments in its deployment history. If you have a high volume of ARM template deployments in your resource group(s), you may see the Deployment QuotaExceeded error. For more information, see DeploymentQuotaExceeded in the Azure Resource Manager templates documentation.

Improve performance with smart deployments

Tip

To ensure smart deployments works in GitHub, Workflows must have read and write permissions on your repositoriy. See Managing GitHub Actions settings for a repository for more details.

The smart deployments feature is a back-end capability that improves performance by actively tracking modifications made to the content files of a connected repository. It uses a CSV file within the '.sentinel' folder in your repository to audit each commit. The workflow avoids redeploying content that hasn't been modified since the last deployment. This process improves your deployment performance and prevents tampering with unchanged content in your workspace, such as resetting dynamic schedules of your analytics rules.

Smart deployments are enabled by default on newly created connections. If you prefer all source control content to be deployed every time a deployment is triggered, regardless of whether that content was modified or not, you can modify your workflow to disable smart deployments. For more information, see Customize the workflow or pipeline.

Note

This capability was launched in public preview on April 20th, 2022. Connections created prior to launch would need to be updated or recreated for smart deployments to be turned on.

Consider deployment customization options

A number of customization options are available to consider when deploying content with Microsoft Sentinel repositories.

Customize the workflow or pipeline

You may want to customize the workflow or pipeline in one of the following ways:

  • configure different deployment triggers
  • deploy content only from a specific root folder for a given workspace
  • schedule the workflow to run periodically
  • combine different workflow events together
  • turn off smart deployments

These customizations are defined in a .yml file specific to your workflow or pipeline. For more details on how to implement, see Customize repository deployments

Customize the deployment

Once the workflow or pipeline is triggered, the deployment supports the following scenarios:

  • prioritize content to be deployed before the rest of the repo content
  • exclude content from deployment
  • specify ARM template parameter files

These options are available through a feature of the PowerShell deployment script called from the workflow or pipeline. For more details on how to implement these customizations, see Customize repository deployments.

Next steps

Get more examples and step by step instructions on deploying Microsoft Sentinel repositories.

Manage custom content with repository connections - Microsoft Sentinel (2024)

FAQs

What is the maximum number of repository connections allowed for each Microsoft Sentinel workspace? ›

What is the maximum number of repository connections allowed for each Microsoft Sentinel workspace? Five is the maximum connections for each workspace.

How to add data connectors in Sentinel? ›

After you or someone in your organization installs the solution that includes the data connector you need, configure the data connector to start ingesting data.
  1. For Microsoft Sentinel in the Azure portal, under Configuration, select Data connectors. ...
  2. Search for and select the connector. ...
  3. Select Open connector page.
Apr 3, 2024

How do I connect GitHub to Sentinel? ›

Go to your Microsoft Sentinel workspace and select Data connectors from the navigation menu. Find the GitHub Enterprise Audit Log connector and click on Open connector page. Follow the instructions to configure the connector. You will need to provide your GitHub enterprise account name, access token, and API URL.

What is the content hub in Sentinel? ›

The Microsoft Sentinel Content hub is your centralized location to discover and manage out-of-the-box (built-in) content. There you find packaged solutions for end-to-end products by domain or industry. You have access to the vast number of standalone contributions hosted in our GitHub repository and feature blades.

How many workspaces can you have in Sentinel? ›

If you have multiple tenants, such as if you're a managed security service provider (MSSP), we recommend that you create at least one workspace for each Microsoft Entra tenant to support built-in, service to service data connectors that work only within their own Microsoft Entra tenant.

What is the minimum number of Microsoft Sentinel workspaces that you should create? ›

Two Microsoft Sentinel workspaces, one in each Microsoft Entra tenant, to ingest data from Office 365, Azure Activity, Microsoft Entra ID, and all Azure PaaS services. All other data, coming from on-premises data sources, can be routed to one of the two Microsoft Sentinel workspaces.

How do I connect to a GitHub repository via SSH? ›

Steps to setup GitHub SSH connections
  1. Create a GitHub SSH key pair with the ssh-keygen command.
  2. Copy the value of the public SSH key to the clipboard.
  3. Login to GitHub and navigate to your account settings.
  4. Click on the link for SSH and GPG keys.
  5. Click Add Key to register the public SSH key with your account.
Jan 30, 2024

How do I connect to my GitHub repository? ›

In the top right corner of GitHub, click your profile photo, then click Your profile. On your profile page, in the header, click the Packages tab. Search for and then click the name of the package that you want to manage. Under your package versions, click Connect repository.

How do I join someone's GitHub repository? ›

Inviting a collaborator to a personal repository
  1. Ask for the username of the person you're inviting as a collaborator. ...
  2. On GitHub.com, navigate to the main page of the repository.
  3. Under your repository name, click Settings. ...
  4. In the "Access" section of the sidebar, click Collaborators.
  5. Click Add people.

What are the 4 primary capabilities of Microsoft Sentinel? ›

Microsoft Sentinel provides cyberthreat detection, investigation, response, and proactive hunting, with a bird's-eye view across your enterprise.

What is the difference between content hub and content hub one? ›

For small to medium-sized enterprises, Sitecore Content Hub One is intended to provide an intuitive, uncomplicated content management solution. Let's briefly explain what each platform offers: Sitecore Content Hub: Content Hub is a SaaS content management system designed for omnichannel content delivery.

Where does Microsoft Sentinel store data? ›

Microsoft Sentinel's security analytics data is stored in an Azure Monitor Log Analytics workspace. Billing is based on the volume of data analyzed in Microsoft Sentinel and stored in the Log Analytics workspace.

What is the maximum number of connections in Azure? ›

For example, for a Basic tier VM, the limit is 240 total connections. For a Standard tier VM, the limit is 600 total connections. For a Premium tier VM, the limit is 3,500 total connections. It's important to note that these limits are for the entire VM, not just for a single web app.

What is the maximum connections in Azure function app? ›

Service limits
ResourceConsumption planPremium plan
Max outbound connections (per instance)600 active (1200 total)unbounded
Max request size (MB)3100100
Max query string length340964096
Max request URL length381928192
11 more rows
May 21, 2024

What is the maximum retention for Sentinel Workspace? ›

Data retention and archived logs costs

Retain all data ingested into the workspace at no charge for the first 90 days. Retention beyond 90 days is charged per the standard Log Analytics retention prices.

What is the maximum number of concurrent connections that can be made to a Windows workstation? ›

What is the maximum number of concurrent connections that can be made to a Windows workstation? The maximum number of connections that can simultaneously be made to a Windows workstation is 20.

Top Articles
What is the 40% Tax Bracket? | The Accountancy Partnership
Risk Curve: Meaning, Overview, Special Considerations
Caesars Rewards Loyalty Program Review [Previously Total Rewards]
How to know if a financial advisor is good?
Green Bay Press Gazette Obituary
Santa Clara Valley Medical Center Medical Records
Crusader Kings 3 Workshop
Conduent Connect Feps Login
New Mexico Craigslist Cars And Trucks - By Owner
How Many Cc's Is A 96 Cubic Inch Engine
Meritas Health Patient Portal
Peraton Sso
Viha Email Login
7543460065
Snow Rider 3D Unblocked Wtf
Immortal Ink Waxahachie
Craiglist Tulsa Ok
Po Box 35691 Canton Oh
Weepinbell Gen 3 Learnset
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
Project, Time & Expense Tracking Software for Business
Ups Print Store Near Me
The Weather Channel Local Weather Forecast
Holiday Gift Bearer In Egypt
Bento - A link in bio, but rich and beautiful.
Jesus Calling Feb 13
The Goonies Showtimes Near Marcus Rosemount Cinema
Wheeling Matinee Results
Roch Hodech Nissan 2023
Los Garroberros Menu
Planet Fitness Santa Clarita Photos
Devotion Showtimes Near The Grand 16 - Pier Park
Culver's of Whitewater, WI - W Main St
Fifty Shades Of Gray 123Movies
Gary Lezak Annual Salary
Pro-Ject’s T2 Super Phono Turntable Is a Super Performer, and It’s a Super Bargain Too
Dwc Qme Database
Is Ameriprise A Pyramid Scheme
War Room Pandemic Rumble
Gary Vandenheuvel Net Worth
Chr Pop Pulse
Pickwick Electric Power Outage
Egg Inc Wiki
Laura Houston Wbap
Pronósticos Gulfstream Park Nicoletti
303-615-0055
91 East Freeway Accident Today 2022
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5313

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.