import gzip
import json

from CommonServerPython import *
# IMPORTS
import urllib3
import csv
import requests
import traceback
import urllib.parse
from typing import Tuple, Optional, List, Dict

# Disable insecure warnings
urllib3.disable_warnings()
BATCH_SIZE = 2000
INTEGRATION_NAME = 'Recorded Future'

# taken from recorded future docs
RF_CRITICALITY_LABELS = {
    'Very_Malicious': 90,
    'Malicious': 65,
    'Suspicious': 25,
    'Unusual': 5