Integrate Asset Inventory with backend #208417
Draft
+253
−51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fetch and render backend data upon opening the Asset Inventory page.
Depends on
Screenshots
Screenshot
Definition of done
How to test
paulo_remote_dev
node scripts/es snapshot --license trial -E path.data=../default -E reindex.remote.whitelist=cb8e85476870428d8c796950e38a2eda.us-west2.gcp.elastic-cloud.com:443 -E xpack.security.authc.api_key.enabled=true
yarn start --no-base-path
Use the dev tools config tab to save your as follows:
${ES_REMOTE_HOST}
: https://cb8e85476870428d8c796950e38a2eda.us-west2.gcp.elastic-cloud.com:443${ES_REMOTE_USER}
: (the username you set for your user on step 0)${ES_REMOTE_PASS}
: (the pass you set for your user on step 0)Script
Finally, open Discover page and set the DataView filter on the top-right corner to
logs-cloud_asset_inventory.asset_inventory-*
, as in the screenshot below. If the grid is populated, you've got data and the whole setup worked!Discover page
![discover-page](https://github.com/user-attachments/assets/5e719e64-0b99-4f0a-9687-1821d70fb84e)Checklist
release_note:breaking
label should be applied in these situations.release_note:*
label is applied per the guidelinesIdentify risks
No risks at all.