Skip to content

feat: Add ability to extract IDM scripts on exports#618

Open
phalestrivir wants to merge 19 commits into
rockcarver:mainfrom
trivir:feature/extract-idm-script-rework
Open

feat: Add ability to extract IDM scripts on exports#618
phalestrivir wants to merge 19 commits into
rockcarver:mainfrom
trivir:feature/extract-idm-script-rework

Conversation

@phalestrivir

Copy link
Copy Markdown
Contributor

Adds ability to extract IDM scripts when doing exports. Imports are supported as well when they are exported in this form.

I got the tests passing for relevant test files, although I noticed there are several other tests that are broken at the moment due to other changes to the library (agent tests, and journey related tests as well), so I didn't touch those ones as I feel those should be fixed in a separate PR (and I don't know if you've already started on fixing those yet @vscheuber, if not one of us at TriVir could try to look into fixing them).

Other tests are being skipped for the meantime if I couldn't get them fixed. AM related tests that are failing and being skipped I think we'll end up switching over to Forgeops in the future as they both have access to the same configuration (see this PR), so if it works against Forgeops it should work against AM.

@phalestrivir phalestrivir force-pushed the feature/extract-idm-script-rework branch from 9239f48 to 9cb45fc Compare July 9, 2026 22:28
@vscheuber vscheuber added the integration-batch Attempt to include this PR in the next integration build. label Jul 12, 2026
@github-actions github-actions Bot added integration-failed Automation tried to integrate but failed. and removed integration-batch Attempt to include this PR in the next integration build. labels Jul 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Skipped from automated integration batch due to: merge conflict (non-auto-resolvable). Please rebase against main, resolve conflicts, and re-add label integration-batch.\n\nRun: https://github.com/rockcarver/frodo-cli/actions/runs/29176387518

@github-actions github-actions Bot mentioned this pull request Jul 12, 2026
github-actions Bot and others added 18 commits July 12, 2026 10:50
* feat(mcp): add agentic policy workflow and benchmark artifacts

* chore(mcp): refresh aiagent introspection report

* test(mcp): add oauth2 may_act update smoke test

* fix: update for explicit MCP contracts, live smoke test, and baseline zero

* Add ai agent commands and tests. Work in progress.

* test(e2e): refresh agent fixtures and add audit tooling

* refactor(tests): replace deprecated recording data functions with fixture utilities

* Fix agent tests.

* Update authz-policy-export recordings and snapshots

* Update authz-set-export test recordings and snapshots.

* Update esv-variable-list test recordings and snapshots.

* Update esv-secret-list test recordings and snapshots.

* Update oauth-client-export test recording and snapshots.

* Updated/fixed esv-variable-describe tests, recordings, and snapshots.

* Fix and update esv-secret-describe tests, recordings, and snapshots.

* Fix journey import and add additional test for single-multi tree import format.

* Update script-describe tests recordings and snapshots.

* Fix handling of missing realm and script data in full exports

* Update script-list test recordings and snapshots.

* Remove test artifacts

* Update import options to support additional file extensions for policies, policy sets, and resource types

* Enhance error handling in importPolicySetsFromFiles to track failed files

* Fix and update authz-set-import tests, recordings, and snapshots.

* Enhance importPoliciesFromFiles to track and report failed files during import

* Fix and update authz-policy-import tests, recordings, and snapshots.

* Fix and update esv-secret-list tests, recordings, and snapshots.

* Fix and update esv-variable-list tests, recordings, and snapshots.

* Remove stale secret exports

* Replace stale secret export/import fixtures

* Update esv-secret-import test recordings.

* Update journey-import test recordings and snapshots.

* Enhance journey export functionality with runtime version management and improved error handling

* Update journey-describe test recordings and snapshots.

* Updated journey-export test recordings and snapshots.

* Fix and update info tests, recordings, and snapshots.

* Update app-import cloud test recordings and snapshots. Skipping forgeops tests.

* Update app-export cloud test recordings and snapshots. Skipping forgeops tests.

* Update idp-import test recordings.

* Update idp-export test recordings and snapshots.

* Refactor getEnv function to support preserveProfilePaths option and update conn e2e tests

* Update authz-type-import test recordings.

* Update journey-list test recordings and snapshots.

* Update mapping-import test recordings.

* Update mapping-rename test recordings and snapshots.

* Update saml-describe test recordings and snapshots.

* Update theme-import test recordings.

* Update journey-delete.test.js snapshots.

* Update authz-set-import.test.js snapshots.

* Update authz-type-import.test.js snapshots.

* Fix script-describe test suite and update snapshots.

* Skip test for secretstore mapping alias activation due to missing config in frodo-dev

* Skip test for secretstore mapping alias deletion due to missing config in frodo-dev

* Update config-manager-export-oauth2-agents test recordings and snapshots.

* Skipped config-manager-export-authz-policies tests.

* Update config-manager-export-journeys test recordings and snapshots.

* Update config-manager-export-themes test recordings and snapshots.

* Enhance password policy import function to support both fr-config wrappers and legacy single-entity files

* Add cloud and update config-manager-push-password-policy tests, recordings, and snapshots.

* Remove obsolete config-manager-export snapshots.

* Update @rockcarver/frodo-lib to version 4.0.0-45 in package.json and package-lock.json

* Fix linting issue

* Fix and update agent-ai-desribe tests, recordings and snapshots.

* Fix file extension in agent import options and filtering logic

* Fix exit code handling for unrecognized options in AI agent deletion

* Fix and update agent-ai-delete tests, recordings, and snapshots.

* Update @rockcarver/frodo-lib dependency to version 4.0.0-46 in package.json and package-lock.json

* Fix and update agent-ai-list tests, recordings, and snapshots.

* Fix and update agent-ai-export test, recordings, and snapshots.

* Fix and update agent-gateway-describe tests, recordings, and snapshots.

* Fix and update agent-java-describe tests, recordings, and snapshots.

* Fix and update agent-web-describe tests, recordings, and snapshots.

* Fix and update agent-describe tests, recordings, and snapshots.

* Update agent-ai-import test snapshot.

* Update conn-describe test snapshot.

---------

Co-authored-by: Volker Scheuber <vscheuber@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…sic, and Forgeops environments for better organization and clarity

Update snapshots.
…sic, and Forgeops sections; update environment variable usage for clarity.

Update snapshots.
- Added functions to mask ForgeRock transaction IDs and normalize stack trace paths for consistent snapshot outputs.
- Updated existing snapshot assertions to utilize the new normalization functions, ensuring stable snapshots across local and CI environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-failed Automation tried to integrate but failed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants