Skip to content

display device reported status and drive config - #371

Open
saimonation wants to merge 1 commit into
masterfrom
saimon/resolve-export-explicit-string
Open

saimonation wants to merge 1 commit into
masterfrom
saimon/resolve-export-explicit-string

Conversation

@saimonation

@saimonation saimonation commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

Note

Low Risk
Export field remapping and an extra read-only API include during device inspection; no auth or write-path changes.

Overview
Device export now pulls volume and drive summary metrics from deviceReportedStatus (under proc.storage.summary and storage.status.summary) instead of top-level proc.storage / storage.status paths on each portal device.

Connected-device inspection also requests /status/storage alongside existing config resources so reported storage status is available in metadata for the same export filter paths that already use metadata.status.storage.*.

Reviewed by Cursor Bugbot for commit 935ce59. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 935ce59. Configure here.

Comment thread cterasdk/cli/export.py
'deviceReportedStatus.storage.status.summary.state',
'deviceReportedStatus.storage.status.summary.totalDriveCount',
'deviceReportedStatus.storage.status.summary.totalVolumeCount',
'deviceReportedStatus.storage.status.summary.unusedDriveCount',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong device reported storage path

High Severity

The new deviceReportedStatus.storage.status.summary.* selectors invert status and storage relative to the device API and to the existing metadata.status.storage.summary.* and deviceReportedStatus.status.device.* paths. filter_object will not find these fields, so portal-reported drive summary data is omitted from the export.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 935ce59. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant