chore(ci): bump github/codeql-action from 2 to 4#2
Open
dependabot[bot] wants to merge 7 commits intomainfrom
Open
chore(ci): bump github/codeql-action from 2 to 4#2dependabot[bot] wants to merge 7 commits intomainfrom
dependabot[bot] wants to merge 7 commits intomainfrom
Conversation
- Add curl/wget/fetch/httpie to approved commands in readonly and safe policy prompts. The LLM evaluates intent rather than blanket-blocking HTTP tools. - Refine pipe evaluation: pipes are assessed as a full pipeline (data flow) rather than each command in isolation, preventing false denials like "curl ... | head". - Tighten "remote code execution" deny rule to only match piping to shell interpreters (bash/sh/eval), not all curl usage. - Switch redacted output from full buffering (.output()) to line-by-line streaming via BufReader, so callers see output in real time. - README markdown table formatting fixes.
Implements ssh-guard server mode where unprivileged agents can execute privileged SSH commands through a trusted guard daemon. The server listens on UNIX socket and/or TCP port, validates auth tokens, enforces policy rules, and executes commands on behalf of clients. Key features: - UNIX socket listener with group-based access control - TCP socket listener for remote agent access - Auth token validation for TCP connections - UID allowlist for socket access control - Policy engine with default-deny semantics - Client config persistence in ~/.config/ssh-guard/client.yaml - Simplified CLI: ssh-guard <host> <command> - User inference from $USER environment variable
Previously, command output was printed to the server's stdout instead of being captured and returned to the client through the ExecuteResponse. Changes: - Add stdout/stderr fields to ExecuteResult and ExecuteResponse structs - Use tokio::process::Command::output() to capture output synchronously - Return captured stdout/stderr in ExecuteResponse - Client prints stdout/stderr from response before exiting - Simplify local command execution to use output() instead of spawned tasks - Proper redaction handling for captured output This enables the ssh-guard client to display command output from the server.
- Fix pattern_matches to require space boundary for prefix matching: 'git' now correctly does NOT match 'github' (different command) 'ssh' still matches 'ssh user@host' (command with args) - Fix group priority sorting to descending order: Higher priority groups are now checked first, as intended Restrictive groups with priority 100 now take precedence over permissive groups with priority 1 Note: test_glob_star_suffix has a pre-existing hang bug in the glob matching algorithm, and test_pass_backend_integration fails due to pass version not supporting --multifile flag.
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v2...v4) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github/codeql-action from 2 to 4.
Release notes
Sourced from github/codeql-action's releases.
... (truncated)
Changelog
Sourced from github/codeql-action's changelog.
... (truncated)
Commits
3869755Merge pull request #3763 from github/update-v4.34.1-095e0fe5020e68acUpdate changelog for v4.34.1095e0feMerge pull request #3762 from github/henrymercer/downgrade-default-bundle47b94feAdd changelog note51a1d69Downgrade default bundle to codeql-bundle-v2.24.3510cf73Merge pull request #3589 from github/mergeback/v4.34.0-to-main-c6f9311089f0c86Rebuildc3f90baUpdate changelog and version after v4.34.0c6f9311Merge pull request #3588 from github/update-v4.34.0-30c555a52eeb9b3fUpdate changelog for v4.34.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)