-
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
[Bug] unable to unmarshal conftest output or Anyone able to approve Atlantis policy failures #4243
Comments
similar issuer reported here : #4308 |
I hope this issue is getting traction, our team really needs to upgrade Atlantis but we cant since custom policies were introduced, this policy approval bug has been an issue. Anyone can approve policies, so policy set approvers doesnt even matter. :/ |
We're running into this issue too. We might need a reproducible example here.
|
Community Note
Overview of the Issue
Anyone ( non policy owners ) able to approve Atlantis policy failures ( seems major bug )
I am using below server config with
custom_policy_check: true
&policy_check: true
if I use
custom_policy_check: flase
&policy_check: true
i get theunable to unmarshal conftest output
errorBut based on this documentation https://www.runatlantis.io/docs/policy-checking.html#step-2-define-the-policy-configuration we tried the config as i mentioned below
Reproduction Steps
Nothing special just used Alpine image and added the below server-side workflow and repo side workflow then triggered policy failure, if anyone comments the
atlantis approve_policies
policy failures are fixed with approvalLogs
Issue screen shot
Environment details
If not already included, please provide the following:
ECS environment variables
Atlantis server-side config file:
Repo
atlantis.yaml
file:Our Atlantis is deployed in ECS fargate with
ghcr.io/runatlantis/atlantis:v0.27-alpine
Additional Context
The text was updated successfully, but these errors were encountered: