Skip to content

Commit df28a94

Browse files
Updates to configuring default setup for a repository section in configuring-default-setup-for-code-scanning.md (#40799)
Co-authored-by: Sharra-writes <sharra-writes@github.com>
1 parent 4f32b59 commit df28a94

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,12 @@ Compiled languages are not automatically included in default setup configuration
7878

7979
{% ifversion ghas-products %}
8080

81-
![Screenshot of the "{% data variables.product.UI_code_security_scanning %}" section of "{% data variables.product.UI_advanced_security %}" settings. The "Default setup" button is highlighted with an orange outline.](/assets/images/help/security/default-code-scanning-setup.png)
81+
![Screenshot of the "{% data variables.product.prodname_code_scanning_caps %}" section of "{% data variables.product.UI_advanced_security %}" settings. The "Default setup" button is highlighted with an orange outline.](/assets/images/help/security/default-code-scanning-setup-ghas.png)
82+
8283

8384
{% else %}
8485

85-
![Screenshot of the "{% data variables.product.prodname_code_scanning_caps %}" section of "{% data variables.product.UI_advanced_security %}" settings. The "Default setup" button is highlighted with an orange outline.](/assets/images/help/security/default-code-scanning-setup-ghas.png)
86+
![Screenshot of the "{% data variables.product.UI_code_security_scanning %}" section of "{% data variables.product.UI_advanced_security %}" settings. The "Default setup" button is highlighted with an orange outline.](/assets/images/help/security/default-code-scanning-setup.png)
8687

8788
{% endif %}
8889

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{% ifversion ghas-products %}
2-
1. To the right of "{% data variables.product.prodname_code_security %}", click **Enable**.
32
1. Under "{% data variables.product.prodname_code_security %}", to the right of "{% data variables.product.prodname_codeql %} analysis", select **Set up** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %}, then click **Default**.{% else %}
43
1. In the "{% data variables.product.prodname_code_scanning_caps %}" section, select **Set up** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %}, then click **Default**.{% endif %}

data/variables/product.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ prodname_GH_cs_and_sp: '{% ifversion ghas-products %}GitHub Secret Protection an
203203

204204
## Short or UI names
205205
prodname_AS: 'Advanced Security'
206-
prodname_code_security: '{% ifversion ghas-products %}Code Security{% else %}Advanced Security{% endif %}'
206+
prodname_code_security: '{% ifversion ghas-products %}Code Scanning{% else %}Advanced Security{% endif %}'
207207
prodname_secret_protection: '{% ifversion ghas-products %}Secret Protection{% else %}Advanced Security{% endif %}'
208208
prodname_cs_or_sp: '{% ifversion ghas-products %}Secret Protection or Code Security{% else %}Advanced Security{% endif %}'
209209
prodname_cs_and_sp: '{% ifversion ghas-products %}Secret Protection and Code Security{% else %}Advanced Security{% endif %}'

0 commit comments

Comments
 (0)