UNPKG

@ping-identity/dvlint-base-rule-pack

Version:
704 lines 24.2 kB
{ "companyId": "ee43f700-c751-494d-9dbf-70946a85b328", "authTokenExpireIds": [], "connectorIds": [ "annotationConnector", "httpConnector", "nodeConnector", "variablesConnector" ], "createdDate": 1680520498286, "currentVersion": 1, "customerId": "f3e47d945ae971a4b4142ec75012d155", "deployedDate": 1680520498362, "description": "DaVinci starter flow that comes preconfigured to leverage Ping's CSS resources. The flow includes common instance variables, a generic error handler and a success message UI.", "flowStatus": "enabled", "name": "Starter Flow", "publishedVersion": 1, "settings": { "csp": "worker-src 'self' blob:; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com https://devsdk.singularkey.com http://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval';", "intermediateLoadingScreenCSS": {}, "intermediateLoadingScreenHTML": {}, "logLevel": 3, "useCustomCSS": true, "css": ".companyLogo {\n /* Ping Logo */\n content: url(\"https://assets.pingone.com/ux/ui-library/5.0.2/images/logo-pingidentity.png\");\n width: 65px;\n height: 65px;\n}", "cssLinks": [ "https://assets.pingone.com/ux/end-user-nano/0.1.0-alpha.1/end-user-nano.css", "https://assets.pingone.com/ux/astro-nano/0.1.0-alpha.6/icons.css" ], "scrubSensitiveInfo": false }, "updatedDate": 1680520521024, "flowId": "47360733f8216ad35114e9a787ca83e0", "versionId": 1, "graphData": { "elements": { "nodes": [ { "data": { "id": "3fecgs45in", "nodeType": "ANNOTATION", "name": "Annotation", "connectionId": "921bfae85c38ed45045e07be703d86b8", "connectorId": "annotationConnector", "capabilityName": "updateAnnotationProperties", "type": "action", "properties": { "backgroundColor": { "value": "#4462edff" }, "annotationTextColor": { "value": "#ffffffff" }, "annotation": { "value": "__FLOW_TITLE__" }, "width": { "value": 1800 }, "fontStyle": { "value": "bold" }, "fontSize": { "value": 16 }, "fontFamily": { "value": "sans-serif" }, "cornerRadius": { "value": 8 } }, "status": "configured" }, "position": { "x": 214, "y": 214 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "u5khyxw07p", "nodeType": "CONNECTION", "connectionId": "867ed4363b2bc21c860085ad2baa817d", "connectorId": "httpConnector", "name": "Http", "label": "Http", "status": "configured", "capabilityName": "customHTMLTemplate", "type": "trigger", "properties": { "customHTML": { "value": "<div class=\"bg-light d-flex flex-column justify-content-center align-items-center position-absolute top-0 start-0 bottom-0 end-0 overflow-auto\">\n <div style=\"max-width: 400px; min-width: 400px; width: 100%\">\n <div class=\"card shadow mb-5\">\n <div class=\"card-body p-5 d-flex flex-column\">\n <img class=\"companyLogo align-self-center mb-5\" alt=\"{{global.variables.companyName}}\"/>\n <h1 class=\"text-center mb-4\">Success</h1>\n <p class=\"text-muted text-center\">__SUCCESS_MSG_1__</p>\n <p class=\"text-muted text-center\">__SUCCESS_MSG_2__</p>\n <div class=\"d-flex flex-column\">\n <button data-id=\"button\" type=\"submit\" class=\"btn btn-primary mb-3\" data-skcomponent=\"skbutton\"\n data-skbuttontype=\"next-event\">Exit</button>\n </div>\n </div>\n </div>\n </div>\n</div>" }, "formFieldsList": { "value": [ { "preferredControlType": "textField", "preferredDataType": "string", "propertyName": "" } ] }, "nodeTitle": { "value": "Success Message" }, "nodeDescription": { "value": "Display success message" } }, "idUnique": "a0yf1wqul8" }, "position": { "x": 600, "y": 390 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "t5lim69t2u", "nodeType": "EVAL" }, "position": { "x": 420, "y": 390 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "qgh0ikalf3", "nodeType": "ANNOTATION", "name": "Annotation", "connectionId": "921bfae85c38ed45045e07be703d86b8", "connectorId": "annotationConnector", "capabilityName": "updateAnnotationProperties", "type": "action", "properties": { "backgroundColor": { "value": "#50e3c280" }, "annotationTextColor": { "value": "#000000" }, "annotation": { "value": "<--150px-SPACER-->" }, "width": { "value": 150 }, "height": { "value": 150 }, "fontSize": { "value": 12 }, "fontFamily": { "value": "sans-serif" }, "strokeColor": { "value": "#4a4a4aff" }, "strokeEnabled": { "value": true }, "strokeWidth": { "value": 1 } }, "status": "configured" }, "position": { "x": 840, "y": 330 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "4zjizi23c6", "nodeType": "CONNECTION", "connectionId": "b3b6bfe4bcfc8bd1d8851a5664d824d2", "connectorId": "nodeConnector", "name": "Node", "label": "Node", "status": "configured", "capabilityName": "startNode", "type": "trigger", "properties": { "inputSchema": { "value": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"errorCode\": {\n\t\t\t\"type\": \"string\",\n\t\t\t\"displayName\": \"Error Code\",\n\t\t\t\"preferredControlType\": \"textField\",\n\t\t\t\"enableParameters\": true,\n\t\t\t\"propertyName\": \"errorCode\"\n\t\t},\n\t\t\"errorMessage\": {\n\t\t\t\"type\": \"String\",\n\t\t\t\"displayName\": \"Error Message\",\n\t\t\t\"preferredControlType\": \"textField\",\n\t\t\t\"enableParameters\": true,\n\t\t\t\"propertyName\": \"errorMessage\"\n\t\t},\n\t\t\"userAction\": {\n\t\t\t\"type\": \"String\",\n\t\t\t\"displayName\": \"User Action\",\n\t\t\t\"preferredControlType\": \"textField\",\n\t\t\t\"enableParameters\": true,\n\t\t\t\"propertyName\": \"userAction\"\n\t\t}\n\t}\n}" }, "nodeTitle": { "value": "Error" } } }, "position": { "x": 304, "y": 994 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "z4g8c5z5pw", "nodeType": "EVAL", "label": "Evaluator" }, "position": { "x": 424, "y": 994 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "13xqy80afe", "nodeType": "CONNECTION", "connectionId": "867ed4363b2bc21c860085ad2baa817d", "connectorId": "httpConnector", "name": "Http", "label": "Http", "status": "configured", "capabilityName": "createErrorResponse", "type": "action", "properties": { "backgroundColor": { "value": "#ffc8c1ff" }, "claimsNameValuePairs": { "value": [ { "name": "errorCode", "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"teleport.svg\",\n \"url\": \"errorCode\",\n \"data\": \"{{local.4zjizi23c6.payload.output.errorCode}}\",\n \"tooltip\": \"{{local.4zjizi23c6.payload.output.errorCode}}\",\n \"children\": [\n {\n \"text\": \"errorCode\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]", "key": 0.7505189133115058, "label": "errorCode (number - flowInstance)", "type": "number", "nameDefault": "errorCode" }, { "name": "errorMessage", "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"teleport.svg\",\n \"url\": \"errorMessage\",\n \"data\": \"{{local.4zjizi23c6.payload.output.errorMessage}}\",\n \"tooltip\": \"{{local.4zjizi23c6.payload.output.errorMessage}}\",\n \"children\": [\n {\n \"text\": \"errorMessage\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]", "key": 0.9809707255767062, "label": "errorMessage (string - flowInstance)", "type": "string", "nameDefault": "errorMessage" }, { "name": "userAction", "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"teleport.svg\",\n \"url\": \"userAction\",\n \"data\": \"{{local.4zjizi23c6.payload.output.userAction}}\",\n \"tooltip\": \"{{local.4zjizi23c6.payload.output.userAction}}\",\n \"children\": [\n {\n \"text\": \"userAction\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]", "key": 0.2370967796224619, "label": "userAction (string - flowInstance)", "type": "string", "nameDefault": "userAction" } ] } } }, "position": { "x": 604, "y": 994 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "p2jrc9z72i", "nodeType": "ANNOTATION", "name": "Annotation", "connectionId": "921bfae85c38ed45045e07be703d86b8", "connectorId": "annotationConnector", "capabilityName": "updateAnnotationProperties", "type": "action", "properties": { "backgroundColor": { "value": "#5D00D6ff" }, "annotationTextColor": { "value": "#ffffffff" }, "annotation": { "value": "Error" }, "width": { "value": 1000 }, "fontStyle": { "value": "bold" }, "fontSize": { "value": 14 }, "fontFamily": { "value": "sans-serif" }, "cornerRadius": { "value": 8 } }, "status": "configured" }, "position": { "x": 214, "y": 814 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "zzz7tqvo0h", "nodeType": "ANNOTATION", "name": "Annotation", "connectionId": "921bfae85c38ed45045e07be703d86b8", "connectorId": "annotationConnector", "capabilityName": "updateAnnotationProperties", "type": "action", "properties": { "backgroundColor": { "value": "#fffaa0ff" }, "annotationTextColor": { "value": "#000000" }, "annotation": { "value": "Input Schema: errorCode, errorMessage, userAction" }, "width": { "value": 400 }, "fontSize": { "value": 14 }, "fontFamily": { "value": "sans-serif" }, "cornerRadius": { "value": 8 }, "strokeEnabled": { "value": false }, "strokeWidth": { "value": 1 }, "strokeColor": { "value": "#181818ff" } }, "status": "configured", "idUnique": "940rm8qjb1" }, "position": { "x": 214, "y": 874 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" }, { "data": { "id": "pdk9atuwtv", "nodeType": "CONNECTION", "connectionId": "06922a684039827499bdbdd97f49827b", "connectorId": "variablesConnector", "name": "Variables", "label": "Variables", "status": "configured", "capabilityName": "saveValue", "type": "trigger", "properties": { "saveVariables": { "value": [ { "name": "populationId", "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n }\n ]\n }\n]", "key": 0.9673372774789002, "type": "string", "label": "populationId (string - flowInstance)" }, { "name": "companyName", "value": "[\n {\n \"children\": [\n {\n \"text\": \"Ping Identity\"\n }\n ]\n }\n]", "key": 0.8558926100565449, "label": "companyName (string - flowInstance)", "type": "string" }, { "name": "origin", "value": "[\n {\n \"children\": [\n {\n \"text\": \"auth.pingone.com\"\n }\n ]\n }\n]", "key": 0.38383064124643007, "label": "origin (string - flowInstance)", "type": "string" }, { "name": "originURL", "value": "[\n {\n \"children\": [\n {\n \"text\": \"https://auth.pingone.com\"\n }\n ]\n }\n]", "key": 0.3895964400152929, "label": "originURL (string - flowInstance)", "type": "string" }, { "name": "relyingParty", "value": "[\n {\n \"children\": [\n {\n \"text\": \"PingOne\"\n }\n ]\n }\n]", "key": 0.8294031869442895, "label": "relyingParty (string - flowInstance)", "type": "string" }, { "name": "relyingPartyId", "value": "[\n {\n \"children\": [\n {\n \"text\": \"auth.pingone.com\"\n }\n ]\n }\n]", "key": 0.33706413004714153, "label": "relyingPartyId (string - flowInstance)", "type": "string" }, { "name": "flowDocsURL", "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n }\n ]\n }\n]", "key": 0.8153538352277487, "label": "flowDocsURL (string - flowInstance)", "type": "string" } ] }, "nodeTitle": { "value": "Set flow instance variables" }, "nodeDescription": { "value": "Initialize common values used in the flow so that they're easier to update in one place" } }, "idUnique": "a99irgrtx7" }, "position": { "x": 300, "y": 390 }, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": false, "classes": "" } ], "edges": [ { "data": { "id": "j67d1ioyye", "source": "z4g8c5z5pw", "target": "13xqy80afe" }, "position": { "x": 0, "y": 0 }, "group": "edges", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": true, "classes": "" }, { "data": { "id": "o8sgd38p64", "source": "t5lim69t2u", "target": "u5khyxw07p" }, "position": { "x": 0, "y": 0 }, "group": "edges", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": true, "classes": "" }, { "data": { "id": "psqcjsf0wp", "source": "4zjizi23c6", "target": "z4g8c5z5pw" }, "position": { "x": 0, "y": 0 }, "group": "edges", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true, "pannable": true, "classes": "" }, { "data": { "id": "fb0464z6lq", "source": "pdk9atuwtv", "target": "t5lim69t2u" }, "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": "#ff661c", "savedDate": 1680520498215, "variables": [ { "context": "flowInstance", "createdDate": 1676296600642, "fields": { "type": "string", "displayName": "", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "companyName##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" }, { "context": "flowInstance", "createdDate": 1678115982658, "fields": { "type": "string", "displayName": "", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "flowDocsURL##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" }, { "context": "flowInstance", "createdDate": 1678115982658, "fields": { "type": "string", "displayName": "FIDO2 origin", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "origin##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" }, { "context": "flowInstance", "createdDate": 1678115982656, "fields": { "type": "string", "displayName": "", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "originURL##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" }, { "context": "flowInstance", "createdDate": 1677009854303, "customerId": "f3e47d945ae971a4b4142ec75012d155", "fields": { "type": "string", "displayName": "", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "populationId##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" }, { "context": "flowInstance", "createdDate": 1678115982658, "fields": { "type": "string", "displayName": "", "mutable": true, "min": 0, "max": 2000 }, "type": "property", "visibility": "private", "name": "relyingParty##SK##flowInstance", "companyId": "ee43f700-c751-494d-9dbf-70946a85b328" } ], "connections": [] }