@ping-identity/dvlint-base-rule-pack
Version:
Collection of base rules used to lint DaVinci flows.
67 lines • 3.54 kB
JSON
{
"name": "PingOne DaVinci Linter",
"pass": false,
"errorCount": 2,
"rulePackResults": [
{
"pass": false,
"errorCount": 2,
"lintResults": [
{
"flowId": "536d2240bb70b78137416562a87f1f81",
"flowName": "Main flow",
"pass": false,
"errorCount": 2,
"errors": [
{
"code": "dv-bp-subflow-005",
"flowId": "536d2240bb70b78137416562a87f1f81",
"message": "'Invoke UI Subflow' capability used, but target subflow has no UI nodes.",
"nodeId": "rmlvzfp7qq",
"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"
},
{
"code": "dv-er-subflow-003",
"message": "Subflow input schema missing",
"type": "error",
"recommendation": "The input schema values for the 'subflow1' subflow are not currently configured. Configure the schema in the subflow.",
"nodeId": "rmlvzfp7qq"
}
],
"rulesApplied": [
"dv-rule-subflow-001"
],
"ruleResults": [
{
"ruleId": "dv-rule-subflow-001",
"ruleDescription": "Checks for subflow name mismatches",
"pass": false,
"errorCount": 2,
"errors": [
{
"code": "dv-bp-subflow-005",
"flowId": "536d2240bb70b78137416562a87f1f81",
"message": "'Invoke UI Subflow' capability used, but target subflow has no UI nodes.",
"nodeId": "rmlvzfp7qq",
"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"
},
{
"flowId": "536d2240bb70b78137416562a87f1f81",
"code": "dv-er-subflow-003",
"message": "Subflow input schema missing",
"type": "error",
"recommendation": "The input schema values for the 'subflow1' subflow are not currently configured. Configure the schema in the subflow.",
"nodeId": "rmlvzfp7qq"
}
]
}
],
"rulesIgnored": []
}
],
"rulesIgnored": true
}
]
}