{"action":"opened","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/2170","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2170/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2170/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2170/events","html_url":"https://github.com/capitalone/Hygieia/issues/2170","id":317315472,"number":2170,"title":"BitBucket 401 Unauthorized","user":{"login":"mhoffman78","id":36509786,"avatar_url":"https://avatars3.githubusercontent.com/u/36509786?v=4","gravatar_id":"","url":"https://api.github.com/users/mhoffman78","html_url":"https://github.com/mhoffman78","followers_url":"https://api.github.com/users/mhoffman78/followers","following_url":"https://api.github.com/users/mhoffman78/following{/other_user}","gists_url":"https://api.github.com/users/mhoffman78/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoffman78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoffman78/subscriptions","organizations_url":"https://api.github.com/users/mhoffman78/orgs","repos_url":"https://api.github.com/users/mhoffman78/repos","events_url":"https://api.github.com/users/mhoffman78/events{/privacy}","received_events_url":"https://api.github.com/users/mhoffman78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T17:04:27Z","updated_at":"2018-04-24T17:04:27Z","closed_at":null,"author_association":"NONE","body":"I am receiving a 401 Unauthorized when I run the BitBucket collector.  I was unsure if I need to encrypt the key or not.  I generated a key - https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html and I am using it in bitbucket.key property in the application.properties file.  Here is my application.properties\r\n\r\ngit.host=bitbucket.org/\r\ngit.api=/\r\ngit.commitThresholdDays=15\r\ngit.pageSize=25\r\ngit.product=cloud\r\nbitbucket.key==ssh-rsa AA...\r\n\r\nIn the UI - I have https://api.bitbucket.org/2.0/repositories/<org_name>/<repo_name> with a branch of master and no credentials\r\n\r\nHow does the the git.host, git.api and repo url all fit together?\r\n\r\nThanks\r\nMike\r\n"}}
{"actor":{"display_login":"mhoffman78"}}