rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 86 forks source link

Get-RubrikReportData => DataGrid without the right focus #288

Closed WeigelJ closed 5 years ago

WeigelJ commented 5 years ago

Current Behavior:

To monitor our rubrik within our PRTG we use custom Skripts and rubrik reports. To do so we get the needed data via "Get-RubrikReportData". In the version 4.0.0.162 of the Module this worked just fine. Today i updated to the version 4.0.0.253 and the behavior of the datagrid changed. The entries of the Datagrid arent seperated by the line anymore. If a table had 3 Collums and 4 lines (12 entrys in total), all entries are listed seperatly within the datagrid. So i cant move from line to line anymore.

Expected Behavior:

The datagrid should be separated by line again. If a table has 3 Columns and 4 lines (12 entries in total), there will be 4 entries within the Datagrid with 3 values inside. I need to go from line to line, to get the data that i want to Display. Among other things, I use the Reports to show the Compliance and local Storage use.

Steps to Reproduce:

Please provide detailed steps for reproducing the issue. You need the id of a Report to do this.

  1. Connect to rubrik via powershell
  2. $REPORT = Get-RubrikReportData -id $REPORTID -limit 200
  3. $REPORTDATAGRID = $REPORT.dataGrid
  4. echo $REPORTDATAGRID[0]

Version 4.0.0.253 you see: Only the first entry of the first line within this table Version 4.0.0.162 you see: All entries first line in this table

Context:

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

jaapbrasser commented 5 years ago

Thanks for reporting this @JSuessenbach, we have taken a look at this issue and we have pinpointed this to the object not unfolding. We will work on fixing in the following release.