Skip to content

Commit 427eadb

Browse files
Merge pull request #49518 from ShawnKupfer/WB1716
AB#1023963: Top 5 security items to consider before pushing to produc…
2 parents 25af1d7 + 6fe19a1 commit 427eadb

14 files changed

+87
-86
lines changed

learn-pr/advocates/top-5-security-items-to-consider/1-introduction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Introduction
66
description: Introduction
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 2
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/2-azure-security-center.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Microsoft Defender for Cloud
66
description: Microsoft Defender for Cloud
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 15
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/3-inputs-and-outputs.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Inputs and Outputs
66
description: Inputs and Outputs
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 10
1212
content: |
@@ -15,44 +15,44 @@ quiz:
1515
title: Check your knowledge
1616
questions:
1717

18-
- content: 'Which of the following data sources need to be validated?'
18+
- content: "Which of the following data sources need to be validated?"
1919
choices:
20-
- content: 'Data from a 3rd party API'
20+
- content: "Data from a third-party API"
2121
isCorrect: false
22-
explanation: 'This is just one of many sources that needs to be validated.'
23-
- content: 'Data from the URL parameter'
22+
explanation: "This is just one of many sources that needs to be validated."
23+
- content: "Data from the URL parameter"
2424
isCorrect: false
25-
explanation: 'This is just one of many sources that needs to be validated'
26-
- content: 'Data collected from the user via an input field'
25+
explanation: "This is just one of many sources that needs to be validated."
26+
- content: "Data collected from the user via an input field"
2727
isCorrect: false
28-
explanation: 'This is just one of many sources that needs to be validated.'
29-
- content: 'All of the above'
28+
explanation: "This is just one of many sources that needs to be validated."
29+
- content: "All of the above"
3030
isCorrect: true
31-
explanation: 'All these sources of data need to be validated. Never trust any data that could have been modified.'
31+
explanation: "All these sources of data need to be validated. Never trust any data that could have been modified."
3232

33-
- content: 'Parameterized queries (stored procedures in SQL) are a secure way to talk to the database because:'
33+
- content: "Parameterized queries (stored procedures in SQL) are a secure way to talk to the database because:"
3434
choices:
35-
- content: 'They're more organized than inline database commands, and therefore less confusing for users.'
35+
- content: "They're more organized than inline database commands, and therefore less confusing for users."
3636
isCorrect: false
37-
explanation: 'Organization of the code is not the reason that parameterized queries are more secure than inline SQL.'
38-
- content: 'There's a clear outline of the script in the stored procedure, ensuring better visibility.'
37+
explanation: "Organization of the code isn't the reason that parameterized queries are more secure than inline SQL."
38+
- content: "There's a clear outline of the script in the stored procedure, ensuring better visibility."
3939
isCorrect: false
40-
explanation: 'Clear outline of the script is not the reason that parameterized queries are more secure than inline SQL.'
41-
- content: 'Parameterized queries substitute variables before running queries, meaning it avoids the opportunity for code to be submitted in place of a variable.'
40+
explanation: "Clear outline of the script isn't the reason that parameterized queries are more secure than inline SQL."
41+
- content: "Parameterized queries substitute variables before running queries, meaning it avoids the opportunity for code to be submitted in place of a variable."
4242
isCorrect: true
43-
explanation: 'Parameter fields used in parameterized queries are treated as data, not code, protecting against injection vulnerabilities. For more information on how to implement parameterized queries please see the [OWASP Query Parameterization Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Query_Parameterization_Cheat_Sheet.html).'
43+
explanation: "Parameter fields used in parameterized queries are treated as data, not code, protecting against injection vulnerabilities. For more information on how to implement parameterized queries please see the [OWASP Query Parameterization Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Query_Parameterization_Cheat_Sheet.html)."
4444

