@greenarmor/ges-web-dashboard 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/template.js +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -189,7 +189,7 @@ export function collectDashboardData(projectPath) {
|
|
|
189
189
|
projectName: config?.project_name || "Unknown Project",
|
|
190
190
|
projectType: config?.project_type || "unknown",
|
|
191
191
|
frameworks: config?.frameworks || [],
|
|
192
|
-
gesfVersion: "1.2.
|
|
192
|
+
gesfVersion: "1.2.3",
|
|
193
193
|
score,
|
|
194
194
|
controls,
|
|
195
195
|
findings,
|
package/dist/template.js
CHANGED
|
@@ -703,7 +703,7 @@ export function renderDashboard(data) {
|
|
|
703
703
|
|
|
704
704
|
html += '<div class="tab-bar">';
|
|
705
705
|
html += '<button class="tab-btn active" onclick="showPackTab(\\'all\\',this)">All Controls (' + controls.length + ')</button>';
|
|
706
|
-
html += '<button class="tab-btn" onclick="showPackTab(\\'failing\\',this)">Failing (' + (controls.filter(function(c){return c.status
|
|
706
|
+
html += '<button class="tab-btn" onclick="showPackTab(\\'failing\\',this)">Failing (' + (controls.filter(function(c){return c.status!=="pass"&&c.status!=="not-applicable"}).length) + ')</button>';
|
|
707
707
|
html += '<button class="tab-btn" onclick="showPackTab(\\'withfindings\\',this)">With Findings (' + (controls.filter(function(c){return c.relatedFindings.length>0}).length) + ')</button>';
|
|
708
708
|
html += '</div>';
|
|
709
709
|
|
|
@@ -711,7 +711,7 @@ export function renderDashboard(data) {
|
|
|
711
711
|
html += renderControlsTable(controls);
|
|
712
712
|
html += '</div>';
|
|
713
713
|
html += '<div id="pack-controls-failing" style="display:none;">';
|
|
714
|
-
html += renderControlsTable(controls.filter(function(c){return c.status
|
|
714
|
+
html += renderControlsTable(controls.filter(function(c){return c.status!=="pass"&&c.status!=="not-applicable"}));
|
|
715
715
|
html += '</div>';
|
|
716
716
|
html += '<div id="pack-controls-withfindings" style="display:none;">';
|
|
717
717
|
html += renderControlsTable(controls.filter(function(c){return c.relatedFindings.length>0}));
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@greenarmor/ges-audit-engine": "1.2.
|
|
4
|
-
"@greenarmor/ges-core": "1.2.
|
|
5
|
-
"@greenarmor/ges-policy-engine": "1.2.
|
|
6
|
-
"@greenarmor/ges-scoring-engine": "1.2.
|
|
3
|
+
"@greenarmor/ges-audit-engine": "1.2.3",
|
|
4
|
+
"@greenarmor/ges-core": "1.2.3",
|
|
5
|
+
"@greenarmor/ges-policy-engine": "1.2.3",
|
|
6
|
+
"@greenarmor/ges-scoring-engine": "1.2.3"
|
|
7
7
|
},
|
|
8
8
|
"description": "GESF Web Dashboard - Visual compliance dashboard for teams",
|
|
9
9
|
"devDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"type": "module",
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
|
-
"version": "1.2.
|
|
43
|
+
"version": "1.2.3",
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc",
|
|
46
46
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|