Skip to content

Custom Rule Messages(Url Patch)

Choose a tag to compare

@RubenHalman RubenHalman released this 04 Jan 17:18
· 2282 commits to main since this release

Release Notes –Custom Rule Messages

You can now provide a custom message for any rule. This message overrides the default rule description in scan results, making violations clearer and easier for your team to understand.

Action tag: action-v3.2.1
CLI tag: v6.15.1
Core tag: core-v6.15.1
VSX Version: v3.0.1

Custom Rule Messages Feature

When specified, the custom message and url replaces the default rule description and documentation reference in scan results.

Example configuration:

{
  "rules": {
    "dml-in-loop": {
      "message": "Avoid DML inside loops. Bulkify operations instead.",
      "messageUrl": "https://internal.docs.company.com/salesforce/flow-dml-best-practices"
    }
  }
}

Improved default severities

We’ve also updated the default severity levels and descriptions for several rules to better reflect their impact and help prioritize:

  • ActionCallsInLoop → now Warning (was Error)
  • ProcessBuilder → now Error (was Warning)
  • MissingMetadataDescription → now Warning (was Error)
  • RecordIdAsString → now Warning (was Error)