Releases: aws-solutions/cloud-migration-factory-on-aws
Releases · aws-solutions/cloud-migration-factory-on-aws
[4.0.2] - 2024-12-09
[v4.0.1] - 2024-11-20
[4.0.1] - 2024-11-20
Fixed
- Deployment: Added missing dependency for ToolsAPIDeploy & AdminAPIDeploy resources in main CF template, this was causing some deployments to fail.
- Tag validation implemented in backend API as causing issues when tags and regex provided in attribute schema.
- Item POST methods failing when an attribute defined as secret relationship is present and set. This fix applies the same bypass present in the PUT method. This validation bypass is required as secrets are not stored in DDB and so standard CMF validation is not possible.
- Import fails to show validation when a tag attribute column in the import has a trailing semicolon or extra semicolons. error is now provided to the user.
- Resolved failures with importing csv files via UI import.
- UPGRADE: Deprecated attributes are not removed from system schemas, this update provides a new feature that specifies the schemas that should be overwritten instead of merged.
- SCRIPTS: Bug in paramiko library causing exception after ssh command is completed, added workaround described in issue paramiko/paramiko#1617.
- Removed unused cloudformation template parameters.
- Resolved exception caused during MGN actions when a user configures a server with Subnets and SGs and then updates to use ENI, checks were not considering empty SG and subnet.
- Changed access logging bucket encryption to use SSE-S3 encryption as current kms is not supported for Server Access Logging buckets, as documented (https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html).
Added
- MGN: Added ability to Stop, Start, Pause, Resume replication with MGN.
- Added support for custom validation on Tag attribute in schema, admins can now define required tags and optional validation of values of required tags with RegEx in the schema attribute editor. This commit is for the frontend validation only, a further update will be made to implement the same validation for required tags in the backend in a future release.
Changed
- Changed solution to use Poetry for packaging and build.
[4.0.0] - 2024-9-30
Added
- PIPELINES: CMF now support the ability to create and run pipelines of tasks automatically; these pipelines can contain manual and automated tasks, allowing complete tracking of all aspects of your migration.
Changed
- EXTERNAL LIBRARIES: Updated various external open source libraries to resolve potential vulnerabilities.
- DATETIME: All time stamps have been change to be UTC with offset awareness.
- MGN: Added new permissions to target MGN IAM role 'CMF-MGNAutomation' to support changes in EBS volume/snapshot creation.
v3.3.5 - [2024-08-08]
[3.3.5] - 2024-8-8
Changed
- EXTERNAL LIBRARIES: Updated various external open source libraries to resolve potential vulnerabilities.
- CODE QUALITY: Small refactoring of code base to improve maintainability.
Fixed
- Resolved JSON Attributes not displaying info panel link when set in schema.
Added
- MGN: Added support allowing for the definition of secondary IP addresses in launch templates from CMF server definitions.
- MGN: Introduced support for defining MGN post launch actions from CMF per server, this is a json attribute and requires the input to be defined as per boto3 MGN documentation for put_source_server_action.
- WEB FRONTEND: Added ./well-known/security.txt to public web pages to provide security vulnerabilities reporting details.
- SSM Automation and MGN: All automation scripts and AWS MGN actions now support the ability to select a subset of the applications and servers in a wave to run against.
v3.3.4
[3.3.4] - 2024-04-16
Changed
- CODE QUALITY: Increased unit test coverage, and refactored code base.
Fixed
- JSON ATTRIBUTES UI: Resolved issue with showing attribute values on first use.
- AUTOMATION SCRIPTS: Update SSM Scripts during CloudFormation update.
- MGN - EC2 LAUNCH TEMPLATES: EC2 metadata options are being set to disabled by default when in previous versions the default was to use AWS default/recommended. Reverted logic to previous version.
- EXCEL EXPORT: Resolved issues exporting to Excel when a field contains more than 32767 characters. This the code now truncates the cell and for any truncated values creates a new column with the name appended with text [truncated].
- SCHEMA: When secrets are used as a related attribute this causes an error when saving as this schema is not related to a DDB table. With this fix we have added the ability to disable lookups in the backend for secrets as a stop gap before we add validation of this. For this fix we have added the only required attribute into the server schema based on customer requests to date
Changed
- AUTOMATION SCRIPTS: Added code to update automation scripts during a Cloud Formation stack update to a later version of CMF.
v3.3.3-hotfix
[3.3.3-hotfix] - 2024-01-31
- Lock transitive dependency version of urllib3 to <2.1.0
v3.3.3
[3.3.3] - 2024-01-30
Security
- JWT VALIDATION: Replaced of python-jose with PyJWT to resolve CVE https://nvd.nist.gov/vuln/detail/CVE-2024-23342 which is caused by a dependency on the vulnerable python-ecdsa module. All JWT verification is now performed using PyJWT.
- MGN TARGET IAM ROLE: Restricted inline policy for MGN Role in target accounts to not allow iam:PassRole and sts:AssumeRole on all resources. This is now restricted to PassRole for the MGN service to EC2 service only.
Changed
- MIGRATION TRACKER: Updated deployment to use Glue v4.0 as Glue v2.0 has now been removed from support. Existing deployments will need to be updated before January, 31 2024 with this version, or a manual update of glue jobs is required.
- MGN AGENT INSTALL: Removed default creation of IAMUser from target account CFT and updated installation scripts to use temporary credentials by default, with the option of allowing a secret to be used to supply IAMUser credentials if required.
- CODE QUALITY: Increased unit test coverage, and refactored code base.
- AWS LAMBDA: Runtimes moved to Python version 3.11 for all functions.
Fixed
- SUBMIT JOB UI: Resolved issue with changing scripts after inputting attribute values, this caused any previous values to be sent to the newly created job.
Added
- AUTOMATION: Tools API ID is now exposed to automation scripts, allowing calls to the tools api from a script.
v3.3.2
[3.3.2] - 2023-12-18
Changed
- MIGRATION TRACKER: By default migration tracker now contains database and wave data in general view, this allows for more detailed customer dashboards to be created in QuickSight.
Fixed
- JOBS UI: Resolved issue that caused users selected 'show all job records' in the Jobs table settings, to only be shown the last 30 days instead of all.
- AUTOMATION SCRIPTS: Updated scripts to remove warnings produced when Python >3.12 is used on the automation server; this is caused by the deprecation warning for datetime.datetime.utcfromtimestamp() and utcnow(). Related to this was an update of scripts to ensure that un-escaped backslashes are not present in strings.
- MGN: AUTOMATION SCRIPTS: Updated scripts for MGN agent prerequisite checks and install to check if WinRM is accessible before connecting. This is to resolve the issue that causes jobs to timeout if WinRM is not accessible.
Added
- SOURCE: Unit-test coverage has now been increased to coverage over 80% of the code base, with this change we have also refactored the majority of the source code to improve maintainability of the solution.
- ADS AGENT INSTALL: Script now supports WinRM SSL option for installation on Windows systems with WinRM running with SSL.
- MGN: Added ability to specify resource groups and license configurations in CMF to populate launch templates.
v3.3.1
[3.3.1] - 2023-10-23
Changed
- SOURCE CODE: Significant source code refactoring to improve maintainability to support future releases
- SOURCE CODE: All Javascript code modules changed to TypeScript, this is the first stage of migrating frontend codebase to TS @ts-nocheck is used extensively currently. Ongoing work to add types in this release and the next.
- PRIVATE DEPLOYMENT: Customers using private deployment were having to manually add DNS and/or local hosts updates to allow resolution of the VPCE for API gateway which was causing issues with deployment as this is not standard practice. With this update Private deployment type now uses the public DNS name for the new VPCE within the configuration, meaning that we resolve using the public DNS Address of the VPCE for API Gateway.
Fixed
- SOURCE CODE: All external libraries updated to latest stable versions to ensure vulnerabilities are not introduced.
- MGN: Resolved issues where MGN agent installation fails when CMF is deployed in a different region to the target AWS region for the server install. This was due to the installation using the incorrect variable to obtain the region.
- MGN: Resolved customer issue with MGN migration between regions in the same account failing due to incorrect STS token generation. Applied same fix that was made to MGN agent installation scripts, to force STS to create a token in the target region.
- WINDOWS AUTOMATION: Resolved issue where adding hosts to the Windows Trusted Hosted setting while running automation scripts was running async causing the entry to be missing when follow on steps occurred too quickly. This function is now sync and moved to a common function in the mfcommon.py.
- DEPLOYMENT: Migrated CloudFront Origin access from Origin Access Identity (OAI) to Origin Access Control (OAC) as OAI has become unstable during stack deployment and will be retired in the future.
Added
- mfcommon.py now has functions to support updating replication and migration status values of a server.
v3.3.0
[3.3.0] - 2023-06-22
Changed
- FEATURE-RETIRED: AMS WIG feature code has now been retired from CMF. Creation of RFC for onboarding instances to AMS is now managed directly via RFCs to the AMS team and not possible through CMF.
- MGN: Added ability to specify tags for test and live launched instances that are appended to the master tags for a server record.
- MGN: Launch templates updates to allow clearing of private IP address and also termination protection, if the server was set and user required to remove them.
- Added private IP address to be set during the validation action as this was not done previously. This caused checking for a valid IP address was not being performed.
- MGN: Automation scripts for MGN pre-requisites checking and agent installation now support private endpoints; agent installation now by default uses temporary credentials to install MGN agents; instead of using the IAM User credentials.
- Migration Tracker: Athena Engine version moved to version 3. This is due to version 2 being deprecated on October 16, 2023 in US-EAST-1 region.
- Automation>Jobs table now by default displays only the last 30 days of logs. This is to reduce the amount of data requested and also speed up the load time. This option can be changed in the table settings to display all logs. In future releases we will update the APIS to support pagination.
- All Lambda function using Python as their runtime have been updated to use version 3.10.
Added
- Improved unit test coverage for backend and frontend codebase through additional test creation.
- REHOST-MGN added the ability to set the server boot mode from a new CMF attribute server_boot_mode_uefi defined as a checkbox in the server schema; this will be passed to the launch template in EC2 by CMF and allow UEFI servers to be migrated without manually updating MGN.
- New dashboard to display replication status attribute for all servers, this is used with the MGN automation scripts that update the replication status attribute when run.
Fixed
- SSM Automation jobs were timing out after 1 hour as it was using the default timeout for the AWS-RunPowerShellScript document. Updated step to provide/override executionTimeout for this step to 43200(12 Hours as per other SSM timeout values).
- Frontend: Updated JS module xlsx to 0.19.3 to resolve security issue described here GHSA-4r6h-8v6p-xvw6. With this release of the xlsx module they have also moved to their own CDN from NPM so added the module source into local repo.
- SSO logins performing Admin functions for some providers were providing a Capitalized header key name. Policy now supports both lowercase and capitalized checking for authorization-access token header.
- Added validation of script arguments within uploaded script packages to ensure they are formatted correctly before upload. This was causing errors in the script run as they were not validated before use. UI update allows user to see errors found in the flash bar.
- SCRIPTS-FIX: Updated MGN agent installation download to force using TLS1.2 for download as it was failing for some customers where they do not allow anything below tls 1.2 to be used.
- Updated python modules requests, boto3, botocore and coverage to latest versions.
- Resolve bug in Migration Tracker that was causing the Athena tables to be missing on deployment. This issue was introduced in version 3.2.1.
- Import errors created after committing to the API were not being displayed in a readable format in the UI, this has now been resolved.
- When importing boolean/checkbox values from a CSV it was incorrectly assigning the key a string value instead of boolean. Corrected import script to parse string boolean of true, 1 or on to boolean.