What must you enable in GitHub for Dependabot to work?

Prepare for the GitHub Advanced Security Certification Test. Practice with multiple choice questions, detailed explanations, and hints. Achieve success on your first attempt!

Multiple Choice

What must you enable in GitHub for Dependabot to work?

Explanation:
Dependabot relies on the dependency graph to know what libraries your project uses. GitHub builds this graph by scanning your manifest files (such as package.json, pom.xml, requirements.txt, and similar) and mapping each dependency and its version, including transitive ones. If the dependency graph isn’t enabled, GitHub can’t see which dependencies exist, so Dependabot can’t check for known vulnerabilities or propose updates. Enabling the dependency graph is what makes Dependabot able to operate; once it’s on, Dependabot can continuously monitor dependencies and open pull requests to update them when fixes are available. Other features like secret scanning or code scanning are separate security tools and don’t enable Dependabot.

Dependabot relies on the dependency graph to know what libraries your project uses. GitHub builds this graph by scanning your manifest files (such as package.json, pom.xml, requirements.txt, and similar) and mapping each dependency and its version, including transitive ones. If the dependency graph isn’t enabled, GitHub can’t see which dependencies exist, so Dependabot can’t check for known vulnerabilities or propose updates. Enabling the dependency graph is what makes Dependabot able to operate; once it’s on, Dependabot can continuously monitor dependencies and open pull requests to update them when fixes are available. Other features like secret scanning or code scanning are separate security tools and don’t enable Dependabot.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy