From b219bef7103a05f279f84f6ce3c8e41f318b4444 Mon Sep 17 00:00:00 2001 From: bwanis Date: Mon, 19 Aug 2024 19:56:24 -0400 Subject: [PATCH] Update to version v2.6.2 --- CHANGELOG.md | 19 +++++++++ NOTICE.txt | 11 ++++- .../test/requirements-test.txt | 5 ++- .../test/test_check_sqs_status.py | 1 - .../plugin/ecr/ecr_helper/util/ecr_helper.py | 2 +- source/portal/package.json | 42 ++++++++++--------- 6 files changed, 55 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 633b6e5..e7d4967 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.6.2] - 2024-08-19 + +### Fixed +- Fix the ECR get image tags issue [#153](https://github.com/aws-solutions/data-transfer-hub/issues/153). + +### Security +- `ip` to mitigate [CVE-2024-29415] +- `webpack-dev-middleware` to mitigate [CVE-2024-29180] +- `@babel/traverse` to mitigate [CVE-2023-45133] +- `ws` to mitigate [CVE-2024-37890] +- `axios` to mitigate [CVE-2024-39338] +- `braces` to mitigate [CVE-2024-4068] +- `fast-xml-parser` to mitigate [CVE-2024-41818] +- `ejs` to mitigate [CVE-2024-33883] +- `express` to mitigate [CVE-2024-29041] +- `tar` to mitigate [CVE-2024-28863] +- `follow-redirects` to mitigate [CVE-2024-28849] +- `postcss` to mitigate [CVE-2023-44270] + ## [2.6.1] - 2024-04-11 ### Fixed diff --git a/NOTICE.txt b/NOTICE.txt index 89caf9e..4f87661 100755 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -139,4 +139,13 @@ pycparser under the BSD License python-dateutil under Apache Software License, BSD License (Dual License) typing_extensions under Python Software Foundation License boolean.py under BSD-2-Clause -license-expression under Apache License Version 2.0 \ No newline at end of file +license-expression under Apache License Version 2.0 +pyrsistent under the MIT License +pyasn1 under the MIT License +pyrsistent under the MIT License +awscli under the Apache License Version 2.0 +rsa under the Apache License Version 2.0 +colorama under the BSD License +docutils under the BSD License +isodate under the BSD License +ajv under the MIT License \ No newline at end of file diff --git a/source/constructs/lambda/api/task-monitoring/test/requirements-test.txt b/source/constructs/lambda/api/task-monitoring/test/requirements-test.txt index 493e829..16612e5 100644 --- a/source/constructs/lambda/api/task-monitoring/test/requirements-test.txt +++ b/source/constructs/lambda/api/task-monitoring/test/requirements-test.txt @@ -1,6 +1,7 @@ moto==3.1.18 -pytest -pytest-cov +pytest==7.1.2 +pytest-cov==3.0.0 +boto3==1.26.111 pyyaml openapi_spec_validator==0.3.3 docker \ No newline at end of file diff --git a/source/constructs/lambda/api/task-monitoring/test/test_check_sqs_status.py b/source/constructs/lambda/api/task-monitoring/test/test_check_sqs_status.py index 1e3c8f9..15f6f05 100644 --- a/source/constructs/lambda/api/task-monitoring/test/test_check_sqs_status.py +++ b/source/constructs/lambda/api/task-monitoring/test/test_check_sqs_status.py @@ -177,7 +177,6 @@ def sfn_client(): ) os.environ["MOCK_SFN_ARN"] = response["stateMachineArn"] - print("fuck") print(os.environ["MOCK_SFN_ARN"]) yield diff --git a/source/constructs/lambda/plugin/ecr/ecr_helper/util/ecr_helper.py b/source/constructs/lambda/plugin/ecr/ecr_helper/util/ecr_helper.py index bfdd4a6..48e83ba 100644 --- a/source/constructs/lambda/plugin/ecr/ecr_helper/util/ecr_helper.py +++ b/source/constructs/lambda/plugin/ecr/ecr_helper/util/ecr_helper.py @@ -198,7 +198,7 @@ def _get_ecr_image_tags(self, repo_name): ) image_details = response.get('imageDetails') while "nextToken" in response: - response = self._ecr.describe_repositories( + response = self._ecr.describe_images( repositoryName=repo_name, filter={ 'tagStatus': 'TAGGED' diff --git a/source/portal/package.json b/source/portal/package.json index 351cd08..f7c04ed 100644 --- a/source/portal/package.json +++ b/source/portal/package.json @@ -9,51 +9,52 @@ }, "private": true, "dependencies": { - "@apollo/client": "^3.8.8", + "@apollo/client": "^3.11.2", "@aws-amplify/ui-components": "^1.9.40", "@aws-amplify/ui-react": "^5.3.3", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", "@material-ui/lab": "4.0.0-alpha.61", - "@testing-library/jest-dom": "^6.2.0", + "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^14.5.2", "@types/classnames": "^2.3.1", - "@types/jest": "^29.5.11", - "@types/node": "^20.11.0", - "@types/react": "^18.2.46", + "@types/jest": "^29.5.12", + "@types/node": "^20.14.13", + "@types/react": "^18.3.3", "@types/react-copy-to-clipboard": "^5.0.7", - "@types/react-dom": "^18.2.18", + "@types/react-dom": "^18.3.0", "@types/react-loader-spinner": "^4.0.0", "@types/react-router-dom": "^5.3.3", - "apexcharts": "^3.45.1", + "ajv": "^8.17.1", + "apexcharts": "^3.51.0", "apollo-link": "^1.2.14", - "aws-amplify": "^5.3.13", + "aws-amplify": "^5.3.20", "aws-appsync-auth-link": "^3.0.7", - "aws-appsync-subscription-link": "^3.1.2", - "axios": "^1.6.4", + "aws-appsync-subscription-link": "^3.1.3", + "axios": "^1.7.4", "classnames": "^2.5.1", - "date-fns": "^3.2.0", - "i18next": "^23.7.16", + "date-fns": "^3.6.0", + "i18next": "^23.12.2", "i18next-browser-languagedetector": "^7.2.0", - "i18next-http-backend": "^2.4.2", + "i18next-http-backend": "^2.5.2", "lodash.clonedeep": "^4.5.0", "moment": "^2.30.1", - "node-sass": "^9.0.0", "oidc-client": "^1.11.5", "oidc-client-ts": "^2.4.0", - "react": "^18.2.0", + "react": "^18.3.1", "react-apexcharts": "^1.4.1", "react-copy-to-clipboard": "^5.1.0", - "react-dom": "^18.2.0", - "react-i18next": "^14.0.0", + "react-dom": "^18.3.1", + "react-i18next": "^14.1.3", "react-loader-spinner": "^6.1.6", "react-minimal-datetime-range": "^2.1.0", - "react-number-format": "^5.3.1", + "react-number-format": "^5.4.0", "react-oidc-context": "^2.3.1", - "react-router-dom": "^6.21.1", + "react-router-dom": "^6.26.0", "redux": "^5.0.1", "redux-react-hook": "^4.0.3", + "sass": "^1.77.8", "sweetalert2": "11.10.2", "typescript": "^5.3.3" }, @@ -104,6 +105,7 @@ ] }, "overrides": { - "nth-check": "2.1.1" + "nth-check": "2.1.1", + "postcss": "8.4.41" } }