payload: {"action":"created","issue":{"url":"https://api.github.com/repos/VukAnd/security-on-github/issues/4","repository_url":"https://api.github.com/repos/VukAnd/security-on-github","labels_url":"https://api.github.com/repos/VukAnd/security-on-github/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/VukAnd/security-on-github/issues/4/comments","events_url":"https://api.github.com/repos/VukAnd/security-on-github/issues/4/events","html_url":"https://github.com/VukAnd/security-on-github/issues/4","id":456187181,"node_id":"MDU6SXNzdWU0NTYxODcxODE=","number":4,"title":"Find repository vulnerabilities","user":{"login":"github-learning-lab[bot]","id":37936606,"node_id":"MDM6Qm90Mzc5MzY2MDY=","avatar_url":"https://avatars0.githubusercontent.com/in/10572?v=4","gravatar_id":"","url":"https://api.github.com/users/github-learning-lab%5Bbot%5D","html_url":"https://github.com/apps/github-learning-lab","followers_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/followers","following_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/repos","events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-14T10:56:41Z","updated_at":"2019-06-14T10:58:00Z","closed_at":null,"author_association":"NONE","body":"## Finding vulnerable dependencies\n\nSecurity vulnerabilities can cause a range of problems for your project or the people who use it.  A vulnerability could affect the confidentiality, integrity, or availability of a project.  Sometimes vulnerabilities aren't in the code you write, but in the code your project depends on. Staying up-to-date with the most recent versions is the best line of defense.\n\nThis repository has some existing dependencies which will need updating to stay secure.\n\n### How can we identify dependencies and if they are vulnerable?\n\nThis repository is a Node.js project utilizing NPM. Because of that, the `package.json` defines this repository's dependencies.  For our time together, we'll be focusing on these JavaScript dependencies. Keep in mind that different programming languages may have different dependency files. You might work with a `Gemfile`, `Gemfile.lock`, `*.gemspec`, `requirements.txt`, `pipfile.lock`, or other files.\n\nHow can we know these dependencies are secure? It's not always easy, but GitHub is watching out.\n\n### GitHub's security alerts for vulnerable dependencies\n\nYou may notice some alerts from GitHub about this repository. You may get an email, or see a yellow bar warning you about the `package.json` file.\n\n![dependency vulnerability alert](https://user-images.githubusercontent.com/9906718/46882979-c275b680-ce50-11e8-9f47-2081daf20b98.png)\n\nGitHub tracks public vulnerabilities in Ruby gems, NPM, Python, Java, and .Net packages.\n\nGitHub receives a notification of a newly-announced vulnerability. Next, we check for repositories that use the affected version of that dependency. We send security alerts to a set of people within those affected repositories. The owners are contacted by default. But, it's possible to configure specific teams or individuals to get these important notifications.\n\n**GitHub never publicly discloses identified vulnerabilities for any repository.**\n\n## Step 2: Find this repository's vulnerable dependencies\n\nUse GitHub's security alerts to identify a vulnerable NPM dependency.\n\n### :keyboard: Activity: Identify the suggested version update\n\n1. Click the **Insights** tab in your repository.\n2. On the left hand navigation bar, click **Dependency graph**.\n3. Scroll down until you see a yellow bar highlighting the dependency named `debug`, and click on the right hand side of the yellow `debug` section.\n4. Take note of the suggested version.\n5. Comment in this issue with the suggested update version.\n\n\n> _**GitHub Enterprise Server only:** This is all possible on GitHub Enterprise through GitHub Connect. It may take up to an hour to refresh the alerts and make them visible. After waiting a reasonable amount of time, if you are still not seeing the yellow bar in the Dependency Graph, you may want to contact your administrator. In the mean time, to move along with the course, we'll give you a hint - the recommended upgraded version is `2.6.9`._\n\nFor a printable version of the steps in this course, check out the [Quick Reference Guide](https://lab.github.com/public/securing-your-workflows.pdf).\n\n<hr>\n<h3 align=\"center\">Return to this issue for my next comment.</h3>\n"},"comment":{"url":"https://api.github.com/repos/VukAnd/security-on-github/issues/comments/502065575","html_url":"https://github.com/VukAnd/security-on-github/issues/4#issuecomment-502065575","issue_url":"https://api.github.com/repos/VukAnd/security-on-github/issues/4","id":502065575,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMjA2NTU3NQ==","user":{"login":"VukAnd","id":46850780,"node_id":"MDQ6VXNlcjQ2ODUwNzgw","avatar_url":"https://avatars0.githubusercontent.com/u/46850780?v=4","gravatar_id":"","url":"https://api.github.com/users/VukAnd","html_url":"https://github.com/VukAnd","followers_url":"https://api.github.com/users/VukAnd/followers","following_url":"https://api.github.com/users/VukAnd/following{/other_user}","gists_url":"https://api.github.com/users/VukAnd/gists{/gist_id}","starred_url":"https://api.github.com/users/VukAnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VukAnd/subscriptions","organizations_url":"https://api.github.com/users/VukAnd/orgs","repos_url":"https://api.github.com/users/VukAnd/repos","events_url":"https://api.github.com/users/VukAnd/events{/privacy}","received_events_url":"https://api.github.com/users/VukAnd/received_events","type":"User","site_admin":false},"created_at":"2019-06-14T10:58:00Z","updated_at":"2019-06-14T10:58:00Z","author_association":"OWNER","body":"2.6.9"}}
other: {"actor":{"display_login":"VukAnd"}}