* switch endpoint meta query to use agent.id
* update policy route to use agent ID
* update policy unit test, with schema change
* security front-end use agent.id as identifier
* update test to check the right field
* update SIEM to get endpoint data by agent.id
* fix type in test, but need to fix data, will still fail
* test: pull agent ID from esarchive data
* magnets, how do they work?
* cleanup
* apparently this test works differently now
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adding tests for dns pipeline in the endpoint package
* Adding test to make sure non dns events are ingested correctly
* Bring the docker container with the new endpoint package
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Match elastic/package-spec#24 `datasets`->`data_streams` property renaming
* Match elastic/package-spec#24 `datasets.name`->`data_streams.dataset` property renaming
* Match elastic/package-spec#24 `/dataset`->`/data_stream` directory renaming
* Match elastic/package-spec#50 `config_templates`->`policy_templates` property renaming
* Update API integration test fixtures (test packages)
* Temporarily skip API integration tests
* Temporarily skip more API integration tests
* Pin to custom docker image, unskip test suites, clean up broken icon paths in test package manifests
* Skip the only (yay!) failing test suite
* Revert "Skip the only (yay!) failing test suite"
This reverts commit 3db32e2528.
* Re-skip tests and revert docker image
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* 78024: move transform out of dataset
* Change index prefix
* 78024: fix tests, remove vestiges
* 78024: remove index defined in the transform when transform is removed.
* 78024: clean up
* 78024: fix build
* 78024: add comment
* 78024: remove test I added
* 78024: more removal, will add in next PR
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Creating new events route
* Trying to get github to recognize the indent change
* Using paginated name for events api return type
* Updating comment
* Updating comment
* Adding deprecated comments
* Adding more comments
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Final I hope check in for Resolver fix
* Fix click
* Fix click
* Fix click
* revert to select the first event
* Gzip Data file
* removed not zipped file
* striped Data file and gziped
* removed commented out delete indices
* Added query bar to select correct events
* removed commented out delete indices
* removed commented out delete indices
* removed commented out delete indices
* removed commented out delete indices
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Moving generator to safe type version
* Finished generator and alert
* Gzipping again
* Finishing type conversions for backend
* Trying to cast front end tests back to unsafe type for now
* Working reducer tests
* Adding more comments and fixing alert type
* Restoring resolver test data
* Updating snapshot with timestamp info
* Removing todo and fixing test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* More comments
* Adding tests for mapping without entity_id
* Removing unnecessary comments
* Fixing type errors
* Removing unnecessary import
* Fixups and style
* change 'data' state shape, nesting the tree fetcher data
* rename 'TreeFetcherParameters' from 'DatabaseParameters' to make it
more specific to the API it works on
* fix bug in 'equal' method of 'TreeFetcherParameters'`
* use mockTreeFetcherParameters method in tests that need to specify a
TreeFetcherParameters but when the value isn't relevant to the test
* Hide Resolver if there is no databaseDocumentID
* add doc comments
* Fixing test name and adding comments
* Pulling in roberts test name changes
* [Resolver] Only render resolver once we have a signals index
Co-authored-by: oatkiller <robert.austin@elastic.co>
* Big bang commit removing top-level success property in API response
Left in check-permissions and in array of objects returned by delete package configs
* Remove success property from mocks
* Resolve conflict from upstream changes
* Remove success property (after upstream merge)
* Remove more 'success'es after merging in upstream
* Remove success from some tests
* Remove success from OpenAPI spec
* Revert prior try/catch. Use res.ok
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding kql filter
* Adding filter support for the backend and tests
* Moving the filter to the body
* switching events and alerts api to post
* Removing unused import
* Adding tests for events api results being in descending order
* Switching frontend to use post for related events
* Same behavior as now. Just refactored.
* main branch uses epr-snapshot. Others use prod
* Link some types vs repeating them
* replace DEFAULT_REGISTRY_URL with getRegistryUrl in Endpoint tests
* Make an Endpoint test helper name more clear
* try/catch around getKibanaBranch
* Use branch & version from package.json as fallback
* No guards b/c kibana{Branch,Version} have defaults
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding tests for endpoint package pipelines
* Removing content type check on types that can change based on docker image version
* Skipping ingest tests instead of remove expect
* Switching ingest tests over to use application/json
* Removing country names
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Handling entity ids of empty string
* Tests for entity id being empty
* More comments
* entity test
* Renaming interface
* Removing unneeded test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Manifest version is semantic version
* Configurable task interval
* Use task interval over scheduled when provided
* Fix crash on download of large artifact
* Don't need to generate linux artifacts
* Configurable artifact validation
* Test fixes
* Test fixes
* Type/test fixes
* Final tweaks
* Remove linux endpoint exception generation from UI
* Fix paging so that we stop before 10k
* Fix pagination
* Fix pagination test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Copying api integration tests into their own directory
* Removing api integration tests and using ingest docker image
* Fixing typo
* Fixing type errors and empty string and reenabling tests
* Rebuilding docs
* Renaming url override variable
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>