Skip to content

KC-1458: Restrict app-setup command lists to their own allowlist - #2368

Merged
amangalampalli-ks merged 4 commits into
add/restrict-app-setup-command-listfrom
add/restrict-app-setup-command-list-int
Sep 18, 2026
Merged

amangalampalli-ks merged 4 commits into
add/restrict-app-setup-command-listfrom
add/restrict-app-setup-command-list-int

Conversation

@amangalampalli-ks

Copy link
Copy Markdown
Contributor

Summary

Each integration via *-app-setup commands (Slack, Teams, Google Chat, Terraform) now enforces its own declared command list both when the setup command generates the docker-compose file and again every time the container starts, closing the gap where a modified or outdated configuration could grant extra commands. SailPoint already had protection against this; the other integrations did not.

Changes

  • Extracted the sanitization logic that SailPoint already used into a shared, reusable mechanism so every integration benefits from the same protection without duplicating logic.
  • Added a fallback so this protection still applies to SailPoint even in cases where its own internal validation is skipped.
  • Added a warning for the unexpected case where a container ends up configured for more than one integration at once.
  • Add nsf-move command to terraform-app-setup command list

@amangalampalli-ks amangalampalli-ks self-assigned this Sep 16, 2026
@amangalampalli-ks
amangalampalli-ks marked this pull request as ready for review September 16, 2026 09:04
@amangalampalli-ks
amangalampalli-ks force-pushed the add/restrict-app-setup-command-list-int branch from 984fd7e to 433799d Compare September 18, 2026 05:03
@amangalampalli-ks
amangalampalli-ks merged commit 11da895 into add/restrict-app-setup-command-list Sep 18, 2026
4 checks passed
sk-keeper pushed a commit that referenced this pull request Sep 18, 2026
* Restrict app-setup command lists to their own allowlist

* Add nsf-move command to terraform-app-setup command list

* Handle empty string case

* Fix review comments
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

Successfully merging this pull request may close these issues.

3 participants