misp.py
def upload_stix(self, stix_data,
                    **kwargs):
        """
        Method to upload STIX as a event on MISP
        :param stix_data: Enter the STIX data onto MISP. Must be a bundle
        """
        endpoint = "events/upload_stix/2"
        response = self.handler(method="POST", endpoint=endpoint, data=stix_data)
        return response

        Method to upload STIX as a event on MISP
        :param stix_data: Enter the STIX data onto MISP. Must be a bundle
        
Method to upload STIX as a event on MISP
Method to upload STIX as a event on MISP
def upload_stix(self, stix_data,
                    **kwargs):
        endpoint = "events/upload_stix/2"
        response = self.handler(method="POST", endpoint=endpoint, data=stix_data)
        return response
def upload_stix ( self , stix_data , ** kwargs ) : endpoint = "events/upload_stix/2" response = self . handler ( method = "POST" , endpoint = endpoint , data = stix_data ) return response
Method to upload STIX as a event on MISP
Method to upload STIX as a event on MISP
"""
        Method to upload STIX as a event on MISP
        :param stix_data: Enter the STIX data onto MISP. Must be a bundle
        """
self
stix_data
Enter the STIX data onto MISP. Must be a bundle
Enter the STIX data onto MISP . Must be a bundle