Skip to content
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

expose policy_checks field in run show command #32

Open
abuxton opened this issue Sep 7, 2022 · 2 comments
Open

expose policy_checks field in run show command #32

abuxton opened this issue Sep 7, 2022 · 2 comments

Comments

@abuxton
Copy link
Contributor

abuxton commented Sep 7, 2022

Expected Behavior

it would be nice to be able to run speculative plans and see the policy_check outout in the run show command or/and output.

Actual Behavior

Steps to Reproduce the Problem

  1. N?A

Specifications

N/A

@straubt1
Copy link
Owner

straubt1 commented Sep 9, 2022

Started to frame this out, however there is 2 dimensions to deal with (policy sets, and policies within the set).

Is the desire to get a simple pass/fail, or are you suggesting outputting the full output logs of the policy checks?

WIP output for the simpler case:

Show Run for Workspace: run-muJzD4EXcYXeb6aY
ID:                    run-muJzD4EXcYXeb6aY
Configuration Version: cv-q9yhRwv73u6UFJdq
Status:                planned_and_finished
Message:               Run created from the TFx CLI
Terraform Version:     1.0.0
Created:               Sat Aug 20 14:45 2022
Policy Checks Passed:  2
Policy Checks Failed:  0

@abuxton
Copy link
Contributor Author

abuxton commented Sep 13, 2022

"Is the desire to get a simple pass/fail, or are you suggesting outputting the full output logs of the policy checks?"
id like to see a flag to expand the output, or the list of policies checked as the default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants