Skip to content

Commit fa7cc51

Browse files
authored
Merge pull request #36988 from github/repo-sync
Repo sync
2 parents 331ed35 + 1218d90 commit fa7cc51

File tree

27 files changed

+268
-40
lines changed

27 files changed

+268
-40
lines changed

content/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/best-practices-for-writing-repository-security-advisories.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ intro: 'When you create or edit security advisories, the information you provide
44
versions:
55
fpt: '*'
66
ghec: '*'
7+
permissions: '{% data reusables.permissions.security-repo-enable %}'
78
type: how_to
89
topics:
910
- Security advisories
@@ -14,8 +15,6 @@ redirect_from:
1415
- /code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories
1516
---
1617

17-
Anyone with admin permissions to a public repository can create and edit a security advisory.
18-
1918
{% data reusables.security-advisory.security-researcher-cannot-create-advisory %}
2019

2120
## About security advisories for repositories

content/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/managing-privately-reported-security-vulnerabilities.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managing privately reported security vulnerabilities
33
intro: Repository maintainers can manage security vulnerabilities that have been privately reported to them by security researchers for repositories where private vulnerability reporting is enabled.
4-
permissions: 'Anyone with admin permissions to a repository can see, review, and manage privately-reported vulnerabilities for the repository.'
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
55
versions:
66
fpt: '*'
77
ghec: '*'

content/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ type: how_to
88
topics:
99
- Security advisories
1010
- Vulnerabilities
11+
permissions: '**Anyone** can privately report a security vulnerability to repository maintainers.'
1112
shortTitle: Privately reporting
1213
redirect_from:
1314
- /code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability

content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/browsing-security-advisories-in-the-github-advisory-database.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Browsing security advisories in the GitHub Advisory Database
33
intro: 'You can browse the {% data variables.product.prodname_advisory_database %} to find CVEs and {% data variables.product.prodname_dotcom %}-originated advisories affecting the open source world.'
44
shortTitle: Browse Advisory Database
5+
permissions: '{% data reusables.permissions.global-security-advisories-browse %}'
56
redirect_from:
67
- /github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database
78
- /code-security/supply-chain-security/browsing-security-vulnerabilities-in-the-github-advisory-database

content/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/editing-security-advisories-in-the-github-advisory-database.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Editing security advisories in the GitHub Advisory Database
33
intro: 'You can submit improvements to any advisory published in the {% data variables.product.prodname_advisory_database %} by making a community contribution.'
4+
permissions: '{% data reusables.permissions.global-security-advisories-edit %}'
45
redirect_from:
56
- /code-security/security-advisories/editing-security-advisories-in-the-github-advisory-database
67
- /code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/editing-security-advisories-in-the-github-advisory-database

content/code-security/security-advisories/working-with-repository-security-advisories/about-repository-security-advisories.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ versions:
1313
fpt: '*'
1414
ghec: '*'
1515
type: overview
16+
product: '{% data reusables.gated-features.private-vulnerability-reporting %}'
1617
topics:
1718
- Security advisories
1819
- Vulnerabilities
1920
- CVEs
2021
---
2122

22-
{% data reusables.repositories.security-advisory-admin-permissions %}
23-
24-
{% data reusables.security-advisory.security-researcher-cannot-create-advisory %}
25-
2623
## About repository security advisories
2724

2825
{% data reusables.security-advisory.disclosing-vulnerabilities %} For more information, see [AUTOTITLE](/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/about-coordinated-disclosure-of-security-vulnerabilities).

content/code-security/security-advisories/working-with-repository-security-advisories/adding-a-collaborator-to-a-repository-security-advisory.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Adding a collaborator to a repository security advisory
33
intro: You can add other users or teams to collaborate on a security advisory with you.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
45
redirect_from:
56
- /articles/adding-a-collaborator-to-a-maintainer-security-advisory
67
- /github/managing-security-vulnerabilities/adding-a-collaborator-to-a-maintainer-security-advisory
@@ -19,8 +20,6 @@ topics:
1920
shortTitle: Add collaborators
2021
---
2122

22-
People with admin permissions to a security advisory can add collaborators to the security advisory.
23-
2423
{% data reusables.security-advisory.repository-level-advisory-note %}
2524

2625
## Adding a collaborator to a security advisory

content/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Collaborating in a temporary private fork to resolve a repository security vulnerability
33
intro: You can create a temporary private fork to privately collaborate on fixing a security vulnerability in your public repository.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
45
redirect_from:
56
- /articles/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability
67
- /github/managing-security-vulnerabilities/collaborating-in-a-temporary-private-fork-to-resolve-a-security-vulnerability
@@ -27,8 +28,6 @@ Before you can collaborate in a temporary private fork, you must create a draft
2728

