@dataparade/cli 0.0.15 → 0.0.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataparade/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "dataPARADE CLI — scan codebases for privacy and security data flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eval:models": "pnpm exec node dist/src/evals/run-model-matrix.js"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@dataparade/scanner": "github:DataParade-io/scanner#
|
|
57
|
+
"@dataparade/scanner": "github:DataParade-io/scanner#166262bfe666ee2b339ebaadd83b80fb53c59b9c",
|
|
58
58
|
"@sentry/node": "^10.38.0",
|
|
59
59
|
"commander": "^12.1.0",
|
|
60
60
|
"dotenv": "^16.4.7",
|
|
@@ -55,12 +55,24 @@ describe("core/pipeline/graph-mapping - DP-P0-CLI-402", () => {
|
|
|
55
55
|
cloudProvider: "AWS",
|
|
56
56
|
},
|
|
57
57
|
},
|
|
58
|
+
// Self-loop flows are dropped from the graph, so the flow needs a
|
|
59
|
+
// distinct target to become an edge.
|
|
60
|
+
{
|
|
61
|
+
id: "component-2",
|
|
62
|
+
name: "Health Monitor",
|
|
63
|
+
type: "asset",
|
|
64
|
+
subType: "service",
|
|
65
|
+
confidence: 0.9,
|
|
66
|
+
detectedFrom: [],
|
|
67
|
+
sourceLocations: [],
|
|
68
|
+
properties: {},
|
|
69
|
+
},
|
|
58
70
|
],
|
|
59
71
|
dataFlows: [
|
|
60
72
|
{
|
|
61
73
|
id: "flow-1",
|
|
62
74
|
sourceComponentId: "component-1",
|
|
63
|
-
targetComponentId: "component-
|
|
75
|
+
targetComponentId: "component-2",
|
|
64
76
|
type: "api_call",
|
|
65
77
|
description: "Health check endpoint",
|
|
66
78
|
confidence: 0.9,
|
|
@@ -91,9 +103,10 @@ describe("core/pipeline/graph-mapping - DP-P0-CLI-402", () => {
|
|
|
91
103
|
errors: [],
|
|
92
104
|
};
|
|
93
105
|
const graph = (0, graph_mapping_1.buildDiagramGraphFromScanResult)(scanResult);
|
|
94
|
-
expect(graph.nodes).toHaveLength(
|
|
106
|
+
expect(graph.nodes).toHaveLength(2);
|
|
95
107
|
expect(graph.edges).toHaveLength(1);
|
|
96
|
-
const node = graph.nodes
|
|
108
|
+
const node = graph.nodes.find((n) => n.id === "component-1");
|
|
109
|
+
expect(node).toBeDefined();
|
|
97
110
|
const nodeData = node.data;
|
|
98
111
|
expect(nodeData.label).toBe("Test Application");
|
|
99
112
|
expect(nodeData.description).toBe("Main application service");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataparade/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "dataPARADE CLI — scan codebases for privacy and security data flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eval:models": "pnpm exec node dist/src/evals/run-model-matrix.js"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@dataparade/scanner": "github:DataParade-io/scanner#
|
|
57
|
+
"@dataparade/scanner": "github:DataParade-io/scanner#166262bfe666ee2b339ebaadd83b80fb53c59b9c",
|
|
58
58
|
"@sentry/node": "^10.38.0",
|
|
59
59
|
"commander": "^12.1.0",
|
|
60
60
|
"dotenv": "^16.4.7",
|