-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: --allow-commands restricts available atlantis commands #2877
Conversation
b28a7e2
to
d0c0909
Compare
sorry @krrrr38 we are commenting before you ask for review!!! |
Yes, seconded from me! You are a strong contributor. Keep up the good work. I left a couple comments and opinions |
(btw not need review so much on this seasons 👌 ) |
74fcd40
to
d3cef12
Compare
It's looking good to me! Thank you @krrrr38 ! @marcusramberg @Fabianoshz @runatlantis/maintainers for additional views and if we want to put this in 0.22.0 or the following release? |
Looks really solid to me. Well tested, and didn't spot any obvious problems. |
Thank you @krrrr38 ! |
what
--allow-commands
whitelist server configurationversion,plan,apply,unlock,approve_policies
is default.--disable-apply
become deprecated. if set true, server removeapply
command from--allow-commands
.--enable-policy-check
is true,approve_policies
is allowd in--allow-commands
.why
import
.--allow-commands
.references