Skip to content

Commit 7f61383

Browse files
authored
Merge branch 'main' into repo-sync
2 parents c68f984 + 21cb630 commit 7f61383

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ You can check a SARIF file is compatible with {% data variables.product.prodname
8383

8484
If you use a code analysis engine other than {% data variables.product.prodname_codeql %}, you can review the supported SARIF properties to optimize how your analysis results will appear on {% data variables.product.prodname_dotcom %}.
8585

86+
{% note %}
87+
88+
**Note:** You must supply an explicit value for any property marked as "required". The empty string is not supported for required properties.
89+
90+
{% endnote %}
91+
8692
Any valid SARIF 2.1.0 output file can be uploaded, however, {% data variables.product.prodname_code_scanning %} will only use the following supported properties.
8793

8894
### `sarifLog` object
@@ -210,7 +216,7 @@ These example SARIF output files show supported properties and example values.
210216

211217
### Example with minimum required properties
212218

213-
This SARIF output file has example values to show the minimum required properties for {% data variables.product.prodname_code_scanning %} results to work as expected. If you remove any properties or don't include values, this data will not be displayed correctly or sync on {% data variables.product.prodname_dotcom %}.
219+
This SARIF output file has example values to show the minimum required properties for {% data variables.product.prodname_code_scanning %} results to work as expected. If you remove any properties, omit values, or use an empty string, this data will not be displayed correctly or sync on {% data variables.product.prodname_dotcom %}.
214220

215221
```json
216222
{

0 commit comments

Comments
 (0)