{"action":"created","comment":{"url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/comments/174533394","pull_request_review_id":103907158,"id":174533394,"diff_hunk":"@@ -0,0 +1,10 @@\n+/*\n+Targeted scripts can only be invoked by you, the user, eg via a right-click option on the Sites or History tabs\n+*/\n+import org.parosproxy.paros.network.HttpMessage\n+\n+void invokeWith(HttpMessage msg){\n+  print('invokeWith called for url=' + msg.getRequestHeader().getURI().toString() + '\\n')\n+}\n+\n+return { msg -> invokeWith(msg) }","path":"src/org/zaproxy/zap/extension/groovy/files/scripts/templates/targeted/Targeted_default_template.groovy","position":10,"original_position":10,"commit_id":"b71e04c4cdcbbbb1130f7de934c9e4139b9d5f5f","original_commit_id":"a6a5188b783ee32f24358b6bc73fefc0b10342c9","user":{"login":"thc202","id":4639210,"avatar_url":"https://avatars0.githubusercontent.com/u/4639210?v=4","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"body":"Worth adding a comment mentioning why or for what it's used.","created_at":"2018-03-14T16:57:29Z","updated_at":"2018-03-14T17:00:04Z","html_url":"https://github.com/zaproxy/zap-extensions/pull/1480#discussion_r174533394","pull_request_url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/comments/174533394"},"html":{"href":"https://github.com/zaproxy/zap-extensions/pull/1480#discussion_r174533394"},"pull_request":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480"}},"in_reply_to_id":173613395},"pull_request":{"url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480","id":174141792,"html_url":"https://github.com/zaproxy/zap-extensions/pull/1480","diff_url":"https://github.com/zaproxy/zap-extensions/pull/1480.diff","patch_url":"https://github.com/zaproxy/zap-extensions/pull/1480.patch","issue_url":"https://api.github.com/repos/zaproxy/zap-extensions/issues/1480","number":1480,"state":"open","locked":false,"title":"Added Groovy as scripting language and introduce support for debugging scripts via IDE","user":{"login":"denniskniep","id":3629463,"avatar_url":"https://avatars2.githubusercontent.com/u/3629463?v=4","gravatar_id":"","url":"https://api.github.com/users/denniskniep","html_url":"https://github.com/denniskniep","followers_url":"https://api.github.com/users/denniskniep/followers","following_url":"https://api.github.com/users/denniskniep/following{/other_user}","gists_url":"https://api.github.com/users/denniskniep/gists{/gist_id}","starred_url":"https://api.github.com/users/denniskniep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniskniep/subscriptions","organizations_url":"https://api.github.com/users/denniskniep/orgs","repos_url":"https://api.github.com/users/denniskniep/repos","events_url":"https://api.github.com/users/denniskniep/events{/privacy}","received_events_url":"https://api.github.com/users/denniskniep/received_events","type":"User","site_admin":false},"body":"see here for further information:\r\nhttps://groups.google.com/forum/#!topic/zaproxy-develop/BYwBFm3JNDA","created_at":"2018-03-10T00:47:38Z","updated_at":"2018-03-14T17:00:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d964b70846292ceba6e4b6c67f72daac9d7c0ff9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":865819040,"url":"https://api.github.com/repos/zaproxy/zap-extensions/labels/waiting-for:zaproxy-team","name":"waiting-for:zaproxy-team","color":"dae06b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480/commits","review_comments_url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480/comments","review_comment_url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaproxy/zap-extensions/issues/1480/comments","statuses_url":"https://api.github.com/repos/zaproxy/zap-extensions/statuses/b71e04c4cdcbbbb1130f7de934c9e4139b9d5f5f","head":{"label":"denniskniep:feature/groovyScripting","ref":"feature/groovyScripting","sha":"b71e04c4cdcbbbb1130f7de934c9e4139b9d5f5f","user":{"login":"denniskniep","id":3629463,"avatar_url":"https://avatars2.githubusercontent.com/u/3629463?v=4","gravatar_id":"","url":"https://api.github.com/users/denniskniep","html_url":"https://github.com/denniskniep","followers_url":"https://api.github.com/users/denniskniep/followers","following_url":"https://api.github.com/users/denniskniep/following{/other_user}","gists_url":"https://api.github.com/users/denniskniep/gists{/gist_id}","starred_url":"https://api.github.com/users/denniskniep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniskniep/subscriptions","organizations_url":"https://api.github.com/users/denniskniep/orgs","repos_url":"https://api.github.com/users/denniskniep/repos","events_url":"https://api.github.com/users/denniskniep/events{/privacy}","received_events_url":"https://api.github.com/users/denniskniep/received_events","type":"User","site_admin":false},"repo":{"id":43257435,"name":"zap-extensions","full_name":"denniskniep/zap-extensions","owner":{"login":"denniskniep","id":3629463,"avatar_url":"https://avatars2.githubusercontent.com/u/3629463?v=4","gravatar_id":"","url":"https://api.github.com/users/denniskniep","html_url":"https://github.com/denniskniep","followers_url":"https://api.github.com/users/denniskniep/followers","following_url":"https://api.github.com/users/denniskniep/following{/other_user}","gists_url":"https://api.github.com/users/denniskniep/gists{/gist_id}","starred_url":"https://api.github.com/users/denniskniep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniskniep/subscriptions","organizations_url":"https://api.github.com/users/denniskniep/orgs","repos_url":"https://api.github.com/users/denniskniep/repos","events_url":"https://api.github.com/users/denniskniep/events{/privacy}","received_events_url":"https://api.github.com/users/denniskniep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denniskniep/zap-extensions","description":"OWASP ZAP Add-ons","fork":true,"url":"https://api.github.com/repos/denniskniep/zap-extensions","forks_url":"https://api.github.com/repos/denniskniep/zap-extensions/forks","keys_url":"https://api.github.com/repos/denniskniep/zap-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denniskniep/zap-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denniskniep/zap-extensions/teams","hooks_url":"https://api.github.com/repos/denniskniep/zap-extensions/hooks","issue_events_url":"https://api.github.com/repos/denniskniep/zap-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/denniskniep/zap-extensions/events","assignees_url":"https://api.github.com/repos/denniskniep/zap-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/denniskniep/zap-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/denniskniep/zap-extensions/tags","blobs_url":"https://api.github.com/repos/denniskniep/zap-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denniskniep/zap-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denniskniep/zap-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/denniskniep/zap-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denniskniep/zap-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/denniskniep/zap-extensions/languages","stargazers_url":"https://api.github.com/repos/denniskniep/zap-extensions/stargazers","contributors_url":"https://api.github.com/repos/denniskniep/zap-extensions/contributors","subscribers_url":"https://api.github.com/repos/denniskniep/zap-extensions/subscribers","subscription_url":"https://api.github.com/repos/denniskniep/zap-extensions/subscription","commits_url":"https://api.github.com/repos/denniskniep/zap-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/denniskniep/zap-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/denniskniep/zap-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/denniskniep/zap-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/denniskniep/zap-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/denniskniep/zap-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denniskniep/zap-extensions/merges","archive_url":"https://api.github.com/repos/denniskniep/zap-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denniskniep/zap-extensions/downloads","issues_url":"https://api.github.com/repos/denniskniep/zap-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/denniskniep/zap-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/denniskniep/zap-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/denniskniep/zap-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denniskniep/zap-extensions/labels{/name}","releases_url":"https://api.github.com/repos/denniskniep/zap-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/denniskniep/zap-extensions/deployments","created_at":"2015-09-27T17:48:30Z","updated_at":"2017-09-03T00:34:49Z","pushed_at":"2018-03-12T23:57:36Z","git_url":"git://github.com/denniskniep/zap-extensions.git","ssh_url":"git@github.com:denniskniep/zap-extensions.git","clone_url":"https://github.com/denniskniep/zap-extensions.git","svn_url":"https://github.com/denniskniep/zap-extensions","homepage":"","size":884105,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zaproxy:alpha","ref":"alpha","sha":"d9df5466aabb344f5725362eb5e7773b4a7b17ed","user":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars2.githubusercontent.com/u/6716868?v=4","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":35210580,"name":"zap-extensions","full_name":"zaproxy/zap-extensions","owner":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars2.githubusercontent.com/u/6716868?v=4","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zaproxy/zap-extensions","description":"OWASP ZAP Add-ons","fork":false,"url":"https://api.github.com/repos/zaproxy/zap-extensions","forks_url":"https://api.github.com/repos/zaproxy/zap-extensions/forks","keys_url":"https://api.github.com/repos/zaproxy/zap-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaproxy/zap-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaproxy/zap-extensions/teams","hooks_url":"https://api.github.com/repos/zaproxy/zap-extensions/hooks","issue_events_url":"https://api.github.com/repos/zaproxy/zap-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/zaproxy/zap-extensions/events","assignees_url":"https://api.github.com/repos/zaproxy/zap-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/zaproxy/zap-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/zaproxy/zap-extensions/tags","blobs_url":"https://api.github.com/repos/zaproxy/zap-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaproxy/zap-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaproxy/zap-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaproxy/zap-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaproxy/zap-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/zaproxy/zap-extensions/languages","stargazers_url":"https://api.github.com/repos/zaproxy/zap-extensions/stargazers","contributors_url":"https://api.github.com/repos/zaproxy/zap-extensions/contributors","subscribers_url":"https://api.github.com/repos/zaproxy/zap-extensions/subscribers","subscription_url":"https://api.github.com/repos/zaproxy/zap-extensions/subscription","commits_url":"https://api.github.com/repos/zaproxy/zap-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaproxy/zap-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaproxy/zap-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaproxy/zap-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaproxy/zap-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/zaproxy/zap-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaproxy/zap-extensions/merges","archive_url":"https://api.github.com/repos/zaproxy/zap-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaproxy/zap-extensions/downloads","issues_url":"https://api.github.com/repos/zaproxy/zap-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/zaproxy/zap-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/zaproxy/zap-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/zaproxy/zap-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaproxy/zap-extensions/labels{/name}","releases_url":"https://api.github.com/repos/zaproxy/zap-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/zaproxy/zap-extensions/deployments","created_at":"2015-05-07T09:17:13Z","updated_at":"2018-03-13T17:15:03Z","pushed_at":"2018-03-14T08:59:09Z","git_url":"git://github.com/zaproxy/zap-extensions.git","ssh_url":"git@github.com:zaproxy/zap-extensions.git","clone_url":"https://github.com/zaproxy/zap-extensions.git","svn_url":"https://github.com/zaproxy/zap-extensions","homepage":"","size":895550,"stargazers_count":207,"watchers_count":207,"language":"HTML","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":233,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":233,"open_issues":15,"watchers":207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480"},"html":{"href":"https://github.com/zaproxy/zap-extensions/pull/1480"},"issue":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/issues/1480"},"comments":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/issues/1480/comments"},"review_comments":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480/comments"},"review_comment":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/pulls/1480/commits"},"statuses":{"href":"https://api.github.com/repos/zaproxy/zap-extensions/statuses/b71e04c4cdcbbbb1130f7de934c9e4139b9d5f5f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"thc202"}}