-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Security Solutions] (Phase 1) Adds an application cache called metrics entities and integrates it within Security Solutions behind a feature flag #96446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
FrankHassanabad
merged 69 commits into
elastic:master
from
FrankHassanabad:add-summary-metrics-plugin
Apr 30, 2021
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
dcd3276
Initial framework code in place with lots of TODO's, all WIP.
FrankHassanabad 9f84e84
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad f93e293
Added a new module for all of security solutions and more metrics for…
FrankHassanabad 5922ead
Added delete security_solutions and more notes to the README.md
FrankHassanabad 66c6e21
Initial integration with the web application for querying (lots of wi…
FrankHassanabad 33ef3cf
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 02d2acd
More bug fixes, changed out the names for smaller names of things
FrankHassanabad f55e528
Renamed plugin to be metrics_entities
FrankHassanabad 9f28076
Renamed more files to use entities instead of summaries as that is mo…
FrankHassanabad fed2036
More renaming to keep things more concise
FrankHassanabad ed2ceb6
Renamed
FrankHassanabad ef1ccb8
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 04d22ba
Remove merged things that shouldn't be in tsconfig
FrankHassanabad 179d6d1
Remove extra line
FrankHassanabad d4652ff
Cleanup and more todo blocks around areas
FrankHassanabad 5e90728
Pushed the timerange back upwards to the front end, removed more TODO…
FrankHassanabad 0a28e26
Updated the i18n key to work out
FrankHassanabad 0a99e53
Added the matrix histogram that was missing from the refactor
FrankHassanabad 45465a8
Removed accidental change from cases
FrankHassanabad 6d29a66
Added feature flags to enable/disable the metrics_summary and disabli…
FrankHassanabad 458e7e8
Added experimental flag support to the ui_settings now as well
FrankHassanabad 408d0eb
Fixes unit tests to work with experimental and thus ... tada ... this…
FrankHassanabad ec09f42
Fixed server watch path jest test
FrankHassanabad 19eed74
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 1d07694
Fixed error with jests from update from master
FrankHassanabad 2cf992e
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad a70b3c2
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 046edc0
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad edfbb5b
Fix broken tests
FrankHassanabad dae2cac
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 5276c2d
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 67212fa
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad c31938b
Fix type issue
FrankHassanabad 2fe2e89
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 1424d13
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad ec3d3eb
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 8770760
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad e1f52e7
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 34574be
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 42fb51c
Merge branch 'master' into add-summary-metrics-plugin
kibanamachine 8126a27
Merge branch 'master' into add-summary-metrics-plugin
kibanamachine 76725d3
Updated asciidoc
FrankHassanabad 43fe201
Changed i18n from PR feedback
FrankHassanabad 2565d9f
Fixed license information on the top of shell scripts
FrankHassanabad 544deed
Fixes from PR review
FrankHassanabad 3493b94
Fixed license files and linter to use the correct license
FrankHassanabad 09fb2eb
Updated the other linter location and changed wrong paths
FrankHassanabad c05efb1
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 4c792a9
Removed duplicate key
FrankHassanabad aca1449
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 9ab9aec
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 4845c9c
Small fixes from PR review
FrankHassanabad ae5bfea
Add better logging with info from PR review
FrankHassanabad a63b3f1
Added some TODO blocks
FrankHassanabad a7f8d2d
Updated naming from Summary to Entities
FrankHassanabad 7e25bc1
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad a16f17e
Adds a fix where the useUiSetting$ is not correct with the types and …
FrankHassanabad 71b4f96
Fixes from PR comments from everyone
FrankHassanabad 4ad83a3
Moved plugin over to the new tsconfig refs system
FrankHassanabad 01fb63c
Added star pattern to be able to allow people to configure additional…
FrankHassanabad a7f478e
Changed 3d to be 1w
FrankHassanabad bd49ce3
Changed the created 1.0.0 for the Kibana version to match the transfo…
FrankHassanabad 06570a1
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 8e717f8
Commited api docs
FrankHassanabad 075ff1f
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad 06d87df
Fixed up TODO comments
FrankHassanabad 2270709
Updated README and some notes
FrankHassanabad d5ab054
Added docs that wanted to be updated
FrankHassanabad 8c3e322
Merge branch 'master' into add-summary-metrics-plugin
FrankHassanabad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,151 @@ | ||
| { | ||
| "id": "metricsEntities", | ||
| "client": { | ||
| "classes": [], | ||
| "functions": [], | ||
| "interfaces": [], | ||
| "enums": [], | ||
| "misc": [], | ||
| "objects": [] | ||
| }, | ||
| "server": { | ||
| "classes": [], | ||
| "functions": [], | ||
| "interfaces": [], | ||
| "enums": [], | ||
| "misc": [], | ||
| "objects": [], | ||
| "setup": { | ||
| "id": "def-server.MetricsEntitiesPluginSetup", | ||
| "type": "Interface", | ||
| "label": "MetricsEntitiesPluginSetup", | ||
| "description": [], | ||
| "tags": [], | ||
| "children": [ | ||
| { | ||
| "tags": [], | ||
| "id": "def-server.MetricsEntitiesPluginSetup.getMetricsEntitiesClient", | ||
| "type": "Function", | ||
| "label": "getMetricsEntitiesClient", | ||
| "description": [], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/server/types.ts", | ||
| "lineNumber": 15 | ||
| }, | ||
| "signature": [ | ||
| "GetMetricsEntitiesClientType" | ||
| ] | ||
| } | ||
| ], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/server/types.ts", | ||
| "lineNumber": 14 | ||
| }, | ||
| "lifecycle": "setup", | ||
| "initialIsOpen": true | ||
| }, | ||
| "start": { | ||
| "id": "def-server.MetricsEntitiesPluginStart", | ||
| "type": "Type", | ||
| "label": "MetricsEntitiesPluginStart", | ||
| "tags": [], | ||
| "description": [], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/server/types.ts", | ||
| "lineNumber": 18 | ||
| }, | ||
| "signature": [ | ||
| "void" | ||
| ], | ||
| "lifecycle": "start", | ||
| "initialIsOpen": true | ||
| } | ||
| }, | ||
| "common": { | ||
| "classes": [], | ||
| "functions": [], | ||
| "interfaces": [], | ||
| "enums": [], | ||
| "misc": [ | ||
| { | ||
| "tags": [], | ||
| "id": "def-common.ELASTIC_NAME", | ||
| "type": "string", | ||
| "label": "ELASTIC_NAME", | ||
| "description": [ | ||
| "\nGlobal prefix for all the transform jobs" | ||
| ], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/common/constants.ts", | ||
| "lineNumber": 21 | ||
| }, | ||
| "signature": [ | ||
| "\"estc\"" | ||
| ], | ||
| "initialIsOpen": false | ||
| }, | ||
| { | ||
| "tags": [], | ||
| "id": "def-common.METRICS_ENTITIES_TRANSFORMS", | ||
| "type": "string", | ||
| "label": "METRICS_ENTITIES_TRANSFORMS", | ||
| "description": [ | ||
| "\nTransforms route" | ||
| ], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/common/constants.ts", | ||
| "lineNumber": 16 | ||
| }, | ||
| "initialIsOpen": false | ||
| }, | ||
| { | ||
| "tags": [], | ||
| "id": "def-common.METRICS_ENTITIES_URL", | ||
| "type": "string", | ||
| "label": "METRICS_ENTITIES_URL", | ||
| "description": [ | ||
| "\nBase route" | ||
| ], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/common/constants.ts", | ||
| "lineNumber": 11 | ||
| }, | ||
| "signature": [ | ||
| "\"/api/metrics_entities\"" | ||
| ], | ||
| "initialIsOpen": false | ||
| }, | ||
| { | ||
| "tags": [], | ||
| "id": "def-common.PLUGIN_ID", | ||
| "type": "string", | ||
| "label": "PLUGIN_ID", | ||
| "description": [], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/common/index.ts", | ||
| "lineNumber": 8 | ||
| }, | ||
| "signature": [ | ||
| "\"metricsEntities\"" | ||
| ], | ||
| "initialIsOpen": false | ||
| }, | ||
| { | ||
| "tags": [], | ||
| "id": "def-common.PLUGIN_NAME", | ||
| "type": "string", | ||
| "label": "PLUGIN_NAME", | ||
| "description": [], | ||
| "source": { | ||
| "path": "x-pack/plugins/metrics_entities/common/index.ts", | ||
| "lineNumber": 9 | ||
| }, | ||
| "signature": [ | ||
| "\"metrics_entities\"" | ||
| ], | ||
| "initialIsOpen": false | ||
| } | ||
| ], | ||
| "objects": [] | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| --- | ||
| id: kibMetricsEntitiesPluginApi | ||
| slug: /kibana-dev-docs/metricsEntitiesPluginApi | ||
| title: metricsEntities | ||
| image: https://source.unsplash.com/400x175/?github | ||
| summary: API docs for the metricsEntities plugin | ||
| date: 2020-11-16 | ||
| tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsEntities'] | ||
| warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. | ||
| --- | ||
|
|
||
| import metricsEntitiesObj from './metrics_entities.json'; | ||
|
|
||
| ## Server | ||
|
|
||
| ### Setup | ||
| <DocDefinitionList data={[metricsEntitiesObj.server.setup]}/> | ||
|
|
||
| ### Start | ||
| <DocDefinitionList data={[metricsEntitiesObj.server.start]}/> | ||
|
|
||
| ## Common | ||
|
|
||
| ### Consts, variables and types | ||
| <DocDefinitionList data={metricsEntitiesObj.common.misc}/> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: This was auto generated running some tooling, so I am going to take a stab at checking it in! :-)
It looked right as there are other docs in this folder.