{"action":"closed","number":421,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421","id":128384524,"html_url":"https://github.com/GoogleCloudPlatform/forseti-security/pull/421","diff_url":"https://github.com/GoogleCloudPlatform/forseti-security/pull/421.diff","patch_url":"https://github.com/GoogleCloudPlatform/forseti-security/pull/421.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/421","number":421,"state":"closed","locked":false,"title":"Fixed error when violation table is already present","user":{"login":"gbrindisi","id":287126,"avatar_url":"https://avatars3.githubusercontent.com/u/287126?v=3","gravatar_id":"","url":"https://api.github.com/users/gbrindisi","html_url":"https://github.com/gbrindisi","followers_url":"https://api.github.com/users/gbrindisi/followers","following_url":"https://api.github.com/users/gbrindisi/following{/other_user}","gists_url":"https://api.github.com/users/gbrindisi/gists{/gist_id}","starred_url":"https://api.github.com/users/gbrindisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbrindisi/subscriptions","organizations_url":"https://api.github.com/users/gbrindisi/orgs","repos_url":"https://api.github.com/users/gbrindisi/repos","events_url":"https://api.github.com/users/gbrindisi/events{/privacy}","received_events_url":"https://api.github.com/users/gbrindisi/received_events","type":"User","site_admin":false},"body":"When running different scanners if the table already exist the violation_dao will throw an error halting the insertion flow.\r\n\r\nNow the exception is parsed and handled to allow for insertions on the same table.\r\n\r\nAlso the notifier couldn't load violations anymore.","created_at":"2017-06-30T14:39:07Z","updated_at":"2017-07-06T15:02:27Z","closed_at":"2017-07-06T15:02:27Z","merged_at":"2017-07-06T15:02:27Z","merge_commit_sha":"d3b191bc59873a35b355ec78388d29bb3d43ddab","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/421/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/statuses/474b9f4b8c1d0673537e6499f117a1e59eff56a1","head":{"label":"gbrindisi:violation-table-fix","ref":"violation-table-fix","sha":"474b9f4b8c1d0673537e6499f117a1e59eff56a1","user":{"login":"gbrindisi","id":287126,"avatar_url":"https://avatars3.githubusercontent.com/u/287126?v=3","gravatar_id":"","url":"https://api.github.com/users/gbrindisi","html_url":"https://github.com/gbrindisi","followers_url":"https://api.github.com/users/gbrindisi/followers","following_url":"https://api.github.com/users/gbrindisi/following{/other_user}","gists_url":"https://api.github.com/users/gbrindisi/gists{/gist_id}","starred_url":"https://api.github.com/users/gbrindisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbrindisi/subscriptions","organizations_url":"https://api.github.com/users/gbrindisi/orgs","repos_url":"https://api.github.com/users/gbrindisi/repos","events_url":"https://api.github.com/users/gbrindisi/events{/privacy}","received_events_url":"https://api.github.com/users/gbrindisi/received_events","type":"User","site_admin":false},"repo":{"id":89378377,"name":"forseti-security","full_name":"gbrindisi/forseti-security","owner":{"login":"gbrindisi","id":287126,"avatar_url":"https://avatars3.githubusercontent.com/u/287126?v=3","gravatar_id":"","url":"https://api.github.com/users/gbrindisi","html_url":"https://github.com/gbrindisi","followers_url":"https://api.github.com/users/gbrindisi/followers","following_url":"https://api.github.com/users/gbrindisi/following{/other_user}","gists_url":"https://api.github.com/users/gbrindisi/gists{/gist_id}","starred_url":"https://api.github.com/users/gbrindisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbrindisi/subscriptions","organizations_url":"https://api.github.com/users/gbrindisi/orgs","repos_url":"https://api.github.com/users/gbrindisi/repos","events_url":"https://api.github.com/users/gbrindisi/events{/privacy}","received_events_url":"https://api.github.com/users/gbrindisi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gbrindisi/forseti-security","description":"Security tools for visibility, detection, and policy enforcement on Google Cloud Platform","fork":true,"url":"https://api.github.com/repos/gbrindisi/forseti-security","forks_url":"https://api.github.com/repos/gbrindisi/forseti-security/forks","keys_url":"https://api.github.com/repos/gbrindisi/forseti-security/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gbrindisi/forseti-security/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gbrindisi/forseti-security/teams","hooks_url":"https://api.github.com/repos/gbrindisi/forseti-security/hooks","issue_events_url":"https://api.github.com/repos/gbrindisi/forseti-security/issues/events{/number}","events_url":"https://api.github.com/repos/gbrindisi/forseti-security/events","assignees_url":"https://api.github.com/repos/gbrindisi/forseti-security/assignees{/user}","branches_url":"https://api.github.com/repos/gbrindisi/forseti-security/branches{/branch}","tags_url":"https://api.github.com/repos/gbrindisi/forseti-security/tags","blobs_url":"https://api.github.com/repos/gbrindisi/forseti-security/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gbrindisi/forseti-security/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gbrindisi/forseti-security/git/refs{/sha}","trees_url":"https://api.github.com/repos/gbrindisi/forseti-security/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gbrindisi/forseti-security/statuses/{sha}","languages_url":"https://api.github.com/repos/gbrindisi/forseti-security/languages","stargazers_url":"https://api.github.com/repos/gbrindisi/forseti-security/stargazers","contributors_url":"https://api.github.com/repos/gbrindisi/forseti-security/contributors","subscribers_url":"https://api.github.com/repos/gbrindisi/forseti-security/subscribers","subscription_url":"https://api.github.com/repos/gbrindisi/forseti-security/subscription","commits_url":"https://api.github.com/repos/gbrindisi/forseti-security/commits{/sha}","git_commits_url":"https://api.github.com/repos/gbrindisi/forseti-security/git/commits{/sha}","comments_url":"https://api.github.com/repos/gbrindisi/forseti-security/comments{/number}","issue_comment_url":"https://api.github.com/repos/gbrindisi/forseti-security/issues/comments{/number}","contents_url":"https://api.github.com/repos/gbrindisi/forseti-security/contents/{+path}","compare_url":"https://api.github.com/repos/gbrindisi/forseti-security/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gbrindisi/forseti-security/merges","archive_url":"https://api.github.com/repos/gbrindisi/forseti-security/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gbrindisi/forseti-security/downloads","issues_url":"https://api.github.com/repos/gbrindisi/forseti-security/issues{/number}","pulls_url":"https://api.github.com/repos/gbrindisi/forseti-security/pulls{/number}","milestones_url":"https://api.github.com/repos/gbrindisi/forseti-security/milestones{/number}","notifications_url":"https://api.github.com/repos/gbrindisi/forseti-security/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gbrindisi/forseti-security/labels{/name}","releases_url":"https://api.github.com/repos/gbrindisi/forseti-security/releases{/id}","deployments_url":"https://api.github.com/repos/gbrindisi/forseti-security/deployments","created_at":"2017-04-25T15:43:22Z","updated_at":"2017-05-30T11:52:10Z","pushed_at":"2017-07-06T14:57:11Z","git_url":"git://github.com/gbrindisi/forseti-security.git","ssh_url":"git@github.com:gbrindisi/forseti-security.git","clone_url":"https://github.com/gbrindisi/forseti-security.git","svn_url":"https://github.com/gbrindisi/forseti-security","homepage":"","size":1803,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"958674447615c479affa7db9e68dcb69dfa7b133","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":82210080,"name":"forseti-security","full_name":"GoogleCloudPlatform/forseti-security","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/forseti-security","description":null,"fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/deployments","created_at":"2017-02-16T18:01:26Z","updated_at":"2017-07-06T14:43:22Z","pushed_at":"2017-07-06T15:02:27Z","git_url":"git://github.com/GoogleCloudPlatform/forseti-security.git","ssh_url":"git@github.com:GoogleCloudPlatform/forseti-security.git","clone_url":"https://github.com/GoogleCloudPlatform/forseti-security.git","svn_url":"https://github.com/GoogleCloudPlatform/forseti-security","homepage":"http://forsetisecurity.org","size":3849,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":62,"forks":26,"open_issues":62,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421"},"html":{"href":"https://github.com/GoogleCloudPlatform/forseti-security/pull/421"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/421"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/forseti-security/statuses/474b9f4b8c1d0673537e6499f117a1e59eff56a1"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mirons-google","id":22750334,"avatar_url":"https://avatars0.githubusercontent.com/u/22750334?v=3","gravatar_id":"","url":"https://api.github.com/users/mirons-google","html_url":"https://github.com/mirons-google","followers_url":"https://api.github.com/users/mirons-google/followers","following_url":"https://api.github.com/users/mirons-google/following{/other_user}","gists_url":"https://api.github.com/users/mirons-google/gists{/gist_id}","starred_url":"https://api.github.com/users/mirons-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirons-google/subscriptions","organizations_url":"https://api.github.com/users/mirons-google/orgs","repos_url":"https://api.github.com/users/mirons-google/repos","events_url":"https://api.github.com/users/mirons-google/events{/privacy}","received_events_url":"https://api.github.com/users/mirons-google/received_events","type":"User","site_admin":false},"comments":7,"review_comments":7,"maintainer_can_modify":false,"commits":8,"additions":35,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"mirons-google"}}