* Throwing error if service now access token is null. Properly returning rejected promise
* Setting time to calculate token expiration to before the token is created
* Returning null access token if stored access token has invalid expiresAt date
* Adding response interceptor to delete connector token if using access token returns 4xx error
* Adding test for tokenRequestDate
* Handling 4xx errors in the response
* Fixing unit tests
* Fixing types
* [DOCS] Fixes typo in Console doc
This PR fixes a typo in the Console doc.
* Update docs/dev-tools/console/console.asciidoc
* Update docs/dev-tools/console/console.asciidoc
* Metadata tab + new fields, edited Host tab jest, need to add more unit test and delete unused fields
* added accordion for Host, modified new fields
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* added more unit test for helper function, removed dropped fields from ECS spreadsheet, PR comments
* PR Comments, Fixing Checks issue, more Jest
* eslint
* changed the logic for checking which accordion not to render
* PR comments
* PR Comments, localized new accordion
* renaming file and component name from Host to Metadata
* merge main + PR comments
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Adds generic functional test for artifac list pages
* Unify page objects to be generic. Moved test data into a mock file
* Fix wrong blocklist js comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix Map panels should not show the user controls in a dashboard report
* fix jest tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add application usage to observability
* wrap Alerts page in a TrackApplicationView component
* define alerting pages in a config file
* add UsageCollectionSetup contract
* pass useCollection in the renderApp
* fix failing tests
* application usage for cases and rules
* [Discover][Alerting] Prevent rule flyout from being open simultaneously with other popovers like search suggestions
* [Discover][Alerting] Update tests
* [Discover][Alerting] Update tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Stack Monitoring] Prevent exceptions in rule when no data present (#120111)
* Remove optional chaining
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adds catch of exceptions from PrivilegeSerializer deserialize methods to role transform function.
Resolves 124808 where malformed Elasticsearch roles cause Kibana users and roles UIs to not display correctly.
* Adds logger to role transform functions
* File accidentally not saved prior to last commit
Sets up the boilerplate code for the aiops plugin and adds a demo page within the ML app to demonstrate single API request data streaming from Kibana server to UI client.
* [Unified search] Decrease plugin's size
* Load scss from a single file where possible
* Apply PR comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* updated tutorial to use Filebeat and Datastreams rather than Logstash and a static index
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Fixed pipeline issue when inCongestion is null the pipeline fails. Now if null its set as false
* Corrected minor mistakes in docs
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
* Update docs/maps/asset-tracking-tutorial.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* [maps] Vector tile inspector adapter
* empty prompt
* add layer select
* tile request view
* show gridTile es path and body
* show error message
* hits request
* tab with editor
* clean up
* open in console
* do not track same tile multiple times
* remove layer from vector tile inspector when layer is removed
* refactor tile request generation
* show path in inspector
* requests view callout
* remove duplicated server side code
* remove unused files
* fix map_actions test
* open requests view when getting requests from inspector
* only show view when adapter is present
* fix open in console link not matching tile request
* tslint
* fix search sessions functional test
* update trouble shooting docs
* use bold in docs
* fix tiles at zoom level 0
* revert changes to mb_map
* include path when copying to clipboard
* clear inspector when layer type changes
* tslint fix
* clean-up
* update callout copy
* empty prompt copy
* copy updates
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* changing version field to text input
* disable save button
* fixing storybook
* adding doc links
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Fleet] Fixing wrong validation message displayed [Closes#131227]
* Condition added in function validateLogstashHosts in the try catch
* [Fleet]: Wrong validation message is displayed when host field is left empty while adding new output. #131227
Co-authored-by: Pernot Nicolas nicolasn.pernot1@gmail.com
* Fix lint error
Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
* [artifacts] Test cloud context
This artifact currently has no consumers, but in the near future the
release-manager will produce Cloud images using the context. This
ensures builds are working before we publish artifacts.
* update permissions
* fix if statement
* DOCKER_CONTEXT -> KIBANA_DOCKER_CONTEXT
Addresses
- https://github.com/elastic/kibana/issues/124715
## Summary
- adds bulkEdit method to rulesClient
- adds multi_terms bucket aggregations to savedObjectClient
- adds createPointInTimeFinderAsInternalUser to encryptedSavedObjectClient
- adds alerting API for bulkEdit
```bash
curl --location --request POST 'http://localhost:5601/kbn/internal/alerting/rules/_bulk_edit' \
--header 'kbn-xsrf: reporting' \
--header 'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": ["4cb80374-b5c7-11ec-8f1e-adaa7d7d57e5"],
"operations": [{
"operation": "add",
"field": "tags",
"value": ["foo"]
}]
}'
```
### 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
## Release note
Adds new `bulkEdit` method to alerting rulesClient and internal _bulk_edit API, that allow bulk editing of rules.