# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Returns a risk list of URLs matching a filtration"


class Input:
    LIST = "list"
    

class Output:
    RISK_LIST = "risk_list"
    

class DownloadUrlRiskListInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "list": {
      "type": "string",
      "title": "List",
      "description": "The risk list to retrieve, left this field blank to retrieve default risk list",
      "enum": [
        "Historically Reported by Insikt Group",
        "Compromised URL",
        "Historically Reported as a Defanged URL",
        "Historically Reported by DHS AIS",
        "Historically Reported Fraudulent Content",
        "Historically Reported in Threat List",
        "Large",
        "Historically Detected Malicious Browser Exploits",
        "Historically Detected Malware Distribution",
        "Historically Detected Cryptocurrency Mining Techniques",
        "Historically Detected Phishing Techniques",
        "Active Phishing URL",
        "Positive Malware Verdict",
        "Ransomware Distribution URL",
        "Recently Reported by Insikt Group",
        "Recently Reported as a Defanged URL",
        "Recently Reported by DHS AIS",
        "Recently Reported Fraudulent Content",
        "Recently Detected Malicious Browser Exploits",
        "Recently Detected Malware Distribution",
        "Recently Detected Cryptocurrency Mining Techniques",
        "Recently Detected Phishing Techniques",
        "Recently Referenced by Insikt Group",
        "Recently Reported Spam or Unwanted Content",
        "Recently Detected Suspicious Content",
        "Recently Active URL on Weaponized Domain",
        "Historically Referenced by Insikt Group",
        "Historically Reported Spam or Unwanted Content",
        "Historically Detected Suspicious Content"
      ],
      "order": 1
    }
  }
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)


class DownloadUrlRiskListOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "risk_list": {
      "type": "object",
      "title": "Risk List",
      "description": "Risk list of matching URLs",
      "order": 1
    }
  },
  "required": [
    "risk_list"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)
