Skip to content

feat(v7.0.0): multi-tenant identity and governance profiles#341

Closed
saurabhjain1592 wants to merge 1 commit intomainfrom
sync/enterprise-20260409-225421-24217281904
Closed

feat(v7.0.0): multi-tenant identity and governance profiles#341
saurabhjain1592 wants to merge 1 commit intomainfrom
sync/enterprise-20260409-225421-24217281904

Conversation

@saurabhjain1592
Copy link
Copy Markdown
Member

Sync from Enterprise Repository

This PR syncs changes from the enterprise repository to the Community repository.

Summary

  • Commits synced: 29
  • Files changed: 295

Review Checklist

  • Changes look correct
  • No enterprise-only content included
  • CI checks pass

Auto-generated by sync-community-repo workflow (ADR-016)

Commits: 20f53023,ab04cd8f,ac208c8c,d7277a41,14f567e6,d19239e7,c72c187b,0cdb9224,8cc0ea33,dd932652,816c81e2,a95b4384,5d4a5fbd,1977f4c9,48a0bb1f,556dd02b,29e790b6,11b1261d,c070a7e9,3bce0fb6,9d731a84,a27b7c4a,f68497e5,4339c362,142c935f,fdbd6327,c7e1046b,500cb409,2e41f287,ad567817,ca6c5406,5e10f5c0,83a30aff,ffdf908d,966fde23,80e79335,546cf4dd,b1ea2d7f,028eecc6

### Security
- Ed25519 enterprise license signing key rotated (was embedded in setup-e2e-testing.sh)
- Rotation tool rewrites all active licenses across regions dynamically
- Removed validateClient() mock auth fallback — enterprise MCP handlers now reject unauthenticated requests with 401
- Pre-commit gitleaks rule blocks Ed25519 seed commits
- Resolved all high/critical Trivy and Dependabot vulnerabilities

### Added
- Community SaaS evaluation server (try.getaxonflow.com): self-registration, rate limiting, Ollama-only, 30-day expiry
- Migration 068: community_saas_registrations + daily usage tables
- Governance profiles via AXONFLOW_PROFILE env var (dev/default/strict/compliance)
- Per-category enforcement via AXONFLOW_ENFORCE env var (pii,sqli,dangerous_commands,all,none)
- Profile banner at startup — logs active profile + resolved per-category actions
- Telemetry endpoint_type field on all SDKs (localhost/private_network/remote/community-saas)
- SoX-compliant telemetry governance: source classification, provenance chain, update workflow
- Customer portal multi-tenant identity (migration 065: tenant_id on user_sessions)
- Agent test coverage restored to 77% with DB-backed auth/MCP/handler tests
- SDK version sweep for v6.1.0 across all examples

### Changed
- Platform version bumped from 6.2.0 to 7.0.0
- Default PII_ACTION relaxed from redact to warn (set AXONFLOW_PROFILE=strict to restore)
- SQLi and sensitive-data defaults also relaxed to warn
- Migration 066: system-default policies rewritten to match new defaults
- Canonical contact email standardized to hello@getaxonflow.com

### Fixed
- Multi-tenant IDOR: X-Org-ID now derived from validated client license, not deployment env var
- Nine workflow service methods now enforce tenant/org ownership (was classic IDOR on GetWorkflow)
- Unified execution handler requires both X-Tenant-ID and X-Org-ID (previously optional)
- MCP check-input/check-output audit log OrgID derived from authenticated client
- deploy-client.sh JWT path no longer silently falls back to hardcoded SM path
- Invalid env var values (PII_ACTION=typo) now preserve active profile instead of reverting to legacy defaults
- AXONFLOW_ENFORCE=all/none now match documented profile aliases exactly
- LoadEnforceFromEnv returns error instead of log.Fatalf (no longer crashes test binaries)
- Portal shows real completed step count in executions list
- Evaluation tier MaxPendingApprovals corrected from 100 to 25
- Community-saas post-deploy: Grafana DB auth, Ollama OLLAMA_HOST binding, config key naming, provision workflow
- Excluded infrastructure/cloudformation/ from community sync (internal deployment templates)
@saurabhjain1592 saurabhjain1592 added the community-sync Sync from enterprise repository label Apr 9, 2026
@saurabhjain1592
Copy link
Copy Markdown
Member Author

saurabhjain1592 commented Apr 9, 2026

Closing — unit test CI failing. Will investigate and re-sync after fix.

auto-merge was automatically disabled April 9, 2026 22:56

Pull request was closed

@saurabhjain1592 saurabhjain1592 deleted the sync/enterprise-20260409-225421-24217281904 branch April 10, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-sync Sync from enterprise repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant