Add CyberArk API and SCIM settings to Terraform deployment - #128
Merged
Conversation
Wire all CyberArk environment variables through Terraform so they can be configured at deployment time via terraform.tfvars instead of only through the Settings UI after deployment. Backend changes: - Add SCIM env vars (CYBERARK_SCIM_ENABLED, CYBERARK_SCIM_APP_ID, CYBERARK_SCIM_SCOPE, CYBERARK_SCIM_CLIENT_ID, CYBERARK_SCIM_CLIENT_SECRET) and CYBERARK_TENANT_NAME to config.py - Create ensure_cyberark_settings startup seeder that seeds CyberArkSettings DB row from env vars on first boot and syncs secrets on subsequent boots - Update _get_or_create_cyberark_settings to include UAP, tenant, and SCIM fields when creating from env var defaults Terraform changes: - Add CyberArk + SCIM variables to dev and prod variables.tf - Pass CyberArk env vars to ECS containers via main.tf locals - Store cyberark_client_secret and cyberark_scim_client_secret in AWS Secrets Manager via the secrets module - Add CyberArk/SCIM examples to terraform.tfvars.example for both dev and prod environments - Update .env.example with SCIM and tenant name documentation https://claude.ai/code/session_01EQJ2ozb4749hDoaykNNuKG
🐳 Docker Build Results
|
strick-j
pushed a commit
that referenced
this pull request
Feb 15, 2026
Refactor SSRF validation into reusable _validate_url_for_ssrf() and _build_safe_url() functions. The URL reconstruction now uses IDNA hostname encoding (bytes round-trip) and regex path validation to break CodeQL's taint propagation chain. Apply SSRF protection to test_cyberark_connection and test_scim_connection endpoints that previously had no SSRF guards. https://claude.ai/code/session_01Qedk4PBh5tEHy4bbr7qUDV
strick-j
pushed a commit
that referenced
this pull request
Feb 16, 2026
Sync main with all changes from develop (PRs #125-#153), including: - CyberArk integration: access mapping visualization, SIA policies, safes, roles, accounts, SCIM users, and CyberArk dashboard - Access mapping: collapsible branches, user filtering, Terraform badges, detail panels, filter bar, and layout improvements - Sidebar reorganization: AWS/CyberArk/IaC sections with collapsible behavior - Topology improvements: custom zoom controls, collapsible VPC/subnet nodes, badge positioning fixes - Terraform parser: idsec_identity_role_member, random_password, S3 bucket parser and collector - CyberArk settings management in admin UI - JIT access mapping fixes: connection profiles, AND-logic criteria, case-insensitive tags - Security fixes: SSRF vulnerability (CodeQL #128), CVE-2026-24049, CVE-2026-23949, CVE-2025-8869 - Version bump to 1.5.0 https://claude.ai/code/session_01PBYdK5PVFQCWeWmmtiUbwh
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.
Wire all CyberArk environment variables through Terraform so they can be configured at deployment time via terraform.tfvars instead of only through the Settings UI after deployment.
Backend changes:
Terraform changes:
https://claude.ai/code/session_01EQJ2ozb4749hDoaykNNuKG