45-
- content: 'Which of the following data needs to be output encoded?'
45+
- content: "Which of the following data needs to be output encoded?"
4646
choices:
47-
- content: 'Data saved to the database'
47+
- content: "Data saved to the database"
4848
isCorrect: false
49-
explanation: 'Although data saved to the database needs to be validated to ensure the data is good, we don't need to encode it for output.'
50-
- content: 'Data to be output to the screen'
49+
explanation: "Although data saved to the database needs to be validated to ensure the data is good, we don't need to encode it for output."
50+
- content: "Data to be output to the screen"
5151
isCorrect: true
52-
explanation: 'Data sent to the screen needs to be output encoded to ensure it's never interpreted as code.'
53-
- content: 'Data sent to a 3rd party API'
52+
explanation: "Data sent to the screen needs to be output encoded to ensure it's never interpreted as code."
53+
- content: "Data sent to a third-party API"
5454
isCorrect: false
55-
explanation: 'Although data sent to a 3rd party API needs to be validated to ensure the data is good, we don't need to encode it for output.'
56-
- content: 'Data in the URL parameters'
55+
explanation: "Although data sent to a third-party API needs to be validated to ensure the data is good, we don't need to encode it for output."
56+
- content: "Data in the URL parameters"
5757
isCorrect: false
58-
explanation: 'Although data from URL Parameters needs to be validated before it's used in our application, we don't need to encode it for output.'
58+
explanation: "Although data from URL Parameters needs to be validated before it's used in our application, we don't need to encode it for output."

learn-pr/advocates/top-5-security-items-to-consider/4-secrets-in-key-vault.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Secrets in Key Vault
66
description: Secrets in Key Vault
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 5
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/5-framework-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Framework Updates
66
description: Framework Updates
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 7
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/6-safe-dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Safe Dependencies
66
description: Safe Dependencies
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 5
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/7-conclusion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
title: Conclusion
66
description: Conclusion
77
author: patridge
8-
ms.author: adpatrid
9-
ms.date: 05/26/2023
8+
ms.author: robmcm
9+
ms.date: 03/14/2025
1010
ms.topic: unit
1111
durationInMinutes: 1
1212
content: |

