tpartane / security-strategy-essentials

https://lab.github.com/githubtraining/security-strategy-essentials
MIT License
0 stars 0 forks source link

Add a Security Policy #5

Open github-learning-lab[bot] opened 3 years ago

github-learning-lab[bot] commented 3 years ago

Adding a security policy

Just like most repositories have a README.md file to provide instructions on how to contribute to the repository, a SECURITY.md file highlights security related information and instructions on how to handle security related issues and best practices.

This gives collaborators the important security information they need, but it also documents a place where maintainers can think about how they should deal with security disclosures, updates, and general security practices within this repository.

What should I include in my security policy?

Just like a README.md file, it really depends on your repository and the requirements and workflows. Here are a few common topics that are documented in a security policy:

Step 6: Add a SECURITY.md file

  1. Navigate to the Security tab
  2. Click on Security Policy located in the left sidebar
  3. Click the Start Setup button
  4. Commit the template security policy to the new branch as selected tpartane-patch-1
  5. Commit the new file and create the pull request

Alternatively, you could also create a new file in the root directory called SECURITY.md, write up a quick security policy, and open a pull request.


I'll respond in your pull request with next steps.