toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ThreatIntelIndicatorCategory.backdoor:
      return 'BACKDOOR';
    case ThreatIntelIndicatorCategory.cardStealer:
      return 'CARD_STEALER';
    case ThreatIntelIndicatorCategory.commandAndControl:
      return 'COMMAND_AND_CONTROL';
    case ThreatIntelIndicatorCategory.dropSite:
      return 'DROP_SITE';
    case ThreatIntelIndicatorCategory.exploitSite:
      return 'EXPLOIT_SITE';
    case ThreatIntelIndicatorCategory.keylogger:
      return 'KEYLOGGER';
  }
}