Skip to content

Commit 99fb01a

Browse files
Merge pull request #239565 from dcurwin/alert-validation-may29-2023
Alert validation
2 parents eaabd3c + 2f2a66b commit 99fb01a

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

articles/defender-for-cloud/alert-validation.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Alert validation in Microsoft Defender for Cloud
33
description: Learn how to validate that your security alerts are correctly configured in Microsoft Defender for Cloud
44
ms.topic: how-to
5-
ms.date: 05/23/2023
5+
ms.date: 05/29/2023
66
ms.author: dacurwin
77
author: dcurwin
88
---
@@ -22,7 +22,7 @@ To receive all the alerts, your machines and the connected Log Analytics workspa
2222

2323
## Generate sample security alerts
2424

25-
If you're using the new, preview alerts experience as described in [Manage and respond to security alerts in Microsoft Defender for Cloud](managing-and-responding-alerts.md), you can create sample alerts from the security alerts page in the Azure portal.
25+
If you're using the new preview alerts experience as described in [Manage and respond to security alerts in Microsoft Defender for Cloud](managing-and-responding-alerts.md), you can create sample alerts from the security alerts page in the Azure portal.
2626

2727
Use sample alerts to:
2828

@@ -33,16 +33,16 @@ To create sample alerts:
3333

3434
1. As a user with the role **Subscription Contributor**, from the toolbar on the security alerts page, select **Sample alerts**.
3535
1. Select the subscription.
36-
1. Select the relevant Microsoft Defender plan/s for which you want to see alerts.
36+
1. Select the relevant Microsoft Defender plan/s for which you want to see alerts.
3737
1. Select **Create sample alerts**.
3838

3939
:::image type="content" source="media/alert-validation/create-sample-alerts-procedures.png" alt-text="Screenshot showing steps to create sample alerts in Microsoft Defender for Cloud." lightbox="media/alert-validation/create-sample-alerts-procedures.png":::
40-
40+
4141
A notification appears letting you know that the sample alerts are being created:
4242

4343
:::image type="content" source="media/alert-validation/notification-sample-alerts-creation.png" alt-text="Screenshot showing notification that the sample alerts are being generated." lightbox="media/alert-validation/notification-sample-alerts-creation.png":::
4444

45-
After a few minutes, the alerts appear in the security alerts page. They'll also appear anywhere else that you've configured to receive your Microsoft Defender for Cloud security alerts (connected SIEMs, email notifications, and so on).
45+
After a few minutes, the alerts appear in the security alerts page. They also appear anywhere else that you've configured to receive your Microsoft Defender for Cloud security alerts (connected SIEMs, email notifications, and so on).
4646

4747
:::image type="content" source="media/alert-validation/sample-alerts.png" alt-text="Screenshot showing sample alerts in the security alerts list." lightbox="media/alert-validation/sample-alerts.png":::
4848

@@ -92,9 +92,9 @@ You can simulate alerts for both of the control plane, and workload alerts with
9292
- **ARC only** - Ensure the Defender extension is installed.
9393
- **EKS or GKE only** - Ensure the default audit log collection auto-provisioning options are enabled.
9494

95-
**To simulate a Kubernetes control plane security alert**:
95+
**To simulate a Kubernetes control plane security alert**:
9696

97-
1. Run the following command from the cluster:
97+
1. Run the following command from the cluster:
9898

9999
```bash
100100
kubectl get pods --namespace=asc-alerttest-662jfi039n
@@ -106,19 +106,19 @@ You can simulate alerts for both of the control plane, and workload alerts with
106106
107107
1. In the Azure portal, navigate to the Defender for Cloud's security alerts page.
108108

109-
1. On the relevant Kubernetes cluster, locate the following alert `Microsoft Defender for Cloud test alert for K8S (not a threat)`
109+
1. On the relevant Kubernetes cluster, locate the following alert `Microsoft Defender for Cloud test alert for K8S (not a threat)`
110110

111111
### Simulate workload alerts (K8S.NODE_ prefix)
112112

113113
**Prerequisites**
114114

115115
- Ensure the Defender for Containers plan is enabled.
116-
- Ensure the Defender profile\extension is installed.
116+
- Ensure the Defender profile\extension is installed.
117117

118118
**To simulate a a Kubernetes workload security alert**:
119-
119+
120120
1. Create a pod to run a test command on. This pod can be any of the existing pods in the cluster, or a new pod. You can create using this sample yaml configuration:
121-
121+
122122
```yaml
123123
apiVersion: v1
124124
kind: Pod
@@ -133,7 +133,7 @@ You can simulate alerts for both of the control plane, and workload alerts with
133133
```
134134

135135
To create the pod run:
136-
136+
137137
```bash
138138
kubectl apply -f <path_to_the_yaml_file>
139139
```
@@ -156,19 +156,19 @@ You can simulate alerts for both of the control plane, and workload alerts with
156156
157157
You can also learn more about defending your Kubernetes nodes and clusters with [Microsoft Defender for Containers](defender-for-containers-introduction.md).
158158
159-
### Simulate alerts for App Service
159+
## Simulate alerts for App Service
160160
161161
You can simulate alerts for resources running on [App Service](/azure/app-service/overview).
162162
163-
1. Create a new website and wait 24 hours for it to be registered with Defender for Cloud, or use an existing web site.
163+
1. Create a new website and wait 24 hours for it to be registered with Defender for Cloud, or use an existing web site.
164164
165165
1. Once the web site is created, access it using the following URL:
166-
1. Open the app service resource blade and copy the domain for the URL from the default domain field.
167-
166+
1. Open the app service resource pane and copy the domain for the URL from the default domain field.
167+
168168
:::image type="content" source="media/alert-validation/copy-default-domain.png" alt-text="Screenshot showing where to copy the default domain." lightbox="media/alert-validation/copy-default-domain.png":::
169169
170170
1. Copy the website name into the URL: `https://<website name>.azurewebsites.net/This_Will_Generate_ASC_Alert`.
171-
1. An alert is generated within about 1-2 hours.
171+
1. An alert is generated within about 1-2 hours.
172172
173173
## Next steps
174174
86.5 KB
Loading

0 commit comments

Comments
 (0)