2829
## Creating a temporary private fork
2930

30-
Anyone with admin permissions to a security advisory can create a temporary private fork.
31-
3231
To keep information about vulnerabilities secure, integrations, including CI, cannot access temporary private forks.
3332

3433
{% data reusables.repositories.navigate-to-repo %}

content/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configuring private vulnerability reporting for a repository
33
intro: Owners and administrators of public repositories can allow security researchers to report vulnerabilities securely in the repository by enabling private vulnerability reporting.
4-
permissions: Anyone with admin permissions to a public repository can enable and disable private vulnerability reporting for the repository.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
55
versions:
66
fpt: '*'
77
ghec: '*'

content/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configuring private vulnerability reporting for an organization
33
intro: Organization owners and security managers can allow security researchers to report vulnerabilities securely in repositories within the organization by enabling private vulnerability reporting for all its public repositories.
4-
permissions: 'Anyone with admin permissions to an organization, or with a security manager role within the organization, can enable and disable private vulnerability reporting for that organization.'
4+
permissions: '{% data reusables.permissions.security-org-enable %}'
55
versions:
66
fpt: '*'
77
ghec: '*'

content/code-security/security-advisories/working-with-repository-security-advisories/creating-a-repository-security-advisory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Creating a repository security advisory
33
intro: You can create a draft security advisory to privately discuss and fix a security vulnerability in your open source project.
4-
permissions: Anyone with admin permissions to a public repository, or with a security manager role within the repository, can create a security advisory.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
55
redirect_from:
66
- /articles/creating-a-maintainer-security-advisory
77
- /github/managing-security-vulnerabilities/creating-a-maintainer-security-advisory

content/code-security/security-advisories/working-with-repository-security-advisories/deleting-a-repository-security-advisory.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Deleting a repository security advisory
33
intro: You can delete a repository security advisory that you've published by contacting Support.
4+
permissions: 'Repository owners, organization owners, security managers, and users with the **admin** role can contact {% data variables.contact.github_support %} to delete a published security advisory.'
45
redirect_from:
56
- /github/managing-security-vulnerabilities/withdrawing-a-security-advisory
67
- /code-security/security-advisories/withdrawing-a-security-advisory

content/code-security/security-advisories/working-with-repository-security-advisories/editing-a-repository-security-advisory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Editing a repository security advisory
33
intro: You can edit the metadata and description for a repository security advisory if you need to update details or correct errors.
4-
permissions: Anyone with admin permissions to a repository security advisory, or with a security manager role within the repository, can edit the security advisory.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
55
redirect_from:
66
- /github/managing-security-vulnerabilities/editing-a-security-advisory
77
- /code-security/security-advisories/editing-a-security-advisory

content/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Evaluating the security settings of a repository
33
intro: Security researchers can assess the security settings of a public repository, suggest a security policy and report a vulnerability.
4-
permissions: Anyone can view a public repository's security settings, and contact the repository maintainers regarding security issues.
4+
permissions: '{% data reusables.permissions.repository-security-advisory-evaluate %}'
55
versions:
66
fpt: '*'
77
ghec: '*'

