-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: configure validatorctl #1
Merged
Merged
Conversation
This file contains 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
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
2 times, most recently
from
June 4, 2024 21:53
c5b0b05
to
350dfc3
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 4, 2024 22:58
9a412c1
to
48ea19d
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 7, 2024 21:42
f094fd5
to
0a949dd
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 8, 2024 05:37
dcd2663
to
9a5ed30
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 8, 2024 07:46
4c55722
to
f7fb46b
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 8, 2024 08:12
a2bec90
to
a1888d2
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 8, 2024 08:47
2e76911
to
3c8bae4
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 10, 2024 21:26
5d654f6
to
8398cf1
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 10, 2024 21:59
2e6f9c4
to
d76e245
Compare
TylerGillson
previously approved these changes
Jun 10, 2024
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 10, 2024 23:54
b540202
to
0378101
Compare
TylerGillson
previously approved these changes
Jun 10, 2024
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 11, 2024 00:21
0378101
to
e7156f3
Compare
ahmad-ibra
force-pushed
the
feat/setup-cli
branch
from
June 11, 2024 00:26
e7156f3
to
481cdf9
Compare
This was referenced Jun 19, 2024
TylerGillson
pushed a commit
that referenced
this pull request
Jul 26, 2024
…iles (#97) ## Issue Resolves #84 Resolves #45 ## Description Changes the plugin to not have Palette presets for Azure RBAC rules anymore. Also changes it to not prompt the user for details for permission sets anymore. Instead, that data is read from a file the user provides. Permission sets are the portion of the RBAC rule consisting of the actions, data actions, and scope. The principal is also part of the rule but the user is prompted for that instead of it being read from a file. Most plugin users won't need more than one rule because while they may have multiple levels of scope to work with, they will likely only be validating one principal. This should be very minimal prompting, with most data coming from the file. Example: ``` Note: You must configure at least one rule for plugin configuration. Note: Collecting input for rule #1 Rule type: > RBAC Rule name: rule-1 Enter security principal. Format: Azure GUID Example: d6df0bba-800d-492f-802e-d04a38c80786 Security principal: cc7f25f8-4ab7-4274-a684-1f5670cd6c60 Note: You must configure at least one permission set for rule. If you're updating an existing RBAC rule, its permission sets will be replaced. Permission sets file path: tests/integration/_validator/testcases/data/azurePermissionSets.json Add additional RBAC rule? [y/N]: No ``` This is intentional: ``` Rule type: > RBAC ``` validatorctl only supports RBAC rules right now, but more rules are being added to the plugin and they will be added to validatorctl later. Leaving this here as a placeholder. --------- Signed-off-by: Matt Welke <matt.welke@spectrocloud.com>
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.
No description provided.