             [clj-time.format :as f]
             [clj-http.client :as http]))
 
-(defn feed-judgements
+(defn transform
   "Extract Judgement objects from a list of TG feed entries"
-  [feed-entries observable-type observable-field & {:keys [confidence source
+  [feed-entries observable-type observable-field source & {:keys [confidence
                                                            priority
                                                            severity
                                                            days-valid

                                                    :or {confidence "High"
                                                         priority 90
                                                         severity 100
                                                         source "threatgrid-feed"
                                                         days-valid 30
                                                         disposition 2}}]
  (map

        }))
   feed-entries))

(defn feed->judgements
  [{:keys [entries title]
    {observable-type :type
     observable-field :field
     :as observable} :observable :as feed}]
  (transform entries
             observable-type
             observable-field
             (str "Threat Grid " title " feed")))
