Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get-RubrikOrganization -Name <org_name> returns all orgs containing <org_name> as part of the name #224

Closed
joelsprouse opened this issue Dec 31, 2018 · 0 comments

Comments

@joelsprouse
Copy link

joelsprouse commented Dec 31, 2018

Expected Behavior

get-RubrikOrganization -Name <org_name> should return the specified org name and not all organizations that include the name.

Current Behavior

Any organization that contains the name specified is returned. In other words, the -Name <org_name> search is not explict.

Failure Information (for bugs)

VERBOSE: Validate the Rubrik token exists
VERBOSE: Found a Rubrik token for authentication
VERBOSE: Gather API Data for Get-RubrikOrganization
VERBOSE: Selected 1.0 API Data for Get-RubrikOrganization
VERBOSE: Load API data for
VERBOSE: Description: Get summary of all Rubrik organizations
VERBOSE: Build the URI
VERBOSE: URI = https://amer1-rbk01/api/internal/organization
VERBOSE: Build the query parameters for name,is_global
VERBOSE: Query = Found limit flag
VERBOSE: URI = https://amer1-rbk01/api/internal/organization?name=temp&limit=9999
VERBOSE: Performing the operation "Get summary of all Rubrik organizations" on target "".
VERBOSE: Submitting the request
VERBOSE: GET https://amer1-rbk01/api/internal/organization?name=temp&limit=9999 with 0-byte payload
VERBOSE: received 404-byte response of content type application/json; charset=UTF-8
VERBOSE: Formatting return value
VERBOSE: Filter the results

name       isGlobal id                                                  admins
----       -------- --                                                  ------
temp          False Organization:::6ff65047-d499-4bcd-81d0-cf443784375b {@{id=User:::0768f8c2-25c8-48ae-a804-2d2c004...
miket-temp    False Organization:::c7e2ce10-4e1f-4cbc-bcd9-8df3c787f1e1 {@{id=User:::47c3daac-2a01-4714-b23f-9debdd6...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants