You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/advanced-security/enabling-github-advanced-security-for-your-enterprise.md
+32-8Lines changed: 32 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ When you enable {% data variables.product.prodname_GH_advanced_security %} for y
33
33
34
34
- {% data variables.product.prodname_code_scanning_capc %}, see "[Configuring {% data variables.product.prodname_code_scanning %} for your appliance](/admin/advanced-security/configuring-code-scanning-for-your-appliance#prerequisites-for-code-scanning)."
35
35
- {% data variables.product.prodname_secret_scanning_caps %}, see "[Configuring {% data variables.product.prodname_secret_scanning %} for your appliance](/admin/advanced-security/configuring-secret-scanning-for-your-appliance#prerequisites-for-secret-scanning)."{% endif %}
36
+
- {% data variables.product.prodname_dependabot %}, see "[Enabling alerts for vulnerable dependencies on {% data variables.product.prodname_ghe_server %}](/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud/enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server)."
36
37
37
38
## Checking whether your license includes {% data variables.product.prodname_GH_advanced_security %}
38
39
@@ -72,22 +73,45 @@ When {% data variables.product.product_name %} has finished restarting, you're r
72
73
73
74
You can enable or disable features programmatically on {% data variables.product.product_location %}. For more information about the administrative shell and command-line utilities for {% data variables.product.prodname_ghe_server %}, see "[Accessing the administrative shell (SSH)](/admin/configuration/accessing-the-administrative-shell-ssh)" and "[Command-line utilities](/admin/configuration/command-line-utilities#ghe-config)."
74
75
75
-
For example, you can enable {% data variables.product.prodname_code_scanning %} with your infrastructure-as-code tooling when you deploy an instance for staging or disaster recovery.
76
+
For example, you can enable any {% data variables.product.prodname_GH_advanced_security %} feature with your infrastructure-as-code tooling when you deploy an instance for staging or disaster recovery.
76
77
77
78
1. SSH into {% data variables.product.product_location %}.
78
-
1. Enable {% data variables.product.prodname_code_scanning %}.
79
+
1. Enable features for {% data variables.product.prodname_GH_advanced_security %}.
80
+
81
+
- To enable {% data variables.product.prodname_code_scanning_capc %}, enter the following commands.
82
+
79
83
```shell
80
84
ghe-config app.minio.enabled true
81
-
ghe-config app.code-scanning.enabled true
85
+
ghe-config app.code-scanning.enabled true
86
+
```
87
+
- To enable {% data variables.product.prodname_secret_scanning_caps %}, enter the following command.
88
+
89
+
```shell
90
+
ghe-config app.secret-scanning.enabled true
91
+
```
92
+
- To enable {% data variables.product.prodname_dependabot %}, enter the following commands.
{% ifversion ghes > 2.22 %}To enable and disable {% data variables.product.prodname_secret_scanning %} in the same way, set: `ghe-config app.secret-scanning.enabled`true or false and apply the configuration.{% endif %}
0 commit comments