#1795

[Feature]: Add `--reason` flag to `hoop connect` to pass connection justification for approvals

Openqwerty1q2wopened 1mo ago

Is your feature request related to a problem?

Currently hoop connect does not provide a way to pass a reason/justification for the connection. When an approval is required, this reason should be visible to approvers both in the Web UI and in Slack approval messages, similar to how -e/--env is passed today.

Example: hoop connect postgres-srv --reason "Investigating prod incident INC-1234"

This would help approvers make faster, more informed decisions without having to ask the requester for context out-of-band.

Describe the solution you'd like

  1. hoop connect postgres-srv --reason "Investigating prod incident INC-1234"
  2. Visible reason in WEB UI and Slack Approval Requests

Describe alternatives you've considered

No response

Priority

Medium - Would improve my workflow

Use Case

Connections to production critical infra. This would help approvers make faster, more informed decisions without having to ask the requester for context out-of-band.

Mockups or Examples

No response

Additional Context

No response

Contribution

  • I would be willing to submit a PR to implement this feature

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

1
github-actions[bot]1mo ago

🔗 Synced to Linear: SUP-238