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

Log command and output of Repo and Project Permissions: External Command #4942

Open
1 task
chadinwork opened this issue Sep 23, 2024 · 0 comments · May be fixed by #5027
Open
1 task

Log command and output of Repo and Project Permissions: External Command #4942

chadinwork opened this issue Sep 23, 2024 · 0 comments · May be fixed by #5027
Labels
feature New functionality/enhancement

Comments

@chadinwork
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the user story

As a developer, when I use Repo and Project Permissions: External Command (https://www.runatlantis.io/docs/repo-and-project-permissions.html) I'd like to be able to debug the external script I wrote.

Describe the solution you'd like

I suggest in case the user was not authorised, to add an Info log with the commands run and the output. (The echo from the script.)

Describe the drawbacks of your solution

I'm not sure how comfortable people are with logging the commands run and the output. I think common sense applies—don't echo anything sensitive.

Describe alternatives you've considered

Status quo. Try to debug the script by running it locally and feeding in the variables manually. But this is currently not enough, as for the issues I face, I need to see the actual arguments Atlantis is feeding to the script.

@chadinwork chadinwork added the feature New functionality/enhancement label Sep 23, 2024
@chadinwork chadinwork linked a pull request Oct 23, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant