Add an indicator to CRITs

        Args:
            value: The indicator itself
            itype: The overall indicator type. See your CRITs vocabulary
            source: Source of the information
            reference: A reference where more information can be found
            method: The method for adding this indicator
            campaign: If the indicator has a campaign, add it here
            confidence: The confidence this indicator belongs to the given
                        campaign
            bucket_list: Bucket list items for this indicator
            ticket: A ticket associated with this indicator
            add_domain: If the indicator is a domain, it will automatically
                        add a domain TLO object.
            add_relationship: If add_domain is True, this will create a
                        relationship between the indicator and domain TLOs
            indicator_confidence: The confidence of the indicator
            indicator_impact: The impact of the indicator
            threat_type: The threat type of the indicator
            attack_type: the attack type of the indicator
            description: A description of this indicator
        Returns:
            JSON object for the indicator or None if it failed.

def add_indicator(self,
                      value,
                      itype,
                      source='',
                      reference='',
                      method='',
                      campaign=None,
                      confidence=None,
                      bucket_list=[],
                      ticket='',
                      add_domain=True,
                      add_relationship=True,
                      indicator_confidence='unknown',
                      indicator_impact='unknown',
                      threat_type=itt.UNKNOWN,
                      attack_type=iat.UNKNOWN,
                      description=''):
        """
        Add an indicator to CRITs

        Args:
            value: The indicator itself
            itype: The overall indicator type. See your CRITs vocabulary
            source: Source of the information
            reference: A reference where more information can be found
            method: The method for adding this indicator
            campaign: If the indicator has a campaign, add it here
            confidence: The confidence this indicator belongs to the given
                        campaign
            bucket_list: Bucket list items for this indicator
            ticket: A ticket associated with this indicator
            add_domain: If the indicator is a domain, it will automatically
                        add a domain TLO object.
            add_relationship: If add_domain is True, this will create a
                        relationship between the indicator and domain TLOs
            indicator_confidence: The confidence of the indicator
            indicator_impact: The impact of the indicator
            threat_type: The threat type of the indicator
            attack_type: the attack type of the indicator
            description: A description of this indicator
        Returns:
            JSON object for the indicator or None if it failed.
        """
        # Time to upload these indicators
        data = {
            'api_key': self.api_key,
            'username': self.username,
            'source': source,
            'reference': reference,
            'method': '',
            'campaign': campaign,
            'confidence': confidence,
            'bucket_list': ','.join(bucket_list),
            'ticket': ticket,
            'add_domain': True,
            'add_relationship': True,
            'indicator_confidence': indicator_confidence,
            'indicator_impact': indicator_impact,
            'type': itype,
            'threat_type': threat_type,
            'attack_type': attack_type,
            'value': value,
            'description': description,
            }

        r = requests.post("{0}/indicators/".format(self.url), data=data,
                          verify=self.verify, proxies=self.proxies)
        if r.status_code == 200:
            log.debug("Indicator uploaded successfully - {}".format(value))
            ind = json.loads(r.text)
            return ind

        return None