Add missing EventType, ObjectType, and EventStatus values to Get-RubrikEvent#864
Open
dewbrik wants to merge 1 commit intorubrikinc:develfrom
Open
Add missing EventType, ObjectType, and EventStatus values to Get-RubrikEvent#864dewbrik wants to merge 1 commit intorubrikinc:develfrom
dewbrik wants to merge 1 commit intorubrikinc:develfrom
Conversation
…ikEvent Update ValidateSet attributes to match the current sdmain API schema (events_v1_enums.yml), adding 11 new EventTypes, 37 new ObjectTypes, and 2 new EventStatus values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
guirava
approved these changes
Mar 30, 2026
Collaborator
guirava
left a comment
There was a problem hiding this comment.
Looks good — clean, focused, purely additive ValidateSet expansion. No existing values removed, paired parameters (EventType/ExcludeEventType, ObjectType/ExcludeObjectType) stay in sync, alphabetical ordering maintained.
Minor nit (non-blocking): the inline help comments for -Status (line 98) and -ObjectType (line 133) were already stale and could be updated in a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-EventTypeand-ExcludeEventTypeValidateSet:BulkRecovery,Index,LocalRecovery,LogBackup,ProtectedObjectDeletion,ResourceOperations,ThreatFeed,ThreatHunt,ThreatMonitoring,Tpr,UserIntelligence-ObjectTypeand-ExcludeObjectTypeValidateSet (e.g.,ActiveDirectoryDomain,Db2Database,K8sCluster,MongoSource,PostgresDbCluster,SapHanaDb, and more)-StatusValidateSet:Info,TaskSuccessAll new values are sourced from the current API schema (
events_v1_enums.yml) and inserted in alphabetical order.Test plan
Import-Module ./Rubrik/Rubrik.psd1 -ForceGet-RubrikEvent -EventType ThreatHuntInvoke-PesterThis contribution is my original work and I license it to the project under the project's open source license.