I get a lot of CRUD/FLS security risks on the checkmarx scanner results while scanning our managed package. Does one need CRUD/FLS checks on public custom settings or can they be considered as false positives?
1 Answer
We can not set FLS on public custom settings. Considering that it appears false positive because if we can not set FLS then what is use of checking the FLS. With this background in mind you have 2 options:
Prepare false positive documentation
Convert this public custom settings in private and provide custom interface(using VF & apex) to manipulate this custom setting.
-
-
If this answer your question then please acpet this as answer by clicking the green check box. It will help community members who face same issue. stackoverflow.com/help/accepted-answer May 5, 2017 at 12:00