Skip to content

Commit

Permalink
Updating description of the finding
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeygorbaty authored and jsotuyod committed Dec 1, 2016
1 parent 7f63914 commit d3edce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions pmd-apex/src/main/resources/rulesets/apex/ruleset.xml
Expand Up @@ -253,10 +253,8 @@
<property name="cc_block_highlighting" value="false" />
</properties>
</rule>

<rule ref="rulesets/apex/security.xml/ApexCRUDViolation" message="Validate CRUD permission before DML operation">
<rule ref="rulesets/apex/security.xml/ApexCRUDViolation" message="Validate CRUD permission before SOQL/DML operation">
<priority>3</priority>

<properties>
<!-- relevant for Code Climate output only -->
<property name="cc_categories" value="Security"/>
Expand Down
4 changes: 2 additions & 2 deletions pmd-apex/src/main/resources/rulesets/apex/security.xml
Expand Up @@ -165,11 +165,11 @@ public class Foo {
</rule>

<rule name="ApexCRUDViolation" since="5.5.3"
message="Validate CRUD permission before DML operation"
message="Validate CRUD permission before SOQL/DML operation"
class="net.sourceforge.pmd.lang.apex.rule.security.ApexCRUDViolationRule"
externalInfoUrl="${pmd.website.baseurl}/rules/apex/security.html#ApexCRUDViolationRule">
<description>
Validate CRUD permission before DML operation
Validate CRUD permission before SOQL/SOSL/DML operation
</description>
<priority>3</priority>
<example>
Expand Down

0 comments on commit d3edce7

Please sign in to comment.