Add rules_only flag to pamActionDiscoverProcess command#2114
Open
lthievenaz-keeper wants to merge 2 commits into
Open
Add rules_only flag to pamActionDiscoverProcess command#2114lthievenaz-keeper wants to merge 2 commits into
lthievenaz-keeper wants to merge 2 commits into
Conversation
Add support for rules_only argument with discovery process. This only includes the auto_add from rules, but does not run manual prompts. Needed to fully automate Keeper discovery
Add support for `--rules-only` flag to `pam action discover process` command. > Before No way to fully automate Discovery if there are any items left to process after rules. > After Running `pam action discover process -j JOBID --rules-only` will bypass manual prompts and only add results that match Discovery rules
jwalstra-keeper
requested changes
Jun 3, 2026
jwalstra-keeper
left a comment
Contributor
There was a problem hiding this comment.
discovery_common comes from https://github.com/Keeper-Security/discovery-common. It is edited into this repo and copied into Commander.
b1183b7 to
b384cf6
Compare
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.
Add support for
--rules-onlyflag topam action discover processcommand.No way to fully automate Discovery if there are any items left to process after rules.
Running
pam action discover process -j JOBID --rules-onlywill bypass manual prompts and only add results that match Discovery rules.Needed to fully automate job processing with discovery.