Replies: 1 comment
-
|
I don't do CLAs. Sorry for the noise! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is for approval of changes outlined in #515
We've added two new configuration options to make the bash tool's command blocking more flexible:
Changes Made:
• Merge user-configured banned commands with defaults
• Remove any allowed commands from the banned list
• Maintain all existing functionality
Usage Example:
To allow curl and wget while maintaining other security restrictions, users can add this to
their Crush configuration:
{ "options": { "allowed_commands": ["curl", "wget"] } }The implementation prioritizes allowed_commands over banned_commands, so if a command appears in both lists, it will be allowed.
Preview: https://github.com/charmbracelet/crush/compare/main...gardner:feature/configurable-banned-commands?expand=1
Beta Was this translation helpful? Give feedback.
All reactions