Closed benwa closed 1 month ago
@benwa When you connected to RSC did it give you a schema mismatch warning? I suspect you may have to downgrade to the 1.4 version of the module as the RSC-G API schema is not updated to the latest SaaS version of the API.
I do think you're on the right track, but 1.4 doesn't look like it's the right one either. Is there a matrix of what version of the module I should use for my RSC instance schema version?
PS > Import-Module RubrikSecurityCloud -MaximumVersion 1.4
PS > Get-Module
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Manifest 7.0.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-It…
Manifest 7.0.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Ob…
Script 2.3.5 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, …
Script 1.4 RubrikSecurityCloud {Connect-Rsc, Disconnect-Rsc, Get-RscCmdlet, Get-…
PS > Connect-Rsc
WARNING: Connect_Rsc: The installed RSC SDK version does not match the server version.
ClientId AuthenticationState SdkSchemaVersion ServerVersion
-------- ------------------- ---------------- -------------
client|REDACTED AUTHORIZED v20240506-29 fedramp-v2.4.2-89
PS > Get-RscCluster
PS >
Looks like 1.3 should probably work... I looked internally at the fedramp version comparison and found the API schema version in the repo. I'm going to file an internal issue to account for the fedramp schema versions.
fedramp_v2.4.2 | 05/29/2024 | 2.4.2 | fedramp-v2.4.2 | v20240429
1.3 worked for me, thank you!
RSC-G fedramp-v2.4.2-89
Just attempting to get all of the clusters fails.