Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder sections to make it more clear to the reader that requesting a CVE number is optional #10210

Conversation

darakian
Copy link
Contributor

@darakian darakian commented Sep 21, 2021

At the moment the publication doc leads with the topic of requesting a CVE number.
This PR moves things around and adds language to imply that a CVE number is not required in order to publish a GHSA.
The impetus for this PR comes from an out of band conversation with the rustsec community and some confusion around GHSA publication.

Why:

Closes #10209

What's being changed:

Minor reordering of sections and more additional language.

Check off the following:

  • I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
  • For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

  • This pull request impacts the contribution experience
    • I have added the 'writer impact' label
    • I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

…a CVE number is optional

At the moment the publication doc leads with the topic of requesting a CVE number.
This PR moves things around and adds language to imply that a CVE number is not required in order to publish a GHSA.
The impetus for this PR comes from an out of band conversation with the rustsec community and some confusion around GHSA publication.
@welcome
Copy link

welcome bot commented Sep 21, 2021

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Sep 21, 2021
rschultheis
rschultheis previously approved these changes Sep 21, 2021
Copy link
Contributor

@rschultheis rschultheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, I left one suggestion though it might be a bit wordy. I think this PR could go out as is. Thanks @darakian

…y-advisory.md

Co-authored-by: Robert Schultheis <rschultheis@github.com>
@ramyaparimi ramyaparimi added content This issue or pull request belongs to the Docs Content team waiting for review Issue/PR is waiting for a writer's review and removed triage Do not begin working on this issue until triaged by the team labels Sep 22, 2021
@ramyaparimi
Copy link
Contributor

@darakian
Thanks so much for opening a PR! I'll get this triaged for review ⚡

@@ -92,6 +76,22 @@ Publishing a security advisory deletes the temporary private fork for the securi

{% data reusables.repositories.github-reviews-security-advisories %}

## Requesting a CVE identification number (Optional)

Github can provide a CVE number if needed and if the software is not under the scope of another CVE Numbering Authority (CNA). Anyone with admin permissions to a security advisory can request a CVE identification number for the security advisory. If the advisory already has a CVE number, then that can be input in the advisory form.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 @darakian, thanks heaps for this PR! I agree that if the step is optional, then it should be moved lower and marked as such.

🤔 Most of the added content in this paragraph is already provided in the next paragraph in the {% data reusables.repositories.request-security-advisory-cve-id %} reusable. You can see the content of that resuable file here. You can see a built stage of this branch here.

I would recommend sticking with the current wording in the reusable, or modifying the reusable directly.

Suggested change
Github can provide a CVE number if needed and if the software is not under the scope of another CVE Numbering Authority (CNA). Anyone with admin permissions to a security advisory can request a CVE identification number for the security advisory. If the advisory already has a CVE number, then that can be input in the advisory form.
Anyone with admin permissions to a security advisory can request a CVE identification number for the security advisory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tip. I was unaware of what those {%...%} patterns were. I've pushed a commit which removes the leading text from the base doc and alters the reusable. Let me know what you think @lucascosti

@rschultheis can I get a second review on the updated content?

rschultheis
rschultheis previously approved these changes Sep 23, 2021
Copy link
Contributor

@rschultheis rschultheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this all looks good to me, though I defer to @lucascosti and docs team in general. I think this does make it more clear that a CVE is optional which is the goal.

ghost referenced this pull request Sep 24, 2021
removed duplicate line on short titles
Copy link
Contributor

@lucascosti lucascosti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @darakian! I've added a few wording suggestions.

🤔 I'm also having second thoughts about moving the "Requesting a CVE identification number" section below the "Publishing" one. If someone wants to have a CVE, does a CVE need to be assigned before an advisory is published?

If so, we'd probably want the articles and sections to be in the order of the workflow. e.g. Draft -> request CVE -> publish.

I think adding the (Optional) to the section title now clearly indicates that it is not required to publish an advisory.

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
@darakian
Copy link
Contributor Author

does a CVE need to be assigned before an advisory is published?

No. A CVE can be requested for the advisory either during the initial advisory publication step or later on.

I've added a few wording suggestions.

Those look good to me 👍

Copy link
Contributor

@lucascosti lucascosti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. A CVE can be requested for the advisory either during the initial advisory publication step or later on.

Awesome, thanks for confirming! I'll merge this in 🚀

@lucascosti lucascosti enabled auto-merge (squash) September 27, 2021 01:05
@lucascosti lucascosti merged commit 9a491b2 into main Sep 27, 2021
@lucascosti lucascosti deleted the reorder-advisory-publication-doc-make-cve-more-clearly-optional branch September 27, 2021 01:14
@github-actions
Copy link
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team waiting for review Issue/PR is waiting for a writer's review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make GHSA and CVE publication more distinct
4 participants