xdr_get_artifact_structure
Lists files and folders inside a collected artifact one level at a time with sizes, helping identify specific parts to download instead of fetching the whole artifact.
Instructions
List the files and folders inside a collected artifact, one level at a time, with their sizes. Takes the artifact's numeric 'id' from xdr_list_artifacts and an optional folder inside it (e.g. /var/log). Use it to find the part worth downloading rather than fetching a whole artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder inside the artifact; omit for the top | |
| report_id | Yes | Numeric artifact id ('id' in xdr_list_artifacts) |