Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the windows dev setup script and docker-compose #6402

Open
wants to merge 558 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
558 commits
Select commit Hold shift + click to select a range
e1e9d5d
SBOM Mapper (#5986)
charleshu-8 Aug 19, 2024
ba80c10
Bump @types/node from 22.3.0 to 22.4.1
dependabot[bot] Aug 19, 2024
5bf051a
Bump sass-loader from 16.0.0 to 16.0.1
dependabot[bot] Aug 20, 2024
23389ef
Bump typedoc from 0.26.5 to 0.26.6
dependabot[bot] Aug 20, 2024
ca07396
Bump @types/sanitize-html from 2.11.0 to 2.13.0
dependabot[bot] Aug 20, 2024
d2c0921
Bump @nestjs/schematics from 10.1.3 to 10.1.4
dependabot[bot] Aug 20, 2024
ec7eee5
v2.10.15 release preparation
georgedias Aug 20, 2024
fe25820
v2.10.15
georgedias Aug 20, 2024
5e7761c
Bump @aws-sdk/client-s3 from 3.633.0 to 3.635.0
dependabot[bot] Aug 21, 2024
043890e
Bump core-js from 3.38.0 to 3.38.1
dependabot[bot] Aug 21, 2024
24034e5
Bump @aws-sdk/client-config-service from 3.632.0 to 3.635.0
dependabot[bot] Aug 21, 2024
f49ee8b
Bump @types/node from 22.4.1 to 22.5.0
dependabot[bot] Aug 22, 2024
45fef78
Bump @aws-sdk/client-sts from 3.635.0 to 3.637.0
dependabot[bot] Aug 23, 2024
1f192fa
Bump @aws-sdk/client-s3 from 3.635.0 to 3.637.0
dependabot[bot] Aug 23, 2024
2f6b1b0
Bump ts-jest from 29.2.4 to 29.2.5
dependabot[bot] Aug 24, 2024
63a5203
Bump @aws-sdk/client-config-service from 3.635.0 to 3.637.0
dependabot[bot] Aug 24, 2024
2256303
Bump axios from 1.7.4 to 1.7.5
dependabot[bot] Aug 24, 2024
26e8bf6
Bump @types/multer from 1.4.11 to 1.4.12
dependabot[bot] Aug 24, 2024
7b92daf
Bump tsx from 4.17.0 to 4.18.0
dependabot[bot] Aug 27, 2024
0298d3f
Bump @types/validator from 13.12.0 to 13.12.1
dependabot[bot] Aug 27, 2024
2ff7fed
Bump @types/node from 22.5.0 to 22.5.1
dependabot[bot] Aug 28, 2024
ff3d64a
Bump tsx from 4.18.0 to 4.19.0
dependabot[bot] Aug 28, 2024
0604bf1
Bump cypress from 13.13.3 to 13.14.0
dependabot[bot] Aug 28, 2024
ec87b06
Bump @types/diff from 5.2.1 to 5.2.2
dependabot[bot] Aug 29, 2024
950f956
Bump rexml from 3.3.3 to 3.3.6 in /libs/inspecjs (#6128)
dependabot[bot] Aug 29, 2024
93942bf
updateTenableContentSecurityPolicy (#6135)
georgedias Aug 29, 2024
b5b9afa
Bump cypress from 13.14.0 to 13.14.1
dependabot[bot] Aug 30, 2024
5accaf8
Bump apexcharts from 3.52.0 to 3.53.0
dependabot[bot] Aug 31, 2024
fe62570
Bump axios from 1.7.5 to 1.7.6
dependabot[bot] Aug 31, 2024
752fe15
Bump axios from 1.7.6 to 1.7.7
dependabot[bot] Sep 3, 2024
584a9b7
Bump @types/node from 22.5.1 to 22.5.2
dependabot[bot] Sep 3, 2024
915c499
Bump diff from 5.2.0 to 6.0.0
dependabot[bot] Sep 3, 2024
0bf3f70
Bump @nestjs/cli from 10.4.4 to 10.4.5
dependabot[bot] Sep 3, 2024
2068305
Bump fast-xml-parser from 4.4.1 to 4.5.0
dependabot[bot] Sep 4, 2024
0252f1a
Bump eslint-plugin-vue from 9.27.0 to 9.28.0
dependabot[bot] Sep 4, 2024
423039f
Bump @aws-sdk/client-sts from 3.637.0 to 3.645.0
dependabot[bot] Sep 5, 2024
a9cdd2e
Bump @aws-sdk/client-config-service from 3.637.0 to 3.645.0
dependabot[bot] Sep 5, 2024
305005f
Bump yaml from 2.5.0 to 2.5.1
dependabot[bot] Sep 5, 2024
da292b4
Bump diff from 6.0.0 to 7.0.0
dependabot[bot] Sep 7, 2024
ff79d08
Bump cypress from 13.14.1 to 13.14.2
dependabot[bot] Sep 7, 2024
ed89b63
Bump eslint-plugin-import from 2.29.1 to 2.30.0
dependabot[bot] Sep 7, 2024
a6fbe2e
Bump @types/node from 22.5.2 to 22.5.4
dependabot[bot] Sep 7, 2024
a2a7798
Bump @smithy/node-http-handler from 3.1.4 to 3.2.0
dependabot[bot] Sep 10, 2024
2c4af01
Bump @aws-sdk/client-s3 from 3.637.0 to 3.645.0
dependabot[bot] Sep 10, 2024
72b5237
Bump express from 4.19.2 to 4.20.0
dependabot[bot] Sep 11, 2024
dd4c2bd
Bump express from 4.19.2 to 4.20.0
dependabot[bot] Sep 11, 2024
18d4146
Bump typedoc from 0.26.6 to 0.26.7
dependabot[bot] Sep 11, 2024
2b9a5ef
Bump sinon from 18.0.0 to 18.0.1
dependabot[bot] Sep 11, 2024
cc74563
Bump @aws-sdk/client-sts from 3.645.0 to 3.649.0
dependabot[bot] Sep 11, 2024
6f568a0
Bump @aws-sdk/client-config-service from 3.645.0 to 3.649.0
dependabot[bot] Sep 11, 2024
9710556
Bump @aws-sdk/client-s3 from 3.645.0 to 3.649.0
dependabot[bot] Sep 11, 2024
98e80a3
Replace @cyclonedx/cyclonedx-library's internal types with cyclonedx …
Amndeep7 Sep 11, 2024
2a525c8
Bump @aws-sdk/client-s3 from 3.649.0 to 3.650.0
dependabot[bot] Sep 12, 2024
edf757e
Bump tailwindcss from 3.4.10 to 3.4.11
dependabot[bot] Sep 12, 2024
bf09d62
Bump express from 4.20.0 to 4.21.0
dependabot[bot] Sep 12, 2024
a678e8e
Bump @aws-sdk/client-config-service from 3.649.0 to 3.650.0
dependabot[bot] Sep 12, 2024
43f9720
updated tailwind styles
Amndeep7 Sep 12, 2024
3a88e17
updated caniuse browsers db
Amndeep7 Sep 12, 2024
a73f420
prep for 2.10.16
Amndeep7 Sep 12, 2024
cac58c6
v2.10.16
Amndeep7 Sep 12, 2024
aa75d1d
Bump tsx from 4.19.0 to 4.19.1
dependabot[bot] Sep 13, 2024
8415051
Bump @aws-sdk/client-s3 from 3.650.0 to 3.651.0
dependabot[bot] Sep 13, 2024
2c133e0
Bump sinon from 18.0.1 to 19.0.0
dependabot[bot] Sep 13, 2024
e7db2d2
Bump @aws-sdk/client-s3 from 3.651.0 to 3.651.1
dependabot[bot] Sep 14, 2024
fc9d785
Bump @smithy/node-http-handler from 3.2.0 to 3.2.2
dependabot[bot] Sep 14, 2024
528761a
Bump connect-pg-simple from 9.0.1 to 10.0.0
dependabot[bot] Sep 14, 2024
bc12fba
Bump @aws-sdk/client-config-service from 3.650.0 to 3.651.1
dependabot[bot] Sep 14, 2024
c32af05
Bump sinon from 19.0.0 to 19.0.2
dependabot[bot] Sep 14, 2024
2cd2b2e
Anchore Grype Mapper (#6117)
andytang99 Sep 16, 2024
deb34a4
prpe for 2.10.17
Amndeep7 Sep 16, 2024
a13f42c
v2.10.17
Amndeep7 Sep 16, 2024
7b52a4b
updated gh action for ghpages
Amndeep7 Sep 16, 2024
94921eb
readme and front end modal (#6186)
andytang99 Sep 16, 2024
70a9c07
prep for 2.10.18
Amndeep7 Sep 16, 2024
eaf484b
v2.10.18
Amndeep7 Sep 16, 2024
0429807
Bump @nestjs/testing from 10.4.1 to 10.4.2
dependabot[bot] Sep 17, 2024
8a62537
Bump @nestjs/core from 10.4.1 to 10.4.2
dependabot[bot] Sep 17, 2024
0421cd0
Bump @nestjs/platform-express from 10.4.1 to 10.4.2
dependabot[bot] Sep 17, 2024
0254563
Bump date-fns from 3.6.0 to 4.0.0
dependabot[bot] Sep 17, 2024
8cf0b52
Bump @nestjs/common from 10.4.1 to 10.4.2
dependabot[bot] Sep 17, 2024
c7e354c
Bump @types/node from 22.5.4 to 22.5.5
dependabot[bot] Sep 17, 2024
c1d17ac
Bump eslint from 8.57.0 to 8.57.1
dependabot[bot] Sep 17, 2024
0436b8d
Bump @types/validator from 13.12.1 to 13.12.2
dependabot[bot] Sep 17, 2024
dc6c152
Bump date-fns from 4.0.0 to 4.1.0
dependabot[bot] Sep 18, 2024
30f8d40
Bump @nestjs/testing from 10.4.2 to 10.4.3
dependabot[bot] Sep 18, 2024
222eca5
Bump pg from 8.12.0 to 8.13.0
dependabot[bot] Sep 18, 2024
37ab3d4
Bump tailwindcss from 3.4.11 to 3.4.12
dependabot[bot] Sep 18, 2024
2213ee0
Bump @nestjs/platform-express from 10.4.2 to 10.4.3
dependabot[bot] Sep 18, 2024
f468212
Bump @nestjs/common from 10.4.2 to 10.4.3
dependabot[bot] Sep 18, 2024
fdc9b8b
Bump @nestjs/core from 10.4.2 to 10.4.3
dependabot[bot] Sep 18, 2024
77be06c
Bump @aws-sdk/client-sts from 3.651.1 to 3.654.0
dependabot[bot] Sep 19, 2024
3e7c66c
Bump @aws-sdk/client-s3 from 3.651.1 to 3.654.0
dependabot[bot] Sep 19, 2024
3ac62b6
Bump @aws-sdk/client-config-service from 3.651.1 to 3.654.0
dependabot[bot] Sep 19, 2024
bd988bf
Bump @smithy/node-http-handler from 3.2.2 to 3.2.3
dependabot[bot] Sep 21, 2024
c32a3d3
Bump prettier-plugin-organize-imports from 4.0.0 to 4.1.0
dependabot[bot] Sep 21, 2024
d0910ae
Bump sass-loader from 16.0.1 to 16.0.2
dependabot[bot] Sep 21, 2024
558ed55
Bump @types/node from 22.5.5 to 22.6.1
dependabot[bot] Sep 24, 2024
d4f5fe0
Bump @types/lodash from 4.17.7 to 4.17.9
dependabot[bot] Sep 24, 2024
ec6df9e
Bump @nestjs/common from 10.4.3 to 10.4.4
dependabot[bot] Sep 24, 2024
3d008b4
Bump tailwindcss from 3.4.12 to 3.4.13
dependabot[bot] Sep 24, 2024
5de68a0
Bump @nestjs/core from 10.4.3 to 10.4.4
dependabot[bot] Sep 24, 2024
5d98f9b
Bump @nestjs/testing from 10.4.3 to 10.4.4
dependabot[bot] Sep 24, 2024
5c23054
Bump @aws-sdk/client-s3 from 3.654.0 to 3.657.0
dependabot[bot] Sep 24, 2024
99be980
Bump @nestjs/platform-express from 10.4.3 to 10.4.4
dependabot[bot] Sep 24, 2024
3ad5752
Bump @aws-sdk/client-config-service from 3.654.0 to 3.658.0
dependabot[bot] Sep 25, 2024
b3dde3c
Bump @types/node from 22.6.1 to 22.7.0
dependabot[bot] Sep 25, 2024
811210d
Bump @aws-sdk/client-s3 from 3.657.0 to 3.658.0
dependabot[bot] Sep 25, 2024
4a02719
Bump @aws-sdk/client-config-service from 3.658.0 to 3.658.1
dependabot[bot] Sep 26, 2024
4291480
Bump cypress from 13.14.2 to 13.15.0
dependabot[bot] Sep 26, 2024
609a27d
Bump @types/node from 22.7.0 to 22.7.2
dependabot[bot] Sep 26, 2024
97d3906
Bump @types/express from 4.17.21 to 5.0.0
dependabot[bot] Sep 26, 2024
937d75c
Bump @aws-sdk/client-s3 from 3.658.0 to 3.658.1
dependabot[bot] Sep 26, 2024
0d4ff1b
Bump @types/node from 22.7.2 to 22.7.3
dependabot[bot] Sep 27, 2024
7098e3d
Bump mock-fs from 5.2.0 to 5.3.0
dependabot[bot] Sep 27, 2024
d7c23a4
Neuvector mapper (#6195)
jtquach1 Sep 27, 2024
a0d41e7
prep for 2.10.19
Amndeep7 Sep 27, 2024
2552add
v2.10.19
Amndeep7 Sep 27, 2024
5490d6b
Bump @types/node from 22.7.3 to 22.7.4
dependabot[bot] Sep 28, 2024
db9832f
README as of 6e4acd400c1a18e45b0cc936aafdc1a7a4d82524 in https://gith…
Amndeep7 Sep 30, 2024
0e71953
Backend improvements (#6234)
Amndeep7 Sep 30, 2024
14654d4
Bump helmet from 7.1.0 to 8.0.0
dependabot[bot] Oct 1, 2024
7fd0e3e
Bump @smithy/node-http-handler from 3.2.3 to 3.2.4
dependabot[bot] Oct 1, 2024
0d3f95b
Bump @aws-sdk/client-sts from 3.658.1 to 3.662.0
dependabot[bot] Oct 2, 2024
7975eb5
Bump @aws-sdk/client-config-service from 3.658.1 to 3.662.0
dependabot[bot] Oct 2, 2024
6d97739
Bump @aws-sdk/client-s3 from 3.658.1 to 3.662.0
dependabot[bot] Oct 2, 2024
bf4d2c7
Create anchore-syft.yml
aaronlippold Oct 2, 2024
3f34b1d
Bump @aws-sdk/client-config-service from 3.662.0 to 3.664.0
dependabot[bot] Oct 4, 2024
84b6a9c
Bump @aws-sdk/client-s3 from 3.662.0 to 3.664.0
dependabot[bot] Oct 4, 2024
0e13cb0
Bump @types/lodash from 4.17.9 to 4.17.10
dependabot[bot] Oct 4, 2024
37d61d8
Bump sanitize-html from 2.13.0 to 2.13.1
dependabot[bot] Oct 4, 2024
b04cba8
Bump eslint-plugin-import from 2.30.0 to 2.31.0
dependabot[bot] Oct 4, 2024
b45941a
Bump @aws-sdk/client-config-service from 3.664.0 to 3.665.0
dependabot[bot] Oct 5, 2024
976c99b
Bump @aws-sdk/client-s3 from 3.664.0 to 3.665.0
dependabot[bot] Oct 5, 2024
cb2f021
Bump sequelize from 6.37.3 to 6.37.4
dependabot[bot] Oct 5, 2024
9e93b2a
Bump express-rate-limit from 7.4.0 to 7.4.1
dependabot[bot] Oct 5, 2024
e90641c
Bump typedoc from 0.26.7 to 0.26.8
dependabot[bot] Oct 5, 2024
af3cecd
Bump @aws-sdk/client-s3 from 3.665.0 to 3.666.0
dependabot[bot] Oct 8, 2024
caaaade
Bump @types/node from 22.7.4 to 22.7.5
dependabot[bot] Oct 8, 2024
827ea1d
Bump winston from 3.14.2 to 3.15.0
dependabot[bot] Oct 8, 2024
3f52e9a
Bump @types/diff from 5.2.2 to 5.2.3
dependabot[bot] Oct 8, 2024
3d3d6bc
Bump @aws-sdk/client-config-service from 3.665.0 to 3.667.0
dependabot[bot] Oct 9, 2024
77cbefe
Bump @aws-sdk/client-s3 from 3.666.0 to 3.667.0
dependabot[bot] Oct 9, 2024
7c3e5da
Bump express from 4.21.0 to 4.21.1
dependabot[bot] Oct 9, 2024
2f84a9c
Bump @aws-sdk/client-config-service from 3.667.0 to 3.668.0
dependabot[bot] Oct 10, 2024
95e6c3b
Bump express-session from 1.18.0 to 1.18.1
dependabot[bot] Oct 10, 2024
644d377
Bump @aws-sdk/client-s3 from 3.667.0 to 3.668.0
dependabot[bot] Oct 10, 2024
d3b5513
Bump @aws-sdk/client-config-service from 3.668.0 to 3.669.0
dependabot[bot] Oct 11, 2024
53412c3
Bump @aws-sdk/client-s3 from 3.668.0 to 3.669.0
dependabot[bot] Oct 11, 2024
3b20aa1
Bump @aws-sdk/client-config-service from 3.669.0 to 3.670.0
dependabot[bot] Oct 12, 2024
12a7309
Bump mock-fs from 5.3.0 to 5.4.0
dependabot[bot] Oct 12, 2024
ef30f3b
Bump typedoc from 0.26.8 to 0.26.9
dependabot[bot] Oct 12, 2024
305a2fc
Bump eslint-plugin-vue from 9.28.0 to 9.29.0
dependabot[bot] Oct 12, 2024
1839151
Bump eslint-plugin-cypress from 3.5.0 to 3.6.0
dependabot[bot] Oct 12, 2024
d7615b4
Bump @aws-sdk/client-s3 from 3.669.0 to 3.670.0
dependabot[bot] Oct 12, 2024
4ad907e
Bump yaml from 2.5.1 to 2.6.0
dependabot[bot] Oct 15, 2024
072315c
Bump @nestjs/schematics from 10.1.4 to 10.2.0
dependabot[bot] Oct 17, 2024
d10ae98
Bump @nestjs/core from 10.4.4 to 10.4.5
dependabot[bot] Oct 17, 2024
262682c
Bump @types/node from 22.7.5 to 22.7.6
dependabot[bot] Oct 17, 2024
a685110
Bump @nestjs/common from 10.4.4 to 10.4.5
dependabot[bot] Oct 17, 2024
3c5ded8
Bump typedoc from 0.26.9 to 0.26.10
dependabot[bot] Oct 17, 2024
17a57e4
Bump @aws-sdk/client-s3 from 3.670.0 to 3.673.0
dependabot[bot] Oct 17, 2024
d546dca
Bump @nestjs/testing from 10.4.4 to 10.4.5
dependabot[bot] Oct 17, 2024
b02614c
Bump tailwindcss from 3.4.13 to 3.4.14
dependabot[bot] Oct 17, 2024
626012d
Bump @nestjs/platform-express from 10.4.4 to 10.4.5
dependabot[bot] Oct 17, 2024
fd11a98
Bump @nestjs/schematics from 10.2.0 to 10.2.2
dependabot[bot] Oct 18, 2024
7350ab0
Bump @aws-sdk/client-s3 from 3.673.0 to 3.674.0
dependabot[bot] Oct 18, 2024
8a1abdb
Bump @aws-sdk/client-sts from 3.670.0 to 3.675.0
dependabot[bot] Oct 19, 2024
c9243d4
Bump @types/lodash from 4.17.10 to 4.17.11
dependabot[bot] Oct 19, 2024
9c6aaec
Bump @types/papaparse from 5.3.14 to 5.3.15
dependabot[bot] Oct 19, 2024
881c896
Bump @aws-sdk/client-s3 from 3.674.0 to 3.675.0
dependabot[bot] Oct 19, 2024
381e72a
Bump eslint-plugin-vue from 9.29.0 to 9.29.1
dependabot[bot] Oct 22, 2024
b27db9b
Bump @aws-sdk/client-config-service from 3.670.0 to 3.675.0
dependabot[bot] Oct 22, 2024
8ae0796
Bump @aws-sdk/client-s3 from 3.675.0 to 3.676.0
dependabot[bot] Oct 22, 2024
c4099bd
Bump @smithy/node-http-handler from 3.2.4 to 3.2.5
dependabot[bot] Oct 22, 2024
6ef29c7
Bump @types/node from 22.7.6 to 22.7.7
dependabot[bot] Oct 22, 2024
7b62425
Bump @types/node from 22.7.7 to 22.7.8
dependabot[bot] Oct 23, 2024
9099e98
Bump http-proxy-middleware from 2.0.6 to 2.0.7
dependabot[bot] Oct 23, 2024
d6d1124
Bump @types/lodash from 4.17.11 to 4.17.12
dependabot[bot] Oct 23, 2024
bc0d0bb
Bump @aws-sdk/client-config-service from 3.675.0 to 3.677.0
dependabot[bot] Oct 23, 2024
7de62b1
Dependency track mapper (#6307)
Amndeep7 Oct 23, 2024
e961fae
Bump @types/express-rate-limit from 6.0.0 to 6.0.2
dependabot[bot] Oct 24, 2024
d32879b
Bump @aws-sdk/client-config-service from 3.677.0 to 3.678.0
dependabot[bot] Oct 24, 2024
f552a9b
Bump @nestjs/core from 10.4.5 to 10.4.6
dependabot[bot] Oct 24, 2024
b56155c
Bump @aws-sdk/client-s3 from 3.676.0 to 3.678.0
dependabot[bot] Oct 24, 2024
e28899d
Bump @types/node from 22.7.8 to 22.7.9
dependabot[bot] Oct 24, 2024
0a605cb
Bump @nestjs/testing from 10.4.5 to 10.4.6
dependabot[bot] Oct 24, 2024
b721b5b
Bump @nestjs/common from 10.4.5 to 10.4.6
dependabot[bot] Oct 24, 2024
fc91a32
Bump @nestjs/platform-express from 10.4.5 to 10.4.6
dependabot[bot] Oct 24, 2024
d554233
Update built frontend style.css
jtquach1 Oct 24, 2024
f0b6993
Update CHANGELOG and VERSION
jtquach1 Oct 24, 2024
dedef6c
v2.10.20
jtquach1 Oct 24, 2024
32c08ff
Bump @types/prismjs from 1.26.4 to 1.26.5
dependabot[bot] Oct 24, 2024
099dd81
Bump cypress from 13.15.0 to 13.15.1
dependabot[bot] Oct 25, 2024
53ec006
Bump pg from 8.13.0 to 8.13.1
dependabot[bot] Oct 25, 2024
5755f97
Bump @aws-sdk/client-s3 from 3.678.0 to 3.679.0
dependabot[bot] Oct 25, 2024
028ec97
Bump @aws-sdk/client-config-service from 3.678.0 to 3.679.0
dependabot[bot] Oct 25, 2024
5cd20d2
Bump sequelize from 6.37.4 to 6.37.5
dependabot[bot] Oct 26, 2024
bb1a8a1
Bump rexml from 3.3.6 to 3.3.9 in /libs/inspecjs
dependabot[bot] Oct 28, 2024
f1c3645
Bump elliptic from 6.5.7 to 6.6.0
dependabot[bot] Oct 28, 2024
4af8aa0
Bump @types/node from 22.7.9 to 22.8.1
dependabot[bot] Oct 28, 2024
1a5d9e2
Bump @nestjs/schematics from 10.2.2 to 10.2.3
dependabot[bot] Oct 29, 2024
cbbd670
Bump tsx from 4.19.1 to 4.19.2
dependabot[bot] Oct 29, 2024
f2d4a7b
Fix email addresses
Amndeep7 Oct 29, 2024
179c5c1
Bump @aws-sdk/client-s3 from 3.679.0 to 3.682.0
dependabot[bot] Oct 30, 2024
e7fe19f
Bump uuid from 10.0.0 to 11.0.2
dependabot[bot] Oct 30, 2024
c238d2d
Bump @types/lodash from 4.17.12 to 4.17.13
dependabot[bot] Oct 30, 2024
637af96
Bump @types/node from 22.8.1 to 22.8.4
dependabot[bot] Oct 30, 2024
a0cdc14
Bump eslint-plugin-vue from 9.29.1 to 9.30.0
dependabot[bot] Oct 30, 2024
9765b3f
Bump @aws-sdk/client-config-service from 3.679.0 to 3.682.0
dependabot[bot] Oct 30, 2024
412ea66
Bump @casl/ability from 6.7.1 to 6.7.2
dependabot[bot] Oct 31, 2024
0873f66
Bump sass-loader from 16.0.2 to 16.0.3
dependabot[bot] Nov 1, 2024
a501da6
Bump core-js from 3.38.1 to 3.39.0
dependabot[bot] Nov 1, 2024
a404795
Bump @types/node from 22.8.4 to 22.8.6
dependabot[bot] Nov 1, 2024
38e0685
Bump mock-fs from 5.4.0 to 5.4.1
dependabot[bot] Nov 1, 2024
267cd16
Bump lerna from 8.1.8 to 8.1.9
dependabot[bot] Nov 1, 2024
18f0554
Bump typedoc from 0.26.10 to 0.26.11
dependabot[bot] Nov 2, 2024
2a07fc6
Bump @aws-sdk/client-s3 from 3.682.0 to 3.685.0
dependabot[bot] Nov 2, 2024
75fd9f1
Bump winston from 3.15.0 to 3.16.0
dependabot[bot] Nov 2, 2024
9c2c5be
Bump @types/node from 22.8.6 to 22.9.0
dependabot[bot] Nov 5, 2024
5251c55
Bump @nestjs/cli from 10.4.5 to 10.4.7
dependabot[bot] Nov 5, 2024
4f8dd8f
Bump cypress from 13.15.1 to 13.15.2
dependabot[bot] Nov 6, 2024
518b767
Bump @nestjs/core from 10.4.6 to 10.4.7
dependabot[bot] Nov 6, 2024
35ee290
Bump @nestjs/platform-express from 10.4.6 to 10.4.7
dependabot[bot] Nov 6, 2024
80c4414
Bump @nestjs/common from 10.4.6 to 10.4.7
dependabot[bot] Nov 6, 2024
e3e85a4
Bump @nestjs/testing from 10.4.6 to 10.4.7
dependabot[bot] Nov 6, 2024
cbe153b
Bump @types/vuelidate from 0.7.21 to 0.7.22
dependabot[bot] Nov 7, 2024
2b72ad9
Bump @aws-sdk/client-config-service from 3.682.0 to 3.687.0
dependabot[bot] Nov 8, 2024
aaa11a8
Bump @aws-sdk/client-s3 from 3.685.0 to 3.688.0
dependabot[bot] Nov 9, 2024
4ebc7b2
Bump uuid from 11.0.2 to 11.0.3
dependabot[bot] Nov 12, 2024
83ccfc5
Bump @aws-sdk/client-s3 from 3.688.0 to 3.689.0
dependabot[bot] Nov 12, 2024
b9495f8
Bump eslint-plugin-vue from 9.30.0 to 9.31.0
dependabot[bot] Nov 12, 2024
b6346e4
Bump @aws-sdk/client-s3 from 3.689.0 to 3.691.0
dependabot[bot] Nov 14, 2024
3022930
Bump winston from 3.16.0 to 3.17.0
dependabot[bot] Nov 14, 2024
13ffe6a
Bump @smithy/node-http-handler from 3.2.5 to 3.3.1
dependabot[bot] Nov 15, 2024
c842854
Bump tailwindcss from 3.4.14 to 3.4.15
dependabot[bot] Nov 15, 2024
998671c
Bump @aws-sdk/client-sts from 3.691.0 to 3.692.0
dependabot[bot] Nov 15, 2024
5837abc
Bump @aws-sdk/client-config-service from 3.687.0 to 3.692.0
dependabot[bot] Nov 15, 2024
4ac71b0
Bump @nestjs/core from 10.4.7 to 10.4.8
dependabot[bot] Nov 16, 2024
99d0a17
Bump @aws-sdk/client-config-service from 3.692.0 to 3.693.0
dependabot[bot] Nov 16, 2024
043a0cb
Bump @nestjs/platform-express from 10.4.7 to 10.4.8
dependabot[bot] Nov 16, 2024
39577e8
Bump @nestjs/common from 10.4.7 to 10.4.8
dependabot[bot] Nov 16, 2024
72e52e4
Bump dotenv-cli from 7.4.2 to 7.4.3
dependabot[bot] Nov 20, 2024
d128ee6
Bump yaml from 2.6.0 to 2.6.1
dependabot[bot] Nov 20, 2024
6165449
Bump @nestjs/testing from 10.4.7 to 10.4.8
dependabot[bot] Nov 20, 2024
89ae525
Bump @aws-sdk/client-config-service from 3.693.0 to 3.696.0
dependabot[bot] Nov 20, 2024
e0666ff
Bump @types/node from 22.9.0 to 22.9.1
dependabot[bot] Nov 20, 2024
7caa03f
Bump @aws-sdk/client-s3 from 3.691.0 to 3.696.0
dependabot[bot] Nov 20, 2024
50d1b57
Bump cypress from 13.15.2 to 13.16.0
dependabot[bot] Nov 20, 2024
be86d28
updated docker compose and created new docker compose for possible im…
aaronlippold Nov 20, 2024
d64d372
Merge branch 'master' into setup-help
aaronlippold Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions docker-compose-env-vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
version: '3.8'

services:
database:
image: postgres:13
platform: linux/x86_64
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 30s
timeout: 60s
retries: 5
start_period: 80s
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=heimdall-server-production
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
- PGDATA=/var/lib/postgresql/data/pgdata
expose:
- "5432"
secrets:
- db_password

certs:
image: registry.access.redhat.com/ubi8/ubi:latest
platform: linux/x86_64
restart: unless-stopped
command: sh -c "sh /etc/pki/ca-trust/source/anchors/dodcerts.sh && update-ca-trust && tail -f /dev/null"
volumes:
- type: volume
source: cert_bundles
target: /etc/pki/ca-trust/extracted/
- type: bind
source: ./certs/
target: /etc/pki/ca-trust/source/anchors/

server:
image: mitre/heimdall2:latest
platform: linux/x86_64
restart: unless-stopped
environment:
- NODE_ENV=production
- DATABASE_HOST=database
- DATABASE_PASSWORD_FILE=/run/secrets/db_password
- JWT_SECRET=${JWT_SECRET}
- API_KEY_SECRET=${API_KEY_SECRET}
env_file: .env
ports:
- "3000:3000"
volumes:
- type: volume
source: cert_bundles
target: /etc/pki/ca-trust/extracted/
read_only: true
volume:
nocopy: true
depends_on:
database:
condition: service_healthy
secrets:
- db_password

nginx:
image: nginx:alpine
platform: linux/x86_64
environment:
NGINX_HOST: ${NGINX_HOST}
volumes:
- ./nginx/conf/:/etc/nginx/templates/
- ./nginx/certs/:/etc/nginx/cert/
ports:
- "80:80"
- "443:443"
depends_on:
- server
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost || exit 1"]
interval: 30s
timeout: 10s
retries: 3

volumes:
cert_bundles:

secrets:
db_password:
file: ./secrets/db_password.txt

# Instructions:
# 1. Create a file named 'db_password.txt' in the './secrets/' directory and put the database password in it.
# Example content of 'db_password.txt':
# mysecretpassword
#
# 2. Ensure that the './secrets/db_password.txt' file is located in the 'secrets' directory relative to your 'docker-compose.yml' file.
#
# 3. Define the following environment variables in a '.env' file or export them in your shell:
# - JWT_SECRET: The secret key for JWT.
# - API_KEY_SECRET: The secret key for API keys.
# - NGINX_HOST: The hostname or IP address for the Nginx server.
#
# Example content of '.env':
# JWT_SECRET=your_jwt_secret
# API_KEY_SECRET=your_api_key_secret
# NGINX_HOST=your_nginx_host
#
# 4. Use named volumes ('cert_bundles') for better management.
#
# 5. The 'certs' service updates the CA trust store with custom certificates.
#
# 6. The 'server' service runs the Heimdall2 application.
#
# 7. The 'nginx' service serves as a reverse proxy for the Heimdall2 application.
#
# 8. The 'healthcheck' for the 'nginx' service ensures it is running correctly.
48 changes: 43 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
version: '3.8'

services:
database:
image: postgres:13
platform: linux/x86_64
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
Expand All @@ -12,13 +15,16 @@ services:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=heimdall-server-production
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
- PGDATA=/var/lib/postgresql/data/pgdata
expose:
- "5432"
secrets:
- db_password

certs:
image: registry.access.redhat.com/ubi8/ubi:latest
platform: linux/x86_64
restart: unless-stopped
command: sh -c "sh /etc/pki/ca-trust/source/anchors/dodcerts.sh && update-ca-trust && tail -f /dev/null"
volumes:
Expand All @@ -30,15 +36,16 @@ services:
target: /etc/pki/ca-trust/source/anchors/

server:
image: mitre/heimdall2:release-latest
image: mitre/heimdall2:latest
platform: linux/x86_64
restart: unless-stopped
environment:
- NODE_ENV=production
- DATABASE_HOST=database
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- DATABASE_PASSWORD_FILE=/run/secrets/db_password
env_file: .env
ports:
- "3000"
- "3000:3000"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there reason to expose this port at all if we have nginx?

volumes:
- type: volume
source: cert_bundles
Expand All @@ -49,9 +56,12 @@ services:
depends_on:
database:
condition: service_healthy
secrets:
- db_password

nginx:
image: nginx:alpine
platform: linux/x86_64
environment:
NGINX_HOST: ${NGINX_HOST}
volumes:
Expand All @@ -61,7 +71,35 @@ services:
- "80:80"
- "443:443"
depends_on:
- "server"
- server
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost || exit 1"]
interval: 30s
timeout: 10s
retries: 3

volumes:
cert_bundles:

secrets:
db_password:
file: ./secrets/db_password.txt

# Instructions:
# 1. Create a file named 'db_password.txt' in the './secrets/' directory and put the database password in it.
# Example content of 'db_password.txt':
# mysecretpassword
#
# 2. Ensure that the './secrets/db_password.txt' file is located in the 'secrets' directory relative to your 'docker-compose.yml' file.
#
# 3. The 'POSTGRES_PASSWORD_FILE' and 'DATABASE_PASSWORD_FILE' environment variables are used to point to the secret file within the container.
#
# 4. Use named volumes ('cert_bundles') for better management.
#
# 5. The 'certs' service updates the CA trust store with custom certificates.
#
# 6. The 'server' service runs the Heimdall2 application.
#
# 7. The 'nginx' service serves as a reverse proxy for the Heimdall2 application.
#
# 8. The 'healthcheck' for the 'nginx' service ensures it is running correctly.
159 changes: 159 additions & 0 deletions setup-dev-env.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
<#
.SYNOPSIS
This script sets up the development environment for the Heimdall2 project by creating and populating a .env file with necessary environment variables.

.DESCRIPTION
The script performs the following tasks:
1. Defines the path to the .env file.
2. Provides a function to read user input with a default value.
3. Provides a function to add key-value pairs to the .env file.
4. Provides a function to generate a random key of a specified length.
5. Checks if the .env file exists and creates it if it doesn't.
6. Sets the NODE_ENV environment variable to "development".
7. Prompts the user for PostgreSQL database username and password, and sets the corresponding environment variables.
8. Prompts the user for the JWT expire time and sets the corresponding environment variable.
9. Generates a JWT secret and sets the corresponding environment variable.
10. Optionally enables API keys and sets the corresponding environment variable.
11. Prompts the user for the FQDN/Hostname/IP Address and sets the corresponding environment variable.
12. Checks if the SSL certificate exists and generates a new self-signed certificate if it doesn't.

.PARAMETER ENV_PATH
The path to the .env file.

.PARAMETER prompt
The prompt to display to the user.

.PARAMETER default
The default value to use if the user doesn't enter anything.

.PARAMETER key
The key to add to the .env file.

.PARAMETER value
The value to add to the .env file.

.PARAMETER length
The length of the key to generate.

.EXAMPLE
.\setup-dev-env.ps1
This command runs the script to set up the development environment for the Heimdall2 project.

.NOTES
- Ensure that OpenSSL is installed on your system if you need to generate a self-signed SSL certificate.
- The script generates a self-signed SSL certificate that expires in 7 days. For production environments, use a valid SSL certificate.

#>

# Constants
$ENV_PATH = "apps/backend/.env"

# Function to display help information
function Show-Help {
Write-Host "Usage: .\setup-dev-env.ps1 [--help]"
Write-Host ""
Write-Host "This script sets up the development environment for the Heimdall2 project by creating and populating a .env file with necessary environment variables."
Write-Host ""
Write-Host "Options:"
Write-Host " --help Display this help message and exit"
exit 0
}

# Function to read input from the user with a default value
function Read-Input {
param (
[string]$prompt, # The prompt to display to the user
[string]$default # The default value to use if the user doesn't enter anything
)
# Read the input from the user
$input = Read-Host -Prompt $prompt
# If the user didn't enter anything, use the default value
if ($input -eq "") { $input = $default }
# Return the input
return $input
}

# Function to add a key-value pair to the .env file
function Add-To-Env {
param (
[string]$key, # The key to add
[string]$value # The value to add
)
# Add the key-value pair to the .env file
Add-Content -Path $ENV_PATH -Value "$key=$value"
}

# Function to generate a random key of a specified length
function Generate-Key {
param (
[int]$length # The length of the key to generate
)
# Generate a random string of uppercase and lowercase ASCII letters
return -join ((65..90) + (97..122) | Get-Random -Count $length | % {[char]$_})
}

# Check if the --help option was provided
if ($args -contains "--help") {
Show-Help
}

# Check if the .env file exists, and create it if it doesn't
if (!(Test-Path -Path $ENV_PATH)) {
Write-Host ".env does not exist, creating..."
try {
New-Item -Path $ENV_PATH -ItemType File | Out-Null
} catch {
Write-Host "Error: Unable to create .env file."
exit 1
}
}

# Set the NODE_ENV environment variable to development
Add-To-Env "NODE_ENV" "development"

# Prompt the user for the PostgreSQL database username and password, and set the corresponding environment variables
$dbusername = Read-Input "Enter the username for the PostgreSQL database" "postgres"
Add-To-Env "DATABASE_USERNAME" $dbusername

$dbpassword = Read-Input "Enter the password for the PostgreSQL database" ""
if ($dbpassword -ne "") {
Add-To-Env "DATABASE_PASSWORD" $dbpassword
}

# Prompt the user for the JWT expire time, and set the corresponding environment variable
$jwtexpiretime = Read-Input "Enter the JWT expire time (e.g., 1d or 25m)" "1d"
Add-To-Env "JWT_EXPIRE_TIME" $jwtexpiretime

# Generate a JWT secret and set the corresponding environment variable
$jwtsecret = Generate-Key -length 64
Add-To-Env "JWT_SECRET" $jwtsecret

# Prompt the user to enable API keys, and if enabled, generate an API key and set the corresponding environment variable
$enableapikeys = Read-Input "Enable API keys (API_KEY_SECRET) [Y/n]" "n"
if ($enableapikeys -eq "Y") {
$apikey = Generate-Key -length 33
Add-To-Env "API_KEY_SECRET" $apikey
}

# Prompt the user for the FQDN/Hostname/IP Address, and set the corresponding environment variable
$nginxhost = Read-Input "Enter your FQDN/Hostname/IP Address" "127.0.0.1"
Add-To-Env "NGINX_HOST" $nginxhost

# Check if the SSL certificate exists, and if it doesn't, generate a new self-signed certificate
if (!(Test-Path -Path "./nginx/certs/ssl_certificate.crt")) {
Write-Host "SSL Certificate does not exist, creating self-signed certificate..."
Write-Host "Be sure your production environment is configured to work with your self-signed certificate."
if (Get-Command openssl -ErrorAction SilentlyContinue) {
Write-Host "Generating certificate (Expires in 7 days)..."
try {
openssl req -newkey rsa:4096 -x509 -sha256 -days 7 -nodes -out nginx/certs/ssl_certificate.crt -keyout nginx/certs/ssl_certificate_key.key -subj "/C=US/ST=SelfSigned/L=SelfSigned/O=SelfSigned/OU=SelfSigned/CN=SelfSigned"
Write-Host "Certificates were generated"
} catch {
Write-Host "Error: Unable to generate SSL certificates."
}
} else {
Write-Host "OpenSSL is not installed. Please install OpenSSL and re-run this script."
}
} else {
Write-Host "SSL Certificate already exists. If you would like to regenerate your certificates, please delete the files in ./nginx/certs/ and re-run this script."
}
Loading