Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HybridAnalysis ¶
type HybridAnalysis struct {
// contains filtered or unexported fields
}
func New ¶
func New(apiKey string) *HybridAnalysis
func NewForTest ¶
func NewForTest(client *http.Client, baseURL string) *HybridAnalysis
func (*HybridAnalysis) GetReportByJobID ¶
func (h *HybridAnalysis) GetReportByJobID(jobID string) ([]byte, error)
report endpoint needs `default` permission. my API key has `restricted` permission which is insufficient.
func (*HybridAnalysis) GetReportBySHA256 ¶
func (h *HybridAnalysis) GetReportBySHA256(sha256 string, environmentID int) ([]byte, error)
func (*HybridAnalysis) SubmitFile ¶
func (h *HybridAnalysis) SubmitFile(fileName string, content []byte) ([]byte, error)
type Parser ¶
type Parser struct { }
func (*Parser) SubmitFile ¶
func (p *Parser) SubmitFile(jsonBytes []byte) (SubmitFileResponse, error)
Click to show internal directories.
Click to hide internal directories.