{"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/comments/201540761","pull_request_review_id":136062632,"id":201540761,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTU0MDc2MQ==","diff_hunk":"@@ -107,12 +107,12 @@ def _add_initialize_baseline_argument(self):\n             help='Pass in regex to specify ignored paths during initialization scan.',\n         )\n \n-        # Pairing `--import` with `--scan` because it's only used for initialization.\n+        # Pairing `--update` with `--scan` because it's only used for initialization.\n         self.parser.add_argument(\n-            '--import',\n+            '--update',\n             nargs=1,\n             metavar='OLD_BASELINE_FILE',\n-            help='Import settings from previous existing baseline.',\n+            help='Update existing baseline by import settings from it.',","path":"detect_secrets/core/usage.py","position":12,"original_position":12,"commit_id":"bc60aa5835aa7258a535680e93ecee5054fc80dd","original_commit_id":"bc60aa5835aa7258a535680e93ecee5054fc80dd","user":{"login":"KevinHock","id":3076393,"node_id":"MDQ6VXNlcjMwNzYzOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3076393?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinHock","html_url":"https://github.com/KevinHock","followers_url":"https://api.github.com/users/KevinHock/followers","following_url":"https://api.github.com/users/KevinHock/following{/other_user}","gists_url":"https://api.github.com/users/KevinHock/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinHock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinHock/subscriptions","organizations_url":"https://api.github.com/users/KevinHock/orgs","repos_url":"https://api.github.com/users/KevinHock/repos","events_url":"https://api.github.com/users/KevinHock/events{/privacy}","received_events_url":"https://api.github.com/users/KevinHock/received_events","type":"User","site_admin":false},"body":"Nit: `importing`","created_at":"2018-07-11T01:14:10Z","updated_at":"2018-07-11T01:14:25Z","html_url":"https://github.com/Yelp/detect-secrets/pull/58#discussion_r201540761","pull_request_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/comments/201540761"},"html":{"href":"https://github.com/Yelp/detect-secrets/pull/58#discussion_r201540761"},"pull_request":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58","id":200561100,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNTYxMTAw","html_url":"https://github.com/Yelp/detect-secrets/pull/58","diff_url":"https://github.com/Yelp/detect-secrets/pull/58.diff","patch_url":"https://github.com/Yelp/detect-secrets/pull/58.patch","issue_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/58","number":58,"state":"open","locked":false,"title":"More intelligent upgrade of baselines","user":{"login":"domanchi","id":10440566,"node_id":"MDQ6VXNlcjEwNDQwNTY2","avatar_url":"https://avatars3.githubusercontent.com/u/10440566?v=4","gravatar_id":"","url":"https://api.github.com/users/domanchi","html_url":"https://github.com/domanchi","followers_url":"https://api.github.com/users/domanchi/followers","following_url":"https://api.github.com/users/domanchi/following{/other_user}","gists_url":"https://api.github.com/users/domanchi/gists{/gist_id}","starred_url":"https://api.github.com/users/domanchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domanchi/subscriptions","organizations_url":"https://api.github.com/users/domanchi/orgs","repos_url":"https://api.github.com/users/domanchi/repos","events_url":"https://api.github.com/users/domanchi/events{/privacy}","received_events_url":"https://api.github.com/users/domanchi/received_events","type":"User","site_admin":false},"body":"## Testing\r\n\r\n```\r\n$ detect-secrets scan --update .secrets.baseline\r\n```\r\n\r\nEasier to use, and more accurate than\r\n\r\n```\r\n$ detect-secrets scan < .secrets.baseline > .secrets.baseline.new\r\n$ mv .secrets.baseline.new .secrets.baseline\r\n```\r\n\r\nFixes https://github.com/Yelp/detect-secrets/issues/55","created_at":"2018-07-11T00:57:27Z","updated_at":"2018-07-11T01:14:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d641bd801dabdde0f276661277c357d20b58e3e7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58/commits","review_comments_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58/comments","review_comment_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/58/comments","statuses_url":"https://api.github.com/repos/Yelp/detect-secrets/statuses/bc60aa5835aa7258a535680e93ecee5054fc80dd","head":{"label":"Yelp:smarter-import","ref":"smarter-import","sha":"bc60aa5835aa7258a535680e93ecee5054fc80dd","user":{"login":"Yelp","id":49071,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MDcx","avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":113111650,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxMTE2NTA=","name":"detect-secrets","full_name":"Yelp/detect-secrets","owner":{"login":"Yelp","id":49071,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MDcx","avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/detect-secrets","description":"An enterprise friendly way of detecting and preventing secrets in code.","fork":false,"url":"https://api.github.com/repos/Yelp/detect-secrets","forks_url":"https://api.github.com/repos/Yelp/detect-secrets/forks","keys_url":"https://api.github.com/repos/Yelp/detect-secrets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/detect-secrets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/detect-secrets/teams","hooks_url":"https://api.github.com/repos/Yelp/detect-secrets/hooks","issue_events_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/detect-secrets/events","assignees_url":"https://api.github.com/repos/Yelp/detect-secrets/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/detect-secrets/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/detect-secrets/tags","blobs_url":"https://api.github.com/repos/Yelp/detect-secrets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/detect-secrets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/detect-secrets/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/detect-secrets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/detect-secrets/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/detect-secrets/languages","stargazers_url":"https://api.github.com/repos/Yelp/detect-secrets/stargazers","contributors_url":"https://api.github.com/repos/Yelp/detect-secrets/contributors","subscribers_url":"https://api.github.com/repos/Yelp/detect-secrets/subscribers","subscription_url":"https://api.github.com/repos/Yelp/detect-secrets/subscription","commits_url":"https://api.github.com/repos/Yelp/detect-secrets/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/detect-secrets/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/detect-secrets/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/detect-secrets/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/detect-secrets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/detect-secrets/merges","archive_url":"https://api.github.com/repos/Yelp/detect-secrets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/detect-secrets/downloads","issues_url":"https://api.github.com/repos/Yelp/detect-secrets/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/detect-secrets/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/detect-secrets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/detect-secrets/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/detect-secrets/releases{/id}","deployments_url":"https://api.github.com/repos/Yelp/detect-secrets/deployments","created_at":"2017-12-05T00:38:38Z","updated_at":"2018-07-11T01:08:26Z","pushed_at":"2018-07-11T00:57:28Z","git_url":"git://github.com/Yelp/detect-secrets.git","ssh_url":"git@github.com:Yelp/detect-secrets.git","clone_url":"https://github.com/Yelp/detect-secrets.git","svn_url":"https://github.com/Yelp/detect-secrets","homepage":"","size":270,"stargazers_count":448,"watchers_count":448,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":35,"open_issues":9,"watchers":448,"default_branch":"master"}},"base":{"label":"Yelp:master","ref":"master","sha":"116dfa25d473d4d33bc66e0f9952784d48437061","user":{"login":"Yelp","id":49071,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MDcx","avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":113111650,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxMTE2NTA=","name":"detect-secrets","full_name":"Yelp/detect-secrets","owner":{"login":"Yelp","id":49071,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MDcx","avatar_url":"https://avatars1.githubusercontent.com/u/49071?v=4","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/detect-secrets","description":"An enterprise friendly way of detecting and preventing secrets in code.","fork":false,"url":"https://api.github.com/repos/Yelp/detect-secrets","forks_url":"https://api.github.com/repos/Yelp/detect-secrets/forks","keys_url":"https://api.github.com/repos/Yelp/detect-secrets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/detect-secrets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/detect-secrets/teams","hooks_url":"https://api.github.com/repos/Yelp/detect-secrets/hooks","issue_events_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/detect-secrets/events","assignees_url":"https://api.github.com/repos/Yelp/detect-secrets/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/detect-secrets/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/detect-secrets/tags","blobs_url":"https://api.github.com/repos/Yelp/detect-secrets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/detect-secrets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/detect-secrets/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/detect-secrets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/detect-secrets/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/detect-secrets/languages","stargazers_url":"https://api.github.com/repos/Yelp/detect-secrets/stargazers","contributors_url":"https://api.github.com/repos/Yelp/detect-secrets/contributors","subscribers_url":"https://api.github.com/repos/Yelp/detect-secrets/subscribers","subscription_url":"https://api.github.com/repos/Yelp/detect-secrets/subscription","commits_url":"https://api.github.com/repos/Yelp/detect-secrets/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/detect-secrets/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/detect-secrets/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/detect-secrets/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/detect-secrets/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/detect-secrets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/detect-secrets/merges","archive_url":"https://api.github.com/repos/Yelp/detect-secrets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/detect-secrets/downloads","issues_url":"https://api.github.com/repos/Yelp/detect-secrets/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/detect-secrets/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/detect-secrets/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/detect-secrets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/detect-secrets/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/detect-secrets/releases{/id}","deployments_url":"https://api.github.com/repos/Yelp/detect-secrets/deployments","created_at":"2017-12-05T00:38:38Z","updated_at":"2018-07-11T01:08:26Z","pushed_at":"2018-07-11T00:57:28Z","git_url":"git://github.com/Yelp/detect-secrets.git","ssh_url":"git@github.com:Yelp/detect-secrets.git","clone_url":"https://github.com/Yelp/detect-secrets.git","svn_url":"https://github.com/Yelp/detect-secrets","homepage":"","size":270,"stargazers_count":448,"watchers_count":448,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":35,"open_issues":9,"watchers":448,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58"},"html":{"href":"https://github.com/Yelp/detect-secrets/pull/58"},"issue":{"href":"https://api.github.com/repos/Yelp/detect-secrets/issues/58"},"comments":{"href":"https://api.github.com/repos/Yelp/detect-secrets/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/detect-secrets/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/detect-secrets/statuses/bc60aa5835aa7258a535680e93ecee5054fc80dd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KevinHock"}}