Skip to content

Commit

Permalink
CHANGE(pmd-appexchange): @W-17060575@: Update pmd-appexchange rules t…
Browse files Browse the repository at this point in the history
…o 0.16
  • Loading branch information
stephen-carter-at-sf committed Oct 24, 2024
1 parent 8213044 commit d43d0bb
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 1 deletion.
18 changes: 18 additions & 0 deletions pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md
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 pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md
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):**



18 changes: 18 additions & 0 deletions pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md
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 modified pmd-appexchange/lib/pmd-aura-html-sf-0.1.jar
Binary file not shown.
Binary file modified pmd-appexchange/lib/pmd-customrules-utils-0.1.jar
Binary file not shown.
Binary file modified pmd-appexchange/lib/sf_metadata_pmd_xml-0.1.jar
Binary file not shown.
Binary file not shown.
Binary file removed pmd-appexchange/lib/sfca-pmd-aurahtml-0.15.jar
Binary file not shown.
Binary file added pmd-appexchange/lib/sfca-pmd-aurahtml-0.16.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed pmd-appexchange/lib/sfca-pmd-xml-0.15.jar
Binary file not shown.
Binary file added pmd-appexchange/lib/sfca-pmd-xml-0.16.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path = require('path');
// Keep this in sync with <repoRoot>/pmd7/build.gradle.kts > pmd7Version
export const PMD7_VERSION = '7.6.0';

export const PMD_APPEXCHANGE_RULES_VERSION = '0.15';
export const PMD_APPEXCHANGE_RULES_VERSION = '0.16';

// Keep this in sync with <repoRoot>/sfge/build.gradle.kts > version
export const SFGE_VERSION = '1.0.1-pilot';
Expand Down

0 comments on commit d43d0bb

Please sign in to comment.