@ping-identity/dvlint-base-rule-pack
Version:
Collection of base rules used to lint DaVinci flows.
65 lines • 3.23 kB
JSON
{
"name": "PingOne DaVinci Linter",
"pass": false,
"errorCount": 2,
"rulePackResults": [
{
"pass": false,
"errorCount": 2,
"lintResults": [
{
"flowId": "fbd66989acdaafb310c525639257a4c6",
"flowName": "globalVariableRUle",
"pass": false,
"errorCount": 2,
"errors": [
{
"code": "dv-bp-globalVariable-001",
"type": "best-practice",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"message": "Global variable usage in Custom HTML Template script",
"nodeId": "2ddqdqz53x",
"recommendation": "Use global variables cautiously in custom code. Avoid storing or processing sensitive information within them."
},
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the node(s): 'tyyf7m9e7a', 'ckz7azwsha' to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6"
}
],
"rulesApplied": [
"dv-rule-globalVariable-001"
],
"ruleResults": [
{
"ruleId": "dv-rule-globalVariable-001",
"pass": false,
"errorCount": 2,
"errors": [
{
"code": "dv-bp-globalVariable-001",
"type": "best-practice",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"message": "Global variable usage in Custom HTML Template script",
"nodeId": "2ddqdqz53x",
"recommendation": "Use global variables cautiously in custom code. Avoid storing or processing sensitive information within them."
},
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the node(s): 'tyyf7m9e7a', 'ckz7azwsha' to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6"
}
]
}
],
"rulesIgnored": []
}
],
"rulesIgnored": true
}
]
}