{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1","id":28439700,"html_url":"https://github.com/sait-berkeley-infosec/pynessus-api/pull/1","diff_url":"https://github.com/sait-berkeley-infosec/pynessus-api/pull/1.diff","patch_url":"https://github.com/sait-berkeley-infosec/pynessus-api/pull/1.patch","issue_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/1","number":1,"state":"open","locked":false,"title":"Major rewrite","user":{"login":"ajaska","id":4515801,"avatar_url":"https://avatars.githubusercontent.com/u/4515801?v=3","gravatar_id":"","url":"https://api.github.com/users/ajaska","html_url":"https://github.com/ajaska","followers_url":"https://api.github.com/users/ajaska/followers","following_url":"https://api.github.com/users/ajaska/following{/other_user}","gists_url":"https://api.github.com/users/ajaska/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaska/subscriptions","organizations_url":"https://api.github.com/users/ajaska/orgs","repos_url":"https://api.github.com/users/ajaska/repos","events_url":"https://api.github.com/users/ajaska/events{/privacy}","received_events_url":"https://api.github.com/users/ajaska/received_events","type":"User","site_admin":false},"body":"This is a major refactoring of this project with significant breaking changes and architectural redesign.\r\n\r\nSignificantly:\r\n* There is **no longer a single, global session**.\r\n* New instances should now be created via `nessusapi.Nessus` (instead of by instantiating a `nessusapi.session.Session`).\r\n  * Alternatively, create a Nessus instance from the environment via `nessusapi.Nessus.from_env()`\r\n* Reporting is changed entirely.\r\n  * A `Report` is an object containing information about a report.\r\n  * A `Host` is an object containing information about a specific host associated with a specific report.\r\n  * A `Vulnerability` is an object containing information about a specific vulnerability.\r\n  * A list of all `Report`s on a Nessus server may be obtained via `Nessus.reports`.\r\n  * A list of all `Hosts`s associated with a report may be obtained via `Report.hosts`.\r\n  * A list of all `Vulnerability`s associated with a host may be obtained via `Host.vulns`.\r\n\r\n* Scan now requires a `nessusapi.Nessus` instance as an arg.\r\n\r\n`nessusinterface` has been rewritten to use the new design. See it for a demonstration of how the new system works if there is confusion.\r\n\r\nTests have been updated as well, however coverage is still lacking.","created_at":"2015-02-02T00:03:17Z","updated_at":"2015-02-02T00:03:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/1/comments","statuses_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/statuses/15582b45ab6b9296acf51817f89168923d3b0c81","head":{"label":"sait-berkeley-infosec:Nessus","ref":"Nessus","sha":"15582b45ab6b9296acf51817f89168923d3b0c81","user":{"login":"sait-berkeley-infosec","id":7800872,"avatar_url":"https://avatars.githubusercontent.com/u/7800872?v=3","gravatar_id":"","url":"https://api.github.com/users/sait-berkeley-infosec","html_url":"https://github.com/sait-berkeley-infosec","followers_url":"https://api.github.com/users/sait-berkeley-infosec/followers","following_url":"https://api.github.com/users/sait-berkeley-infosec/following{/other_user}","gists_url":"https://api.github.com/users/sait-berkeley-infosec/gists{/gist_id}","starred_url":"https://api.github.com/users/sait-berkeley-infosec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sait-berkeley-infosec/subscriptions","organizations_url":"https://api.github.com/users/sait-berkeley-infosec/orgs","repos_url":"https://api.github.com/users/sait-berkeley-infosec/repos","events_url":"https://api.github.com/users/sait-berkeley-infosec/events{/privacy}","received_events_url":"https://api.github.com/users/sait-berkeley-infosec/received_events","type":"Organization","site_admin":false},"repo":{"id":20785281,"name":"pynessus-api","full_name":"sait-berkeley-infosec/pynessus-api","owner":{"login":"sait-berkeley-infosec","id":7800872,"avatar_url":"https://avatars.githubusercontent.com/u/7800872?v=3","gravatar_id":"","url":"https://api.github.com/users/sait-berkeley-infosec","html_url":"https://github.com/sait-berkeley-infosec","followers_url":"https://api.github.com/users/sait-berkeley-infosec/followers","following_url":"https://api.github.com/users/sait-berkeley-infosec/following{/other_user}","gists_url":"https://api.github.com/users/sait-berkeley-infosec/gists{/gist_id}","starred_url":"https://api.github.com/users/sait-berkeley-infosec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sait-berkeley-infosec/subscriptions","organizations_url":"https://api.github.com/users/sait-berkeley-infosec/orgs","repos_url":"https://api.github.com/users/sait-berkeley-infosec/repos","events_url":"https://api.github.com/users/sait-berkeley-infosec/events{/privacy}","received_events_url":"https://api.github.com/users/sait-berkeley-infosec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sait-berkeley-infosec/pynessus-api","description":"Port of the Ruby Nessus API interface to Python","fork":false,"url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api","forks_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/forks","keys_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/teams","hooks_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/hooks","issue_events_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/events{/number}","events_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/events","assignees_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/assignees{/user}","branches_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/branches{/branch}","tags_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/tags","blobs_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/languages","stargazers_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/stargazers","contributors_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/contributors","subscribers_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/subscribers","subscription_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/subscription","commits_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/contents/{+path}","compare_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/merges","archive_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/downloads","issues_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues{/number}","pulls_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/labels{/name}","releases_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/releases{/id}","created_at":"2014-06-12T22:46:16Z","updated_at":"2015-01-24T00:55:07Z","pushed_at":"2015-02-01T23:45:21Z","git_url":"git://github.com/sait-berkeley-infosec/pynessus-api.git","ssh_url":"git@github.com:sait-berkeley-infosec/pynessus-api.git","clone_url":"https://github.com/sait-berkeley-infosec/pynessus-api.git","svn_url":"https://github.com/sait-berkeley-infosec/pynessus-api","homepage":null,"size":250,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sait-berkeley-infosec:master","ref":"master","sha":"f5acca1700c490529e2aa8d646c8ddfcc8a8bcdf","user":{"login":"sait-berkeley-infosec","id":7800872,"avatar_url":"https://avatars.githubusercontent.com/u/7800872?v=3","gravatar_id":"","url":"https://api.github.com/users/sait-berkeley-infosec","html_url":"https://github.com/sait-berkeley-infosec","followers_url":"https://api.github.com/users/sait-berkeley-infosec/followers","following_url":"https://api.github.com/users/sait-berkeley-infosec/following{/other_user}","gists_url":"https://api.github.com/users/sait-berkeley-infosec/gists{/gist_id}","starred_url":"https://api.github.com/users/sait-berkeley-infosec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sait-berkeley-infosec/subscriptions","organizations_url":"https://api.github.com/users/sait-berkeley-infosec/orgs","repos_url":"https://api.github.com/users/sait-berkeley-infosec/repos","events_url":"https://api.github.com/users/sait-berkeley-infosec/events{/privacy}","received_events_url":"https://api.github.com/users/sait-berkeley-infosec/received_events","type":"Organization","site_admin":false},"repo":{"id":20785281,"name":"pynessus-api","full_name":"sait-berkeley-infosec/pynessus-api","owner":{"login":"sait-berkeley-infosec","id":7800872,"avatar_url":"https://avatars.githubusercontent.com/u/7800872?v=3","gravatar_id":"","url":"https://api.github.com/users/sait-berkeley-infosec","html_url":"https://github.com/sait-berkeley-infosec","followers_url":"https://api.github.com/users/sait-berkeley-infosec/followers","following_url":"https://api.github.com/users/sait-berkeley-infosec/following{/other_user}","gists_url":"https://api.github.com/users/sait-berkeley-infosec/gists{/gist_id}","starred_url":"https://api.github.com/users/sait-berkeley-infosec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sait-berkeley-infosec/subscriptions","organizations_url":"https://api.github.com/users/sait-berkeley-infosec/orgs","repos_url":"https://api.github.com/users/sait-berkeley-infosec/repos","events_url":"https://api.github.com/users/sait-berkeley-infosec/events{/privacy}","received_events_url":"https://api.github.com/users/sait-berkeley-infosec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sait-berkeley-infosec/pynessus-api","description":"Port of the Ruby Nessus API interface to Python","fork":false,"url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api","forks_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/forks","keys_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/teams","hooks_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/hooks","issue_events_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/events{/number}","events_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/events","assignees_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/assignees{/user}","branches_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/branches{/branch}","tags_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/tags","blobs_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/statuses/{sha}","languages_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/languages","stargazers_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/stargazers","contributors_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/contributors","subscribers_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/subscribers","subscription_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/subscription","commits_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/contents/{+path}","compare_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/merges","archive_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/downloads","issues_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues{/number}","pulls_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls{/number}","milestones_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/milestones{/number}","notifications_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/labels{/name}","releases_url":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/releases{/id}","created_at":"2014-06-12T22:46:16Z","updated_at":"2015-01-24T00:55:07Z","pushed_at":"2015-02-01T23:45:21Z","git_url":"git://github.com/sait-berkeley-infosec/pynessus-api.git","ssh_url":"git@github.com:sait-berkeley-infosec/pynessus-api.git","clone_url":"https://github.com/sait-berkeley-infosec/pynessus-api.git","svn_url":"https://github.com/sait-berkeley-infosec/pynessus-api","homepage":null,"size":250,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1"},"html":{"href":"https://github.com/sait-berkeley-infosec/pynessus-api/pull/1"},"issue":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/1"},"comments":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sait-berkeley-infosec/pynessus-api/statuses/15582b45ab6b9296acf51817f89168923d3b0c81"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":20,"additions":544,"deletions":193,"changed_files":16}}