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

Add convert CCI list workflow #6336

Open
wants to merge 107 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
a4eb287
Fix typo
jtquach1 Oct 24, 2024
e11c5c5
Fix crashing on CCIs who had no references to any NIST controls
jtquach1 Oct 28, 2024
a1c6c64
Generate CCI definitions alongside CCI to NIST file
jtquach1 Oct 28, 2024
29844bb
Rename xml2json to cciListXml2json
jtquach1 Oct 28, 2024
a8b7c67
Update CciNistMappingData with converted content from U_CCI_List.xml
jtquach1 Oct 28, 2024
dbd0229
Update frontend component, CciNistMapping used in converters, delete …
jtquach1 Oct 28, 2024
f8f812f
Add comment about GitHub-hosted wiki for cciListXml2json
jtquach1 Oct 28, 2024
9490959
Create GitHub workflow for pulling down U_CCI_List.xml and converting…
jtquach1 Oct 28, 2024
26aaec3
Fix cron syntax
jtquach1 Oct 28, 2024
063426d
Also add Prettier job to format CciNistMappingData.ts
jtquach1 Oct 28, 2024
fe981f7
Update author and email in commit changes step
jtquach1 Oct 29, 2024
067abfc
Update XCCDF mapper OpenSCAP ubuntu1804 expected JSON
jtquach1 Oct 29, 2024
051defa
Remove temporary file after updating CciNistMappingData.ts
jtquach1 Oct 29, 2024
d6abe03
Address review comments
jtquach1 Oct 30, 2024
99dc13e
Check that workflow runs
jtquach1 Oct 30, 2024
1827856
Remove step
jtquach1 Oct 30, 2024
4483383
Update xml-file parameter in publish-date step
jtquach1 Oct 30, 2024
8e56f8b
Add namespaces parameter to publish-date step and add debug commands
jtquach1 Oct 30, 2024
a50be6a
Update xpath
jtquach1 Oct 30, 2024
019f229
Try to fix xpath again
jtquach1 Nov 1, 2024
abf89e7
Try to fix path of input XML
jtquach1 Nov 1, 2024
0a371bb
Try to resolve 'a mapping was not expected' error
jtquach1 Nov 1, 2024
f6f0cd0
Remove env var
jtquach1 Nov 1, 2024
40a643e
Set env var with path to input XML in separate step
jtquach1 Nov 1, 2024
691f50e
Update paths to input and output XML files
jtquach1 Nov 1, 2024
ad21342
Move env attribute
jtquach1 Nov 1, 2024
4287473
Try to print result of previous step
jtquach1 Nov 1, 2024
7da7aff
Try to grab output of publish-date step from object
jtquach1 Nov 1, 2024
b2e9067
Update to proper branch
jtquach1 Nov 1, 2024
be0d023
Explicitly specify parent-most component in U_CCI_List.xml to grab ve…
jtquach1 Nov 1, 2024
6c2dc8f
Move getCCIsForNISTTags function into libs/hdf-converters/src/mapping…
jtquach1 Nov 1, 2024
518361d
Update GitHub Action and cciListXml2json script to create NIST->CCI J…
jtquach1 Nov 1, 2024
36311c3
Update files from cciListXml2json script and new formatting
jtquach1 Nov 1, 2024
1ea35ea
Remove step
jtquach1 Nov 1, 2024
12d0bbd
Fix env var
jtquach1 Nov 1, 2024
8c2d75a
Remove trailing slash
jtquach1 Nov 1, 2024
67ff7ac
Restructure CCI to NIST and NIST to CCI logic across mappers and dele…
jtquach1 Nov 5, 2024
6125752
Export variables representing magic strings to be used in NIST2CCI fu…
jtquach1 Nov 5, 2024
9788090
Update path for output directory and rename steps
jtquach1 Nov 5, 2024
5965480
WIP address latest PR review comments
jtquach1 Nov 6, 2024
d94270a
Revert NIST->CCI trie to Record<string, string[]>
jtquach1 Nov 6, 2024
7943cb2
Fix typo
jtquach1 Nov 6, 2024
cfad3f4
Update XCCDF mapper and expected XML->HDF test outputs to not include…
jtquach1 Nov 8, 2024
6b3f75b
Fix typo in commented generating-expected-output code
jtquach1 Nov 8, 2024
b42ff7d
Regenerate test expected output files
jtquach1 Nov 8, 2024
20341bd
Uncomment GitHub Action code
jtquach1 Nov 8, 2024
afdbc30
Fix lint issue
jtquach1 Nov 8, 2024
6e717aa
Update XCCDF mapper as per NIST to CCI, CCI to NIST, and proper defau…
jtquach1 Nov 15, 2024
e6597bd
Reduce code complexity in CCI List XML to JSON converter
jtquach1 Nov 15, 2024
a9843fa
Produce empty array of CCI tags in JSONIX->CKL mapper if the input JS…
jtquach1 Nov 18, 2024
08b5a21
Add change to convert-cci-yml based on code review comment
jtquach1 Nov 26, 2024
16e69d7
Keep Revision info when mapping from CCI to NIST
jtquach1 Nov 29, 2024
c1101dd
Remove creator key from NistReference
jtquach1 Nov 29, 2024
c7c5f81
Update style.css
jtquach1 Nov 29, 2024
7b1b0a4
Bump @aws-sdk/client-s3 from 3.701.0 to 3.703.0
dependabot[bot] Dec 3, 2024
4ff4095
Bump eslint-plugin-vue from 9.31.0 to 9.32.0
dependabot[bot] Dec 3, 2024
bdf872e
Update to node22 (#6440)
Amndeep7 Dec 3, 2024
327d225
prep for 2.11.0
Amndeep7 Dec 3, 2024
71a9530
v2.11.0
Amndeep7 Dec 3, 2024
bbde3f9
internal math changed yet again so fixed the sample
Amndeep7 Dec 3, 2024
4b48294
pointless change to frontend repo
Amndeep7 Dec 3, 2024
de626de
2.11.1
Amndeep7 Dec 3, 2024
c111a25
v2.11.1
Amndeep7 Dec 3, 2024
c643559
Bump @nestjs/common from 10.4.12 to 10.4.13
dependabot[bot] Dec 4, 2024
4e4fedc
Bump dotenv from 16.4.5 to 16.4.7
dependabot[bot] Dec 4, 2024
05e869f
Bump @nestjs/core from 10.4.12 to 10.4.13
dependabot[bot] Dec 4, 2024
845418a
Bump @nestjs/testing from 10.4.12 to 10.4.13
dependabot[bot] Dec 4, 2024
a9fa3cc
Bump @nestjs/platform-express from 10.4.12 to 10.4.13
dependabot[bot] Dec 4, 2024
c24d702
Bump prettier from 3.4.1 to 3.4.2
dependabot[bot] Dec 5, 2024
db260c6
Bump cypress from 13.16.0 to 13.16.1
dependabot[bot] Dec 5, 2024
03292de
Bump @aws-sdk/client-s3 from 3.703.0 to 3.705.0
dependabot[bot] Dec 5, 2024
ae851a8
Bump express from 4.21.1 to 4.21.2
dependabot[bot] Dec 6, 2024
32d11e4
Bump tailwindcss from 3.4.15 to 3.4.16
dependabot[bot] Dec 6, 2024
d6885da
Bump sass-loader from 16.0.3 to 16.0.4
dependabot[bot] Dec 6, 2024
ffe83c2
Bump axios from 1.7.8 to 1.7.9
dependabot[bot] Dec 6, 2024
12b9c4e
Bump @nestjs/common from 10.4.13 to 10.4.15
dependabot[bot] Dec 10, 2024
bc37c22
Bump @nestjs/core from 10.4.13 to 10.4.15
dependabot[bot] Dec 10, 2024
9738a60
Bump @nestjs/platform-express from 10.4.13 to 10.4.15
dependabot[bot] Dec 10, 2024
426906c
Bump @smithy/node-http-handler from 3.3.1 to 3.3.2
dependabot[bot] Dec 10, 2024
460fbbf
Bump @nestjs/testing from 10.4.13 to 10.4.15
dependabot[bot] Dec 10, 2024
3931802
Bump @aws-sdk/client-sts from 3.699.0 to 3.709.0
dependabot[bot] Dec 11, 2024
c309989
Bump xml-parser-xo from 4.1.2 to 4.1.3
dependabot[bot] Dec 13, 2024
35727c3
Bump @aws-sdk/client-s3 from 3.705.0 to 3.709.0
dependabot[bot] Dec 13, 2024
96ef2be
Bump @aws-sdk/client-config-service from 3.702.0 to 3.709.0
dependabot[bot] Dec 13, 2024
febae2e
Bump @types/node from 22.10.1 to 22.10.2
dependabot[bot] Dec 13, 2024
7e956a8
Bump @aws-sdk/client-s3 from 3.709.0 to 3.712.0
dependabot[bot] Dec 14, 2024
465dbaf
Bump fast-xml-parser from 4.5.0 to 4.5.1
dependabot[bot] Dec 17, 2024
134d118
Bump @aws-sdk/client-config-service from 3.709.0 to 3.713.0
dependabot[bot] Dec 17, 2024
39c88ac
Bump @aws-sdk/client-s3 from 3.712.0 to 3.713.0
dependabot[bot] Dec 17, 2024
0aab461
Bump express-rate-limit from 7.4.1 to 7.5.0
dependabot[bot] Dec 17, 2024
700e045
Bump highlight.js from 11.10.0 to 11.11.0
dependabot[bot] Dec 17, 2024
c2bf1e1
Bump tailwindcss from 3.4.16 to 3.4.17
dependabot[bot] Dec 18, 2024
ae3ba5a
Bump @aws-sdk/client-config-service from 3.713.0 to 3.714.0
dependabot[bot] Dec 18, 2024
c143383
Bump vue-cookies from 1.8.4 to 1.8.5
dependabot[bot] Dec 18, 2024
0e32f28
Bump @aws-sdk/client-s3 from 3.713.0 to 3.714.0
dependabot[bot] Dec 18, 2024
6342895
Bump sanitize-html from 2.13.1 to 2.14.0
dependabot[bot] Dec 19, 2024
e838f96
Bump @aws-sdk/client-s3 from 3.714.0 to 3.715.0
dependabot[bot] Dec 19, 2024
f20fb6e
Bump cypress from 13.16.1 to 13.17.0
dependabot[bot] Dec 19, 2024
1ebaa61
Bump @aws-sdk/client-config-service from 3.714.0 to 3.716.0
dependabot[bot] Dec 20, 2024
15be6ad
Bump @aws-sdk/client-s3 from 3.715.0 to 3.716.0
dependabot[bot] Dec 20, 2024
ec4e294
Bump dotenv-cli from 7.4.4 to 8.0.0
dependabot[bot] Dec 21, 2024
840f59e
Bump @aws-sdk/client-s3 from 3.716.0 to 3.717.0
dependabot[bot] Dec 21, 2024
3af8639
Bump @smithy/node-http-handler from 3.3.2 to 3.3.3
dependabot[bot] Dec 24, 2024
6866a4c
Bump diff2html from 3.4.48 to 3.4.51
dependabot[bot] Dec 24, 2024
6cc1e97
Bump htmlparser2 from 9.1.0 to 10.0.0
dependabot[bot] Dec 25, 2024
c002380
Bump highlight.js from 11.11.0 to 11.11.1
dependabot[bot] Dec 26, 2024
5e0a22b
Fix code smell
jtquach1 Dec 26, 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
2 changes: 1 addition & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/convert-cci-list.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Convert CCI List XML to JSON

on:
push:
branches: ['master']

# Run this workflow on the 1st day at 00:00 every month
schedule:
- cron: '0 0 1 * *'

env:
# This URL is super brittle with how links constantly get changed.
CCI_LIST_ZIP_URL: https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CCI_List.zip

jobs:
convert-cci-list:
runs-on: ubuntu-22.04
steps:
- name: Checkout the code
jtquach1 marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
check-latest: true
cache: 'yarn'

- name: Install project dependencies
run: yarn install --frozen-lockfile

- name: Download CCI List
run: |
curl -o U_CCI_List.zip $CCI_LIST_ZIP_URL && unzip U_CCI_List.zip

- name: Get publish date of CCI List
id: publish-date
uses: mavrosxristoforos/get-xml-info@2.0
with:
xml-file: 'U_CCI_List.xml'
xpath: '/*[local-name()="cci_list"]/*[local-name()="metadata"]/*[local-name()="publishdate"]'
namespaces: '{"ns": "http://iase.disa.mil/cci"}'

- name: Set directory environment variables for next step
run: |
echo "ROOT_DIRECTORY=$(pwd)" >> $GITHUB_ENV
echo "OUTPUT_DIRECTORY=$(pwd)/libs/hdf-converters/src/mappings" >> $GITHUB_ENV

- name: Convert CCI List XML to CCI->NIST, CCI->Definitions, and NIST->CCI JSON files
run: yarn workspace @mitre/hdf-converters cciListXml2json -i $ROOT_DIRECTORY/U_CCI_List.xml -n $OUTPUT_DIRECTORY/U_CCI_List.nist.json -d $OUTPUT_DIRECTORY/U_CCI_List.defs.json -c $OUTPUT_DIRECTORY/U_CCI_List.cci.json

- name: Commit changes to produced JSON files
run: |
git config --local user.email "saf@groups.mitre.org"
git config --local user.name "MITRE SAF Automation"
git add $OUTPUT_DIRECTORY/U_CCI_List.nist.json $OUTPUT_DIRECTORY/U_CCI_List.defs.json $OUTPUT_DIRECTORY/U_CCI_List.cci.json
git commit -sm "Update CCI List to the current NIST and definition mappings as of $DATETIME"
git push
env:
DATETIME: ${{steps.publish-date.outputs.info}}
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hdfconverter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/inspecjs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
cache: 'yarn'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "22"
check-latest: true
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/setup-node@v4
if: always()
with:
node-version: "18"
node-version: "22"
check-latest: true
registry-url: 'https://npm.pkg.github.com'
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
93 changes: 93 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,96 @@
v2.11.1
- Update to node22 - requires nodejs 22 at minimum now @Amndeep7 (#6440)

## Dependency Updates

- Bump eslint-plugin-vue from 9.31.0 to 9.32.0 @dependabot (#6439)
- Bump @aws-sdk/client-s3 from 3.701.0 to 3.703.0 @dependabot (#6438)
- Bump @types/node from 22.10.0 to 22.10.1 @dependabot (#6433)
- Bump @nestjs/common from 10.4.11 to 10.4.12 @dependabot (#6437)
- Bump @nestjs/platform-express from 10.4.11 to 10.4.12 @dependabot (#6434)
- Bump @nestjs/core from 10.4.11 to 10.4.12 @dependabot (#6435)
- Bump @nestjs/testing from 10.4.11 to 10.4.12 @dependabot (#6436)
- Bump @nestjs/testing from 10.4.9 to 10.4.11 @dependabot (#6429)
- Bump @aws-sdk/client-config-service from 3.699.0 to 3.702.0 @dependabot (#6430)
- Bump @nestjs/common from 10.4.9 to 10.4.11 @dependabot (#6431)
- Bump @nestjs/platform-express from 10.4.9 to 10.4.11 @dependabot (#6432)
- Bump @nestjs/core from 10.4.9 to 10.4.11 @dependabot (#6428)
- Bump @aws-sdk/client-s3 from 3.700.0 to 3.701.0 @dependabot (#6424)
- Bump prettier from 3.3.3 to 3.4.1 @dependabot (#6425)
- Bump @types/node from 22.9.4 to 22.10.0 @dependabot (#6427)
- Bump @types/express-session from 1.18.0 to 1.18.1 @dependabot (#6426)
- Bump @nestjs/core from 10.4.8 to 10.4.9 @dependabot (#6420)
- Bump oauth2-mock-server from 7.1.2 to 7.2.0 @dependabot (#6418)
- Bump @nestjs/common from 10.4.8 to 10.4.9 @dependabot (#6419)
- Bump @nestjs/testing from 10.4.8 to 10.4.9 @dependabot (#6416)
- Bump @nestjs/platform-express from 10.4.8 to 10.4.9 @dependabot (#6422)
- Bump @aws-sdk/client-s3 from 3.698.0 to 3.700.0 @dependabot (#6421)
- Bump @types/node from 22.9.2 to 22.9.4 @dependabot (#6423)
- Bump axios from 1.7.7 to 1.7.8 @dependabot (#6415)
- Bump @types/node from 22.9.1 to 22.9.2 @dependabot (#6411)
- Bump @aws-sdk/client-config-service from 3.696.0 to 3.699.0 @dependabot (#6410)
- Bump @aws-sdk/client-s3 from 3.697.0 to 3.698.0 @dependabot (#6405)
- Bump csv-stringify from 6.5.1 to 6.5.2 @dependabot (#6407)
- Bump dotenv-cli from 7.4.3 to 7.4.4 @dependabot (#6406)
- Bump @aws-sdk/client-s3 from 3.696.0 to 3.697.0 @dependabot (#6404)
- Bump @nestjs/cli from 10.4.7 to 10.4.8 @dependabot (#6403)
- Bump cypress from 13.15.2 to 13.16.0 @dependabot (#6400)
- Bump @aws-sdk/client-s3 from 3.691.0 to 3.696.0 @dependabot (#6397)
- Bump @types/node from 22.9.0 to 22.9.1 @dependabot (#6399)
- Bump @aws-sdk/client-config-service from 3.693.0 to 3.696.0 @dependabot (#6398)
- Bump @nestjs/testing from 10.4.7 to 10.4.8 @dependabot (#6394)
- Bump yaml from 2.6.0 to 2.6.1 @dependabot (#6396)
- Bump dotenv-cli from 7.4.2 to 7.4.3 @dependabot (#6395)
- Bump @nestjs/common from 10.4.7 to 10.4.8 @dependabot (#6390)
- Bump @nestjs/platform-express from 10.4.7 to 10.4.8 @dependabot (#6389)
- Bump @aws-sdk/client-config-service from 3.692.0 to 3.693.0 @dependabot (#6391)
- Bump @nestjs/core from 10.4.7 to 10.4.8 @dependabot (#6388)
- Bump @aws-sdk/client-config-service from 3.687.0 to 3.692.0 @dependabot (#6387)
- Bump @aws-sdk/client-sts from 3.691.0 to 3.692.0 @dependabot (#6385)
- Bump tailwindcss from 3.4.14 to 3.4.15 @dependabot (#6384)
- Bump @smithy/node-http-handler from 3.2.5 to 3.3.1 @dependabot (#6383)
- Bump winston from 3.16.0 to 3.17.0 @dependabot (#6376)
- Bump @aws-sdk/client-s3 from 3.689.0 to 3.691.0 @dependabot (#6380)
- Bump eslint-plugin-vue from 9.30.0 to 9.31.0 @dependabot (#6377)
- Bump @aws-sdk/client-s3 from 3.688.0 to 3.689.0 @dependabot (#6379)
- Bump uuid from 11.0.2 to 11.0.3 @dependabot (#6378)
- Bump @aws-sdk/client-s3 from 3.685.0 to 3.688.0 @dependabot (#6375)
- Bump @aws-sdk/client-config-service from 3.682.0 to 3.687.0 @dependabot (#6372)
- Bump @types/vuelidate from 0.7.21 to 0.7.22 @dependabot (#6369)
- Bump @nestjs/testing from 10.4.6 to 10.4.7 @dependabot (#6365)
- Bump @nestjs/common from 10.4.6 to 10.4.7 @dependabot (#6367)
- Bump @nestjs/platform-express from 10.4.6 to 10.4.7 @dependabot (#6366)
- Bump @nestjs/core from 10.4.6 to 10.4.7 @dependabot (#6364)
- Bump cypress from 13.15.1 to 13.15.2 @dependabot (#6363)
- Bump @nestjs/cli from 10.4.5 to 10.4.7 @dependabot (#6361)
- Bump @types/node from 22.8.6 to 22.9.0 @dependabot (#6360)
- Bump winston from 3.15.0 to 3.16.0 @dependabot (#6357)
- Bump @aws-sdk/client-s3 from 3.682.0 to 3.685.0 @dependabot (#6358)
- Bump typedoc from 0.26.10 to 0.26.11 @dependabot (#6356)
- Bump lerna from 8.1.8 to 8.1.9 @dependabot (#6353)
- Bump mock-fs from 5.4.0 to 5.4.1 @dependabot (#6354)
- Bump @types/node from 22.8.4 to 22.8.6 @dependabot (#6355)
- Bump core-js from 3.38.1 to 3.39.0 @dependabot (#6350)
- Bump sass-loader from 16.0.2 to 16.0.3 @dependabot (#6351)
- Bump @casl/ability from 6.7.1 to 6.7.2 @dependabot (#6349)
- Bump @aws-sdk/client-config-service from 3.679.0 to 3.682.0 @dependabot (#6346)
- Bump eslint-plugin-vue from 9.29.1 to 9.30.0 @dependabot (#6338)
- Bump @types/node from 22.8.1 to 22.8.4 @dependabot (#6345)
- Bump @types/lodash from 4.17.12 to 4.17.13 @dependabot (#6343)
- Bump uuid from 10.0.0 to 11.0.2 @dependabot (#6341)
- Bump @aws-sdk/client-s3 from 3.679.0 to 3.682.0 @dependabot (#6344)
- Bump tsx from 4.19.1 to 4.19.2 @dependabot (#6337)
- Bump @nestjs/schematics from 10.2.2 to 10.2.3 @dependabot (#6339)
- Bump @types/node from 22.7.9 to 22.8.1 @dependabot (#6333)
- Bump elliptic from 6.5.7 to 6.6.0 @dependabot (#6335)
- Bump rexml from 3.3.6 to 3.3.9 in /libs/inspecjs @dependabot (#6334)
- Bump sequelize from 6.37.4 to 6.37.5 @dependabot (#6332)
- Bump @aws-sdk/client-config-service from 3.678.0 to 3.679.0 @dependabot (#6328)
- Bump @aws-sdk/client-s3 from 3.678.0 to 3.679.0 @dependabot (#6329)
- Bump pg from 8.13.0 to 8.13.1 @dependabot (#6327)
- Bump cypress from 13.15.0 to 13.15.1 @dependabot (#6326)
- Bump @types/prismjs from 1.26.4 to 1.26.5 @dependabot (#6320)

v2.10.20

- Dependency track mapper @Amndeep7 (#6307)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=registry.access.redhat.com/ubi8/nodejs-18-minimal:1
ARG BASE_CONTAINER=registry.access.redhat.com/ubi9/nodejs-22-minimal:1

FROM $BASE_CONTAINER AS builder

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.lite
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_CONTAINER=registry.access.redhat.com/ubi8/nodejs-18-minimal:1
ARG BUILD_CONTAINER=registry.access.redhat.com/ubi9/nodejs-22-minimal:1
ARG BASE_CONTAINER=nginx:alpine

FROM $BUILD_CONTAINER AS builder
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.10.20
v2.11.1
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "heimdall-server",
"version": "2.10.20",
"version": "2.11.0",
"description": "",
"license": "Apache-2.0",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/config/config.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Config Service', () => {
})
});
expect(() => new ConfigService()).toThrowError(
"EACCES: permission denied, open '.env'"
"EACCES, permission denied '.env'"
);
});

Expand Down
10 changes: 5 additions & 5 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mitre/heimdall-lite",
"version": "2.10.20",
"description": "Heimdall-Lite 2 is a JavaScript based security results viewer and review tool supporting multiple security results formats, such as: InSpec, SonarQube, OWASP-Zap and Fortify which you can load locally or from S3 and other data sources.",
"version": "2.11.1",
"description": "Heimdall-Lite 2 is a JavaScript based security results viewer and review tool supporting multiple security results formats, such as: InSpec, SonarQube, OWASP-Zap, and Fortify which you can load locally or from S3 and other data sources.",
"repository": {
"type": "git",
"url": "https://github.com/mitre/heimdall2"
Expand Down Expand Up @@ -76,7 +76,7 @@
"file-saver": "^2.0.2",
"highlight.js": "^11.0.0",
"html-loader": "^5.0.0",
"inspecjs": "^2.10.16",
"inspecjs": "^2.11.0",
"lodash": "4.17.21",
"lru-cache": "^10.1.0",
"luxon": "^3.0.1",
Expand All @@ -85,7 +85,7 @@
"prismjs": "^1.29.0",
"rimraf": "^5.0.0",
"roboto-fontface": "*",
"sanitize-html": "~2.13.0",
"sanitize-html": "~2.14.0",
"sass": "~1.32.6",
"sass-loader": "^16.0.0",
"search-query-parser": "^1.5.5",
Expand Down Expand Up @@ -133,7 +133,7 @@
"prismjs": "1.29.0"
},
"engines": {
"node": "^18.19.0"
"node": ">=22"
},
"branch": "/blob/master/",
"changelog": "/releases",
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/public/static/export/style.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,12 @@
<script lang="ts">
import ResponsiveRowSwitch from '@/components/cards/controltable/ResponsiveRowSwitch.vue';
import HtmlSanitizeMixin from '@/mixins/HtmlSanitizeMixin';
import {CCI_DESCRIPTIONS} from '@/utilities/cci_util';
import {getControlRunTime} from '@/utilities/delta_util';
import {nistCanonConfig, NIST_DESCRIPTIONS} from '@/utilities/nist_util';
import {
CCI_TO_DEFINITION,
CCI_TO_NIST
} from '@mitre/hdf-converters/src/mappings/CciNistMappingData';
import {ContextualizedControl, is_control, parse_nist} from 'inspecjs';
import * as _ from 'lodash';
import Component, {mixins} from 'vue-class-component';
Expand Down Expand Up @@ -224,8 +227,11 @@ export default class ControlRowHeader extends mixins(HtmlSanitizeMixin) {
if (found) {
return found;
}
} else if (CCI_DESCRIPTIONS[tag.toUpperCase()]) {
return CCI_DESCRIPTIONS[tag.toUpperCase()].def;
} else if (
CCI_TO_NIST[tag.toUpperCase()] &&
CCI_TO_DEFINITION[tag.toUpperCase()]
) {
return CCI_TO_DEFINITION[tag.toUpperCase()];
}
return 'Unrecognized Tag';
}
Expand Down
Loading
Loading