Skip to content

Commit 48fcd94

Browse files
Merge pull request #1658 from forcedotcom/sc/W-17060575
CHANGE(pmd-appexchange): @W-17060575@: Update pmd-appexchange rules to 0.16
2 parents 8213044 + d43d0bb commit 48fcd94

16 files changed

+55
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
AvoidDisableProtocolSecurityInXML[](#avoiddisableprotocolsecurityinxml)
2+
------------------------------------------------------------------------------------------------------------------------------------------------------
3+
4+
**Violation:**
5+
6+
Protocol security setting is disabled
7+
8+
9+
**Priority:** Medium (3)
10+
11+
**Description:**
12+
13+
Detects if "Disable Protocol Security" setting is checked/true
14+
15+
**Example(s):**
16+
17+
18+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
AvoidInsecureHttpRemoteSiteSettingInXML[](#avoidinsecurehttpremotesitesettinginxml)
2+
------------------------------------------------------------------------------------------------------------------------------------------------------
3+
4+
**Violation:**
5+
6+
Avoid using insecure http urls in Remote Site Settings.
7+
8+
9+
**Priority:** Medium (3)
10+
11+
**Description:**
12+
13+
Detects instances of a Remote Site Settings that use HTTP.Use HTTPS instead.
14+
15+
**Example(s):**
16+
17+
18+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
AvoidLmcIsExposedTrueInXML[](#avoidlmcisexposedtrueinxml)
2+
------------------------------------------------------------------------------------------------------------------------------------------------------
3+
4+
**Violation:**
5+
6+
Detected Lightning Message Channel with isExposed set to true.
7+
8+
9+
**Priority:** High (2)
10+
11+
**Description:**
12+
13+
Detects a Lightning Message Channel with isExposed=true,which isn’t allowed in managed packages.
14+
15+
**Example(s):**
16+
17+
18+
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
36.8 KB
Binary file not shown.
-6.11 KB
Binary file not shown.
6.15 KB
Binary file not shown.
1.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)