{"action":"created","comment":{"url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/comments/224187974","pull_request_review_id":163494575,"id":224187974,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDE4Nzk3NA==","diff_hunk":"@@ -32,13 +32,16 @@\n # raven sentry client\n # See https://docs.getsentry.com/hosted/clients/python/integrations/django/\n INSTALLED_APPS += ('raven.contrib.django.raven_compat', )\n+INSTALLED_APPS += ('defender', )\n \n # Use Whitenoise to serve static files\n # See: https://whitenoise.readthedocs.io/\n WHITENOISE_MIDDLEWARE = ('whitenoise.middleware.WhiteNoiseMiddleware', )\n MIDDLEWARE = WHITENOISE_MIDDLEWARE + MIDDLEWARE\n RAVEN_MIDDLEWARE = ('raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware', )\n MIDDLEWARE = RAVEN_MIDDLEWARE + MIDDLEWARE\n+DEFENDER_MIDDLEWARE = ['defender.middleware.FailedLoginMiddleware']\n+MIDDLEWARE = MIDDLEWARE + DEFENDER_MIDDLEWARE","path":"config/settings/production.py","position":13,"original_position":13,"commit_id":"3e59f628309c253d661867870646d1af1698bf32","original_commit_id":"3e59f628309c253d661867870646d1af1698bf32","user":{"login":"davisagli","id":49014,"node_id":"MDQ6VXNlcjQ5MDE0","avatar_url":"https://avatars0.githubusercontent.com/u/49014?v=4","gravatar_id":"","url":"https://api.github.com/users/davisagli","html_url":"https://github.com/davisagli","followers_url":"https://api.github.com/users/davisagli/followers","following_url":"https://api.github.com/users/davisagli/following{/other_user}","gists_url":"https://api.github.com/users/davisagli/gists{/gist_id}","starred_url":"https://api.github.com/users/davisagli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisagli/subscriptions","organizations_url":"https://api.github.com/users/davisagli/orgs","repos_url":"https://api.github.com/users/davisagli/repos","events_url":"https://api.github.com/users/davisagli/events{/privacy}","received_events_url":"https://api.github.com/users/davisagli/received_events","type":"User","site_admin":false},"body":"This failed with `TypeError: can only concatenate tuple (not \"list\") to tuple`","created_at":"2018-10-10T18:17:41Z","updated_at":"2018-10-10T18:18:09Z","html_url":"https://github.com/SalesforceFoundation/MetaCI/pull/302#discussion_r224187974","pull_request_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/comments/224187974"},"html":{"href":"https://github.com/SalesforceFoundation/MetaCI/pull/302#discussion_r224187974"},"pull_request":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302"}}},"pull_request":{"url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302","id":221862664,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODYyNjY0","html_url":"https://github.com/SalesforceFoundation/MetaCI/pull/302","diff_url":"https://github.com/SalesforceFoundation/MetaCI/pull/302.diff","patch_url":"https://github.com/SalesforceFoundation/MetaCI/pull/302.patch","issue_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/302","number":302,"state":"open","locked":false,"title":"Configure django-defender to reject failed login attempts","user":{"login":"jlantz","id":1697127,"node_id":"MDQ6VXNlcjE2OTcxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/1697127?v=4","gravatar_id":"","url":"https://api.github.com/users/jlantz","html_url":"https://github.com/jlantz","followers_url":"https://api.github.com/users/jlantz/followers","following_url":"https://api.github.com/users/jlantz/following{/other_user}","gists_url":"https://api.github.com/users/jlantz/gists{/gist_id}","starred_url":"https://api.github.com/users/jlantz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlantz/subscriptions","organizations_url":"https://api.github.com/users/jlantz/orgs","repos_url":"https://api.github.com/users/jlantz/repos","events_url":"https://api.github.com/users/jlantz/events{/privacy}","received_events_url":"https://api.github.com/users/jlantz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-10T16:55:41Z","updated_at":"2018-10-10T18:18:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e373c4bf67057d54cc896f3e744ca146680c779","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302/commits","review_comments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302/comments","review_comment_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/302/comments","statuses_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/statuses/3e59f628309c253d661867870646d1af1698bf32","head":{"label":"SalesforceFoundation:feature/django-defender","ref":"feature/django-defender","sha":"3e59f628309c253d661867870646d1af1698bf32","user":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":76289650,"node_id":"MDEwOlJlcG9zaXRvcnk3NjI4OTY1MA==","name":"MetaCI","full_name":"SalesforceFoundation/MetaCI","private":false,"owner":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SalesforceFoundation/MetaCI","description":"Lightweight, Salesforce specific CI app run on Heroku to build Github repositories configured for CumulusCI","fork":false,"url":"https://api.github.com/repos/SalesforceFoundation/MetaCI","forks_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/forks","keys_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/teams","hooks_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/hooks","issue_events_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/events{/number}","events_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/events","assignees_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/assignees{/user}","branches_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/branches{/branch}","tags_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/tags","blobs_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/statuses/{sha}","languages_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/languages","stargazers_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/stargazers","contributors_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/contributors","subscribers_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/subscribers","subscription_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/subscription","commits_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/contents/{+path}","compare_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/merges","archive_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/downloads","issues_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues{/number}","pulls_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls{/number}","milestones_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/milestones{/number}","notifications_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/labels{/name}","releases_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/releases{/id}","deployments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/deployments","created_at":"2016-12-12T19:43:34Z","updated_at":"2018-10-09T17:33:16Z","pushed_at":"2018-10-10T16:55:42Z","git_url":"git://github.com/SalesforceFoundation/MetaCI.git","ssh_url":"git@github.com:SalesforceFoundation/MetaCI.git","clone_url":"https://github.com/SalesforceFoundation/MetaCI.git","svn_url":"https://github.com/SalesforceFoundation/MetaCI","homepage":"","size":1007,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":9,"open_issues":72,"watchers":18,"default_branch":"master"}},"base":{"label":"SalesforceFoundation:master","ref":"master","sha":"cabee29e25c4d6c74683e2a805ed5021ccb48e78","user":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":76289650,"node_id":"MDEwOlJlcG9zaXRvcnk3NjI4OTY1MA==","name":"MetaCI","full_name":"SalesforceFoundation/MetaCI","private":false,"owner":{"login":"SalesforceFoundation","id":972305,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MjMwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/972305?v=4","gravatar_id":"","url":"https://api.github.com/users/SalesforceFoundation","html_url":"https://github.com/SalesforceFoundation","followers_url":"https://api.github.com/users/SalesforceFoundation/followers","following_url":"https://api.github.com/users/SalesforceFoundation/following{/other_user}","gists_url":"https://api.github.com/users/SalesforceFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/SalesforceFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalesforceFoundation/subscriptions","organizations_url":"https://api.github.com/users/SalesforceFoundation/orgs","repos_url":"https://api.github.com/users/SalesforceFoundation/repos","events_url":"https://api.github.com/users/SalesforceFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/SalesforceFoundation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SalesforceFoundation/MetaCI","description":"Lightweight, Salesforce specific CI app run on Heroku to build Github repositories configured for CumulusCI","fork":false,"url":"https://api.github.com/repos/SalesforceFoundation/MetaCI","forks_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/forks","keys_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/teams","hooks_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/hooks","issue_events_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/events{/number}","events_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/events","assignees_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/assignees{/user}","branches_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/branches{/branch}","tags_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/tags","blobs_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/statuses/{sha}","languages_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/languages","stargazers_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/stargazers","contributors_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/contributors","subscribers_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/subscribers","subscription_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/subscription","commits_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/contents/{+path}","compare_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/merges","archive_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/downloads","issues_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues{/number}","pulls_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls{/number}","milestones_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/milestones{/number}","notifications_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/labels{/name}","releases_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/releases{/id}","deployments_url":"https://api.github.com/repos/SalesforceFoundation/MetaCI/deployments","created_at":"2016-12-12T19:43:34Z","updated_at":"2018-10-09T17:33:16Z","pushed_at":"2018-10-10T16:55:42Z","git_url":"git://github.com/SalesforceFoundation/MetaCI.git","ssh_url":"git@github.com:SalesforceFoundation/MetaCI.git","clone_url":"https://github.com/SalesforceFoundation/MetaCI.git","svn_url":"https://github.com/SalesforceFoundation/MetaCI","homepage":"","size":1007,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":9,"open_issues":72,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302"},"html":{"href":"https://github.com/SalesforceFoundation/MetaCI/pull/302"},"issue":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/302"},"comments":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/SalesforceFoundation/MetaCI/statuses/3e59f628309c253d661867870646d1af1698bf32"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"davisagli"}}