snyk 1.777.0 → 1.778.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1740,7 +1740,9 @@ function formatScanResult(scanResult, meta, options) {
1740
1740
  },
1741
1741
  severity: policy.severity,
1742
1742
  lineNumber,
1743
- documentation: `https://snyk.io/security-rules/${policy.publicId}`,
1743
+ documentation: !isGeneratedByCustomRule
1744
+ ? `https://snyk.io/security-rules/${policy.publicId}`
1745
+ : undefined,
1744
1746
  isGeneratedByCustomRule,
1745
1747
  };
1746
1748
  });