Skip to content

Update PMD rules to leverage native Security features (e.g. USER MODE) #1026

@rsoesemann

Description

@rsoesemann

Hey dear team of the Security Scanner,

I know you are busy improving the Security Scanner which gets better every months. But one of your yore engines which is successful for the high adoption of your scanner needs you. PMD. As described in this ticket pmd/pmd#4368 PMD doesn't understand a few of the new native Security features announced lately on TDX23.

I am talking about such thing finally being usable and GA:

  • User Mode in DML and SOQL/SOSL
  • WITH SECURITY ENFORCE not recommended anymore by Daniel Balinger and Chris Peterson on TDX23
  • Inherited Sharing (yes this is an older one)

Such a change in existing PMD rules is a bigger effort that I currently don't want to do on my own and finding volunteers is hard. Normally companies that are making use of PMD are good candidates. In the past I could win Gearset, Copado etc.

As Security is in Salesforce best interest I this time thought of you @johnbelosf @rmohan20

Metadata

Metadata

Assignees

No one assigned

    Labels

    USER STORYNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions