Skip to content

Commit c9dba81

Browse files
authored
Merge pull request #581 from aws-solutions/release/v2.2.3
update to v2.2.3
2 parents 6079bdf + f2e0d39 commit c9dba81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+9322
-8750
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+29-15
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,46 @@ labels: 'bug'
66
assignees: ''
77
---
88

9-
If your issue relates to the _Discovery Process_, please first follow the steps described in the implementation guide [Debugging the Discovery Component](https://docs.aws.amazon.com/solutions/latest/aws-perspective/appendix-e-debugging-the-discovery-component.html)
9+
If your issue relates to the _Discovery Process_, please first follow the steps described in the implementation guide [Debugging the Discovery Component](https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/debugging-the-discovery-component.html)
1010

1111
---
1212

13-
1413
**Describe the bug**
15-
A description of what the bug is.
14+
A clear and concise description of what the bug is.
1615

1716
**To Reproduce**
18-
Steps to reproduce the behavior:
19-
20-
1. Go to '...'
21-
2. Click on '....'
22-
3. Scroll down to '....'
23-
4. See error
17+
Steps to reproduce the behavior.
2418

2519
**Expected behavior**
26-
A description of what you expected to happen.
20+
A clear and concise description of what you expected to happen.
2721

28-
**Screenshots**
29-
If applicable, add screenshots to help explain your problem.
22+
**Please complete the following information about the solution:**
23+
24+
- [ ] Version: [e.g. v2.0.0]
3025

31-
**Browser (please complete the following information):**
26+
To get the version of the solution, you can look at the description of the created CloudFormation stack.
27+
For example, "_Workload Discovery on AWS Main Template (SO0075a) - Solution - Main Template (uksb-abcdef12) **(version:v2.0.0)**_". If the description does not contain the version information,
28+
you can look at the mappings section of the template:
3229

33-
- Name [e.g. chrome, firefox]
34-
- Version [e.g. 22]
30+
```yanl
31+
Mappings:
32+
33+
Solution:
34+
Constants:
35+
# ...
36+
SolutionVersion: v2.0.0
37+
# ...
38+
```
39+
40+
- [ ] Region: [e.g. us-east-1]
41+
- [ ] Was the solution modified from the version published on this repository?
42+
- [ ] If the answer to the previous question was yes, are the changes available on GitHub?
43+
- [ ] Have you checked your [service quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the
44+
services this solution uses?
45+
- [ ] Were there any errors in the CloudWatch Logs?
46+
47+
**Screenshots**
48+
If applicable, add screenshots to help explain your problem (please **DO NOT include sensitive information**).
3549

3650
**Additional context**
3751
Add any other context about the problem here.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ source/frontend/cypress/videos
3434
# package-lock.json
3535
**/.vscode/settings.json
3636
**/setenv.sh
37+
source/frontend/.eslintcache
3738

3839
#IntelliJ
3940
.idea

CHANGELOG.md

+43-11
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,40 @@ 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.2.3] - 2025-03-18
9+
10+
### Added
11+
12+
- Alert in AppInsights dashboard if discovery process cannot route to required AWS services
13+
14+
### Fixed
15+
16+
- Security [issue](https://github.com/advisories/GHSA-cpwx-vrp4-4pq7) in `axios`.
17+
- Security [issue](https://github.com/advisories/GHSA-968p-4wvh-cqc8) in `babel`.
18+
- Security [issue](https://github.com/advisories/GHSA-67mh-4wv8-2f99) in `esbuild`.
19+
- Security [issue](https://github.com/advisories/GHSA-jr5f-v2jv-69x6) in `jinja`.
20+
- Security [issue](https://github.com/advisories/GHSA-3mv9-4h5g-vhg3) in `tsup`.
21+
22+
### Changed
23+
24+
- Discovery process now downloads accounts from Neptune concurrently
25+
826
## [2.2.2] - 2025-02-21
927

1028
### Added
29+
1130
- Alert in AppInsights dashboard if discovery process cannot pull image from ECR
1231

1332
### Fixed
33+
1434
- Metrics lambda always sent `false` for `costFeatureEnabled` metric
1535
- Invalid default value in `CognitoAttributeMapping` CloudFormation parameter
1636
- Large dark circle appears in canvas when user saves an empty diagram
1737
- Security [issue](https://github.com/advisories/GHSA-gmj6-6f8f-6699) in `jinja`.
1838
- Security [issue](https://github.com/advisories/GHSA-79v4-65xg-pq4g) in `cryptography`.
1939

2040
### Changed
41+
2142
- Importing accounts using form is now default setting on Accounts page
2243
- Account lists can now be filtered by account name [514](https://github.com/aws-solutions/workload-discovery-on-aws/issues/514)
2344
- Error dialog on resources page now includes link to AppInsights dashboard
@@ -26,10 +47,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2647
## [2.2.1] - 2025-02-07
2748

2849
### Added
50+
2951
- Alert in AppInsights dashboard if discovery process runs out of memory
3052
- Alert in AppInsights dashboard if Config not enabled in discoverable region
3153

3254
### Fixed
55+
3356
- Null pointer error in SAML identity provider custom resource [567](https://github.com/aws-solutions/workload-discovery-on-aws/issues/567)
3457
- Incorrect description string in diagram settings filter when hiding resources
3558
- Erroneous validation error when exporting diagrams with global resources to myApplications
@@ -41,11 +64,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4164
- Security [issue](https://github.com/advisories/GHSA-q2x7-8rv6-6q7h) in `jinja`.
4265

4366
### Changed
67+
4468
- Use of `FARGATE` or `FARGATE_SPOT` for discovery process is configurable via a CloudFormation parameter.
4569

4670
## [2.2.0] - 2024-11-20
4771

4872
### Added
73+
4974
- Support for custom identity providers (SAML and OIDC) [61](https://github.com/aws-solutions/workload-discovery-on-aws/issues/61) [510](https://github.com/aws-solutions/workload-discovery-on-aws/issues/510)
5075
- Export of diagrams to myApplications
5176
- Export of diagrams to SVG
@@ -71,13 +96,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7196
- `AWS::MediaPackage::PackagingConfiguration` -> `AWS::MediaPackage::PackagingGroup`/`AWS::IAM::Role`
7297

7398
### Changed
99+
74100
- Multiple resources can now be selected in the search bar on the Diagram page
75101
- Migrate AppRegistry integration to myApplications for monitoring solution costs and usage.
76102
- Migrate JavaScript lambda functions and the discovery process from CommonJS to ESM
77103
- Update Neptune Engine version to `1.3.1.0`.
78104
- Update OpenSearch version to `2.11.0`.
79105

80106
### Fixed
107+
81108
- `AWS::EC2::NetworkInterface` -> `AWS::OpenSearchService::Domain` relationships are not discovered
82109
- Failed writes to OpenSearch should stop the corresponding write being made to Neptune
83110
- Metrics lambda times out when hundreds of accounts have been imported
@@ -197,6 +224,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
197224
- Comma in Service Name Results causes GraphQL type error [491](https://github.com/aws-solutions/workload-discovery-on-aws/issues/491)
198225

199226
### Changed
227+
200228
- Frequency at which the scheduled discovery process ECS task runs is now configurable via a CloudFormation parameter.
201229

202230
## [2.1.2] - 2023-11-14
@@ -206,13 +234,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
206234
- Throttle `ListAccounts` API to prevent rate limiting from stopping the Discovery process discover accounts
207235
in large organisation. [478](https://github.com/aws-solutions/workload-discovery-on-aws/issues/478)
208236
- Only attempt to discover accounts from provided OU and its children, rather than whole organization.
209-
- Throttle `SelectAggregateResourceConfig` API to prevent rate limiting from stopping discovery process from reading
237+
- Throttle `SelectAggregateResourceConfig` API to prevent rate limiting from stopping discovery process from reading
210238
from the Config aggregator.
211239
- Remove Retain on organization-wide StackSet so IAM roles are no longer left in organization's accounts after solution is uninstalled.
212240
- Handle error message difference between AppSync VTL resolvers and JS resolvers that prevented discovery process from retrying
213241
requests to DB if payload was too large.
214242

215243
### Changed
244+
216245
- Move GraphQL queries that queried whole Neptune database to use DynamoDB, significantly reducing load on Neptune and
217246
improving rendering times on the frontend.
218247
- Retrieve the following resource types from AWS Config advanced query rather than `ListAggregateDiscoveredResources`
@@ -231,6 +260,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
231260
## [2.1.1] - 2023-10-24
232261

233262
### Fixed
263+
234264
- Security [issue](https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92) in `@babel/traverse`.
235265
- Security [issue](https://github.com/advisories/GHSA-wqq4-5wpv-mx2g) in `undici`.
236266
- Security [issue](https://github.com/advisories/GHSA-g4mx-q9vg-27p4) in `urllib3`.
@@ -250,9 +280,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
250280
- Support for more resource types now totalling over 250.
251281

252282
### Changed
283+
253284
- Migrated from the deprecated awsui frontend framework to [Cloudscape](https://cloudscape.design).
254285

255286
### Fixed
287+
256288
- Export of diagrams to JSON [426](https://github.com/aws-solutions/workload-discovery-on-aws/issues/426)
257289
- Export of diagrams to draw.io [329](https://github.com/aws-solutions/workload-discovery-on-aws/issues/329)
258290
- Outdated OpenSSL package being used [424](https://github.com/aws-solutions/workload-discovery-on-aws/issues/424)
@@ -346,9 +378,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
346378

347379
### Fixed
348380

349-
- Cost calculations to query on resourceIds as well as ARNs. https://github.com/awslabs/aws-perspective/issues/231
350-
- Drawio export bug that was causing diagrams with collapsed nodes to cause an error. https://github.com/awslabs/aws-perspective/issues/219
351-
- Hover over box when hovering over a resource it was going outside the screen. https://github.com/awslabs/aws-perspective/issues/220
381+
- Cost calculations to query on resourceIds as well as ARNs. [231](https://github.com/awslabs/aws-perspective/issues/231)
382+
- Drawio export bug that was causing diagrams with collapsed nodes to cause an error. [219](https://github.com/awslabs/aws-perspective/issues/219)
383+
- Hover over box when hovering over a resource it was going outside the screen. [220](Hhttps://github.com/awslabs/aws-perspective/issues/220)
352384
- Slow deployment step that uploads files to S3. Increase **maxSockets** in HTTPS agent within the Lambda.
353385

354386
## [1.1.2] - 2021-11-03
@@ -364,7 +396,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
364396
### Fixed
365397

366398
- Fixed permissions errors preventing in-place upgrades.
367-
- Fixed a bug causing Amazon Elasticsearch Service costs to be missed out when calculating estimated workload costs (https://github.com/awslabs/aws-perspective/issues/216).
399+
- Fixed a bug causing Amazon Elasticsearch Service costs to be missed out when calculating estimated workload costs [216](https://github.com/awslabs/aws-perspective/issues/216).
368400
- Fixed a bug causing cost query date not to update in the overview component.
369401

370402
## [1.1.1] - 2021-09-28
@@ -381,9 +413,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
381413

382414
### Fixed
383415

384-
- Fixed a bug causing a blank screen when expanding nodes whilst filters are enabled - https://github.com/awslabs/aws-perspective/issues/201
385-
- Fixed a bug that meant the time period for cost report queries was not persisted - https://github.com/awslabs/aws-perspective/issues/200
386-
- Fixed a bug that could result in python files being incorrectly excluded - https://github.com/awslabs/aws-perspective/issues/64
416+
- Fixed a bug causing a blank screen when expanding nodes whilst filters are enabled [201](https://github.com/awslabs/aws-perspective/issues/201)
417+
- Fixed a bug that meant the time period for cost report queries was not persisted [200](https://github.com/awslabs/aws-perspective/issues/200)
418+
- Fixed a bug that could result in python files being incorrectly excluded [64](https://github.com/awslabs/aws-perspective/issues/64)
387419
- A bug causing some resource types to throw an exception when clicking "Show more details"
388420

389421
## [1.1.0] - 2021-08-26
@@ -420,11 +452,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
420452

421453
## [1.0.1] - 2020-09-29
422454

423-
- Added 'Save Template' option when importing new accounts and Regions. This removes the need to enable public access
455+
- Added 'Save Template' option when importing new accounts and Regions. This removes the need to enable public access
424456
objects in the AmplifyStorageBucket
425-
- Altered wording around visibility levels when saving architecture diagrams. 'You' and 'All users' is now used instead
457+
- Altered wording around visibility levels when saving architecture diagrams. 'You' and 'All users' is now used instead
426458
of 'public' and 'private'.
427-
- Fixed bug that was causing import configurations to become corrupt when an account or Region was deleted by the
459+
- Fixed bug that was causing import configurations to become corrupt when an account or Region was deleted by the
428460
UI if a discovery was in progress.
429461
- Fixed bug leading to invalid JSON being generated in CloudFormation templates for importing accounts and Regions.
430462
- Fixed Dependabot issues raised by GitHub

CONTRIBUTING.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ We welcome you to use the GitHub issue tracker to report bugs or suggest feature
1414
When filing an issue, please check [existing open](https://github.com/aws-solutions/workload-discovery-on-aws/issues), or [recently closed](https://github.com/aws-solutions/workload-discovery-on-aws/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
1515
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1616

17-
* A reproducible test case or series of steps
18-
* The version of our code being used
19-
* Any modifications you've made relevant to the bug
20-
* Anything unusual about your environment or deployment
17+
- A reproducible test case or series of steps
18+
- The version of our code being used
19+
- Any modifications you've made relevant to the bug
20+
- Anything unusual about your environment or deployment
2121

2222

2323
## Contributing via Pull Requests
2424
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2525

26-
1. You are working against the latest source on the *master* branch.
26+
1. You are working against the latest source on the *main* branch.
2727
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
2828
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
2929

@@ -51,11 +51,11 @@ [email protected] with any additional questions or comments.
5151

5252

5353
## Security issue notifications
54-
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
54+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5555

5656

5757
## Licensing
5858

59-
See the [LICENSE](https://github.com/aws-solutions/workload-discovery-on-aws/blob/main/LICENSE.txt) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
59+
See the [LICENSE](https://github.com/aws-solutions/workload-discovery-on-aws/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
6060

61-
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
61+
We may ask you to sign a [Contributor License Agreement (CLA)](https://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

LICENSE.txt renamed to LICENSE

File renamed without changes.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Workload Discovery on AWS (v2.2.2)
1+
# Workload Discovery on AWS (v2.2.3)
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.
@@ -171,7 +171,7 @@ diagnose and rectify common issues.
171171

172172
## License
173173

174-
See license [here](./LICENSE.txt).
174+
See license [here](./LICENSE).
175175

176176
## Anonymized data collection
177177

@@ -191,4 +191,4 @@ by the [Info Visualization Research Lab](https://www.cs.bilkent.edu.tr/~ivis/) a
191191

192192
Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
193193

194-
Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at https://www.apache.org/licenses/ or in the "[license](LICENSE.txt)" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
194+
Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at https://www.apache.org/licenses/ or in the "[license](LICENSE)" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.

SECURITY.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## Reporting Security Issues
22

3-
We take all security reports seriously. When we receive such reports, we will investigate and
4-
subsequently address any potential vulnerabilities as quickly as possible. If you discover a potential
5-
security issue in this project, please notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/)
6-
or directly via email to [AWS Security](mailto:[email protected]). Please do not create a public
7-
GitHub issue in this project.
3+
We take all security reports seriously. When we receive such reports,
4+
we will investigate and subsequently address any potential vulnerabilities as
5+
quickly as possible. If you discover a potential security issue in this project,
6+
please notify AWS/Amazon Security via our [vulnerability reporting page]
7+
(http://aws.amazon.com/security/vulnerability-reporting/) or directly via email
8+
to [AWS Security](mailto:[email protected]).
9+
Please do *not* create a public GitHub issue in this project.

0 commit comments

Comments
 (0)