Skip to content

Commit 417ec26

Browse files
authored
Merge pull request #533 from aws-solutions/release/v2.1.10
update to v2.1.10
2 parents c042fed + 06e2f2d commit 417ec26

30 files changed

+93
-57
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project are documented in this file.
55
Based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.10] - 2024-7-16
9+
10+
### Fixed
11+
12+
- Security [vulnerability](https://github.com/advisories/GHSA-3q56-9cc2-46j4) in `fast-loops`.
13+
- Security [vulnerability](https://github.com/advisories/GHSA-jfmj-5v4g-7637) in `zipp`.
14+
- Security [vulnerability](https://github.com/advisories/GHSA-3g92-w8c5-73pq) in `undici`.
15+
16+
### Changed
17+
18+
- Restrict egress for Neptune lambda security group to VPC IP address range. [531](https://github.com/aws-solutions/workload-discovery-on-aws/discussions/531)
19+
820
## [2.1.9] - 2024-6-24
921

1022
### Fixed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workload Discovery on AWS (v2.1.9)
1+
# Workload Discovery on AWS (v2.1.10)
22

33
Workload Discovery on AWS is a tool that quickly visualizes AWS Cloud workloads as architecture diagrams.
44
You can use the solution to build, customize, and share detailed workload visualizations based on live data from AWS.
@@ -46,7 +46,7 @@ To submit an idea for a feature you would like to see implemented, please [creat
4646

4747
## Architecture
4848

49-
![Architecture diagram showing full set of deployment resources](docs/modules/ROOT/images/arch-diagram.png "Full architecture diagram")
49+
![Architecture diagram showing full set of deployment resources](arch-diagram.png "Full architecture diagram")
5050

5151
Workload Discovery is deployed to your account using an AWS CloudFormation template consisting of six components.
5252
The following is a high level overview of the components. For additional details about each component, refer to

arch-diagram.png

572 KB
Loading

deployment/build-open-source-dist.sh

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ gitzip -d $dist_dir/$1.zip \
4444
-x "buildspec.yml" \
4545
-x ".viperlight*" \
4646
-x "source/infrastructure" \
47+
-x "docs" \
4748
-x "sonar-project.properties" \
4849
-x "solution-manifest.yaml" \
4950
-x ".nightswatch/*" \

source/backend/discovery/package-lock.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/discovery/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-discovery",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "This contains the code that forms the discovery process for AWS Perspective.",
55
"main": "index.js",
66
"scripts": {
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
class AggregatorNotFoundError extends Error {
5+
constructor(aggregatorName) {
6+
super(`Aggregator ${aggregatorName} was not found`);
7+
this.name = 'AggregatorValidationError';
8+
this.aggregatorName = aggregatorName;
9+
}
10+
}
11+
12+
class OrgAggregatorValidationError extends Error {
13+
constructor(aggregator) {
14+
super('Config aggregator is not an organization wide aggregator');
15+
this.name = 'AggregatorValidationError';
16+
this.aggregator = aggregator;
17+
}
18+
}
19+
20+
module.exports = {
21+
AggregatorNotFoundError,
22+
OrgAggregatorValidationError
23+
}

source/backend/functions/account-import-templates-api/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/account-import-templates-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-import-templates",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "Lambda function that serves cfn templates for account and region importing",
55
"main": "index.js",
66
"scripts": {

source/backend/functions/cost-parser/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/cost-parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-cost",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

source/backend/functions/cur-notification/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/cur-notification/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-cur-notification",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

source/backend/functions/cur-setup/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/cur-setup/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-cur-setup",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

source/backend/functions/graph-api/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/graph-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-graph-api",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "The lambda function that queries the Neptune database",
55
"main": "src/index.js",
66
"scripts": {
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
jsonschema==4.17.0
22
pkgutil_resolve_name==1.3.10
33
importlib_resources==6.0.0
4-
zipp==3.15.0
4+
zipp==3.19.1

source/backend/functions/metrics/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/metrics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metrics",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

source/backend/functions/opensearch-setup/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/opensearch-setup/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opensearch-setup",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "Custom resource that creates index in OpenSearch.",
55
"main": "src/index.js",
66
"scripts": {

source/backend/functions/search-api/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/search-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-search-api",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "The lambda function that queries the OpenSearch database",
55
"main": "src/index.js",
66
"scripts": {

source/backend/functions/settings/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/backend/functions/settings/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wd-settings",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"description": "Lambda function that stores WD configuration data in DynamoDB",
55
"main": "index.js",
66
"scripts": {

source/cfn/templates/gremlin-resolvers.template

+6-6
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ Resources:
6060
Properties:
6161
GroupDescription: Security group for Gremlin AppSync lambda
6262
VpcId: !Ref VpcId
63-
# SecurityGroupEgress:
64-
# - Description: Explicit egress group locking down outbound access for HTTPS
65-
# CidrIp: !Ref VPCCidrBlock
66-
# IpProtocol: tcp
67-
# ToPort: !Ref NeptuneClusterPort
68-
# FromPort: !Ref NeptuneClusterPort
63+
SecurityGroupEgress:
64+
- Description: Restrict egress to VPC only
65+
CidrIp: !Ref VPCCidrBlock
66+
IpProtocol: tcp
67+
ToPort: !Ref NeptuneClusterPort
68+
FromPort: !Ref NeptuneClusterPort
6969

7070
NeptuneDbSgIngressRule:
7171
Type: AWS::EC2::SecurityGroupIngress

source/frontend/package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "workload-discovery-ui",
3-
"version": "2.1.9",
3+
"version": "2.1.10",
44
"private": true,
55
"description": "UI code for the Workload Discovery solution",
66
"author": {

0 commit comments

Comments
 (0)