@ping-identity/dvlint-base-rule-pack
Version:
Collection of base rules used to lint DaVinci flows.
83 lines • 4.43 kB
JSON
{
"name": "PingOne DaVinci Linter",
"pass": false,
"errorCount": 3,
"rulePackResults": [
{
"pass": false,
"errorCount": 3,
"lintResults": [
{
"flowId": "fbd66989acdaafb310c525639257a4c6",
"flowName": "globalVariableRUle",
"pass": false,
"errorCount": 3,
"errors": [
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the 'login' capability to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"nodeId": "tyyf7m9e7a"
},
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the 'authenticateUser' capability to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"nodeId": "ckz7azwsha"
},
{
"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."
}
],
"rulesApplied": [
"dv-rule-globalVariable-001"
],
"ruleResults": [
{
"ruleId": "dv-rule-globalVariable-001",
"pass": false,
"errorCount": 3,
"errors": [
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the 'login' capability to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"nodeId": "tyyf7m9e7a"
},
{
"code": "dv-bp-globalVariable-003",
"message": "Custom JavaScript usage in flow",
"type": "best-practice",
"recommendation": "Review the script in the 'authenticateUser' capability to ensure it does not introduce security vulnerabilities.",
"flowId": "fbd66989acdaafb310c525639257a4c6",
"nodeId": "ckz7azwsha"
},
{
"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."
}
]
}
],
"rulesIgnored": []
}
],
"rulesIgnored": true
}
]
}