* adds linter rule to disallow undeclared variables
* adds cypress eslint plugin, remove redundant packages from siem/package.json
* removes comment from json and adds a line about cypress linting to the cypress README
* adds upgraded package back to siem/package.json
* updates cypress run scripts since cypress package is now located in the x-pack/node_modules
* needed to yarn kbn bootstrap after rebasing with master
* Cleaned up use of es.send API
- Converted Elasticsearch proxy config to TS (now we can see the types with https.AgentOptions)
- Wrap request in util.promisify and refactor
- Use 'url' lib for parsing URLs
- Remove rejectUnauthorized from proxy_route.js (this is a TLS setting handled in agent setup)
* Retained original proxying behavior
* Re-enable support for setting rejectUnauthorized via proxy config settings
* Updated tests.
* Create supporting API
* Rename mute terminology to mute instance to allow alert level muting
* Add alert mute and unmute APIs
* Add logic to handle alert muting
* Add integration tests + fix AAD breaking the object
* Fix failing jest tests
* Fix test failures
* Clear out mutedInstanceIds when muting / unmuting an alert
* Skip muting / unmuting instances when alert is muted
* Rename interface for alert instance
* Rename functional tests to alert instance terminology
* Add API integration tests for alert muting / unmuting
* Apply PR feedback pt1
* Create single index record action
* Function to create always firing alerts and function to generate reference
* Make tests use alert utils
* Rename mute / unmute alert routes
* Make alerts.ts integration test use alertUtils for both spaces_only and security_and_spaces
* Re-use alert utils where possible
* Change muted in mapping to muteAll
* Rename alert client methods to muteAll and unmuteAll
* Rename files
* Rename alert utils function muteAll and unmuteAll
* Rename variable in task runner
* Cleanup
* Destructure instead of using existingObject variable
* Add getCache method to IndexPatterns
* Refactor to use IndexPatternCache instead of another request
* Improve getCache function to be async if necessary
* Adapt discover controller code
* Remove unnecessary whitespace
* Split CommitHistory into multiple files
There were already >5 components in this file; this splits them into
smaller, distinct components/files and an index.
* Extract props to interfaces
Rather than keeping them inline.
* Add basic implementation of new commit actions
This is embedded within the Commit component, for now.
Obviates CommitLink for now, but we'll address that in the PR.
* Update the remainder of the Commit layout
* Parses and displays the commit title/description
* Parses and displays the author and date
* Adds new translations
* Update translation keys to match naming standards
See
https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/GUIDELINE.md
for details.
* Extract commit message parsing to helper util
* Move CommitLink to commit folder
* Fix font-sizes of commit text
I was reading the wrong field in figma. Whoops!
* Add RepoLink component controlled by a boolean
If we're already viewing the commit in the context of the repo, the link
here isn't as helpful. For our first use, the commit history, that is
the case.
* Simpler construction of app paths
We should build a helper for this, but these are strewn about the
codebase.
* Update snapshots following text size changes
* Truncate summary text
* Fix type error on test component
* Make date-dependent test timezone-agnostic
Uses Date.UTC to get a non-relative date/time.
* First attempt at editor.tsx integration test
* Fix typo in variable name
* Expanded smoke test integration tests
* Mounting happens in beforeEach
Added i18n context to suppress error messages
Updated name of data-test-subj for the send request button
* Fix loading state
* Fix modal’s footer button spacing
* Better alignments of the panel header contents
* Fix alignment of badge if title doesn’t exist
* [Code] Apply Guass score normalization to stacktrace filepath resolution as a fallback
* support multiple repoUri for resolving code snippets
* update unit test
* Support batch resolution mode
* resolve type check
* Update the API
* enable switch index patterns test
* run ciGroup6 20x times
* [page_objects/visual_builder_page] retry selecting index pattern
* Revert "run ciGroup6 20x times"
This reverts commit 2151ea9905.
* [services/combo_box] clear input in seperate function
* run ciGroup12 30x times
* update logging message
* Revert "run ciGroup12 30x times"
This reverts commit 08fac11139.
* use new setScreenshotSize
* change tolerance from 1% to 2% (originally 5%)
* retake baseline without notification dialog
* close add and save notifications
* wait for render complete when going in to FullScreen mode
* add 5 second sleep to see if it ever goes to full screen mode
* add debugging screenshots and sleeps
* try reloading the Kibana index before this test
* 30 iterations with only the first test enabled
* revert multi-run changes
* ran node scripts/build_renovate_config
* fix tslint errors
* fix tslint error
* update xpack dependency to match oss
* update yarn.lock
* revert notifications:lifetime:info change by reducing some other timeouts
* remove commented-out code
* fixed and Unskipped 2nd test
* re-arrange order of dashboard tests to pass :-(
* removed commented-out sleep
Hopefully this won't be an issue
* Add comment about the order of tests
```
loadTestFile(require.resolve('./view_edit'));
// Order of test suites *shouldn't* be important but there's a bug for the view_edit test above
// https://github.com/elastic/kibana/issues/46752
// The dashboard_snapshot test below requires the timestamped URL which breaks the view_edit test.
// If we don't use the timestamp in the URL, the colors in the charts will be different.
loadTestFile(require.resolve('./dashboard_snapshots'));
```
* [Maps] Enable ability to provide custom renderer for tooltip
* add unit test for on click handler
* unit tests for mouseout behavior
* add unit tests for on map move
* clean up test
* pass getLayerName to custom tooltip renderer
* fix jest test
* add ability to whitelist visible elements in percy
* allow white and blacklisting elements in visual tests
* remove unnecessary webElement methods
* refactor snapshot options to use show and hide
* refactor add/remove and visual test helpers
* [percy] rework css rules to allow hiding inside shown elements
* [percy] adjust logic to support showing inside hiding
* attach styles to hide percy when capturing the snapshot
* refactor in order to make sure all logic is executed if snapshot fails
* remove sleeps
* add back skipFirefox tag
* [Infra UI] Add Docker section to node detail page
* Add chart with terms aggregation for top 5 CPU and Memory
- Add label to series returned from metrics endpoint
- Honor seriesOverride name or use label
- Fix chart tooltip for long names
- Add name to seriesOverrides for current layouts
* Fixing types
* removing point changes, handled in seperate pr
* Changing infMetricsExplorerChart className to infrastructureChart
* updating comment with new functionality
* updating id to human readable string