Microsoft Sentinel
Cloud and workloads

GitHub

In brief

The article updates GitHub Actions and Azure DevOps customization guidance, including triggers, smart deployments, deployment paths, default configurations, and related documentation links.

What Defender admins need to know

Administrators have clearer instructions for configuring Sentinel content deployment workflows and pipelines.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Scale your deployments with parameter files

Rather than passing parameters as inline values in your content files, consider using a Bicep parameter file or a JSON file that contains the parameter values. Then map those parameter files to their associated Microsoft Sentinel content files to better scale your deployments across different workspaces.

There are several ways to map parameter files to the content files. Keep in mind, Bicep parameter files only support Bicep file templates, but JSON parameter files support both. The repositories deployment pipeline considers parameter files in the following order:

:::image type="content" source="media/ci-cd-custom-deploy/deploy-parameter-file-precedence-with-bicep.svg" alt-text="A diagram showing the precedence of parameter file mappings.":::

  1. Is there a mapping in the sentinel-deployment.config?
    For more information, see Customize your connection configuration.
  2. Is there a default parameter file? Yes, the content files are in the same directory with a parameter file matching one of these patterns:
    .bicepparam
    .parameters.json

Avoid clashes with multiple workspace deployments by mapping your parameter files through the configuration file or specifying the workspace ID in the file name.

Modifying the mapped parameter file listed in the sentinel-deployment.config triggers the deployment of its paired content file. Adding or modifying a workspace-mapped parameter file or a default parameter file also triggers a deployment of the paired content files along with the newly modified parameters, unless a higher precedence parameter mapping is in place. Other content files aren't deployed as long as the smart deployments feature is still enabled in the workflow/pipeline definition file.

  • To prioritize content files:

    As the amount of content in your repository grows, deployment times may increase. Add time sensitive content to this section to prioritize its deployment when a trigger occurs.

    Add full path names to the "prioritizedcontentfiles": section. Wildcard matching isn't supported at this time.

  • To exclude content files, modify the "excludecontentfiles": section with full path names of individual .json content files.

  • To map parameters:

    The deployment script accepts three methods of mapping parameters (configuration-file mappings, workspace-mapped parameter files, and default parameter files) as described in Scale your deployments with parameter files. Mapping parameters through the sentinel-deployment.config takes the highest precedence and guarantees that a given parameter file is mapped to its associated content files. Modify the "parameterfilemappings": section with your target connection's workspace ID and full path names of individual .json files.

Related content

A sample repository is available demonstrating the deployment config file and all three parameter mapping methods. For more information, see