Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit b30ddfd

Browse files
committed
Refresh dependency risk steps
- Avoids the known mis-reporting of Python's hashlib
1 parent 68698fa commit b30ddfd

11 files changed

+26
-12
lines changed

docs/quickstart-continue.mdx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ Learn more in [Secrets encryption](./features/secrets-encryption.md).
204204

205205
### Assess dependency risk
206206

207-
Open the `python/app.py` file from the demo repo in the VS Code editor and
208-
examine the import statements at the top. As with the previous step, type
209-
`@Files`, this time selecting the `python/app.py` file to add it to your prompt.
210-
Then ask Continue to analyze the file.
207+
Open the `javascript/App.js` file from the demo repo in the VS Code editor and
208+
examine the `require` statements at the top. In the VS Code file browser,
209+
right-click the file and choose **Select Files as Context**. Then ask Continue
210+
to review the file.
211211

212212
```plain title="Continue chat"
213-
@app.py Please analyze this file
213+
@App.js Review this file
214214
```
215215

216216
Using its up-to-date knowledge from
@@ -242,7 +242,14 @@ AI assistant and the LLM. Several alerts and prompts from the previous steps in
242242
this tutorial should be visible now. Over time, this helps you understand how
243243
CodeGate is actively protecting your privacy and security.
244244

245-
![CodeGate dashboard](/img/quickstart/quickstart-dashboard.webp)
245+
<ThemedImage
246+
alt='CodeGate dashboard'
247+
sources={{
248+
light: useBaseUrl('/img/quickstart/quickstart-dashboard-light.webp'),
249+
dark: useBaseUrl('/img/quickstart/quickstart-dashboard-dark.webp'),
250+
}}
251+
width={'1000px'}
252+
/>
246253

247254
## Next steps
248255

docs/quickstart-copilot.mdx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ Learn more in [Secrets encryption](./features/secrets-encryption.md).
172172

173173
### Assess dependency risk
174174

175-
Open the `python/app.py` file from the demo repo in the VS Code editor. Confirm
176-
that it's now the active context file in Copilot.
175+
Open the `javascript/App.js` file from the demo repo in the VS Code editor.
176+
Confirm that it's now the active context file in Copilot.
177177

178178
<ThemedImage
179179
alt='Copilot chat showing the current file selected'
@@ -185,13 +185,13 @@ that it's now the active context file in Copilot.
185185
'/img/quickstart/quickstart-copilot-dependencies-context-dark.webp'
186186
),
187187
}}
188-
width={'481px'}
188+
width={'450px'}
189189
/>
190190

191191
Enter the following prompt into the chat:
192192

193193
```plain title="Copilot chat"
194-
Analyze this file
194+
Review this file
195195
```
196196

197197
Using its up-to-date knowledge from
@@ -208,7 +208,7 @@ malicious and deprecated packages referenced in the code.
208208
'/img/quickstart/quickstart-copilot-dependencies-result-dark.webp'
209209
),
210210
}}
211-
width={'800px'}
211+
width={'820px'}
212212
/>
213213

214214
Learn more in [Dependency risk awareness](./features/dependency-risk.md).
@@ -223,7 +223,14 @@ AI assistant and the LLM. Several alerts and prompts from the previous steps in
223223
this tutorial should be visible now. Over time, this helps you understand how
224224
CodeGate is actively protecting your privacy and security.
225225

226-
![CodeGate dashboard](/img/quickstart/quickstart-dashboard.webp)
226+
<ThemedImage
227+
alt='CodeGate dashboard'
228+
sources={{
229+
light: useBaseUrl('/img/quickstart/quickstart-dashboard-light.webp'),
230+
dark: useBaseUrl('/img/quickstart/quickstart-dashboard-dark.webp'),
231+
}}
232+
width={'1000px'}
233+
/>
227234

228235
## Next steps
229236

10.8 KB
Loading
14.6 KB
Loading
-790 Bytes
Loading
-1016 Bytes
Loading
-38.7 KB
Loading
-32.5 KB
Loading
223 KB
Loading
256 KB
Loading

0 commit comments

Comments
 (0)