Skip to content

Commit 8bbadfc

Browse files
updates based on Acrolinx
1 parent 9df5e7d commit 8bbadfc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/sentinel/ci-cd-custom-deploy.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ There are two primary ways to customize the deployment of your repository conten
2626

2727
> [!IMPORTANT]
2828
>
29-
> The Microsoft Sentinel **Repositories** feature is currently in **PREVIEW**. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
29+
> The Microsoft Sentinel **Repositories** feature is currently in **PREVIEW**. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for more legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3030
3131

3232
## Prerequisites and scope
@@ -135,7 +135,7 @@ For more information, see the [GitHub documentation](https://docs.github.com/en/
135135

136136
This default configuration means that a deployment pipeline is triggered anytime that content is pushed to any part of the `main` branch.
137137

138-
To deploy content from a specific folder path only, add the folder name to the `include` section, for the trigger, and the `steps` section, for the deployment path, below as needed.
138+
To deploy content from a specific folder path only, add the folder name to the `include` section for the trigger and the deployment path to the `steps` section.
139139

140140
For example, to deploy content only from a root folder named `SentinelContent` in your `main` branch, add `include` and `workingDirectory` settings to your code as follows:
141141

@@ -169,13 +169,13 @@ Rather than passing parameters as inline values in your content files, consider
169169
:::image type="content" source="media/ci-cd-custom-deploy/deploy-parameter-file-precedence.svg" alt-text="A diagram showing the precedence of parameter file mappings.":::
170170
171171
1. Is there a mapping in the *sentinel-deployment.config*? For more information, see [Customize your connection configuration](ci-cd-custom-deploy.md#customize-your-connection-configuration).
172-
1. Is there a workspace-mapped parameter file? Yes it is a parameter file in the same directory as the content files that ends with *.parameters-\<WorkspaceID>.json*
172+
1. Is there a workspace-mapped parameter file? Yes it's a parameter file in the same directory as the content files that ends with *.parameters-\<WorkspaceID>.json*
173173
1. Is there a default parameter file? Yes, any parameter file in the same directory as the content files that ends with *.parameters.json*
174174
175-
It is encouraged to map your parameter files through the configuration file or by specifying the workspace ID in the file name to avoid clashes in scenarios with multiple deployments.
175+
It's encouraged to map your parameter files through the configuration file or by specifying the workspace ID in the file name to avoid clashes in scenarios with multiple deployments.
176176
177177
> [!IMPORTANT]
178-
> Once a parameter file match is determined based on the above mapping precedence, the pipeline will ignore any remaining mappings.
178+
> Once a parameter file match is determined based on the mapping precedence, the pipeline ignores any remaining mappings.
179179
>
180180
181181
Modifying the mapped parameter file listed in the sentinel-deployment.config triggers the deployment of its paired content file. Adding or modifying a *.parameters-\<WorkspaceID\>.json* file or *.parameters.json* file also triggers a deployment of the paired content files along with the newly modified parameters, unless a higher precedence parameter mappings 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.
@@ -185,7 +185,7 @@ Modifying the mapped parameter file listed in the sentinel-deployment.config tri
185185
The deployment script for repositories supports the usage of a deployment configuration file for each repository branch as of July 2022. The configuration JSON file helps you map parameter files to relevant content files, prioritize specific content in deployments, and exclude specific content from deployments.
186186
187187
188-
1. Create the file *sentinel-deployment.config* at the root of your repository. Adding, deleting, or modifying this configuration file will cause a full deployment of all the content in the repository according to the updated configuration.
188+
1. Create the file *sentinel-deployment.config* at the root of your repository. Adding, deleting, or modifying this configuration file triggers a full deployment of all the content in the repository according to the updated configuration.
189189
190190
:::image type="content" source="media/ci-cd-custom-deploy/deployment-config.png" alt-text="Screenshot of a repository root directory. The RepositoriesSampleContent is shown with the location of the sentinel-deployment.config file." lightbox="media/ci-cd-custom-deploy/deployment-config.png":::
191191
@@ -224,13 +224,13 @@ Here's an example of the entire contents of a valid *sentinel-deployment.config*
224224

225225
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.
226226

227-
Add full path names to the `"prioritizedcontentfiles":` section. Wildcard matching is not supported at this time.
227+
Add full path names to the `"prioritizedcontentfiles":` section. Wildcard matching isn't supported at this time.
228228

229229
- **To exclude content files**, modify the `"excludecontentfiles":` section with full path names of individual .json content files.
230230

231231
- **To map parameters**:
232232

233-
The deployment script accepts three methods of mapping parameters as described in [Scale your deployments with parameter files](ci-cd-custom-deploy.md#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. Simply modify the `"parameterfilemappings":` section with your target connection's workspace ID and full path names of individual .json files.
233+
The deployment script accepts three methods of mapping parameters as described in [Scale your deployments with parameter files](ci-cd-custom-deploy.md#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.
234234

235235

236236
## Related content

articles/sentinel/ci-cd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Deleting content from your repository doesn't delete it from your Microsoft Sent
132132

133133
## Remove a repository connection
134134

135-
This procedure describes how to remove the connection to a source control repository from Microsoft Sentinel. In order to use Bicep templates, your repository connection must be newer than November 1st, 2024. Use this procedure to remove the connection and recreate it in order to update the connection.
135+
This procedure describes how to remove the connection to a source control repository from Microsoft Sentinel. In order to use Bicep templates, your repository connection must be newer than November 1, 2024. Use this procedure to remove the connection and recreate it in order to update the connection.
136136

137137
**To remove your connection**:
138138

0 commit comments

Comments
 (0)