kibana/x-pack/plugins/asset_manager
Jason Rhodes 859ae9e50d
[Asset Manager] Creates baseline public asset client for use in public plugins (#167191)
Closes #167075 

## Summary

Adds a public asset client available in the `setup` lifecycle hook for
plugins that depend on this one. `getHosts` is the only method available
on this client for now.

TODO, before merge:
- [x] Add docs for the server client
- [x] Add docs for the public client
- [x] Remove REST docs from plugin docs, not needed
- [x] Add unit tests for public client


### Testing this PR

One way of testing this new client is to apply the attached
test-assets.patch file locally, adjust the date range in the getHosts
query that is added in the infra plugin, and then start Kibana and
navigate to the infra app. You should see print out in the browser
console.


[test-assets.patch](12718693/test-assets.patch)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-28 13:26:24 -07:00
..
common [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
docs [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
public [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
server [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
jest.config.js [asset_manager] Add /related endpoint (#154541) 2023-04-28 13:28:22 +02:00
kibana.jsonc [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
README.md [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
tsconfig.json [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00

Asset Manager Plugin

This plugin provides access to observed asset data, such as information about hosts, pods, containers, services, and more.

Documentation

User Docs

For those interested in making use of the APIs provided by this plugin, see our API docs.

Developer Docs

For those working on this plugin directly and developing it, please see our development docs.