fun validateEvent()

in src/main/kotlin/com/intellij/internal/statistic/eventLog/validator/SensitiveDataValidator.kt [125:129]


    fun validateEvent(context: EventContext, groupRules: EventGroupRules?): ValidationResultType {
      return if (groupRules == null || !groupRules.areEventIdRulesDefined()) {
        ValidationResultType.UNDEFINED_RULE // there are no rules (eventId and eventData) to validate
      } else groupRules.validateEventId(context)
    }