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

[v13] assist: support recording non-interactive forwarded sessions #29137

Merged
merged 2 commits into from Jul 14, 2023

Commits on Jul 14, 2023

  1. assist: support recording non-interactive forwarded sessions (#28677)

    * assist: support recording non-interactive forwarded sessions
    
    * assist: add integration tests for assist command recording on agentless
    
    This also fixes a bugged openssh integration test check.
    
    * Mock OpenAI API in integration tests.
    
    Also fixes the OpenAI mock handler that was not supporting the "/v1/*"
    routes used in some web/ tests.
    
    * Docstrings + adressing again a feedback that got lost during a rebase
    
    * restore signer function signature
    
    * Address Jakub's feedback + diverse improvements
    
    - improve comments
    - simpler file creation
    - more efficient rsa key generation
    - use assert instead of require in other goroutines
    - only save env vars if they are Teleport-related
    - move more logic into newTestCredentials for readability
    
    * Update lib/srv/forward/sshserver.go
    
    Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
    
    * Add a timeout in the ssh handler coroutine
    
    ---------
    
    Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
    hugoShaka and zmb3 committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    dfa1d7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    719305a View commit details
    Browse the repository at this point in the history