{"action":"created","issue":{"url":"https://api.github.com/repos/RinkAttendant6/security-on-github/issues/4","repository_url":"https://api.github.com/repos/RinkAttendant6/security-on-github","labels_url":"https://api.github.com/repos/RinkAttendant6/security-on-github/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/RinkAttendant6/security-on-github/issues/4/comments","events_url":"https://api.github.com/repos/RinkAttendant6/security-on-github/issues/4/events","html_url":"https://github.com/RinkAttendant6/security-on-github/issues/4","id":372361434,"node_id":"MDU6SXNzdWUzNzIzNjE0MzQ=","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":1,"created_at":"2018-10-21T21:59:55Z","updated_at":"2018-10-21T22:00:51Z","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\n1. On the left hand navigation bar, click **Dependency graph**\n1. 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\n1. Take note of the suggested version\n1. Comment in this issue with the suggested update version\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/RinkAttendant6/security-on-github/issues/comments/431708028","html_url":"https://github.com/RinkAttendant6/security-on-github/issues/4#issuecomment-431708028","issue_url":"https://api.github.com/repos/RinkAttendant6/security-on-github/issues/4","id":431708028,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTcwODAyOA==","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},"created_at":"2018-10-21T22:00:51Z","updated_at":"2018-10-21T22:00:51Z","author_association":"NONE","body":"Nice work!\n\n<hr>\n<h3 align=\"center\">I've opened <a href=\"https://github.com/RinkAttendant6/security-on-github/pull/1\">a pull request with your next steps</a></h3>\n"}}
{"actor":{"display_login":"github-learning-lab"}}