IJ-CR-155115 IJPL-172387 add comment to custom validation rule

(cherry picked from commit 61c0b68912399130b04eda901b7af6587efb71f0)

GitOrigin-RevId: 549a177d592376098cf981cf19214bd7e824822d
This commit is contained in:
Vera Petrenkova
2025-01-08 10:50:46 +01:00
committed by intellij-monorepo-bot
parent ba81dfd08f
commit 21d689f17c

View File

@@ -47,6 +47,10 @@ internal object DialogsCounterUsagesCollector : CounterUsagesCollector() {
override fun getGroup(): EventLogGroup = GROUP
}
/**This ensures that invocation places are collected only from internal plugins
and plugins from the marketplace that are safe to report.
This is done to prevent the collection of any potentially personal or sensitive information,
as only explicitly-defined and safe invocation places are considered.*/
internal class ListValidationRule : CustomValidationRule() {
override fun getRuleId(): String = "dialog_invocation_place"
override fun doValidate(data: String, context: EventContext): ValidationResultType {