Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Enhancement] Add the DeviceBackupReport with Cleanup! #163

Copy link
Copy link
@phirst

Description

@phirst
Issue body actions

Summary

The DeviceBackupReport API allows for getting information about the status of device backups. However, the report will include duplicate rows if the user has more than one backup set (including if the user is active in a Code42 Legal Matter).

This request is to have access to the same report but "cleaned up" of duplicate rows.

Proposed API

DeviceBackupReport --raw --onLegalHold --deactivated --lastCompleted # --lastConnected # --lastBackupActivity # --lessThan --state critical | warning | ok --org orgUid | orgName | [list of uids/names] --srtKey --srtDir

  • raw: no removing of duplicate rows
  • onLegalHold: assuming the user has the correct roles/permissions, only devices of users on legal hold.
  • deactivated: the default is only active devices. This would include deactivated devices
  • lastCompleted | lastConnected | lastBackupActivity : these would take a number of days (or a date) and only report on devices that have last thing greater than the date/days.
  • lessThan: this would do the last thing and only report on the devices that have since the date/days.
  • state: with a parameter to get the devices in the specified state
  • org: allow to filter by orgUid or orgName or a list of either.
  • srtKey: various columns to sort the results
  • srtDir: direction of the sort

Intended Use Case

Enable the replacement of or simplification of other scripts written to provide this data.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.