Skip to content

Commit ac5d9f6

Browse files
author
David Curwin
committed
changes from Yishay
1 parent e088df3 commit ac5d9f6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

articles/defender-for-cloud/how-to-test-attack-path-and-security-explorer-with-vulnerable-container-image.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ After you completed testing the attack path, investigate the created attack path
129129
130130
```docker
131131
docker pull alpine
132-
docker tag alpine <LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REGISTRY>/<REPOSITORY>/ mdc-mock-0001
133-
docker push <LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REGISTRY>/<REPOSITORY>/ mdc-mock-0001
132+
docker tag alpine <LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REGISTRY>/<REPOSITORY>/mdc-mock-0001
133+
docker push <LOCATION>-docker.pkg.dev/<PROJECT_ID>/<REGISTRY>/<REPOSITORY>/mdc-mock-0001
134134
```
135135
136136
1. Go to the GCP portal. Then go to **Kubernetes Engine** > **Clusters**. Select the **Connect** button.
@@ -146,19 +146,13 @@ After you completed testing the attack path, investigate the created attack path
146146
kubectl get nodes
147147
```
148148
149-
1. Install the [ngnix ingress Controller](https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/) :
150-
151-
```azurecli
152-
helm install ingress-controller oci://ghcr.io/nginxinc/charts/nginx-ingress --version 1.0.1
153-
```
154-
155149
1. To install the Helm chart, follow these steps:
156150
157151
1. Under **Artifact registry** in the portal, go to the repository, and find the image URI under **Pull by digest**.
158152
1. Use the following command to install the Helm chart:
159153
160154
```gcloud-cli
161-
helm install dcspmcharts oci://dcspmtesting.azurecr.io/multi-cloud/dcspmcharts --version 1.0.0 --namespace mdc-dcspm-demo --create-namespace --set image=<IMAGE_URI> --set distribution=GCP
155+
helm install dcspmcharts oci:/mcr.microsoft.com/mdc/stable/dcspmcharts --version 1.0.0 --namespace mdc-dcspm-demo --create-namespace --set image=<IMAGE_URI> --set distribution=GCP
162156
```
163157
164158
The Helm chart deploys resources onto your cluster that can be used to infer attack paths. It also includes the vulnerable image.

0 commit comments

Comments
 (0)