diff --git a/pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md b/pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md new file mode 100644 index 000000000..0047df6a6 --- /dev/null +++ b/pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md @@ -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):** + + + diff --git a/pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md b/pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md new file mode 100644 index 000000000..2bb991552 --- /dev/null +++ b/pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md @@ -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):** + + + diff --git a/pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md b/pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md new file mode 100644 index 000000000..7ee0ea63f --- /dev/null +++ b/pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md @@ -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):** + + + diff --git a/pmd-appexchange/lib/pmd-aura-html-sf-0.1.jar b/pmd-appexchange/lib/pmd-aura-html-sf-0.1.jar index 8ff2d0dd5..31614006a 100644 Binary files a/pmd-appexchange/lib/pmd-aura-html-sf-0.1.jar and b/pmd-appexchange/lib/pmd-aura-html-sf-0.1.jar differ diff --git a/pmd-appexchange/lib/pmd-customrules-utils-0.1.jar b/pmd-appexchange/lib/pmd-customrules-utils-0.1.jar index 1f231eaa9..c2fefa84d 100644 Binary files a/pmd-appexchange/lib/pmd-customrules-utils-0.1.jar and b/pmd-appexchange/lib/pmd-customrules-utils-0.1.jar differ diff --git a/pmd-appexchange/lib/sf_metadata_pmd_xml-0.1.jar b/pmd-appexchange/lib/sf_metadata_pmd_xml-0.1.jar index d97f07d02..bcd6c1611 100644 Binary files a/pmd-appexchange/lib/sf_metadata_pmd_xml-0.1.jar and b/pmd-appexchange/lib/sf_metadata_pmd_xml-0.1.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-apex-0.15.jar b/pmd-appexchange/lib/sfca-pmd-apex-0.16.jar similarity index 91% rename from pmd-appexchange/lib/sfca-pmd-apex-0.15.jar rename to pmd-appexchange/lib/sfca-pmd-apex-0.16.jar index f39ceea9e..c4e12043c 100644 Binary files a/pmd-appexchange/lib/sfca-pmd-apex-0.15.jar and b/pmd-appexchange/lib/sfca-pmd-apex-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-aurahtml-0.15.jar b/pmd-appexchange/lib/sfca-pmd-aurahtml-0.15.jar deleted file mode 100644 index 5b98c54d3..000000000 Binary files a/pmd-appexchange/lib/sfca-pmd-aurahtml-0.15.jar and /dev/null differ diff --git a/pmd-appexchange/lib/sfca-pmd-aurahtml-0.16.jar b/pmd-appexchange/lib/sfca-pmd-aurahtml-0.16.jar new file mode 100644 index 000000000..cceba8ea4 Binary files /dev/null and b/pmd-appexchange/lib/sfca-pmd-aurahtml-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-html-0.15.jar b/pmd-appexchange/lib/sfca-pmd-html-0.16.jar similarity index 53% rename from pmd-appexchange/lib/sfca-pmd-html-0.15.jar rename to pmd-appexchange/lib/sfca-pmd-html-0.16.jar index cde912f22..a1d0c56b6 100644 Binary files a/pmd-appexchange/lib/sfca-pmd-html-0.15.jar and b/pmd-appexchange/lib/sfca-pmd-html-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-javascript-0.15.jar b/pmd-appexchange/lib/sfca-pmd-javascript-0.16.jar similarity index 53% rename from pmd-appexchange/lib/sfca-pmd-javascript-0.15.jar rename to pmd-appexchange/lib/sfca-pmd-javascript-0.16.jar index 5f0f0894a..95f202c57 100644 Binary files a/pmd-appexchange/lib/sfca-pmd-javascript-0.15.jar and b/pmd-appexchange/lib/sfca-pmd-javascript-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-sfmetadata-0.15.jar b/pmd-appexchange/lib/sfca-pmd-sfmetadata-0.16.jar similarity index 63% rename from pmd-appexchange/lib/sfca-pmd-sfmetadata-0.15.jar rename to pmd-appexchange/lib/sfca-pmd-sfmetadata-0.16.jar index 33fa00bc7..64ecf7a75 100644 Binary files a/pmd-appexchange/lib/sfca-pmd-sfmetadata-0.15.jar and b/pmd-appexchange/lib/sfca-pmd-sfmetadata-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-visualforce-0.15.jar b/pmd-appexchange/lib/sfca-pmd-visualforce-0.16.jar similarity index 87% rename from pmd-appexchange/lib/sfca-pmd-visualforce-0.15.jar rename to pmd-appexchange/lib/sfca-pmd-visualforce-0.16.jar index bb8a71d9d..7ef13ea45 100644 Binary files a/pmd-appexchange/lib/sfca-pmd-visualforce-0.15.jar and b/pmd-appexchange/lib/sfca-pmd-visualforce-0.16.jar differ diff --git a/pmd-appexchange/lib/sfca-pmd-xml-0.15.jar b/pmd-appexchange/lib/sfca-pmd-xml-0.15.jar deleted file mode 100644 index 2d8e5e394..000000000 Binary files a/pmd-appexchange/lib/sfca-pmd-xml-0.15.jar and /dev/null differ diff --git a/pmd-appexchange/lib/sfca-pmd-xml-0.16.jar b/pmd-appexchange/lib/sfca-pmd-xml-0.16.jar new file mode 100644 index 000000000..1f3575869 Binary files /dev/null and b/pmd-appexchange/lib/sfca-pmd-xml-0.16.jar differ diff --git a/src/Constants.ts b/src/Constants.ts index 0a6447b5f..e278add56 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -4,7 +4,7 @@ import path = require('path'); // Keep this in sync with /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 /sfge/build.gradle.kts > version export const SFGE_VERSION = '1.0.1-pilot';