Bitzu

GH-900 ยท Security and administration

Built-in security features

Purpose of Dependabot alerts, secret scanning, code scanning and security policies at an awareness level.

Key points

  • Dependabot alerts: dependencies with known vulnerabilities; it can also open update pull requests.
  • Secret scanning: committed credentials.
  • Code scanning: security vulnerabilities and coding errors in your own code before merge.
  • Security policy (SECURITY.md): how to report vulnerabilities privately.
  • Security advisories: help fix and disclose them.
  • Some features: free on public repositories, paid on private.

Source: https://docs.github.com/en/code-security/getting-started/github-security-features

Practice questions

Single choice

Which GitHub feature warns you when a library your project depends on has a known vulnerability?

  1. Secret scanning
  2. Dependabot alerts
  3. Code scanning
  4. Repository insights
Show answer

Answer: B. Dependabot alerts

Dependabot alerts watch dependencies against known vulnerabilities. Secret scanning looks for credentials, and code scanning analyzes your own code.

Select all that apply

Which of these are GitHub security features?

  1. Code scanning
  2. Secret scanning
  3. Dependabot alerts
  4. Gists
  5. Projects boards
Show answer

Answer: A. Code scanning, B. Secret scanning, C. Dependabot alerts

Code scanning, secret scanning and Dependabot alerts are built-in security features. Gists and Projects are collaboration tools, not security features.

True or false

True or false: a SECURITY.md file is used to give users a private way to report vulnerabilities in a project.

Show answer

Answer: True

True. A security policy tells reporters how to disclose vulnerabilities responsibly instead of opening a public issue.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More GH-900 topics in this module