-
-
Save meirwah/55d07d180c6d552202c5d057dfc783f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (c *Client) GetThreatIndicators(resourceType, text, startTime, endTime string, | |
limit int, extraParams map[string]string) (*ThreatDescriptorResults, string, | |
error) { | |
var result = &ThreatDescriptorResults{} | |
resultAsJSON, err := c.query(apiVersion, "threat_descriptors", startTime, endTime, | |
resourceType, text, limit, extraParams, result) | |
if err != nil { | |
return nil, "", err | |
} | |
return result, resultAsJSON, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment