GITHUB-ADVANCED-SECURITY practice question 15 of 15
– [Describe GitHub Advanced Security Best Practices] As a contributor, you discovered a vulnerability in a repository. Where should you look for the instructions on how to report the vulnerability?
Full set: 75 questionsThe SECURITY.md file is the officially recognized and standardized location within a GitHub repository for security-related information. Its primary purpose is to provide a security policy that instructs contributors and researchers on how to responsibly report security vulnerabilities they have discovered. When a SECURITY.md file is present in a repository's root, .github, or docs directory, GitHub automatically links to it from the repository's "Security" tab and when a user attempts to create a new issue, guiding them to the correct reporting process.
A. support.md: This file provides instructions on how to get general help or support for the project, which is distinct from the secure process of reporting vulnerabilities.
B. readme.md: This file serves as the main landing page for a repository, containing a general project description, and is not the designated place for security policies.
C. contributing.md: This file outlines guidelines for general contributions, such as code style and pull request procedures, not the specific protocol for vulnerability disclosure.
1. GitHub Docs. "Adding a security policy to your repository." GitHub, Inc. Accessed May 2024. In this document, the section "About security policies" explicitly states, "To give people instructions for reporting security vulnerabilities in your project, you can add a SECURITY.md file to your repository's root, docs, or .github folder."
2. GitHub Docs. "Setting guidelines for repository contributors." GitHub, Inc. Accessed May 2024. This page describes the purpose of CONTRIBUTING.md, SUPPORT.md, and other community health files, clearly distinguishing their roles from that of SECURITY.md. It confirms SECURITY.md is for "your project's security policy."
Keep practicing
Take the free GITHUB-ADVANCED-SECURITY practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GITHUB-ADVANCED-SECURITY practice questions
- Question 1– [Use Code Scanning with CodeQL] When using CodeQL, what extension stores query suite de…
- Question 2– [Configure and Use Secret Scanning] What happens when you enable secret scanning on a p…
- Question 3– [Configure and Use Dependency Management] A dependency has a known vulnerability. What …
- Question 4– [Configure and Use Secret Scanning] What is a prerequisite to define a custom pattern f…
- Question 5– [Describe the GHAS Security Features and Functionality] What is a security policy?
- Question 6– [Configure GitHub Advanced Security Tools in GitHub Enterprise] What role is required t…
