Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHANGE(pmd-appexchange): @W-17060575@: Update pmd-appexchange rules to 0.16 #1658

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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