UNPKG

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

Version:
80 lines 3.52 kB
{ "name": "PingOne DaVinci Linter", "pass": false, "errorCount": 3, "rulePackResults": [ { "pass": false, "errorCount": 3, "lintResults": [ { "flowId": "4822d6c2f9f61d1924909c50fa6959bc", "flowName": "Test - Main Flow", "pass": false, "errorCount": 3, "errors": [ { "flowId": "6cc59b44515ba46f388c87ef52a00ec9", "code": "dv-er-subflow-001", "message": "Incorrect or missing subflow", "type": "error", "recommendation": "There is an incorrect or missing subflow. Ensure that the appropriate subflow is selected." }, { "code": "dv-er-subflow-004", "flowId": "4822d6c2f9f61d1924909c50fa6959bc", "message": "Invalid subflow configuration: PingOne flow selected as subflow", "nodeId": "m7lhu8f6jg", "recommendation": "PingOne flows cannot be referenced as a subflow. Select a standard DaVinci flow as the subflow instead." }, { "code": "dv-bp-subflow-005", "flowId": "4822d6c2f9f61d1924909c50fa6959bc", "message": "'Invoke UI Subflow' capability used, but target subflow has no UI nodes.", "nodeId": "m7lhu8f6jg", "recommendation": "The 'Invoke UI Subflow' capability requires the subflow execution path to contain UI screen nodes. Since the referenced subflow doesn’t start with a UI screen node, replace this with 'Invoke Subflow' capability instead.", "type": "best-practice" } ], "rulesApplied": [ "dv-rule-subflow-001" ], "ruleResults": [ { "ruleId": "dv-rule-subflow-001", "ruleDescription": "Checks for subflow name mismatches", "pass": false, "errorCount": 3, "errors": [ { "flowId": "6cc59b44515ba46f388c87ef52a00ec9", "code": "dv-er-subflow-001", "message": "Incorrect or missing subflow", "type": "error", "recommendation": "There is an incorrect or missing subflow. Ensure that the appropriate subflow is selected." }, { "code": "dv-er-subflow-004", "flowId": "4822d6c2f9f61d1924909c50fa6959bc", "message": "Invalid subflow configuration: PingOne flow selected as subflow", "nodeId": "m7lhu8f6jg", "recommendation": "PingOne flows cannot be referenced as a subflow. Select a standard DaVinci flow as the subflow instead." }, { "code": "dv-bp-subflow-005", "flowId": "4822d6c2f9f61d1924909c50fa6959bc", "message": "'Invoke UI Subflow' capability used, but target subflow has no UI nodes.", "nodeId": "m7lhu8f6jg", "recommendation": "The 'Invoke UI Subflow' capability requires the subflow execution path to contain UI screen nodes. Since the referenced subflow doesn’t start with a UI screen node, replace this with 'Invoke Subflow' capability instead.", "type": "best-practice" } ] } ], "rulesIgnored": [] } ], "rulesIgnored": true } ] }