Skip to content

Commit 81442fb

Browse files
committed
Added context about behavior of security options
1 parent 2669167 commit 81442fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/guided-workshop/exercises/1-code-scanning.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Public repositories on GitHub automatically have Dependabot alerts. This feature
3333

3434
You have now enabled Dependabot alerts and security updates! Should an insecure library be detected, you will both receive an alert, and Dependabot will create a new pull request to update the version number to a secure version of the library.
3535

36+
> **IMPORTANT:** After enabling Dependabot security updates you may notice new [pull requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) created for potentially outdated packages. For this workshop you can ignore these pull requests.
37+
3638
## Secret scanning
3739

3840
Many developers have checked in code with a token or username and passwords. Sometimes this is because the developer was trying to take a shortcut, sometimes it was because they didn't know the proper mechanism to secure the key, and sometimes it was done under the assumption they'll clean it up later but never do.
@@ -59,7 +61,7 @@ There is a direct relationship between the amount of code an organization create
5961
6062
### Enabling code scanning
6163

62-
Let's enable Code scanning to detect vulnerabilities in our source code.
64+
Let's enable Code scanning to detect vulnerabilities in our source code. We're going to use the default implementation, which runs whenever code is pushed to `main` or a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) is made to `main`. It will also run on a set schedule to ensure any newly discovered potential vulnerabilities are detected.
6365

6466
1. On the same page (**Settings** > **Code security and analysis**), towards the very bottom, locate the **Code scanning** section.
6567
1. Next to **CodeQL analysis**, select **Set up** > **Default**.

0 commit comments

Comments
 (0)