* [DOCS] Creates separate doc for security in production
* Use Kibana attribute
* Update CSP section
* Move SSL section to the top
This is the highest priority item for securing a production installation
of Kibana.
* Add section on using secure HTTP headers
* Write intro
* [DOCS] Fixes broken link and other minor edits
* [DOCS] Changes man to manipulator
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Remove Beta wording from Fleet messaging in ingestion tutorials
* Rename fleet feature registration to include integrations
* Pluralize + sentence case assets and expand dashboards by default
* Update global search from packages -> integrations
* Expand auth settings by default in package policy add agent flyout
* Update wording for various fleet modules
* Fix i18n
* Fix unit test
* Fix failing tests
This builds on the changes introduced in #104512, fixing dependency
resolution for the plugin-helpers CLI. Instead of building a plugin in
isolation, this performs plugin discovery and filters the optimizer
lisst down to the requested plugin.
Testing
1) `cd examples/bfetch_explorer`
1) `node ../../scripts/plugin_helpers build --kibana-version=8.0.0-SNAPSHOT`
* add execution context service on the server-side
* integrate execution context service into http service
* add integration tests for execution context + http server
* update core code
* update integration tests
* update settings docs
* add execution context test plugin
* add a client-side test
* remove requestId from execution context
* add execution context service for the client side
* expose execution context service to plugins
* add execution context service for the server-side
* update http service
* update elasticsearch service
* move integration tests from http to execution_context service
* integrate in es client
* expose to plugins
* refactor functional tests
* remove x-opaque-id from create_cluster tests
* update test plugin package.json
* fix type errors in the test mocks
* fix elasticsearch service tests
* add escaping to support non-ascii symbols in description field
* improve test coverage
* update docs
* remove unnecessary import
* update docs
* Apply suggestions from code review
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* address comments
* remove execution context cleanup
* add option to disable execution_context service on the server side
* put x-opaque-id test back
* put tests back
* add header size limitation to the server side as well
* fix integration tests
* address comments
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* Rename constants
* Refactor to use alternate heading instead of modal
* Fix i18n order
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fix an issue from previous PR
In https://github.com/elastic/kibana/pull/104024, the error handling incorrectly used the `message` property on the response, when it should have been the attributes.errors array.
* Use inline error for duplicate name
* Remove `exact` prop on route
This was preventing the rendering of the subroute. Not sure why it was working before
* Replace `EuiFlexGrid` with `EuiFlexGroup`
Again, not sure why this was chosen, but although the EuiFlexGrid component renders fine in the standalone UI, it does not look correct in Kibana. EuiFlexGroup seems to render as intended.
## Summary
* Removes `kibana.yml` (configuration) keys that are not in use
* Removes an older configuration schema file from before the merge of endpoint with security solutions
Unused schema file was:
```
server/endpoint/config.ts
```
Unused keys removed:
```
xpack.securitySolution.alertResultListDefaultDateRange
xpack.securitySolution.validateArtifactDownloads
```
### Checklist
- [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
* Fix missing agent flyout on package policy page
Handle query string changes if user clicks "add agent" link in toast
content while still on the package policy listing page.
Closes#103266
* Unbind history listener in useEffect
When setting the environment variable KBN_PATH_CONF in Windows, paths
containing special characters will be expanded and interpreted, instead
of being treated as a string. This wraps `%KBN_PATH_CONF%` in quotes to
prevent this.
Testing:
1) set "KBN_PATH_CONF=C:\With space\special()%$characters\kibana\config"
2) bin\kibana*.bat should run
* continue to support shardIndices template variable
* add unit test for large shard size alert
* change template variables in CCR rule
* add CCR rule unit test
* fix internationalization
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Fixes indeterminism with cypress by moving the `cy.intercept('PATCH', '/api/timeline').as('updateTimeline');` above where the click is happening.
Backport to 7.14.0 to hopefully stabilize it better as well.
You can make the indeterminism deterministic by adding (for testing only), a `cy.wait(5000)` like so:
```ts
// Keep clicking on the disable all button until the first element of all the elements are no longer checked.
// In cases where the click handler is not present on the page just yet, this will cause the button to be clicked
// multiple times until it sees that the click took effect. You could go through the whole list but I just check
// for the first to be unchecked and then assume the click was successful
cy.root()
.pipe(($el) => {
$el.find(TIMELINE_ROW_RENDERERS_DISABLE_ALL_BTN).trigger('click');
return $el.find(TIMELINE_ROW_RENDERERS_MODAL_ITEMS_CHECKBOX).first();
})
.should('not.be.checked');
cy.wait(5000); // <--- Temp addition for testing to ensure our intercept works above this. If the intercept is below this then we see the same indetermism behavior but deterministically.
```
### Checklist
- [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