@ping-identity/dvlint-base-rule-pack
Version:
Collection of base rules used to lint DaVinci flows.
429 lines • 13.2 kB
JSON
{
"companyId": "503f5f56-d442-4134-a906-8bc7c2e87910",
"authTokenExpireIds": [],
"connectorIds": [
"variablesConnector",
"httpConnector",
"annotationConnector"
],
"createdDate": 1691422023123,
"currentVersion": 21,
"customerId": "ab7d566d93c42380f27682b13a857079",
"deployedDate": 1691422024937,
"description": "",
"flowStatus": "enabled",
"isOutputSchemaSaved": false,
"name": "Test - Flag Unused and NotFound Flow Variables",
"publishedVersion": 21,
"timeouts": "null",
"updatedDate": 1691422024937,
"flowId": "b40ccd54d88cb637ba4c635c6e788c6b",
"versionId": 21,
"graphData": {
"elements": {
"nodes": [
{
"data": {
"id": "899qlenqr0",
"nodeType": "CONNECTION",
"connectionId": "06922a684039827499bdbdd97f49827b",
"connectorId": "variablesConnector",
"name": "Variables",
"label": "Variables",
"status": "configured",
"capabilityName": "saveFlowValue",
"type": "trigger",
"properties": {
"saveFlowVariables": {
"value": [
{
"name": "used",
"value": "[\n {\n \"children\": [\n {\n \"text\": \"Hello World\"\n }\n ]\n }\n]",
"key": 0.46129096981564466,
"type": "string",
"label": "used (string - flow)"
},
{
"name": "notUsed",
"value": "[\n {\n \"children\": [\n {\n \"text\": \"Secret Data\"\n }\n ]\n }\n]",
"key": 0.6190546320950365,
"label": "notUsed (string - flow)",
"type": "string"
}
]
},
"nodeTitle": {
"value": "Set Variables"
}
}
},
"position": {
"x": 304,
"y": 424
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "t6quno5quh",
"nodeType": "EVAL",
"label": "Evaluator"
},
"position": {
"x": 454,
"y": 424
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "iajuivvxxi",
"nodeType": "CONNECTION",
"connectionId": "867ed4363b2bc21c860085ad2baa817d",
"connectorId": "httpConnector",
"name": "HTTP",
"label": "HTTP",
"status": "configured",
"capabilityName": "customHtmlMessage",
"type": "trigger",
"properties": {
"messageTitle": {
"value": "[\n {\n \"children\": [\n {\n \"text\": \"Print Used Variable\"\n }\n ]\n }\n]"
},
"nodeTitle": {
"value": "Print Used Variable"
},
"message": {
"value": "[\n {\n \"children\": [\n {\n \"text\": \"Used Variable: \"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"variable.svg\",\n \"url\": \"used\",\n \"data\": \"{{global.flow.variables.used}}\",\n \"tooltip\": \"{{global.flow.variables.used}}\",\n \"children\": [\n {\n \"text\": \"{{global.flow.variables.used}}\"\n }\n ]\n },\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]"
}
}
},
"position": {
"x": 600,
"y": 420
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "iiati7p5qg",
"nodeType": "ANNOTATION",
"name": "Annotation",
"connectionId": "921bfae85c38ed45045e07be703d86b8",
"connectorId": "annotationConnector",
"capabilityName": "updateAnnotationProperties",
"type": "action",
"properties": {
"backgroundColor": {
"value": "#d0021bff"
},
"annotationTextColor": {
"value": "#000000"
},
"annotation": {
"value": "ERROR"
}
},
"status": "configured"
},
"position": {
"x": 214,
"y": 304
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "3f2gz0jwx6",
"nodeType": "ANNOTATION",
"name": "Annotation",
"connectionId": "921bfae85c38ed45045e07be703d86b8",
"connectorId": "annotationConnector",
"capabilityName": "updateAnnotationProperties",
"type": "action",
"properties": {
"backgroundColor": {
"value": "#B5DFFF"
},
"annotationTextColor": {
"value": "#000000"
},
"annotation": {
"value": "Check for any unused and notfound variables in \"Flow Variable\" nodes."
}
},
"status": "configured"
},
"position": {
"x": 214,
"y": 214
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "hivjw30vly",
"nodeType": "CONNECTION",
"connectionId": "867ed4363b2bc21c860085ad2baa817d",
"connectorId": "httpConnector",
"name": "HTTP",
"label": "HTTP",
"status": "configured",
"capabilityName": "customHtmlMessage",
"type": "trigger",
"properties": {
"messageTitle": {
"value": "[\n {\n \"children\": [\n {\n \"text\": \"Print Not Found Variable\"\n }\n ]\n }\n]"
},
"nodeTitle": {
"value": "Print Not Found Variable"
},
"message": {
"value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"Not Found Vaiable: \"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"variable.svg\",\n \"url\": \"notFound\",\n \"data\": \"{{global.flow.variables.notFound}}\",\n \"tooltip\": \"{{global.flow.variables.notFound}}\",\n \"children\": [\n {\n \"text\": \"{{global.flow.variables.notFound}}\"\n }\n ]\n },\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]"
}
},
"idUnique": "d5ckgrfjbt"
},
"position": {
"x": 934,
"y": 424
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "nfylzkqqve",
"nodeType": "EVAL"
},
"position": {
"x": 754,
"y": 424
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
},
{
"data": {
"id": "pbvvyizefk",
"nodeType": "ANNOTATION",
"name": "Annotation",
"connectionId": "921bfae85c38ed45045e07be703d86b8",
"connectorId": "annotationConnector",
"capabilityName": "updateAnnotationProperties",
"type": "action",
"properties": {
"backgroundColor": {
"value": "#d0021bff"
},
"annotationTextColor": {
"value": "#000000"
},
"annotation": {
"value": "ERROR"
}
},
"status": "configured",
"idUnique": "p65h46pt8f"
},
"position": {
"x": 844,
"y": 304
},
"group": "nodes",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": false,
"classes": ""
}
],
"edges": [
{
"data": {
"id": "g6zms02if2",
"source": "iajuivvxxi",
"target": "nfylzkqqve"
},
"position": {
"x": 0,
"y": 0
},
"group": "edges",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": true,
"classes": ""
},
{
"data": {
"id": "44sfgcx9ul",
"source": "t6quno5quh",
"target": "iajuivvxxi"
},
"position": {
"x": 0,
"y": 0
},
"group": "edges",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": true,
"classes": ""
},
{
"data": {
"id": "vgukq51ciz",
"source": "nfylzkqqve",
"target": "hivjw30vly"
},
"position": {
"x": 0,
"y": 0
},
"group": "edges",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": true,
"classes": ""
},
{
"data": {
"id": "039j16140n",
"source": "899qlenqr0",
"target": "t6quno5quh"
},
"position": {
"x": 0,
"y": 0
},
"group": "edges",
"removed": false,
"selected": false,
"selectable": true,
"locked": false,
"grabbable": true,
"pannable": true,
"classes": ""
}
]
},
"data": {},
"zoomingEnabled": true,
"userZoomingEnabled": true,
"zoom": 1,
"minZoom": 1e-50,
"maxZoom": 1e+50,
"panningEnabled": true,
"userPanningEnabled": true,
"pan": {
"x": 0,
"y": 0
},
"boxSelectionEnabled": true,
"renderer": {
"name": "null"
}
},
"flowColor": "#E3F0FF",
"savedDate": 1691422023070,
"variables": [
{
"context": "flow",
"createdDate": 1691158854292,
"customerId": "ab7d566d93c42380f27682b13a857079",
"fields": {
"type": "string",
"displayName": "",
"mutable": true,
"min": 0,
"max": 2000,
"value": "Secret Data"
},
"flowId": "b40ccd54d88cb637ba4c635c6e788c6b",
"type": "property",
"updatedDate": 1691159311587,
"visibility": "private",
"name": "notUsed##SK##flow##SK##b40ccd54d88cb637ba4c635c6e788c6b",
"companyId": "503f5f56-d442-4134-a906-8bc7c2e87910"
},
{
"context": "flow",
"createdDate": 1691158883785,
"customerId": "ab7d566d93c42380f27682b13a857079",
"fields": {
"type": "string",
"displayName": "",
"mutable": true,
"min": 0,
"max": 2000,
"value": "Hello World"
},
"flowId": "b40ccd54d88cb637ba4c635c6e788c6b",
"type": "property",
"updatedDate": 1691159311588,
"visibility": "private",
"name": "used##SK##flow##SK##b40ccd54d88cb637ba4c635c6e788c6b",
"companyId": "503f5f56-d442-4134-a906-8bc7c2e87910"
}
],
"connections": []
}