# CodeScan Rule List

The CodeScan rule list is always expanding. You can view the complete current list in the latest file below.

Our [Release Notes](https://knowledgebase.autorabit.com/~/revisions/cT0ZuVgeUzTQt27sMR9n/release-notes/release-notes/codescan-release-notes) also have a record of when certain rules were added.

You can download the list of CodeScan rules from here:&#x20;

{% file src="<https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FHccRhp7zt7mbdtnPnBOi%2FCodeScan%20Rules%20List%2025.1.9.xlsx?alt=media&token=0fce5cc4-be30-47d0-8225-93332415dd42>" %}

### Rules Not Available for On-Premises Applications

Please note that not all rules available on CodeScan Cloud are available in the Self-Hosted CodeScan version. For example, the following rules will not function on CodeScan Self-Hosted:

* Limit number of Custom Profiles with Modify All Data Permission (sfmeta:CustomProfilesPermission)
* Limit number of Page Layouts per object (sfmeta:ExcessivePageLayout)
* Limit number of Custom Fields per object (sfmeta:LimitCustomFields)
* Limit number of System Administrators(sfmeta:CheckSystemAdministrator)

These rules require a direct connection to the Salesforce environment to execute queries.

For a complete list of rules limited to CodeScan Cloud, see the file below:

{% file src="<https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FQCaaBmh4e473RS2q2P5N%2FCodeScan_Cloud_Only_Rules_24_0_4.xlsx?alt=media&token=e9c22dd7-d996-4a0a-94a0-de169f49af94>" %}

{% hint style="warning" %}
**Note:** These rules do not apply to the plugin for on-prem as they will not function.
{% endhint %}
