9.1 KiB
title, intro, permissions, versions, type, topics, shortTitle
| title | intro | permissions | versions | type | topics | shortTitle | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Securing your organization | You can use a number of {% data variables.product.prodname_dotcom %} features to help keep your organization secure. | Organization owners can configure organization security settings. |
|
how_to |
|
Secure your organization |
Introduction
This guide shows you how to configure security features for an organization. Your organization's security needs are unique and you may not need to enable every security feature. For more information, see "{% data variables.product.prodname_dotcom %} security features."
Some security features are only available {% ifversion fpt %}for public repositories, and for private repositories owned by organizations with {% else %}if you have {% endif %}an {% data variables.product.prodname_advanced_security %} license. {% data reusables.advanced-security.more-info-ghas %}
Managing access to your organization
You can use permission levels to control what actions people can take in your organization. For more information, see "Roles for an organization."
{% ifversion fpt or ghes > 3.0 or ghae-next %}
Creating a default security policy
You can create a default security policy that will display in any of your organization's public repositories that do not have their own security policy. For more information, see "Creating a default community health file."
{% endif %}
{% ifversion fpt or ghes > 2.22 %}
Managing {% data variables.product.prodname_dependabot_alerts %} and the dependency graph
By default, {% data variables.product.prodname_dotcom %} detects vulnerabilities in public repositories and generates {% data variables.product.prodname_dependabot_alerts %} and a dependency graph. You can enable or disable {% data variables.product.prodname_dependabot_alerts %} and the dependency graph for all repositories owned by your organization.
- Click your profile photo, then click Organizations.
- Click Settings next to your organization.
- Click Security & analysis.
- Click Enable all or Disable all next to the feature that you want to manage.
- Optionally, select Automatically enable for new repositories.
For more information, see "About alerts for vulnerable dependencies," "Exploring the dependencies of a repository," and "Managing security and analysis settings for your organization."
{% endif %}
{% ifversion fpt or ghes > 3.1 %}
Managing dependency review
Dependency review lets you visualize dependency changes in pull requests before they are merged into your repositories. Dependency review is available in all public repositories and in repositories owned by organizations with an {% data variables.product.prodname_advanced_security %} license that have the dependency graph enabled. For more information, see "About dependency review."
{% endif %}
{% ifversion fpt %}
Managing {% data variables.product.prodname_dependabot_security_updates %}
For any repository that uses {% data variables.product.prodname_dependabot_alerts %}, you can enable {% data variables.product.prodname_dependabot_security_updates %} to raise pull requests with security updates when vulnerabilities are detected. You can also enable or disable {% data variables.product.prodname_dependabot_security_updates %} for all repositories across your organization.
- Click your profile photo, then click Organizations.
- Click Settings next to your organization.
- Click Security & analysis.
- Click Enable all or Disable all next to {% data variables.product.prodname_dependabot_security_updates %}.
- Optionally, select Automatically enable for new repositories.
For more information, see "About {% data variables.product.prodname_dependabot_security_updates %}" and "Managing security and analysis settings for your organization."
Managing {% data variables.product.prodname_dependabot_version_updates %}
You can enable {% data variables.product.prodname_dependabot %} to automatically raise pull requests to keep your dependencies up-to-date. For more information, see "About {% data variables.product.prodname_dependabot_version_updates %}."
To enable {% data variables.product.prodname_dependabot_version_updates %}, you must create a dependabot.yml configuration file. For more information, see "Enabling and disabling version updates."
{% endif %}
{% ifversion fpt or ghes > 2.22 or ghae %}
Managing {% data variables.product.prodname_GH_advanced_security %}
If your organization has an {% data variables.product.prodname_advanced_security %} license, you can enable or disable {% data variables.product.prodname_advanced_security %} features.
- Click your profile photo, then click Organizations.
- Click Settings next to your organization.
- Click Security & analysis.
- Click Enable all or Disable all next to {% data variables.product.prodname_GH_advanced_security %}.
- Optionally, select Automatically enable for new private repositories.
For more information, see "About {% data variables.product.prodname_GH_advanced_security %}" and "Managing security and analysis settings for your organization."
Configuring {% data variables.product.prodname_secret_scanning %}
{% data variables.product.prodname_secret_scanning_caps %} is available {% ifversion fpt %}for all public repositories, and for private repositories owned by organizations with {% else %}if you have {% endif %}an {% data variables.product.prodname_advanced_security %} license.
You can enable or disable {% data variables.product.prodname_secret_scanning %} for all repositories across your organization that have {% data variables.product.prodname_advanced_security %} enabled.
- Click your profile photo, then click Organizations.
- Click Settings next to your organization.
- Click Security & analysis.
- Click Enable all or Disable all next to {% data variables.product.prodname_secret_scanning_caps %} ({% data variables.product.prodname_GH_advanced_security %} repositories only).
- Optionally, select Automatically enable for private repositories added to {% data variables.product.prodname_advanced_security %}.
For more information, see "Managing security and analysis settings for your organization."
{% endif %}
Next steps
{% ifversion fpt or ghes > 3.1 or ghae-next %}You can view, filter, and sort security alerts for repositories owned by your organization in the security overview. For more information, see "About the security overview."{% endif %}
You can view and manage alerts from security features to address dependencies and vulnerabilities in your code. For more information, see {% ifversion fpt or ghes > 2.22 %} "Viewing and updating vulnerable dependencies in your repository,"{% endif %} {% ifversion fpt %}"Managing pull requests for dependency updates," {% endif %}"Managing {% data variables.product.prodname_code_scanning %} for your repository," and "Managing alerts from {% data variables.product.prodname_secret_scanning %}."
{% ifversion fpt %}If you have a security vulnerability, you can create a security advisory to privately discuss and fix the vulnerability. For more information, see "About {% data variables.product.prodname_security_advisories %}" and "Creating a security advisory." {% endif %}