learn-pr/advocates/top-5-security-items-to-consider/includes/2-azure-security-center.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Defender for Cloud is part of the [Center for Internet Security](https://www.cis
1515

1616
## Activating Microsoft Defender for Cloud
1717

18-
Microsoft Defender for Cloud provides unified security management and advanced threat protection for hybrid cloud workloads and is offered in several plans. The Foundational Cloud Security Posture Management (CSPM) plan, which is free and activated by default provides security policies, assessments, and recommendations. The Defender CSPM plan provides a robust set of features, including threat intelligence. There are also plans for Servers, App Service, and more.
18+
Microsoft Defender for Cloud provides unified security management and advanced threat protection for hybrid cloud workloads, and is offered in several plans. The Foundational Cloud Security Posture Management (CSPM) plan, which is free and activated by default provides security policies, assessments, and recommendations. The Defender CSPM plan provides a robust set of features, including threat intelligence. There are also plans for Servers, App Service, and more.
1919

20-
Given the benefits of Defender for Cloud, the security team at your company has decided that it will be turned on for all subscriptions at your office. You got an email this morning to turn it on for your applications, so let's look at how to do that.
20+
Given the benefits of Defender for Cloud, your company's security team has decided to turn it on for all subscriptions at your office. You got an email this morning to turn it on for your applications, so let's look at how to do that.
2121

2222
> [!IMPORTANT]
2323
> Microsoft Defender for Cloud is not supported in the free Azure sandbox. You can perform these steps in your own subscription, or just follow along to understand how to activate Defender for Cloud.
@@ -26,7 +26,7 @@ Given the benefits of Defender for Cloud, the security team at your company has
2626

2727
![Screenshot showing the All services pane with Defender for Cloud highlighted.](../media/2-ASC-Menu.png)
2828

29-
1. If you've never opened Defender for Cloud, the pane will start on the **Getting started** entry which might ask you to upgrade your subscription. Ignore that for now; select **Skip** at the bottom of the page, then select **Overview**.
29+
1. If you've never opened Defender for Cloud, the pane starts on the **Getting started** entry, which might ask you to upgrade your subscription. Ignore that for now; select **Skip** at the bottom of the page, then select **Overview**.
3030
- This will display the "big security picture" across all the elements available in your subscription.
3131
- This has a ton of great information you can explore.
3232

@@ -36,7 +36,7 @@ Given the benefits of Defender for Cloud, the security team at your company has
3636

3737
### Foundational CSPM vs. Defender CSPM pricing tier
3838

39-
While you can use a free Azure subscription tier with Defender for Cloud, it's limited to assessments and recommendations of Azure resources only. To really leverage Defender for Cloud, you will need to upgrade to a Defender CSPM subscription as shown previously. You can upgrade your subscription through the **Upgrade** button on the **Getting Started** pane in the Defender for Cloud menu, which will walk you through changing your subscription level. The pricing and features may change based on the region, you can get a full overview on the [pricing page](https://azure.microsoft.com/pricing/details/security-center/).
39+
Although you can use a free Azure subscription tier with Defender for Cloud, it's limited to assessments and recommendations of Azure resources only. To really leverage Defender for Cloud, you'll need to upgrade to a Defender CSPM subscription as shown previously. You can upgrade your subscription through the **Upgrade** button on the **Getting Started** pane in the Defender for Cloud menu, which will walk you through changing your subscription level. The pricing and features might change based on the region; you can get a full overview on the [pricing page](https://azure.microsoft.com/pricing/details/defender-for-cloud/).
4040

4141
> [!NOTE]
4242
> To upgrade a subscription to the Defender CSPM tier, you must be assigned the role of Subscription Owner, Subscription Contributor, or Security Admin.
@@ -46,22 +46,22 @@ While you can use a free Azure subscription tier with Defender for Cloud, it's l
4646
4747
## Turning off Microsoft Defender for Cloud
4848

49-
For production systems, you definitely want to keep Microsoft Defender for Cloud turned on so it can monitor all your resources for threats. However, if you're just playing with Defender for Cloud and turned it on, you will likely want to disable it to ensure you're not charged. Let's do that now.
49+
For production systems, you definitely want to keep Microsoft Defender for Cloud turned on so it can monitor all your resources for threats. However, if you're just playing with Defender for Cloud and turned it on, you'll likely want to disable it to ensure you're not charged. Let's do that now.
5050

5151
1. Open the [Azure portal](https://portal.azure.com?azure-portal=true) and select **Microsoft Defender for Cloud** from the left-hand menu. If you don't see it there, you can select **All services** and find **Microsoft Defender for Cloud** in the security section as shown in the following image:
5252

5353
![Screenshot showing the All services pane with Defender for Cloud highlighted.](../media/2-ASC-Menu.png)
5454

55-
1. Select **Environment settings** from the left-hand menu.
55+
1. Select **Environment settings** under **Management** in the left-hand menu.
5656

57-
1. Next, select the ellipses next to the subscription for which you want to downgrade, then select **Edit settings**.
57+
1. Next, select the ellipses next to the subscription you want to downgrade, then select **Edit settings**.
5858

5959
1. A new page will appear that looks like the image below. Toggle the **Defender CSPM** plan to **Off**.
6060

6161
![Screenshot showing Foundational CSPM and Defender CSPM options.](../media/2-Pricing-Tier.png)
6262

63-
1. Press the **Save** button at the top of the screen.
63+
1. Select the **Save** button at the top of the screen.
6464

65-
You have now downgraded your subscription to the free tier of Microsoft Defender for Cloud.
65+
You've now downgraded your subscription to the free tier of Microsoft Defender for Cloud.
6666

67-
Congratulations, you have taken your first (and most important) step to securing your application, data and network!
67+
Congratulations, you've taken your first (and most important) step to securing your application, data and network!

0 commit comments

Comments
 (0)