diff --git a/content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md b/content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md index 1b26047eb687..18b6a7aa8ffa 100644 --- a/content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md +++ b/content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md @@ -78,11 +78,12 @@ Compiled languages are not automatically included in default setup configuration {% ifversion ghas-products %} - ![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) + ![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) + {% else %} - ![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) + ![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) {% endif %} diff --git a/data/reusables/repositories/code-scanning-enable.md b/data/reusables/repositories/code-scanning-enable.md index 9a305aabac01..e88d0036e0b1 100644 --- a/data/reusables/repositories/code-scanning-enable.md +++ b/data/reusables/repositories/code-scanning-enable.md @@ -1,4 +1,3 @@ {% ifversion ghas-products %} -1. To the right of "{% data variables.product.prodname_code_security %}", click **Enable**. 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 %} 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 %} diff --git a/data/variables/product.yml b/data/variables/product.yml index bf0c3c3bc360..c053265906ce 100644 --- a/data/variables/product.yml +++ b/data/variables/product.yml @@ -203,7 +203,7 @@ prodname_GH_cs_and_sp: '{% ifversion ghas-products %}GitHub Secret Protection an ## Short or UI names prodname_AS: 'Advanced Security' -prodname_code_security: '{% ifversion ghas-products %}Code Security{% else %}Advanced Security{% endif %}' +prodname_code_security: '{% ifversion ghas-products %}Code Scanning{% else %}Advanced Security{% endif %}' prodname_secret_protection: '{% ifversion ghas-products %}Secret Protection{% else %}Advanced Security{% endif %}' prodname_cs_or_sp: '{% ifversion ghas-products %}Secret Protection or Code Security{% else %}Advanced Security{% endif %}' prodname_cs_and_sp: '{% ifversion ghas-products %}Secret Protection and Code Security{% else %}Advanced Security{% endif %}'