content/code-security/security-advisories/working-with-repository-security-advisories/permission-levels-for-repository-security-advisories.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ topics:
1818
- Permissions
1919
shortTitle: Permission levels
2020
---
21-
This article applies only to repository-level security advisories. Anyone can contribute to global security advisories in the {% data variables.product.prodname_advisory_database %} at [github.com/advisories](https://github.com/advisories). Edits to global advisories will not change or affect how the advisory appears on the repository. For more information, see [AUTOTITLE](/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/editing-security-advisories-in-the-github-advisory-database).
2221

2322
## Permissions overview
2423

25-
{% data reusables.repositories.security-advisory-admin-permissions %} For more information about adding a collaborator to a security advisory, see [AUTOTITLE](/code-security/security-advisories/working-with-repository-security-advisories/adding-a-collaborator-to-a-repository-security-advisory).
24+
{% data reusables.repositories.security-advisory-admin-permissions %}
2625

2726
Action | Write permissions | Admin permissions |
2827
------ | ----------------- | ----------------- |
@@ -38,6 +37,10 @@ Add and remove credits for a security advisory (see [AUTOTITLE](/code-security/s
3837
Close the draft security advisory | {% octicon "x" aria-label="No" %} | {% octicon "check" aria-label="Yes" %} |
3938
Publish the security advisory (see [AUTOTITLE](/code-security/security-advisories/working-with-repository-security-advisories/publishing-a-repository-security-advisory)) | {% octicon "x" aria-label="No" %} | {% octicon "check" aria-label="Yes" %} |
4039

40+
### Permission differences for global security advisories
41+
42+
Unlike repository security advisories, anyone can contribute to **global security advisories** in the {% data variables.product.prodname_advisory_database %} at [github.com/advisories](https://github.com/advisories). Edits to global advisories will not change or affect how the advisory appears on the repository. See [AUTOTITLE](/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/editing-security-advisories-in-the-github-advisory-database).
43+
4144
## Further reading
4245

4346
* [AUTOTITLE](/code-security/security-advisories/working-with-repository-security-advisories/adding-a-collaborator-to-a-repository-security-advisory)

content/code-security/security-advisories/working-with-repository-security-advisories/publishing-a-repository-security-advisory.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Publishing a repository security advisory
33
intro: You can publish a security advisory to alert your community about a security vulnerability in your project.
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
45
redirect_from:
56
- /articles/publishing-a-maintainer-security-advisory
67
- /github/managing-security-vulnerabilities/publishing-a-maintainer-security-advisory
@@ -21,8 +22,6 @@ shortTitle: Publish repository advisories
2122
---
2223
<!--Marketing-LINK: From /features/security/software-supply-chain page "Publishing a security advisory".-->
2324

24-
Anyone with admin permissions to a security advisory can publish the security advisory.
25-
2625
{% data reusables.security-advisory.repository-level-advisory-note %}
2726

2827
## Prerequisites

content/code-security/security-advisories/working-with-repository-security-advisories/removing-a-collaborator-from-a-repository-security-advisory.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Removing a collaborator from a repository security advisory
33
intro: 'When you remove a collaborator from a repository security advisory, they lose read and write access to the security advisory''s discussion and metadata.'
4+
permissions: '{% data reusables.permissions.security-repo-enable %}'
45
redirect_from:
56
- /github/managing-security-vulnerabilities/removing-a-collaborator-from-a-security-advisory
67
- /code-security/security-advisories/removing-a-collaborator-from-a-security-advisory
@@ -17,8 +18,6 @@ topics:
1718
shortTitle: Remove collaborators
1819
---
1920

20-
People with admin permissions to a security advisory can remove collaborators from the security advisory.
21-
2221
{% data reusables.security-advisory.repository-level-advisory-note %}
2322

2423
## Removing a collaborator from a security advisory
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Repository security advisories and private vulnerability reporting are available for public repositories on {% data variables.product.prodname_dotcom_the_website %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**Anyone** can browse the {% data variables.product.prodname_advisory_database %}.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**Anyone** can suggest improvements to the {% data variables.product.prodname_advisory_database %}.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**Anyone** can:
2+
* View a public repository's security settings.
3+
* Contact the repository maintainers regarding a security issue.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
Anyone with admin permissions to a public repository can create a security advisory.
1+
Repository owners, organization owners, security managers, and users with the **admin** role can:
2+
* Create a security advisory for the repository.
3+
* Access all security advisories for the repository.
4+
* Add collaborators to the security advisory.
25

3-
Anyone with admin permissions to a public repository also has admin permissions to all security advisories in that repository. People with admin permissions to a security advisory can add collaborators, and collaborators have write permissions to the security advisory.
6+
Collaborators have **write** permissions to the security advisory.

src/audit-logs/data/ghec/enterprise.json

-15
Original file line numberDiff line numberDiff line change
@@ -4254,21 +4254,6 @@
42544254
"description": "N/A",
42554255
"docs_reference_links": "An enterprise managed user unclaimed an email address."
42564256
},
4257-
{
4258-
"action": "user_license.create",
4259-
"description": "A seat license for a user in an enterprise was created.",
4260-
"docs_reference_links": "N/A"
4261-
},
4262-
{
4263-
"action": "user_license.destroy",
4264-
"description": "A seat license for a user in an enterprise was deleted.",
4265-
"docs_reference_links": "N/A"
4266-
},
4267-
{
4268-
"action": "user_license.update",
4269-
"description": "A seat license type for a user in an enterprise was changed.",
4270-
"docs_reference_links": "N/A"
4271-
},
42724257
{
42734258
"action": "vulnerability_alert_rule.create",
42744259
"description": "A Dependabot rule was created.",

0 commit comments

Comments
 (0)