Skip to content

Commit 0f08e1e

Browse files
authored
Update README.md
1 parent f42fea5 commit 0f08e1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code Scanning C# Tutorial
22

3-
Welcome to the Code Scanning C# Tutorial! This tutorial will take you through how to set up Github Advanced Security: Code Scanning as well as interpret results that it may find. The following repository contains cross-site scripting vulnerability for demonstration purpose.
3+
Welcome to the Code Scanning C# Tutorial! This tutorial will take you through how to set up Github Advanced Security: Code Scanning as well as interpret results that it may find. The following repository contains a cross-site scripting vulnerability for demonstration purpose.
44

55
## Introduction
66

@@ -39,7 +39,7 @@ Click `Set up code scanning`.
3939

4040
#### Setup Workflow
4141

42-
Click the `Setup this workflow` button by CodeQL Analysis.
42+
Click the `Configure CodeQL alerts` button.
4343

4444
<img src="images/02-repo-security-setup-codeql-workflow.png" width="70%"/>
4545

@@ -163,7 +163,7 @@ Click `show paths` in order to see the dataflow path that resulted in this alert
163163

164164
<summary>Fix the Security Alert</summary>
165165

166-
In order to fix this specific alert, we will need to ensure the content being write to the `HttpContext`'s response is validated and sanitized.
166+
In order to fix this specific alert, we will need to ensure the content being written to the `HttpContext`'s response is both validated and sanitized.
167167

168168
Click on the `Code` tab and [Edit](https://docs.github.com/en/free-pro-team@latest/github/managing-files-in-a-repository/editing-files-in-your-repository) the file [`Autocomplete.ashx.cs`](./WebGoat/WebGoatCoins/Autocomplete.ashx.cs) in the `WebGoat/WebGoatCoins` folder. For this demonstration purpose, we will simply write some hardcoded value to the `HttpContext` instance, this granatees the parameter is sanitized and safe.
169169

0 commit comments

Comments
 (0)