{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/237219241","pull_request_review_id":179465096,"id":237219241,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzIxOTI0MQ==","diff_hunk":"@@ -54,6 +66,37 @@ export interface DatabaseSearchResponse<Hit = {}, Aggregations = undefined>\n   };\n }\n \n-export interface InfraDatabaseMultiResponse<Hit, Aggregation> extends DatabaseResponse {\n+export interface DatabaseMultiResponse<Hit, Aggregation> extends DatabaseResponse {\n   responses: Array<DatabaseSearchResponse<Hit, Aggregation>>;\n }\n+\n+interface FrameworkIndexFieldDescriptor {\n+  name: string;\n+  type: string;\n+  searchable: boolean;\n+  aggregatable: boolean;\n+  readFromDocValues: boolean;\n+}\n+\n+export interface FrameworkIndexPatternsService {\n+  getFieldsForWildcard(options: {\n+    pattern: string | string[];\n+  }): Promise<FrameworkIndexFieldDescriptor[]>;\n+}\n+\n+interface Alias {\n+  settings: {\n+    index: {\n+      uuid: string;\n+    };\n+  };\n+}\n+\n+export interface DatabaseGetIndicesResponse {\n+  [indexName: string]: {\n+    aliases: {\n+      // tslint:disable-next-line:no-any","path":"x-pack/plugins/secops/server/lib/framework/types.ts","position":55,"original_position":55,"commit_id":"c652426b90935b22856f57fffd6260db7f991098","original_commit_id":"c652426b90935b22856f57fffd6260db7f991098","user":{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false},"body":"oh man!!\r\n","created_at":"2018-11-28T19:03:00Z","updated_at":"2018-11-28T19:03:00Z","html_url":"https://github.com/elastic/kibana/pull/26234#discussion_r237219241","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/26234","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/237219241"},"html":{"href":"https://github.com/elastic/kibana/pull/26234#discussion_r237219241"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26234"}},"in_reply_to_id":237219165},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/26234","id":233757101,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzU3MTAx","html_url":"https://github.com/elastic/kibana/pull/26234","diff_url":"https://github.com/elastic/kibana/pull/26234.diff","patch_url":"https://github.com/elastic/kibana/pull/26234.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/26234","number":26234,"state":"open","locked":false,"title":"add query to check auditbeat indexes/indices/alias + indexfield query…","user":{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false},"body":"https://github.com/elastic/ingest-dev/issues/115\r\n\r\n### Query\r\n\r\n\r\n```{\r\n  source(id: \"default\") {\r\n    id\r\n    status {\r\n      auditbeatIndicesExist\r\n      auditbeatAliasExists\r\n      auditbeatIndices\r\n      indexFields {\r\n        name\r\n        searchable\r\n        type\r\n        aggregatable\r\n      }\r\n    }\r\n  }\r\n}```\r\n","created_at":"2018-11-27T02:13:30Z","updated_at":"2018-11-28T19:03:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a91e6ca241f5e5ab96914a2a37bb6c12a97f58dd","assignee":{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false},"assignees":[{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1091927122,"node_id":"MDU6TGFiZWwxMDkxOTI3MTIy","url":"https://api.github.com/repos/elastic/kibana/labels/:SecOps%20UI","name":":SecOps UI","color":"FFDF00","default":false},{"id":1019679346,"node_id":"MDU6TGFiZWwxMDE5Njc5MzQ2","url":"https://api.github.com/repos/elastic/kibana/labels/loe:days","name":"loe:days","color":"E6C220","default":false},{"id":135307740,"node_id":"MDU6TGFiZWwxMzUzMDc3NDA=","url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/26234/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/26234/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/26234/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/c652426b90935b22856f57fffd6260db7f991098","head":{"label":"XavierM:check-indices-alias-indexNames","ref":"check-indices-alias-indexNames","sha":"c652426b90935b22856f57fffd6260db7f991098","user":{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false},"repo":{"id":143454557,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0NTQ1NTc=","name":"kibana","full_name":"XavierM/kibana","private":false,"owner":{"login":"XavierM","id":189600,"node_id":"MDQ6VXNlcjE4OTYwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/189600?v=4","gravatar_id":"","url":"https://api.github.com/users/XavierM","html_url":"https://github.com/XavierM","followers_url":"https://api.github.com/users/XavierM/followers","following_url":"https://api.github.com/users/XavierM/following{/other_user}","gists_url":"https://api.github.com/users/XavierM/gists{/gist_id}","starred_url":"https://api.github.com/users/XavierM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XavierM/subscriptions","organizations_url":"https://api.github.com/users/XavierM/orgs","repos_url":"https://api.github.com/users/XavierM/repos","events_url":"https://api.github.com/users/XavierM/events{/privacy}","received_events_url":"https://api.github.com/users/XavierM/received_events","type":"User","site_admin":false},"html_url":"https://github.com/XavierM/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/XavierM/kibana","forks_url":"https://api.github.com/repos/XavierM/kibana/forks","keys_url":"https://api.github.com/repos/XavierM/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XavierM/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XavierM/kibana/teams","hooks_url":"https://api.github.com/repos/XavierM/kibana/hooks","issue_events_url":"https://api.github.com/repos/XavierM/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/XavierM/kibana/events","assignees_url":"https://api.github.com/repos/XavierM/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/XavierM/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/XavierM/kibana/tags","blobs_url":"https://api.github.com/repos/XavierM/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XavierM/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XavierM/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/XavierM/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XavierM/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/XavierM/kibana/languages","stargazers_url":"https://api.github.com/repos/XavierM/kibana/stargazers","contributors_url":"https://api.github.com/repos/XavierM/kibana/contributors","subscribers_url":"https://api.github.com/repos/XavierM/kibana/subscribers","subscription_url":"https://api.github.com/repos/XavierM/kibana/subscription","commits_url":"https://api.github.com/repos/XavierM/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/XavierM/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/XavierM/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/XavierM/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/XavierM/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/XavierM/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XavierM/kibana/merges","archive_url":"https://api.github.com/repos/XavierM/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XavierM/kibana/downloads","issues_url":"https://api.github.com/repos/XavierM/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/XavierM/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/XavierM/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/XavierM/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XavierM/kibana/labels{/name}","releases_url":"https://api.github.com/repos/XavierM/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/XavierM/kibana/deployments","created_at":"2018-08-03T17:19:10Z","updated_at":"2018-11-13T15:03:40Z","pushed_at":"2018-11-28T15:18:40Z","git_url":"git://github.com/XavierM/kibana.git","ssh_url":"git@github.com:XavierM/kibana.git","clone_url":"https://github.com/XavierM/kibana.git","svn_url":"https://github.com/XavierM/kibana","homepage":"https://www.elastic.co/products/kibana","size":485386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:feature-secops","ref":"feature-secops","sha":"7d56f6e3bbc78431ad849c9118e67cc4c45058ef","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzMTY4","name":"kibana","full_name":"elastic/kibana","private":false,"owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2018-11-28T18:43:46Z","pushed_at":"2018-11-28T18:59:30Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":577824,"stargazers_count":10527,"watchers_count":10527,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4121,"mirror_url":null,"archived":false,"open_issues_count":3768,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4121,"open_issues":3768,"watchers":10527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26234"},"html":{"href":"https://github.com/elastic/kibana/pull/26234"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/26234"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/26234/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26234/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26234/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/c652426b90935b22856f57fffd6260db7f991098"}},"author_association":"NONE"}}
{"actor":{"display_login":"XavierM"}}