UNPKG

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

Version:
68 lines 2.76 kB
{ "name": "PingOne DaVinci Linter", "pass": false, "errorCount": 2, "rulePackResults": [ { "pass": false, "errorCount": 2, "lintResults": [ { "flowId": "b40ccd54d88cb637ba4c635c6e788c6b", "flowName": "Test - Flag Unused and NotFound Flow Variables", "pass": false, "errorCount": 2, "errors": [ { "code": "dv-bp-variable-001", "flowId": "b40ccd54d88cb637ba4c635c6e788c6b", "message": "Unused Variable Found", "nodeId": "899qlenqr0", "recommendation": "The '{{global.flow.variables.notUsed}}' variable has been found but is not utilized in the flow. Consider removing the unused variable.", "type": "best-practice" }, { "code": "dv-er-variable-002", "flowId": "b40ccd54d88cb637ba4c635c6e788c6b", "message": "Undefined variable found", "nodeId": "hivjw30vly", "recommendation": "The '{{global.flow.variables.notFound}}' variable is not defined within a variable connector, which may lead to unexpected behavior. Define the variable appropriately.", "type": "error" } ], "rulesApplied": [ "dv-rule-variables-001" ], "ruleResults": [ { "ruleId": "dv-rule-variables-001", "ruleDescription": "Ensure that flow variables are used in flow. And check for flow variables referenced in nodes but not defined", "pass": false, "errorCount": 2, "errors": [ { "code": "dv-bp-variable-001", "flowId": "b40ccd54d88cb637ba4c635c6e788c6b", "message": "Unused Variable Found", "nodeId": "899qlenqr0", "recommendation": "The '{{global.flow.variables.notUsed}}' variable has been found but is not utilized in the flow. Consider removing the unused variable.", "type": "best-practice" }, { "code": "dv-er-variable-002", "flowId": "b40ccd54d88cb637ba4c635c6e788c6b", "message": "Undefined variable found", "nodeId": "hivjw30vly", "recommendation": "The '{{global.flow.variables.notFound}}' variable is not defined within a variable connector, which may lead to unexpected behavior. Define the variable appropriately.", "type": "error" } ] } ], "rulesIgnored": [] } ], "rulesIgnored": true } ] }