Skip to content

Commit ff64229

Browse files
gituliscajc-clark
andauthored
Add warning informing that codeql debug artifacts contain source code copy (#54565)
Co-authored-by: Joe Clark <[email protected]>
1 parent b1c7ab8 commit ff64229

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

content/code-security/code-scanning/troubleshooting-code-scanning/logs-not-detailed-enough.md

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ You can enable step debug logging in {% data variables.product.prodname_actions
1919

2020
## Creating {% data variables.product.prodname_codeql %} debugging artifacts
2121

22+
> [!WARNING]
23+
> {% data variables.product.prodname_codeql %} debugging artifacts contain a copy of the source code being analyzed by {% data variables.product.prodname_codeql %}, therefore we suggest sharing these bundles only with people who are authorized to access that source code.
24+
2225
You can obtain artifacts to help you debug {% data variables.product.prodname_codeql %}.
2326
The debug artifacts will be uploaded to the workflow run as an artifact named `debug-artifacts`. The data contains the {% data variables.product.prodname_codeql %} logs, {% data variables.product.prodname_codeql %} database(s), extracted source code files, and any SARIF file(s) produced by the workflow. For more information about downloading {% data variables.product.prodname_codeql %} artifacts, see [AUTOTITLE](/actions/managing-workflow-runs/downloading-workflow-artifacts).
2427

content/code-security/codeql-cli/codeql-cli-manual/database-bundle.md

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ redirect_from:
2121

2222
{% data reusables.codeql-cli.man-pages-version-note %}
2323

24+
{% data reusables.code-scanning.codeql-database-archive-contains-source-code %}
25+
2426
## Synopsis
2527

2628
```shell copy

content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-database-bundle-for-troubleshooting.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ topics:
1313
- CodeQL
1414
---
1515

16-
> [!WARNING]
17-
> {% data variables.product.prodname_codeql_cli %} database bundles contain a copy of the source code being analyzed by {% data variables.product.prodname_codeql %}, therefore we suggest sharing these bundles only with people who are authorized to access that source code.
16+
{% data reusables.code-scanning.codeql-database-archive-contains-source-code %}
1817

1918
## About creating {% data variables.product.prodname_codeql_cli %} database bundles
2019

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!WARNING]
2+
> {% data variables.product.prodname_codeql_cli %} database bundles contain a copy of the source code being analyzed by {% data variables.product.prodname_codeql %}, therefore we suggest sharing these bundles only with people who are authorized to access that source code.

0 commit comments

Comments
 (0)