Skip to content

Commit b9765a4

Browse files
Merge pull request #114014 from sukhans/tutorialbranch
Updated screenshot for CredScan, added couple of lines of configuration, updated author to FTE and fixed some language
2 parents 67d70a8 + 8fdd5fb commit b9765a4

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed
16.5 KB
Loading

articles/security/develop/security-code-analysis-customize.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Customize Microsoft Security Code Analysis tasks
33
titleSuffix: Azure
44
description: This article describes customizing the tasks in the Microsoft Security Code Analysis extension
5-
author: vharindra
5+
author: sukhans
66
manager: sukhans
77
ms.author: terrylan
88
ms.date: 07/31/2019
@@ -37,7 +37,7 @@ Windows Defender uses the Windows Update client to download and install signatur
3737

3838
For more information on Windows Update errors and their mitigation, see [Windows Update error codes by component](https://docs.microsoft.com/windows/deployment/update/windows-update-error-reference) and the TechNet article [Windows Update Agent - Error Codes](https://social.technet.microsoft.com/wiki/contents/articles/15260.windows-update-agent-error-codes.aspx).
3939

40-
For information about YAML configuration for this task, please check our [Anti-Malware YAML options](yaml-configuration.md#anti-malware-scanner-task)
40+
For information about YAML configuration for this task, check our [Anti-Malware YAML options](yaml-configuration.md#anti-malware-scanner-task)
4141

4242
## BinSkim task
4343

@@ -78,7 +78,7 @@ Details of task configuration are shown in the following screenshot and list.
7878

7979
For more information on BinSkim command-line arguments, rules by ID, or exit codes, see the [BinSkim User Guide](https://github.com/Microsoft/binskim/blob/master/docs/UserGuide.md).
8080

81-
For information about YAML configuration for this task, please check our [BinSkim YAML options](yaml-configuration.md#binskim-task)
81+
For information about YAML configuration for this task, check our [BinSkim YAML options](yaml-configuration.md#binskim-task)
8282

8383
## Credential Scanner task
8484

@@ -87,7 +87,8 @@ Details of task configuration are shown in the following screenshot and list.
8787
![Configuring the Credential Scanner build task](./media/security-tools/3-taskdetails.png)
8888

8989
Available options include:
90-
90+
- **Display Name**: Name of the Azure DevOps Task. The default value is Run Credential Scanner
91+
- **Tool Major Version**: Available values include **CredScan V2**, **CredScan V1**. We recommend customers to use the **CredScan V2** version.
9192
- **Output Format**: Available values include **TSV**, **CSV**, **SARIF**, and **PREfast**.
9293
- **Tool Version**: We recommend you select **Latest**.
9394
- **Scan Folder**: The repository folder to be scanned.
@@ -101,7 +102,7 @@ Available options include:
101102
- **Control Options** > **Run this task**: Specifies when the task will run. Select **Custom conditions** to specify more complex conditions.
102103
- **Version**: The build task version within Azure DevOps. This option isn't frequently used.
103104

104-
For information about YAML configuration for this task, please check our [Credential Scanner YAML options](yaml-configuration.md#credential-scanner-task)
105+
For information about YAML configuration for this task, check our [Credential Scanner YAML options](yaml-configuration.md#credential-scanner-task)
105106

106107
## Microsoft Security Risk Detection task
107108

@@ -131,7 +132,7 @@ Details for configuring this task are shown in the following list. For any UI el
131132
- **Test Driver Can Be Renamed**: Select this checkbox if the test driver executable file can be renamed and still work correctly.
132133
- **The Fuzzing Application Runs as a Single OS Process**: Select this checkbox if the test driver runs under a single OS process. Clear it if the test driver spawns additional processes.
133134

134-
For information about YAML configuration for this task, please check our [Microsoft Security Risk Detection YAML options](yaml-configuration.md#microsoft-security-risk-detection-task)
135+
For information about YAML configuration for this task, check our [Microsoft Security Risk Detection YAML options](yaml-configuration.md#microsoft-security-risk-detection-task)
135136

136137
## Roslyn Analyzers task
137138

@@ -168,7 +169,7 @@ For additional resources for the Roslyn Analyzers task, check out [The Roslyn-ba
168169

169170
You can find the analyzer package installed and used by this build task on the NuGet page [Microsoft.CodeAnalysis.FxCopAnalyzers](https://www.nuget.org/packages/Microsoft.CodeAnalysis.FxCopAnalyzers).
170171

171-
For information about YAML configuration for this task, please check our [Roslyn Analyzers YAML options](yaml-configuration.md#roslyn-analyzers-task)
172+
For information about YAML configuration for this task, check our [Roslyn Analyzers YAML options](yaml-configuration.md#roslyn-analyzers-task)
172173

173174
## TSLint task
174175

@@ -177,7 +178,7 @@ For More information about TSLint, go to the [TSLint GitHub repo](https://github
177178
>[!NOTE]
178179
>As you might be aware, the [TSLint GitHub repo](https://github.com/palantir/tslint) home page says that TSLint will be deprecated sometime in 2019. Microsoft is investigating [ESLint](https://github.com/eslint/eslint) as an alternative task.
179180
180-
For information about YAML configuration for this task, please check our [TSLint YAML options](yaml-configuration.md#tslint-task)
181+
For information about YAML configuration for this task, check our [TSLint YAML options](yaml-configuration.md#tslint-task)
181182

182183
## Publish Security Analysis Logs task
183184

@@ -189,7 +190,7 @@ Details of task configuration are shown in the following screenshot and list.
189190
- **Artifact Type**: Depending on your selection, you can publish logs to your Azure DevOps Server or to a shared file that is accessible to the build agent.
190191
- **Tools**: You can choose to preserve logs for specific tools, or you can select **All Tools** to preserve all logs.
191192

192-
For information about YAML configuration for this task, please check our [Publish Security Logs YAML options](yaml-configuration.md#publish-security-analysis-logs-task)
193+
For information about YAML configuration for this task, check our [Publish Security Logs YAML options](yaml-configuration.md#publish-security-analysis-logs-task)
193194

194195
## Security Report task
195196

@@ -202,7 +203,7 @@ Details of Security Report configuration are shown in the following screenshot a
202203
- **Advanced Options**: If there are no logs for one of the tools selected, you can choose to log a warning or an error. If you log an error, the task fails.
203204
- **Base Logs Folder**: You can customize the base logs folder where logs are to be found. But this option is typically not used.
204205

205-
For information about YAML configuration for this task, please check our [Security report YAML options](yaml-configuration.md#security-report-task)
206+
For information about YAML configuration for this task, check our [Security report YAML options](yaml-configuration.md#security-report-task)
206207

207208
## Post-Analysis task
208209

@@ -214,10 +215,10 @@ Details of task configuration are shown in the following screenshot and list.
214215
- **Report**: You can optionally write the results that are causing the build break. The results are written to the Azure DevOps console window and log file.
215216
- **Advanced Options**: If there are no logs for one of the tools selected, you can choose to log a warning or an error. If you log an error, the task fails.
216217

217-
For information about YAML configuration for this task, please check our [Post Analysis YAML options](yaml-configuration.md#post-analysis-task)
218+
For information about YAML configuration for this task, check our [Post Analysis YAML options](yaml-configuration.md#post-analysis-task)
218219

219220
## Next steps
220221

221222
For information about YAML based configuration, refer to our [YAML Configuration guide](yaml-configuration.md).
222223

223-
If you have further questions about the Security Code Analysis extension and the tools offered, check out [our FAQ page](security-code-analysis-faq.md).
224+
If you have further questions about the Security Code Analysis extension and the tools offered, check out [our FAQ page](security-code-analysis-faq.md).

0 commit comments

Comments
 (0)