Skip to content

Commit

Permalink
Merge pull request #547 from aws-solutions/release/v2.1.14
Browse files Browse the repository at this point in the history
update to v2.1.14
  • Loading branch information
svozza authored Sep 18, 2024
2 parents 065cf72 + 0fb605c commit 3a7e396
Show file tree
Hide file tree
Showing 37 changed files with 1,241 additions and 258 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project are documented in this file.
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.1.14] - 2024-9-18

### Fixed

- Cron expression for running discovery process every 24 hours. [546](https://github.com/aws-solutions/workload-discovery-on-aws/discussions/546)
- Intermittent failures in `cleanup-bucket` custom resource. [545](https://github.com/aws-solutions/workload-discovery-on-aws/discussions/545)
- SCP error relating to `putConfigAggregator` when adding accounts in an AWS organisation using Control Tower. [544](https://github.com/aws-solutions/workload-discovery-on-aws/discussions/544)
- Security [vulnerability](https://github.com/advisories/GHSA-952p-6rrq-rcjv) in `micromatch`.
- Security [vulnerability](https://github.com/advisories/GHSA-9wv6-86v2-598j) in `path-to-regexp`.
- Security [vulnerability](https://github.com/advisories/GHSA-m6fv-jmcg-4jfg) in `send`.

## [2.1.13] - 2024-8-16

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workload Discovery on AWS (v2.1.13)
# Workload Discovery on AWS (v2.1.14)

Workload Discovery on AWS is a tool that quickly visualizes AWS Cloud workloads as architecture diagrams.
You can use the solution to build, customize, and share detailed workload visualizations based on live data from AWS.
Expand Down
7 changes: 7 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Reporting Security Issues

We take all security reports seriously. When we receive such reports, we will investigate and
subsequently address any potential vulnerabilities as quickly as possible. If you discover a potential
security issue in this project, please notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/)
or directly via email to [AWS Security](mailto:[email protected]). Please do not create a public
GitHub issue in this project.
9 changes: 8 additions & 1 deletion deployment/run-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo "--------------------------------------------------------------------------
echo "[Test] Drawio"
echo "------------------------------------------------------------------------------"
cd $source_dir/backend/functions/drawio
pipenv install --dev
pipenv install -q --dev
pipenv run pytest --cov-report xml --cov .
echo "$(awk '{gsub(/<source>.*\/source\//, "<source>source/")}1' coverage.xml)" > coverage.xml

Expand All @@ -50,6 +50,13 @@ echo "--------------------------------------------------------------------------
cd $source_dir/backend/functions/metrics
npm run test:ci

echo "[Test] Bucket cleanup Custom Resource"
echo "------------------------------------------------------------------------------"
cd $source_dir/backend/functions/cleanup-bucket
pipenv install -q --dev
pipenv run pytest --cov-report xml --cov .
echo "$(awk '{gsub(/<source>.*\/source\//, "<source>source/")}1' coverage.xml)" > coverage.xml

echo "------------------------------------------------------------------------------"
echo "[Test] Discovery"
echo "------------------------------------------------------------------------------"
Expand Down
16 changes: 8 additions & 8 deletions source/backend/discovery/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/backend/discovery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-discovery",
"version": "2.1.13",
"version": "2.1.14",
"description": "This contains the code that forms the discovery process for AWS Perspective.",
"main": "index.js",
"scripts": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-import-templates",
"version": "2.1.13",
"version": "2.1.14",
"description": "Lambda function that serves cfn templates for account and region importing",
"main": "index.js",
"scripts": {
Expand Down
18 changes: 18 additions & 0 deletions source/backend/functions/cleanup-bucket/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]
moto = "5.0.9"
boto3 = "1.34.118"
pytest-cov = "5.0.0"
crhelper = "2.0.11"
mock = "5.1.0"
pytest-mock = "3.14.0"
joserfc = "0.11.1"

[requires]
python_version = "3.12"
Loading

0 comments on commit 3a7e396

Please sign in to comment.