{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/6418","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/6418/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/6418/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/6418/events","html_url":"https://github.com/elasticsearch/elasticsearch/issues/6418","id":35084595,"number":6418,"title":"Allow fine-grained script settings","user":{"login":"gibrown","id":820871,"avatar_url":"https://avatars.githubusercontent.com/u/820871?v=3","gravatar_id":"","url":"https://api.github.com/users/gibrown","html_url":"https://github.com/gibrown","followers_url":"https://api.github.com/users/gibrown/followers","following_url":"https://api.github.com/users/gibrown/following{/other_user}","gists_url":"https://api.github.com/users/gibrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gibrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibrown/subscriptions","organizations_url":"https://api.github.com/users/gibrown/orgs","repos_url":"https://api.github.com/users/gibrown/repos","events_url":"https://api.github.com/users/gibrown/events{/privacy}","received_events_url":"https://api.github.com/users/gibrown/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/:Scripting","name":":Scripting","color":"009800"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/breaking","name":"breaking","color":"ff0000"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v1.5.0","name":"v1.5.0","color":"dddddd"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":{"login":"javanna","id":832460,"avatar_url":"https://avatars.githubusercontent.com/u/832460?v=3","gravatar_id":"","url":"https://api.github.com/users/javanna","html_url":"https://github.com/javanna","followers_url":"https://api.github.com/users/javanna/followers","following_url":"https://api.github.com/users/javanna/following{/other_user}","gists_url":"https://api.github.com/users/javanna/gists{/gist_id}","starred_url":"https://api.github.com/users/javanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javanna/subscriptions","organizations_url":"https://api.github.com/users/javanna/orgs","repos_url":"https://api.github.com/users/javanna/repos","events_url":"https://api.github.com/users/javanna/events{/privacy}","received_events_url":"https://api.github.com/users/javanna/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2014-06-05T18:36:43Z","updated_at":"2015-03-03T12:51:47Z","closed_at":null,"body":"Would be good to globally disallow scripting based on the type of operation being done. \r\n\r\nIn particular I want to prevent scripting on queries but allow scripting in update/index operations.\r\n\r\nOr maybe just separate this by which thread pool it is running in?\r\n\r\nRelated to #5943 "},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/76939601","html_url":"https://github.com/elasticsearch/elasticsearch/issues/6418#issuecomment-76939601","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/6418","id":76939601,"user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T12:51:47Z","updated_at":"2015-03-03T12:51:47Z","body":"+1"}}