Skip to content

Commit

Permalink
Merge pull request #533 from aws-solutions/release/v2.1.10
Browse files Browse the repository at this point in the history
update to v2.1.10
  • Loading branch information
svozza authored Jul 16, 2024
2 parents c042fed + 06e2f2d commit 417ec26
Show file tree
Hide file tree
Showing 30 changed files with 93 additions and 57 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ 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.10] - 2024-7-16

### Fixed

- Security [vulnerability](https://github.com/advisories/GHSA-3q56-9cc2-46j4) in `fast-loops`.
- Security [vulnerability](https://github.com/advisories/GHSA-jfmj-5v4g-7637) in `zipp`.
- Security [vulnerability](https://github.com/advisories/GHSA-3g92-w8c5-73pq) in `undici`.

### Changed

- Restrict egress for Neptune lambda security group to VPC IP address range. [531](https://github.com/aws-solutions/workload-discovery-on-aws/discussions/531)

## [2.1.9] - 2024-6-24

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workload Discovery on AWS (v2.1.9)
# Workload Discovery on AWS (v2.1.10)

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 Expand Up @@ -46,7 +46,7 @@ To submit an idea for a feature you would like to see implemented, please [creat

## Architecture

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

Workload Discovery is deployed to your account using an AWS CloudFormation template consisting of six components.
The following is a high level overview of the components. For additional details about each component, refer to
Expand Down
Binary file added arch-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions deployment/build-open-source-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ gitzip -d $dist_dir/$1.zip \
-x "buildspec.yml" \
-x ".viperlight*" \
-x "source/infrastructure" \
-x "docs" \
-x "sonar-project.properties" \
-x "solution-manifest.yaml" \
-x ".nightswatch/*" \
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.9",
"version": "2.1.10",
"description": "This contains the code that forms the discovery process for AWS Perspective.",
"main": "index.js",
"scripts": {
Expand Down
23 changes: 23 additions & 0 deletions source/backend/discovery/src/lib/errors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

class AggregatorNotFoundError extends Error {
constructor(aggregatorName) {
super(`Aggregator ${aggregatorName} was not found`);
this.name = 'AggregatorValidationError';
this.aggregatorName = aggregatorName;
}
}

class OrgAggregatorValidationError extends Error {
constructor(aggregator) {
super('Config aggregator is not an organization wide aggregator');
this.name = 'AggregatorValidationError';
this.aggregator = aggregator;
}
}

module.exports = {
AggregatorNotFoundError,
OrgAggregatorValidationError
}

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.9",
"version": "2.1.10",
"description": "Lambda function that serves cfn templates for account and region importing",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/cost-parser/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/functions/cost-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-cost",
"version": "2.1.9",
"version": "2.1.10",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/cur-notification/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/functions/cur-notification/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-cur-notification",
"version": "2.1.9",
"version": "2.1.10",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/cur-setup/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/functions/cur-setup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-cur-setup",
"version": "2.1.9",
"version": "2.1.10",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/graph-api/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/functions/graph-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-graph-api",
"version": "2.1.9",
"version": "2.1.10",
"description": "The lambda function that queries the Neptune database",
"main": "src/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jsonschema==4.17.0
pkgutil_resolve_name==1.3.10
importlib_resources==6.0.0
zipp==3.15.0
zipp==3.19.1
4 changes: 2 additions & 2 deletions source/backend/functions/metrics/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/functions/metrics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metrics",
"version": "2.1.9",
"version": "2.1.10",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/opensearch-setup/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/functions/opensearch-setup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensearch-setup",
"version": "2.1.9",
"version": "2.1.10",
"description": "Custom resource that creates index in OpenSearch.",
"main": "src/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/search-api/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/functions/search-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-search-api",
"version": "2.1.9",
"version": "2.1.10",
"description": "The lambda function that queries the OpenSearch database",
"main": "src/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions source/backend/functions/settings/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/functions/settings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wd-settings",
"version": "2.1.9",
"version": "2.1.10",
"description": "Lambda function that stores WD configuration data in DynamoDB",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions source/cfn/templates/gremlin-resolvers.template
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ Resources:
Properties:
GroupDescription: Security group for Gremlin AppSync lambda
VpcId: !Ref VpcId
# SecurityGroupEgress:
# - Description: Explicit egress group locking down outbound access for HTTPS
# CidrIp: !Ref VPCCidrBlock
# IpProtocol: tcp
# ToPort: !Ref NeptuneClusterPort
# FromPort: !Ref NeptuneClusterPort
SecurityGroupEgress:
- Description: Restrict egress to VPC only
CidrIp: !Ref VPCCidrBlock
IpProtocol: tcp
ToPort: !Ref NeptuneClusterPort
FromPort: !Ref NeptuneClusterPort

NeptuneDbSgIngressRule:
Type: AWS::EC2::SecurityGroupIngress
Expand Down
10 changes: 5 additions & 5 deletions source/frontend/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/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "workload-discovery-ui",
"version": "2.1.9",
"version": "2.1.10",
"private": true,
"description": "UI code for the Workload Discovery solution",
"author": {
Expand Down
Loading

0 comments on commit 417ec26

Please sign in to comment.