Skip to content
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

Resolves merge conflict #2

Commits on Nov 12, 2020

  1. [Ingest Manger] Move asset getters out of registry (elastic#83214)

    ## Summary
    Packages/Archives aren't limited to the registry any longer.  Continue moving file- & cache-related functions from services/registry to services/archive.
    
    Move `getAsset` and `pathParts` to archive/index. The behavior is the same for now, but it's more accurate to separate these from registry namespace.
    
    Registry has `fetch*` and other functions for dealing with the online service.
    John Schulz committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    4721b32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8576ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d346cd View commit details
    Browse the repository at this point in the history
  4. [Index Management] Add an index template link to data stream details (e…

    …lastic#82592)
    
    * Add index template link to data stream details
    
    * Fixed ILM policy link and added a check for index template name after navigation
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    yuliacech and kibanamachine committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    3a849ff View commit details
    Browse the repository at this point in the history
  5. [Logs UI] Add pagination to the log stream shared component (elastic#…

    …81193)
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    Alejandro Fernández Gómez and kibanamachine committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    0e7bcf6 View commit details
    Browse the repository at this point in the history
  6. [ML] Persisted URL state for the "Anomaly detection jobs" page (elast…

    …ic#83149)
    
    * [ML] table config in the URL state
    
    * [ML] fix job list on the management page
    
    * [ML] store query filter in the URL
    
    * [ML] fix context for the management page
    
    * [ML] update module_list_card.tsx in Logs UI
    
    * [ML] fix unit tests
    
    * [ML] fix unit tests
    
    * [ML] fix unit tests
    
    * [ML] move utils functions
    
    * [ML] url generator to support both job and group ids
    darnautov committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    169dcef View commit details
    Browse the repository at this point in the history
  7. Add additional sources routes (elastic#83227)

    These were missed in elastic#83125
    scottybollinger committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    35656b9 View commit details
    Browse the repository at this point in the history
  8. [alerts] add executionStatus to event log doc for action execute (ela…

    …stic#82401)
    
    resolves elastic#79785
    
    Until now, the execution status was available in the the event
    log document for the execute action.  In this PR we add it.
    
    The event log is extended to add the following fields:
    
    - `kibana.alerting.status` - from executionStatus.status
    - `event.reason`           - from executionStatus.error.reason
    
    The date from the executionStatus and start date in the event
    log will be set to the same value.
    
    Previously, errors encountered while trying to execute an
    alert executor, eg decrypting the alert, would not end up
    with an event doc generated.  Now they will.
    
    In addition, there were a few places where events that could
    have had the action group in them did not, and one where the
    instance id was undefined - those were fixed up.
    pmuellr committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    c3e5794 View commit details
    Browse the repository at this point in the history
  9. [Advanced Settings] Introducing telemetry (elastic#82860)

    * [Advaned Settings] Introducing telemetry
    
    * Publishing doc changes
    
    * Move metric tracking to onSave method
    
    * Adding deprecated warning
    
    * Updating docs
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    Maja Grubic and kibanamachine committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    5551966 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    afbf1a9 View commit details
    Browse the repository at this point in the history
  11. Btsymbala/registered av (elastic#81910)

    * Moved out type for OperatingSystem and moved OS translations one level higher.
    
    * Changed the translation to be consistent between trusted apps and policy.
    
    * Unified translations of OS types between trusted apps and policy.
    
    * Removed unused types.
    
    * Added registered AV form section.
    
    * Changed the property structure to match the format expected by endpoint.
    
    * Fixed the visual alignment of titles in the form and added responsiveness.
    
    * Updated snapshots.
    
    * Moved out type for OperatingSystem and moved OS translations one level higher.
    
    * Added config form heading component.
    
    * Cleaned up translations.
    
    * Fixed type error with initialization.
    
    * Fixed error in trusted app creation form test.
    
    * Removed the guard for now in favour of better initialization.
    
    * Fixed the store test.
    
    * Fixing functional test data.
    
    * Added functional test config option to account for a custom header within security app.
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    efreeti and kibanamachine committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    58ad7ec View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    eaa6553 View commit details
    Browse the repository at this point in the history
  13. [App Search] Version documentation links (elastic#83245)

    * Fix CURRENT_MAJOR_VERSION for use in Elastic docs links
    
    - Was previously just sending (e.g.) "7". instead of "7.9"
    
    * Add App Search DOCS_PREFIX constant
    
    - follow WS's example
    
    * Update all App Search doc links to use prefixed URLs
    
    - except for Enterprise Search setup guide, which should be updated to use a shared URL at some point in any case
    Constance committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    bd99b19 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f1f2672 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4932dc5 View commit details
    Browse the repository at this point in the history
  16. [Ingest Manager] Lift up registry/{stream,extract} functions (elastic…

    …#83239)
    
    ## Summary
    
      * Move stream utility functions from `server/services/epm/registry/streams.ts` to `server/services/epm/streams.ts`
        * They're only used in registry at the moment but aren't specific to registry 
      * Move archive extraction functions from `server/services/epm/registry/extract.ts` to `server/services/epm/archive.ts`
        * The Registry isn't the only service/code which needs to extract packages. Continue consolidating archive-related code under archive vs registry
    John Schulz committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    208e86e View commit details
    Browse the repository at this point in the history
  17. [Alerting] Moves the Index & Geo Threshold UIs into the Stack Alerts …

    …Public Plugin (elastic#82951)
    
    This PR includes the following refactors:
    1. Moves the Index Pattern Api from _Stack Alerts_ to the _Server_ plugin of _Trigger Actions UI_. This fixes a potential bug where a user could disable the _Stack Alerts_ plugin and inadvertently break the UI of the _ES Index _ action type.
    2. Extracts the UI components for _Index Threshold_ and _Geo Threshold_ from the _Trigger Actions UI_ plugin and moves them into _Stack Alerts_.
    gmmorris committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    ab72206 View commit details
    Browse the repository at this point in the history
  18. [Fleet] IngestManager Plugin interface for registering UI extensions (e…

    …lastic#82783)
    
    * Expose `registerExtension()` interface on `Plugin#start`
    * Refactor use of `CustomConfigurePackagePolicy` to the new registerExtension approach
    * Refactor to always show registered ui extension (even if Integration has configuration options)
    paul-tavares committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    1babb5f View commit details
    Browse the repository at this point in the history
  19. [ML] Update apidoc config with the Trained models endpoints (elastic#…

    …83274)
    
    * [ML] fix apidoc annotations
    
    * [ML] add trained models
    
    * [ML] use full path to the apidoc-markdown package
    darnautov committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    6e9177c View commit details
    Browse the repository at this point in the history
  20. enables actions scoped within the stack to register at Basic license (e…

    …lastic#82931)
    
    Enables actions scoped within the stack to register at Basic license
    gmmorris committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    3151e7e View commit details
    Browse the repository at this point in the history
  21. [ML] Data frame analytics: Adds map view (elastic#81666)

    * add analytics map endpoint and server model
    
    * add map action to job and models list
    
    * wip:fetch models for jobs. Use url generator
    
    * get models when extending node. deduplicate elements
    
    * add job type icons. disable map action if job not finished.
    
    * move shared const to common dir
    
    * persist map tab. handle indexPattern from visualizer
    
    * use url generator in models list
    
    * temporarily disable delete action in flyout
    
    * update legend style. make map horizontal
    
    * update dfa model to use spaces changes
    
    * format creation time
    
    * update from indexPattern to index.remove refresh button
    
    * handle index patterns with wildcard
    alvarezmelissa87 committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    6519b83 View commit details
    Browse the repository at this point in the history
  22. [DOCS] Updates Discover docs (elastic#82773)

    * [DOCS] Updates Discover docs
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * Update docs/user/discover.asciidoc
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    
    * [DOCS] Incorporates review comments
    
    * [DOCS] More changes based on edits
    
    * [DOCS] Edits per lastest review
    
    * [DOCS] Added redirects
    
    Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
    gchaps and KOTungseth committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    0e565bf View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    fed9a4f View commit details
    Browse the repository at this point in the history
  24. [Actions] Removing placeholders and updating validation messages on c…

    …onnector forms (elastic#82734)
    
    * Removing placeholders. Updating validation messages
    
    * Splitting out url and protocol validation
    
    * Adding url validation for slack webhook urls
    
    * Fixing test
    
    Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
    ymao1 and kibanamachine committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    3412843 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4c49d5d View commit details
    Browse the repository at this point in the history
  26. [packerCache] fix gulp usage, don't archive node_modules (elastic#83327)

    Co-authored-by: spalger <spalger@users.noreply.github.com>
    Spencer and spalger committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    74e07d2 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d52415c View commit details
    Browse the repository at this point in the history
  28. [Security Solutions] Adds a default for indicator match custom query …

    …of *:* (elastic#81727)
    
    ## Summary
    
    Allows for Indicator matches to have a default of `*:*` for the query field when it is selected.
    
    Before, indicator query is blank when first selecting the rule:
    <img width="1037" alt="Screen Shot 2020-11-05 at 5 44 50 PM" src="https://user-images.githubusercontent.com/1151048/98312312-afc9ff00-1f8e-11eb-822b-ad95104ca54e.png">
    
    After, indicator query is by default `*:*` unless the user has previously edited the query field:
    <img width="1038" alt="Screen Shot 2020-11-05 at 5 45 38 PM" src="https://user-images.githubusercontent.com/1151048/98312363-cb350a00-1f8e-11eb-9137-8da2f770ec7e.png">
    
    Adds a stable reference for threat matching to determine when the query field has been modified or not. This is keep the current behavior and the rules operate like this:
    
    * If you select an indicator match rule and nothing has been previously edited it will select `*:*` for the query
    * If you have modified your custom query and select indicator match rule, then `*:*` will be replaced with that custom query and `*:*` will not be used.
    * If you select EQL rule and then _back_ to this rule type the `*:*` will be re-inserted and `edit: true` will flip back to false, due to the magic that is keys within React and how the EQL rule type relies on that.
     
    ### Checklist
    
    Delete any items that are not applicable to this PR.
    
    - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
    - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
    - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
    - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
    - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
    FrankHassanabad committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    18cea00 View commit details
    Browse the repository at this point in the history
  29. APM header changes (elastic#82870)

    - Make APM and UX headers size medium instead of large
    - Remove margin around APM main container
    - Make APM tabs condensed
    - Switch environment filter and date picker positions
    - Move search bar (kuery + date picker) below the tabs
    - Wrap pages in `EuiPage` components
    - Set a minimum width on the enironment selector so it doesn't collapse when loading
    - Don't show search bar on service map
    
    Fixes elastic#81954.
    smith committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    452d4c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Consolidates Jest configuration files and scripts (elastic#82671)

    Jest tests are currently organized into main configuration files (src/dev/jest/config.js and x-pack/dev-tools/jest/create_jest_config.js). Both of these are similar, but very slightly due to  previously being in separate repositories. This change consolidates the scripts referenced in those configs and moves them to the `@kbn/test` project.
    
    OSS contained an alias for `test_utils`. Those aliases have been removed in favor of importing these utilities from `@kbn/test/jest`
    
    Blocker to elastic#72569
    
    Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
    Tyler Smalley committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    aba2068 View commit details
    Browse the repository at this point in the history
  2. [Enterprise Search] Share Loading component (elastic#83246)

    * Add basic Loading component
    
    - for pages with shifting layouts or where skeletal loading doesn't make sense
    
    * Move Loading to shared components
    
    * Update WS to use new shared Loading component
    
    * Fix for non-Layout WS Overview page
    
    * Update x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx
    
    Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
    
    Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
    Constance and scottybollinger committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    35faf8c View commit details
    Browse the repository at this point in the history
  3. [Security Solution][Detections] Adds framework for replacing API sche…

    …mas (elastic#82462)
    
    * Adds framework for replacing API schemas
    
    * Update integration tests with new schema
    
    * Fix response type on createRule helper
    
    * Add unit tests for new rule schema, add defaults for some array fields, clean up API schema definitions
    
    * Naming updates and linting fixes
    
    * Replace create_rules_bulk_schema and refactor route
    
    * Convert update_rules_route to new schema
    
    * Fix missing name error
    
    * Fix more tests
    
    * Fix import
    
    * Update patch route with internal schema validation
    
    * Reorganize new schema as drop-in replacement for create_rules_schema
    
    * Replace updateRulesSchema with new version
    
    * Cleanup - remove references to specific files within request folder
    
    * Fix imports
    
    * Fix tests
    
    * Allow a few more fields to be undefined in internal schema
    
    * Add static types back to test payloads, add more tests, add NonEmptyArray type builder
    
    * Pull defaults into reusable function
    marshallmain committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    4dd25fa View commit details
    Browse the repository at this point in the history
  4. [ML] Adds functional tests for the index data visualizer card contents (

    elastic#83174)
    
    * [ML] Adds functional tests for the index data visualizer card contents
    
    * [ML] Fix translations
    
    * [ML] Fix type errors in permissions tests
    
    * [ML] Address comments from review
    peteharverson committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    dde2d11 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

  1. Merge remote-tracking branch 'upstream/master' into chore/jest-circus…

    …-oss_cr
    Tyler Smalley committed Nov 14, 2020
    Configuration menu
    Copy the full SHA
    1141f23 View commit details
    Browse the repository at this point in the history