-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1658 from forcedotcom/sc/W-17060575
CHANGE(pmd-appexchange): @W-17060575@: Update pmd-appexchange rules to 0.16
- Loading branch information
Showing
16 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
AvoidDisableProtocolSecurityInXML[](#avoiddisableprotocolsecurityinxml) | ||
------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
|
||
**Violation:** | ||
|
||
Protocol security setting is disabled | ||
|
||
|
||
**Priority:** Medium (3) | ||
|
||
**Description:** | ||
|
||
Detects if "Disable Protocol Security" setting is checked/true | ||
|
||
**Example(s):** | ||
|
||
|
||
|
18 changes: 18 additions & 0 deletions
18
pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
AvoidInsecureHttpRemoteSiteSettingInXML[](#avoidinsecurehttpremotesitesettinginxml) | ||
------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
|
||
**Violation:** | ||
|
||
Avoid using insecure http urls in Remote Site Settings. | ||
|
||
|
||
**Priority:** Medium (3) | ||
|
||
**Description:** | ||
|
||
Detects instances of a Remote Site Settings that use HTTP.Use HTTPS instead. | ||
|
||
**Example(s):** | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
AvoidLmcIsExposedTrueInXML[](#avoidlmcisexposedtrueinxml) | ||
------------------------------------------------------------------------------------------------------------------------------------------------------ | ||
|
||
**Violation:** | ||
|
||
Detected Lightning Message Channel with isExposed set to true. | ||
|
||
|
||
**Priority:** High (2) | ||
|
||
**Description:** | ||
|
||
Detects a Lightning Message Channel with isExposed=true,which isn’t allowed in managed packages. | ||
|
||
**Example(s):** | ||
|
||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+36.8 KB
pmd-appexchange/lib/sfca-pmd-apex-0.15.jar → pmd-appexchange/lib/sfca-pmd-apex-0.16.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.87 KB
pmd-appexchange/lib/sfca-pmd-html-0.15.jar → pmd-appexchange/lib/sfca-pmd-html-0.16.jar
Binary file not shown.
Binary file renamed
BIN
+1.9 KB
...exchange/lib/sfca-pmd-javascript-0.15.jar → ...exchange/lib/sfca-pmd-javascript-0.16.jar
Binary file not shown.
Binary file renamed
BIN
+3.66 KB
...exchange/lib/sfca-pmd-sfmetadata-0.15.jar → ...exchange/lib/sfca-pmd-sfmetadata-0.16.jar
Binary file not shown.
Binary file renamed
BIN
+17.7 KB
...xchange/lib/sfca-pmd-visualforce-0.15.jar → ...xchange/lib/sfca-pmd-visualforce-0.16.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters