Skip to content

revert: PAM RDP MVP and AD support (#191, #203)#221

Merged
maidul98 merged 2 commits intomainfrom
revert/pam-rdp-mvp
May 7, 2026
Merged

revert: PAM RDP MVP and AD support (#191, #203)#221
maidul98 merged 2 commits intomainfrom
revert/pam-rdp-mvp

Conversation

@bernie-g
Copy link
Copy Markdown
Contributor

@bernie-g bernie-g commented May 7, 2026

Summary

Reverted commits

Test plan

  • go build ./... passes (verified locally)
  • CI green

@infisical-review-police
Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-cli-221-revert-pam-rdp-mvp-and-ad-support-191-203

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

@maidul98 maidul98 merged commit 1dd5a23 into main May 7, 2026
15 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0fe56be962

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -2,12 +2,6 @@ name: Build and release CLI

on:
workflow_dispatch:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore a tag guard for manual releases

With workflow_dispatch still enabled but the dry-run/tag guards removed, a manual run from the default branch proceeds into the release jobs using github.ref_name as the version. In that common case github.ref_name is main, so the NPM step computes CLI_VERSION=main and npm version main is invalid because npm version accepts a semver or bump keyword, making the manual workflow broken unless the operator explicitly dispatches against a tag. Either restrict manual runs to tags or restore the snapshot/dry-run path.

Useful? React with 👍 / 👎.

// Try new format first: pam_session_{sessionID}_{resourceType}_expires_{timestamp}.enc
// Build regex pattern using constants
resourceTypePattern := fmt.Sprintf("(%s|%s|%s|%s|%s|%s|%s|%s)", ResourceTypeSSH, ResourceTypePostgres, ResourceTypeRedis, ResourceTypeMysql, ResourceTypeMssql, ResourceTypeKubernetes, ResourceTypeMongodb, ResourceTypeWindows)
resourceTypePattern := fmt.Sprintf("(%s|%s|%s|%s|%s|%s|%s)", ResourceTypeSSH, ResourceTypePostgres, ResourceTypeRedis, ResourceTypeMysql, ResourceTypeMssql, ResourceTypeKubernetes, ResourceTypeMongodb)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep parsing pending Windows session files

When users upgrade from the RDP-enabled build with an existing recording such as pam_session_<id>_windows_expires_<ts>.enc, this regex no longer recognizes the windows resource type. ListSessionFiles skips any parse error, so those pending/expired recordings are never uploaded or cleaned up and remain orphaned on disk; accepting the legacy windows filename token here preserves cleanup even if new RDP sessions are no longer supported.

Useful? React with 👍 / 👎.

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.

2 participants