@ping-identity/dvlint-base-rule-pack
Version:
Collection of base rules used to lint DaVinci flows.
78 lines • 3.21 kB
JSON
{
"name": "PingOne DaVinci Linter",
"pass": false,
"errorCount": 3,
"rulePackResults": [
{
"pass": false,
"errorCount": 3,
"lintResults": [
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"flowName": "Test - Company Logo",
"pass": false,
"errorCount": 3,
"errors": [
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-001",
"message": "useCustomCSS not set to true",
"type": "best-practice",
"recommendation": "Use the recommended CSS settings for flows developed by Ping to ensure consistency."
},
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-002",
"message": "companyLogo class not included in custom CSS",
"type": "best-practice",
"recommendation": "Use the recommended CSS settings for flows developed by Ping to ensure consistency."
},
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-004",
"message": "companyName environment variable not found. (Flow Id - b26646703ba9519ee71d327f8a462a6b)",
"type": "best-practice",
"recommendation": "Use the companyName environment variable for Ping-developed flows to display the appropriate company name."
}
],
"rulesApplied": [
"dv-rule-logo-001"
],
"ruleResults": [
{
"ruleId": "dv-rule-logo-001",
"ruleDescription": "Ensure logos are not hard coded and useCSS is used with a css logo tag. Does not apply to subflows",
"pass": false,
"errorCount": 3,
"errors": [
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-001",
"message": "useCustomCSS not set to true",
"type": "best-practice",
"recommendation": "Use the recommended CSS settings for flows developed by Ping to ensure consistency."
},
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-002",
"message": "companyLogo class not included in custom CSS",
"type": "best-practice",
"recommendation": "Use the recommended CSS settings for flows developed by Ping to ensure consistency."
},
{
"flowId": "b26646703ba9519ee71d327f8a462a6b",
"code": "dv-bp-logo-004",
"message": "companyName environment variable not found. (Flow Id - b26646703ba9519ee71d327f8a462a6b)",
"type": "best-practice",
"recommendation": "Use the companyName environment variable for Ping-developed flows to display the appropriate company name."
}
]
}
],
"rulesIgnored": []
}
],
"rulesIgnored": true
}
]
}