github dependabot configuration and simple demo

Github dependabot scans your repository for dependencies that are outdated, vulnerable package, run tests automatically and can even auto-merge if it is safe to do so. 

It is different from CodeQL or CQL where CQL would do security code scanning for coding and vulnearabilities. 

How to enable dependabot? 

Goto your repository -> Settings -> Advanced Security -> under the tab Dependabot and then turn it on.




To enable your package malware alerts, you can click on the "Dependabot rules" and then you will see this layout here where you can enable it by clicking on the "pencil" button.



When will you get the scan results? 

You typically get the scan results minutes. 

In my repo here, https://github.com/kepungnzai/dotnet-dependabot-test - we have old and vulnerable packages and then dependabot come back with a PR for me which looks something like this - which is amazing! 


























Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20