Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteReport(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportAccepted, error)
- func (a *Client) DeleteSampleV2(params *DeleteSampleV2Params, opts ...ClientOption) (*DeleteSampleV2OK, error)
- func (a *Client) GetArtifacts(params *GetArtifactsParams, opts ...ClientOption) error
- func (a *Client) GetReports(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)
- func (a *Client) GetSampleV2(params *GetSampleV2Params, opts ...ClientOption) (*GetSampleV2OK, error)
- func (a *Client) GetSubmissions(params *GetSubmissionsParams, opts ...ClientOption) (*GetSubmissionsOK, error)
- func (a *Client) GetSummaryReports(params *GetSummaryReportsParams, opts ...ClientOption) (*GetSummaryReportsOK, error)
- func (a *Client) QueryReports(params *QueryReportsParams, opts ...ClientOption) (*QueryReportsOK, error)
- func (a *Client) QuerySampleV1(params *QuerySampleV1Params, opts ...ClientOption) (*QuerySampleV1OK, error)
- func (a *Client) QuerySubmissions(params *QuerySubmissionsParams, opts ...ClientOption) (*QuerySubmissionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Submit(params *SubmitParams, opts ...ClientOption) (*SubmitOK, error)
- func (a *Client) UploadSampleV2(params *UploadSampleV2Params, opts ...ClientOption) (*UploadSampleV2OK, error)
- type ClientOption
- type ClientService
- type DeleteReportAccepted
- type DeleteReportBadRequest
- type DeleteReportForbidden
- type DeleteReportInternalServerError
- type DeleteReportNotFound
- type DeleteReportParams
- func (o *DeleteReportParams) SetContext(ctx context.Context)
- func (o *DeleteReportParams) SetDefaults()
- func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReportParams) SetIds(ids string)
- func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
- func (o *DeleteReportParams) WithDefaults() *DeleteReportParams
- func (o *DeleteReportParams) WithHTTPClient(client *http.Client) *DeleteReportParams
- func (o *DeleteReportParams) WithIds(ids string) *DeleteReportParams
- func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams
- func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReportReader
- type DeleteReportTooManyRequests
- type DeleteSampleV2BadRequest
- type DeleteSampleV2Default
- type DeleteSampleV2Forbidden
- type DeleteSampleV2InternalServerError
- type DeleteSampleV2NotFound
- type DeleteSampleV2OK
- type DeleteSampleV2Params
- func NewDeleteSampleV2Params() *DeleteSampleV2Params
- func NewDeleteSampleV2ParamsWithContext(ctx context.Context) *DeleteSampleV2Params
- func NewDeleteSampleV2ParamsWithHTTPClient(client *http.Client) *DeleteSampleV2Params
- func NewDeleteSampleV2ParamsWithTimeout(timeout time.Duration) *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) SetContext(ctx context.Context)
- func (o *DeleteSampleV2Params) SetDefaults()
- func (o *DeleteSampleV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteSampleV2Params) SetIds(ids string)
- func (o *DeleteSampleV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteSampleV2Params) WithContext(ctx context.Context) *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) WithDefaults() *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) WithHTTPClient(client *http.Client) *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) WithIds(ids string) *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) WithTimeout(timeout time.Duration) *DeleteSampleV2Params
- func (o *DeleteSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSampleV2Reader
- type DeleteSampleV2TooManyRequests
- type GetArtifactsBadRequest
- type GetArtifactsForbidden
- type GetArtifactsInternalServerError
- type GetArtifactsNotFound
- type GetArtifactsParams
- func (o *GetArtifactsParams) SetAcceptEncoding(acceptEncoding *string)
- func (o *GetArtifactsParams) SetContext(ctx context.Context)
- func (o *GetArtifactsParams) SetDefaults()
- func (o *GetArtifactsParams) SetHTTPClient(client *http.Client)
- func (o *GetArtifactsParams) SetID(id string)
- func (o *GetArtifactsParams) SetName(name *string)
- func (o *GetArtifactsParams) SetTimeout(timeout time.Duration)
- func (o *GetArtifactsParams) WithAcceptEncoding(acceptEncoding *string) *GetArtifactsParams
- func (o *GetArtifactsParams) WithContext(ctx context.Context) *GetArtifactsParams
- func (o *GetArtifactsParams) WithDefaults() *GetArtifactsParams
- func (o *GetArtifactsParams) WithHTTPClient(client *http.Client) *GetArtifactsParams
- func (o *GetArtifactsParams) WithID(id string) *GetArtifactsParams
- func (o *GetArtifactsParams) WithName(name *string) *GetArtifactsParams
- func (o *GetArtifactsParams) WithTimeout(timeout time.Duration) *GetArtifactsParams
- func (o *GetArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetArtifactsReader
- type GetArtifactsTooManyRequests
- type GetReportsBadRequest
- type GetReportsDefault
- type GetReportsForbidden
- type GetReportsInternalServerError
- type GetReportsOK
- type GetReportsParams
- func (o *GetReportsParams) SetContext(ctx context.Context)
- func (o *GetReportsParams) SetDefaults()
- func (o *GetReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportsParams) SetIds(ids []string)
- func (o *GetReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
- func (o *GetReportsParams) WithDefaults() *GetReportsParams
- func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
- func (o *GetReportsParams) WithIds(ids []string) *GetReportsParams
- func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
- func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportsReader
- type GetReportsTooManyRequests
- type GetSampleV2BadRequest
- type GetSampleV2Default
- type GetSampleV2Forbidden
- type GetSampleV2InternalServerError
- type GetSampleV2NotFound
- type GetSampleV2OK
- type GetSampleV2Params
- func (o *GetSampleV2Params) SetContext(ctx context.Context)
- func (o *GetSampleV2Params) SetDefaults()
- func (o *GetSampleV2Params) SetHTTPClient(client *http.Client)
- func (o *GetSampleV2Params) SetIds(ids string)
- func (o *GetSampleV2Params) SetPasswordProtected(passwordProtected *bool)
- func (o *GetSampleV2Params) SetTimeout(timeout time.Duration)
- func (o *GetSampleV2Params) WithContext(ctx context.Context) *GetSampleV2Params
- func (o *GetSampleV2Params) WithDefaults() *GetSampleV2Params
- func (o *GetSampleV2Params) WithHTTPClient(client *http.Client) *GetSampleV2Params
- func (o *GetSampleV2Params) WithIds(ids string) *GetSampleV2Params
- func (o *GetSampleV2Params) WithPasswordProtected(passwordProtected *bool) *GetSampleV2Params
- func (o *GetSampleV2Params) WithTimeout(timeout time.Duration) *GetSampleV2Params
- func (o *GetSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSampleV2Reader
- type GetSampleV2TooManyRequests
- type GetSubmissionsBadRequest
- type GetSubmissionsDefault
- type GetSubmissionsForbidden
- type GetSubmissionsInternalServerError
- type GetSubmissionsOK
- type GetSubmissionsParams
- func NewGetSubmissionsParams() *GetSubmissionsParams
- func NewGetSubmissionsParamsWithContext(ctx context.Context) *GetSubmissionsParams
- func NewGetSubmissionsParamsWithHTTPClient(client *http.Client) *GetSubmissionsParams
- func NewGetSubmissionsParamsWithTimeout(timeout time.Duration) *GetSubmissionsParams
- func (o *GetSubmissionsParams) SetContext(ctx context.Context)
- func (o *GetSubmissionsParams) SetDefaults()
- func (o *GetSubmissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubmissionsParams) SetIds(ids []string)
- func (o *GetSubmissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubmissionsParams) WithContext(ctx context.Context) *GetSubmissionsParams
- func (o *GetSubmissionsParams) WithDefaults() *GetSubmissionsParams
- func (o *GetSubmissionsParams) WithHTTPClient(client *http.Client) *GetSubmissionsParams
- func (o *GetSubmissionsParams) WithIds(ids []string) *GetSubmissionsParams
- func (o *GetSubmissionsParams) WithTimeout(timeout time.Duration) *GetSubmissionsParams
- func (o *GetSubmissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubmissionsReader
- type GetSubmissionsTooManyRequests
- type GetSummaryReportsBadRequest
- type GetSummaryReportsDefault
- type GetSummaryReportsForbidden
- type GetSummaryReportsInternalServerError
- type GetSummaryReportsOK
- type GetSummaryReportsParams
- func NewGetSummaryReportsParams() *GetSummaryReportsParams
- func NewGetSummaryReportsParamsWithContext(ctx context.Context) *GetSummaryReportsParams
- func NewGetSummaryReportsParamsWithHTTPClient(client *http.Client) *GetSummaryReportsParams
- func NewGetSummaryReportsParamsWithTimeout(timeout time.Duration) *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) SetContext(ctx context.Context)
- func (o *GetSummaryReportsParams) SetDefaults()
- func (o *GetSummaryReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetSummaryReportsParams) SetIds(ids []string)
- func (o *GetSummaryReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetSummaryReportsParams) WithContext(ctx context.Context) *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) WithDefaults() *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) WithHTTPClient(client *http.Client) *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) WithIds(ids []string) *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) WithTimeout(timeout time.Duration) *GetSummaryReportsParams
- func (o *GetSummaryReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSummaryReportsReader
- type GetSummaryReportsTooManyRequests
- type QueryReportsBadRequest
- type QueryReportsDefault
- type QueryReportsForbidden
- type QueryReportsInternalServerError
- type QueryReportsOK
- type QueryReportsParams
- func (o *QueryReportsParams) SetContext(ctx context.Context)
- func (o *QueryReportsParams) SetDefaults()
- func (o *QueryReportsParams) SetFilter(filter *string)
- func (o *QueryReportsParams) SetHTTPClient(client *http.Client)
- func (o *QueryReportsParams) SetLimit(limit *int64)
- func (o *QueryReportsParams) SetOffset(offset *string)
- func (o *QueryReportsParams) SetSort(sort *string)
- func (o *QueryReportsParams) SetTimeout(timeout time.Duration)
- func (o *QueryReportsParams) WithContext(ctx context.Context) *QueryReportsParams
- func (o *QueryReportsParams) WithDefaults() *QueryReportsParams
- func (o *QueryReportsParams) WithFilter(filter *string) *QueryReportsParams
- func (o *QueryReportsParams) WithHTTPClient(client *http.Client) *QueryReportsParams
- func (o *QueryReportsParams) WithLimit(limit *int64) *QueryReportsParams
- func (o *QueryReportsParams) WithOffset(offset *string) *QueryReportsParams
- func (o *QueryReportsParams) WithSort(sort *string) *QueryReportsParams
- func (o *QueryReportsParams) WithTimeout(timeout time.Duration) *QueryReportsParams
- func (o *QueryReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryReportsReader
- type QueryReportsTooManyRequests
- type QuerySampleV1BadRequest
- type QuerySampleV1Default
- type QuerySampleV1Forbidden
- type QuerySampleV1InternalServerError
- type QuerySampleV1OK
- type QuerySampleV1Params
- func (o *QuerySampleV1Params) SetBody(body *models.ClientQuerySamplesRequest)
- func (o *QuerySampleV1Params) SetContext(ctx context.Context)
- func (o *QuerySampleV1Params) SetDefaults()
- func (o *QuerySampleV1Params) SetHTTPClient(client *http.Client)
- func (o *QuerySampleV1Params) SetTimeout(timeout time.Duration)
- func (o *QuerySampleV1Params) WithBody(body *models.ClientQuerySamplesRequest) *QuerySampleV1Params
- func (o *QuerySampleV1Params) WithContext(ctx context.Context) *QuerySampleV1Params
- func (o *QuerySampleV1Params) WithDefaults() *QuerySampleV1Params
- func (o *QuerySampleV1Params) WithHTTPClient(client *http.Client) *QuerySampleV1Params
- func (o *QuerySampleV1Params) WithTimeout(timeout time.Duration) *QuerySampleV1Params
- func (o *QuerySampleV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySampleV1Reader
- type QuerySampleV1TooManyRequests
- type QuerySubmissionsBadRequest
- type QuerySubmissionsDefault
- type QuerySubmissionsForbidden
- type QuerySubmissionsInternalServerError
- type QuerySubmissionsOK
- type QuerySubmissionsParams
- func NewQuerySubmissionsParams() *QuerySubmissionsParams
- func NewQuerySubmissionsParamsWithContext(ctx context.Context) *QuerySubmissionsParams
- func NewQuerySubmissionsParamsWithHTTPClient(client *http.Client) *QuerySubmissionsParams
- func NewQuerySubmissionsParamsWithTimeout(timeout time.Duration) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) SetContext(ctx context.Context)
- func (o *QuerySubmissionsParams) SetDefaults()
- func (o *QuerySubmissionsParams) SetFilter(filter *string)
- func (o *QuerySubmissionsParams) SetHTTPClient(client *http.Client)
- func (o *QuerySubmissionsParams) SetLimit(limit *int64)
- func (o *QuerySubmissionsParams) SetOffset(offset *string)
- func (o *QuerySubmissionsParams) SetSort(sort *string)
- func (o *QuerySubmissionsParams) SetTimeout(timeout time.Duration)
- func (o *QuerySubmissionsParams) WithContext(ctx context.Context) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithDefaults() *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithFilter(filter *string) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithHTTPClient(client *http.Client) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithLimit(limit *int64) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithOffset(offset *string) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithSort(sort *string) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WithTimeout(timeout time.Duration) *QuerySubmissionsParams
- func (o *QuerySubmissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySubmissionsReader
- type QuerySubmissionsTooManyRequests
- type SubmitBadRequest
- type SubmitDefault
- type SubmitForbidden
- type SubmitInternalServerError
- type SubmitOK
- type SubmitParams
- func (o *SubmitParams) SetBody(body *models.FalconxSubmissionParametersV1)
- func (o *SubmitParams) SetContext(ctx context.Context)
- func (o *SubmitParams) SetDefaults()
- func (o *SubmitParams) SetHTTPClient(client *http.Client)
- func (o *SubmitParams) SetTimeout(timeout time.Duration)
- func (o *SubmitParams) WithBody(body *models.FalconxSubmissionParametersV1) *SubmitParams
- func (o *SubmitParams) WithContext(ctx context.Context) *SubmitParams
- func (o *SubmitParams) WithDefaults() *SubmitParams
- func (o *SubmitParams) WithHTTPClient(client *http.Client) *SubmitParams
- func (o *SubmitParams) WithTimeout(timeout time.Duration) *SubmitParams
- func (o *SubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitReader
- type SubmitTooManyRequests
- type UploadSampleV2BadRequest
- type UploadSampleV2Default
- type UploadSampleV2Forbidden
- type UploadSampleV2InternalServerError
- type UploadSampleV2OK
- type UploadSampleV2Params
- func NewUploadSampleV2Params() *UploadSampleV2Params
- func NewUploadSampleV2ParamsWithContext(ctx context.Context) *UploadSampleV2Params
- func NewUploadSampleV2ParamsWithHTTPClient(client *http.Client) *UploadSampleV2Params
- func NewUploadSampleV2ParamsWithTimeout(timeout time.Duration) *UploadSampleV2Params
- func (o *UploadSampleV2Params) SetComment(comment *string)
- func (o *UploadSampleV2Params) SetContext(ctx context.Context)
- func (o *UploadSampleV2Params) SetDefaults()
- func (o *UploadSampleV2Params) SetFileName(fileName string)
- func (o *UploadSampleV2Params) SetHTTPClient(client *http.Client)
- func (o *UploadSampleV2Params) SetIsConfidential(isConfidential *bool)
- func (o *UploadSampleV2Params) SetSample(sample runtime.NamedReadCloser)
- func (o *UploadSampleV2Params) SetTimeout(timeout time.Duration)
- func (o *UploadSampleV2Params) WithComment(comment *string) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithContext(ctx context.Context) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithDefaults() *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithFileName(fileName string) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithHTTPClient(client *http.Client) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithIsConfidential(isConfidential *bool) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithSample(sample runtime.NamedReadCloser) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WithTimeout(timeout time.Duration) *UploadSampleV2Params
- func (o *UploadSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadSampleV2Reader
- type UploadSampleV2TooManyRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for falconx sandbox API
func (*Client) DeleteReport ¶
func (a *Client) DeleteReport(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportAccepted, error)
DeleteReport deletes report based on the report ID operation can be checked for success by polling for the report ID on the report summaries endpoint
func (*Client) DeleteSampleV2 ¶
func (a *Client) DeleteSampleV2(params *DeleteSampleV2Params, opts ...ClientOption) (*DeleteSampleV2OK, error)
DeleteSampleV2 removes a sample including file meta and submissions from the collection
func (*Client) GetArtifacts ¶
func (a *Client) GetArtifacts(params *GetArtifactsParams, opts ...ClientOption) error
GetArtifacts downloads i o c packs p c a p files and other analysis artifacts
func (*Client) GetReports ¶
func (a *Client) GetReports(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)
GetReports gets a full sandbox report
func (*Client) GetSampleV2 ¶
func (a *Client) GetSampleV2(params *GetSampleV2Params, opts ...ClientOption) (*GetSampleV2OK, error)
GetSampleV2 retrieves the file associated with the given ID s h a256
func (*Client) GetSubmissions ¶
func (a *Client) GetSubmissions(params *GetSubmissionsParams, opts ...ClientOption) (*GetSubmissionsOK, error)
GetSubmissions checks the status of a sandbox analysis time required for analysis varies but is usually less than 15 minutes
func (*Client) GetSummaryReports ¶
func (a *Client) GetSummaryReports(params *GetSummaryReportsParams, opts ...ClientOption) (*GetSummaryReportsOK, error)
GetSummaryReports gets a short summary version of a sandbox report
func (*Client) QueryReports ¶
func (a *Client) QueryReports(params *QueryReportsParams, opts ...ClientOption) (*QueryReportsOK, error)
QueryReports finds sandbox reports by providing an f q l filter and paging details returns a set of report i ds that match your criteria
func (*Client) QuerySampleV1 ¶
func (a *Client) QuerySampleV1(params *QuerySampleV1Params, opts ...ClientOption) (*QuerySampleV1OK, error)
QuerySampleV1 retrieves a list with sha256 of samples that exist and customer has rights to access them maximum number of accepted items is 200
func (*Client) QuerySubmissions ¶
func (a *Client) QuerySubmissions(params *QuerySubmissionsParams, opts ...ClientOption) (*QuerySubmissionsOK, error)
QuerySubmissions finds submission i ds for uploaded files by providing an f q l filter and paging details returns a set of submission i ds that match your criteria
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Submit ¶
func (a *Client) Submit(params *SubmitParams, opts ...ClientOption) (*SubmitOK, error)
Submit submits an uploaded file or a URL for sandbox analysis time required for analysis varies but is usually less than 15 minutes
func (*Client) UploadSampleV2 ¶
func (a *Client) UploadSampleV2(params *UploadSampleV2Params, opts ...ClientOption) (*UploadSampleV2OK, error)
UploadSampleV2 uploads a file for sandbox analysis after uploading use falconx entities submissions v1 to start analyzing the file
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteReport(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportAccepted, error) DeleteSampleV2(params *DeleteSampleV2Params, opts ...ClientOption) (*DeleteSampleV2OK, error) GetArtifacts(params *GetArtifactsParams, opts ...ClientOption) error GetReports(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error) GetSampleV2(params *GetSampleV2Params, opts ...ClientOption) (*GetSampleV2OK, error) GetSubmissions(params *GetSubmissionsParams, opts ...ClientOption) (*GetSubmissionsOK, error) GetSummaryReports(params *GetSummaryReportsParams, opts ...ClientOption) (*GetSummaryReportsOK, error) QueryReports(params *QueryReportsParams, opts ...ClientOption) (*QueryReportsOK, error) QuerySampleV1(params *QuerySampleV1Params, opts ...ClientOption) (*QuerySampleV1OK, error) QuerySubmissions(params *QuerySubmissionsParams, opts ...ClientOption) (*QuerySubmissionsOK, error) Submit(params *SubmitParams, opts ...ClientOption) (*SubmitOK, error) UploadSampleV2(params *UploadSampleV2Params, opts ...ClientOption) (*UploadSampleV2OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new falconx sandbox API client.
type DeleteReportAccepted ¶
type DeleteReportAccepted struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxQueryResponse }
DeleteReportAccepted describes a response with status code 202, with default header values.
Accepted
func NewDeleteReportAccepted ¶
func NewDeleteReportAccepted() *DeleteReportAccepted
NewDeleteReportAccepted creates a DeleteReportAccepted with default headers values
func (*DeleteReportAccepted) Error ¶
func (o *DeleteReportAccepted) Error() string
func (*DeleteReportAccepted) GetPayload ¶
func (o *DeleteReportAccepted) GetPayload() *models.FalconxQueryResponse
type DeleteReportBadRequest ¶
type DeleteReportBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxErrorsOnly }
DeleteReportBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteReportBadRequest ¶
func NewDeleteReportBadRequest() *DeleteReportBadRequest
NewDeleteReportBadRequest creates a DeleteReportBadRequest with default headers values
func (*DeleteReportBadRequest) Error ¶
func (o *DeleteReportBadRequest) Error() string
func (*DeleteReportBadRequest) GetPayload ¶
func (o *DeleteReportBadRequest) GetPayload() *models.FalconxErrorsOnly
type DeleteReportForbidden ¶
type DeleteReportForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxErrorsOnly }
DeleteReportForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteReportForbidden ¶
func NewDeleteReportForbidden() *DeleteReportForbidden
NewDeleteReportForbidden creates a DeleteReportForbidden with default headers values
func (*DeleteReportForbidden) Error ¶
func (o *DeleteReportForbidden) Error() string
func (*DeleteReportForbidden) GetPayload ¶
func (o *DeleteReportForbidden) GetPayload() *models.FalconxErrorsOnly
type DeleteReportInternalServerError ¶
type DeleteReportInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxErrorsOnly }
DeleteReportInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteReportInternalServerError ¶
func NewDeleteReportInternalServerError() *DeleteReportInternalServerError
NewDeleteReportInternalServerError creates a DeleteReportInternalServerError with default headers values
func (*DeleteReportInternalServerError) Error ¶
func (o *DeleteReportInternalServerError) Error() string
func (*DeleteReportInternalServerError) GetPayload ¶
func (o *DeleteReportInternalServerError) GetPayload() *models.FalconxErrorsOnly
type DeleteReportNotFound ¶
type DeleteReportNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxErrorsOnly }
DeleteReportNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteReportNotFound ¶
func NewDeleteReportNotFound() *DeleteReportNotFound
NewDeleteReportNotFound creates a DeleteReportNotFound with default headers values
func (*DeleteReportNotFound) Error ¶
func (o *DeleteReportNotFound) Error() string
func (*DeleteReportNotFound) GetPayload ¶
func (o *DeleteReportNotFound) GetPayload() *models.FalconxErrorsOnly
type DeleteReportParams ¶
type DeleteReportParams struct { /* Ids. ID of a report. */ Ids string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteReportParams contains all the parameters to send to the API endpoint
for the delete report operation. Typically these are written to a http.Request.
func NewDeleteReportParams ¶
func NewDeleteReportParams() *DeleteReportParams
NewDeleteReportParams creates a new DeleteReportParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteReportParamsWithContext ¶
func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams
NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the ability to set a context for a request.
func NewDeleteReportParamsWithHTTPClient ¶
func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams
NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReportParamsWithTimeout ¶
func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams
NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the ability to set a timeout on a request.
func (*DeleteReportParams) SetContext ¶
func (o *DeleteReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete report params
func (*DeleteReportParams) SetDefaults ¶
func (o *DeleteReportParams) SetDefaults()
SetDefaults hydrates default values in the delete report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportParams) SetHTTPClient ¶
func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) SetIds ¶
func (o *DeleteReportParams) SetIds(ids string)
SetIds adds the ids to the delete report params
func (*DeleteReportParams) SetTimeout ¶
func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WithContext ¶
func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
WithContext adds the context to the delete report params
func (*DeleteReportParams) WithDefaults ¶
func (o *DeleteReportParams) WithDefaults() *DeleteReportParams
WithDefaults hydrates default values in the delete report params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportParams) WithHTTPClient ¶
func (o *DeleteReportParams) WithHTTPClient(client *http.Client) *DeleteReportParams
WithHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) WithIds ¶
func (o *DeleteReportParams) WithIds(ids string) *DeleteReportParams
WithIds adds the ids to the delete report params
func (*DeleteReportParams) WithTimeout ¶
func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams
WithTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WriteToRequest ¶
func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReportReader ¶
type DeleteReportReader struct {
// contains filtered or unexported fields
}
DeleteReportReader is a Reader for the DeleteReport structure.
func (*DeleteReportReader) ReadResponse ¶
func (o *DeleteReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteReportTooManyRequests ¶
type DeleteReportTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
DeleteReportTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteReportTooManyRequests ¶
func NewDeleteReportTooManyRequests() *DeleteReportTooManyRequests
NewDeleteReportTooManyRequests creates a DeleteReportTooManyRequests with default headers values
func (*DeleteReportTooManyRequests) Error ¶
func (o *DeleteReportTooManyRequests) Error() string
func (*DeleteReportTooManyRequests) GetPayload ¶
func (o *DeleteReportTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type DeleteSampleV2BadRequest ¶
type DeleteSampleV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeleteSampleV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteSampleV2BadRequest ¶
func NewDeleteSampleV2BadRequest() *DeleteSampleV2BadRequest
NewDeleteSampleV2BadRequest creates a DeleteSampleV2BadRequest with default headers values
func (*DeleteSampleV2BadRequest) Error ¶
func (o *DeleteSampleV2BadRequest) Error() string
func (*DeleteSampleV2BadRequest) GetPayload ¶
func (o *DeleteSampleV2BadRequest) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2Default ¶
type DeleteSampleV2Default struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
DeleteSampleV2Default describes a response with status code -1, with default header values.
OK
func NewDeleteSampleV2Default ¶
func NewDeleteSampleV2Default(code int) *DeleteSampleV2Default
NewDeleteSampleV2Default creates a DeleteSampleV2Default with default headers values
func (*DeleteSampleV2Default) Code ¶
func (o *DeleteSampleV2Default) Code() int
Code gets the status code for the delete sample v2 default response
func (*DeleteSampleV2Default) Error ¶
func (o *DeleteSampleV2Default) Error() string
func (*DeleteSampleV2Default) GetPayload ¶
func (o *DeleteSampleV2Default) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2Forbidden ¶
type DeleteSampleV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeleteSampleV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteSampleV2Forbidden ¶
func NewDeleteSampleV2Forbidden() *DeleteSampleV2Forbidden
NewDeleteSampleV2Forbidden creates a DeleteSampleV2Forbidden with default headers values
func (*DeleteSampleV2Forbidden) Error ¶
func (o *DeleteSampleV2Forbidden) Error() string
func (*DeleteSampleV2Forbidden) GetPayload ¶
func (o *DeleteSampleV2Forbidden) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2InternalServerError ¶
type DeleteSampleV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeleteSampleV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteSampleV2InternalServerError ¶
func NewDeleteSampleV2InternalServerError() *DeleteSampleV2InternalServerError
NewDeleteSampleV2InternalServerError creates a DeleteSampleV2InternalServerError with default headers values
func (*DeleteSampleV2InternalServerError) Error ¶
func (o *DeleteSampleV2InternalServerError) Error() string
func (*DeleteSampleV2InternalServerError) GetPayload ¶
func (o *DeleteSampleV2InternalServerError) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2NotFound ¶
type DeleteSampleV2NotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeleteSampleV2NotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteSampleV2NotFound ¶
func NewDeleteSampleV2NotFound() *DeleteSampleV2NotFound
NewDeleteSampleV2NotFound creates a DeleteSampleV2NotFound with default headers values
func (*DeleteSampleV2NotFound) Error ¶
func (o *DeleteSampleV2NotFound) Error() string
func (*DeleteSampleV2NotFound) GetPayload ¶
func (o *DeleteSampleV2NotFound) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2OK ¶
type DeleteSampleV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
DeleteSampleV2OK describes a response with status code 200, with default header values.
OK
func NewDeleteSampleV2OK ¶
func NewDeleteSampleV2OK() *DeleteSampleV2OK
NewDeleteSampleV2OK creates a DeleteSampleV2OK with default headers values
func (*DeleteSampleV2OK) Error ¶
func (o *DeleteSampleV2OK) Error() string
func (*DeleteSampleV2OK) GetPayload ¶
func (o *DeleteSampleV2OK) GetPayload() *models.MsaQueryResponse
type DeleteSampleV2Params ¶
type DeleteSampleV2Params struct { /* Ids. The file SHA256. */ Ids string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSampleV2Params contains all the parameters to send to the API endpoint
for the delete sample v2 operation. Typically these are written to a http.Request.
func NewDeleteSampleV2Params ¶
func NewDeleteSampleV2Params() *DeleteSampleV2Params
NewDeleteSampleV2Params creates a new DeleteSampleV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSampleV2ParamsWithContext ¶
func NewDeleteSampleV2ParamsWithContext(ctx context.Context) *DeleteSampleV2Params
NewDeleteSampleV2ParamsWithContext creates a new DeleteSampleV2Params object with the ability to set a context for a request.
func NewDeleteSampleV2ParamsWithHTTPClient ¶
func NewDeleteSampleV2ParamsWithHTTPClient(client *http.Client) *DeleteSampleV2Params
NewDeleteSampleV2ParamsWithHTTPClient creates a new DeleteSampleV2Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteSampleV2ParamsWithTimeout ¶
func NewDeleteSampleV2ParamsWithTimeout(timeout time.Duration) *DeleteSampleV2Params
NewDeleteSampleV2ParamsWithTimeout creates a new DeleteSampleV2Params object with the ability to set a timeout on a request.
func (*DeleteSampleV2Params) SetContext ¶
func (o *DeleteSampleV2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete sample v2 params
func (*DeleteSampleV2Params) SetDefaults ¶
func (o *DeleteSampleV2Params) SetDefaults()
SetDefaults hydrates default values in the delete sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSampleV2Params) SetHTTPClient ¶
func (o *DeleteSampleV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete sample v2 params
func (*DeleteSampleV2Params) SetIds ¶
func (o *DeleteSampleV2Params) SetIds(ids string)
SetIds adds the ids to the delete sample v2 params
func (*DeleteSampleV2Params) SetTimeout ¶
func (o *DeleteSampleV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete sample v2 params
func (*DeleteSampleV2Params) WithContext ¶
func (o *DeleteSampleV2Params) WithContext(ctx context.Context) *DeleteSampleV2Params
WithContext adds the context to the delete sample v2 params
func (*DeleteSampleV2Params) WithDefaults ¶
func (o *DeleteSampleV2Params) WithDefaults() *DeleteSampleV2Params
WithDefaults hydrates default values in the delete sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSampleV2Params) WithHTTPClient ¶
func (o *DeleteSampleV2Params) WithHTTPClient(client *http.Client) *DeleteSampleV2Params
WithHTTPClient adds the HTTPClient to the delete sample v2 params
func (*DeleteSampleV2Params) WithIds ¶
func (o *DeleteSampleV2Params) WithIds(ids string) *DeleteSampleV2Params
WithIds adds the ids to the delete sample v2 params
func (*DeleteSampleV2Params) WithTimeout ¶
func (o *DeleteSampleV2Params) WithTimeout(timeout time.Duration) *DeleteSampleV2Params
WithTimeout adds the timeout to the delete sample v2 params
func (*DeleteSampleV2Params) WriteToRequest ¶
func (o *DeleteSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSampleV2Reader ¶
type DeleteSampleV2Reader struct {
// contains filtered or unexported fields
}
DeleteSampleV2Reader is a Reader for the DeleteSampleV2 structure.
func (*DeleteSampleV2Reader) ReadResponse ¶
func (o *DeleteSampleV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSampleV2TooManyRequests ¶
type DeleteSampleV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
DeleteSampleV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteSampleV2TooManyRequests ¶
func NewDeleteSampleV2TooManyRequests() *DeleteSampleV2TooManyRequests
NewDeleteSampleV2TooManyRequests creates a DeleteSampleV2TooManyRequests with default headers values
func (*DeleteSampleV2TooManyRequests) Error ¶
func (o *DeleteSampleV2TooManyRequests) Error() string
func (*DeleteSampleV2TooManyRequests) GetPayload ¶
func (o *DeleteSampleV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetArtifactsBadRequest ¶
type GetArtifactsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetArtifactsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetArtifactsBadRequest ¶
func NewGetArtifactsBadRequest() *GetArtifactsBadRequest
NewGetArtifactsBadRequest creates a GetArtifactsBadRequest with default headers values
func (*GetArtifactsBadRequest) Error ¶
func (o *GetArtifactsBadRequest) Error() string
func (*GetArtifactsBadRequest) GetPayload ¶
func (o *GetArtifactsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type GetArtifactsForbidden ¶
type GetArtifactsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetArtifactsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetArtifactsForbidden ¶
func NewGetArtifactsForbidden() *GetArtifactsForbidden
NewGetArtifactsForbidden creates a GetArtifactsForbidden with default headers values
func (*GetArtifactsForbidden) Error ¶
func (o *GetArtifactsForbidden) Error() string
func (*GetArtifactsForbidden) GetPayload ¶
func (o *GetArtifactsForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetArtifactsInternalServerError ¶
type GetArtifactsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetArtifactsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetArtifactsInternalServerError ¶
func NewGetArtifactsInternalServerError() *GetArtifactsInternalServerError
NewGetArtifactsInternalServerError creates a GetArtifactsInternalServerError with default headers values
func (*GetArtifactsInternalServerError) Error ¶
func (o *GetArtifactsInternalServerError) Error() string
func (*GetArtifactsInternalServerError) GetPayload ¶
func (o *GetArtifactsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type GetArtifactsNotFound ¶
type GetArtifactsNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetArtifactsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetArtifactsNotFound ¶
func NewGetArtifactsNotFound() *GetArtifactsNotFound
NewGetArtifactsNotFound creates a GetArtifactsNotFound with default headers values
func (*GetArtifactsNotFound) Error ¶
func (o *GetArtifactsNotFound) Error() string
func (*GetArtifactsNotFound) GetPayload ¶
func (o *GetArtifactsNotFound) GetPayload() *models.MsaReplyMetaOnly
type GetArtifactsParams ¶
type GetArtifactsParams struct { /* AcceptEncoding. Format used to compress your downloaded file. Currently, you must provide the value `gzip`, the only valid format. */ AcceptEncoding *string /* ID. ID of an artifact, such as an IOC pack, PCAP file, or actor image. Find an artifact ID in a report or summary. */ ID string /* Name. The name given to your downloaded file. */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetArtifactsParams contains all the parameters to send to the API endpoint
for the get artifacts operation. Typically these are written to a http.Request.
func NewGetArtifactsParams ¶
func NewGetArtifactsParams() *GetArtifactsParams
NewGetArtifactsParams creates a new GetArtifactsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetArtifactsParamsWithContext ¶
func NewGetArtifactsParamsWithContext(ctx context.Context) *GetArtifactsParams
NewGetArtifactsParamsWithContext creates a new GetArtifactsParams object with the ability to set a context for a request.
func NewGetArtifactsParamsWithHTTPClient ¶
func NewGetArtifactsParamsWithHTTPClient(client *http.Client) *GetArtifactsParams
NewGetArtifactsParamsWithHTTPClient creates a new GetArtifactsParams object with the ability to set a custom HTTPClient for a request.
func NewGetArtifactsParamsWithTimeout ¶
func NewGetArtifactsParamsWithTimeout(timeout time.Duration) *GetArtifactsParams
NewGetArtifactsParamsWithTimeout creates a new GetArtifactsParams object with the ability to set a timeout on a request.
func (*GetArtifactsParams) SetAcceptEncoding ¶
func (o *GetArtifactsParams) SetAcceptEncoding(acceptEncoding *string)
SetAcceptEncoding adds the acceptEncoding to the get artifacts params
func (*GetArtifactsParams) SetContext ¶
func (o *GetArtifactsParams) SetContext(ctx context.Context)
SetContext adds the context to the get artifacts params
func (*GetArtifactsParams) SetDefaults ¶
func (o *GetArtifactsParams) SetDefaults()
SetDefaults hydrates default values in the get artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactsParams) SetHTTPClient ¶
func (o *GetArtifactsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get artifacts params
func (*GetArtifactsParams) SetID ¶
func (o *GetArtifactsParams) SetID(id string)
SetID adds the id to the get artifacts params
func (*GetArtifactsParams) SetName ¶
func (o *GetArtifactsParams) SetName(name *string)
SetName adds the name to the get artifacts params
func (*GetArtifactsParams) SetTimeout ¶
func (o *GetArtifactsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get artifacts params
func (*GetArtifactsParams) WithAcceptEncoding ¶
func (o *GetArtifactsParams) WithAcceptEncoding(acceptEncoding *string) *GetArtifactsParams
WithAcceptEncoding adds the acceptEncoding to the get artifacts params
func (*GetArtifactsParams) WithContext ¶
func (o *GetArtifactsParams) WithContext(ctx context.Context) *GetArtifactsParams
WithContext adds the context to the get artifacts params
func (*GetArtifactsParams) WithDefaults ¶
func (o *GetArtifactsParams) WithDefaults() *GetArtifactsParams
WithDefaults hydrates default values in the get artifacts params (not the query body).
All values with no default are reset to their zero value.
func (*GetArtifactsParams) WithHTTPClient ¶
func (o *GetArtifactsParams) WithHTTPClient(client *http.Client) *GetArtifactsParams
WithHTTPClient adds the HTTPClient to the get artifacts params
func (*GetArtifactsParams) WithID ¶
func (o *GetArtifactsParams) WithID(id string) *GetArtifactsParams
WithID adds the id to the get artifacts params
func (*GetArtifactsParams) WithName ¶
func (o *GetArtifactsParams) WithName(name *string) *GetArtifactsParams
WithName adds the name to the get artifacts params
func (*GetArtifactsParams) WithTimeout ¶
func (o *GetArtifactsParams) WithTimeout(timeout time.Duration) *GetArtifactsParams
WithTimeout adds the timeout to the get artifacts params
func (*GetArtifactsParams) WriteToRequest ¶
func (o *GetArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetArtifactsReader ¶
type GetArtifactsReader struct {
// contains filtered or unexported fields
}
GetArtifactsReader is a Reader for the GetArtifacts structure.
func (*GetArtifactsReader) ReadResponse ¶
func (o *GetArtifactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetArtifactsTooManyRequests ¶
type GetArtifactsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetArtifactsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetArtifactsTooManyRequests ¶
func NewGetArtifactsTooManyRequests() *GetArtifactsTooManyRequests
NewGetArtifactsTooManyRequests creates a GetArtifactsTooManyRequests with default headers values
func (*GetArtifactsTooManyRequests) Error ¶
func (o *GetArtifactsTooManyRequests) Error() string
func (*GetArtifactsTooManyRequests) GetPayload ¶
func (o *GetArtifactsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetReportsBadRequest ¶
type GetReportsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxReportV1Response }
GetReportsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetReportsBadRequest ¶
func NewGetReportsBadRequest() *GetReportsBadRequest
NewGetReportsBadRequest creates a GetReportsBadRequest with default headers values
func (*GetReportsBadRequest) Error ¶
func (o *GetReportsBadRequest) Error() string
func (*GetReportsBadRequest) GetPayload ¶
func (o *GetReportsBadRequest) GetPayload() *models.FalconxReportV1Response
type GetReportsDefault ¶
type GetReportsDefault struct { Payload *models.FalconxReportV1Response // contains filtered or unexported fields }
GetReportsDefault describes a response with status code -1, with default header values.
OK
func NewGetReportsDefault ¶
func NewGetReportsDefault(code int) *GetReportsDefault
NewGetReportsDefault creates a GetReportsDefault with default headers values
func (*GetReportsDefault) Code ¶
func (o *GetReportsDefault) Code() int
Code gets the status code for the get reports default response
func (*GetReportsDefault) Error ¶
func (o *GetReportsDefault) Error() string
func (*GetReportsDefault) GetPayload ¶
func (o *GetReportsDefault) GetPayload() *models.FalconxReportV1Response
type GetReportsForbidden ¶
type GetReportsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetReportsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetReportsForbidden ¶
func NewGetReportsForbidden() *GetReportsForbidden
NewGetReportsForbidden creates a GetReportsForbidden with default headers values
func (*GetReportsForbidden) Error ¶
func (o *GetReportsForbidden) Error() string
func (*GetReportsForbidden) GetPayload ¶
func (o *GetReportsForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetReportsInternalServerError ¶
type GetReportsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxReportV1Response }
GetReportsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetReportsInternalServerError ¶
func NewGetReportsInternalServerError() *GetReportsInternalServerError
NewGetReportsInternalServerError creates a GetReportsInternalServerError with default headers values
func (*GetReportsInternalServerError) Error ¶
func (o *GetReportsInternalServerError) Error() string
func (*GetReportsInternalServerError) GetPayload ¶
func (o *GetReportsInternalServerError) GetPayload() *models.FalconxReportV1Response
type GetReportsOK ¶
type GetReportsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxReportV1Response }
GetReportsOK describes a response with status code 200, with default header values.
OK
func NewGetReportsOK ¶
func NewGetReportsOK() *GetReportsOK
NewGetReportsOK creates a GetReportsOK with default headers values
func (*GetReportsOK) Error ¶
func (o *GetReportsOK) Error() string
func (*GetReportsOK) GetPayload ¶
func (o *GetReportsOK) GetPayload() *models.FalconxReportV1Response
type GetReportsParams ¶
type GetReportsParams struct { /* Ids. ID of a report. Find a report ID from the response when submitting a malware sample or search with `/falconx/queries/reports/v1`. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportsParams contains all the parameters to send to the API endpoint
for the get reports operation. Typically these are written to a http.Request.
func NewGetReportsParams ¶
func NewGetReportsParams() *GetReportsParams
NewGetReportsParams creates a new GetReportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetReportsParamsWithContext ¶
func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams
NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.
func NewGetReportsParamsWithHTTPClient ¶
func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams
NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportsParamsWithTimeout ¶
func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams
NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.
func (*GetReportsParams) SetContext ¶
func (o *GetReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports params
func (*GetReportsParams) SetDefaults ¶
func (o *GetReportsParams) SetDefaults()
SetDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) SetHTTPClient ¶
func (o *GetReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) SetIds ¶
func (o *GetReportsParams) SetIds(ids []string)
SetIds adds the ids to the get reports params
func (*GetReportsParams) SetTimeout ¶
func (o *GetReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports params
func (*GetReportsParams) WithContext ¶
func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
WithContext adds the context to the get reports params
func (*GetReportsParams) WithDefaults ¶
func (o *GetReportsParams) WithDefaults() *GetReportsParams
WithDefaults hydrates default values in the get reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportsParams) WithHTTPClient ¶
func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
WithHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) WithIds ¶
func (o *GetReportsParams) WithIds(ids []string) *GetReportsParams
WithIds adds the ids to the get reports params
func (*GetReportsParams) WithTimeout ¶
func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
WithTimeout adds the timeout to the get reports params
func (*GetReportsParams) WriteToRequest ¶
func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsReader ¶
type GetReportsReader struct {
// contains filtered or unexported fields
}
GetReportsReader is a Reader for the GetReports structure.
func (*GetReportsReader) ReadResponse ¶
func (o *GetReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsTooManyRequests ¶
type GetReportsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetReportsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetReportsTooManyRequests ¶
func NewGetReportsTooManyRequests() *GetReportsTooManyRequests
NewGetReportsTooManyRequests creates a GetReportsTooManyRequests with default headers values
func (*GetReportsTooManyRequests) Error ¶
func (o *GetReportsTooManyRequests) Error() string
func (*GetReportsTooManyRequests) GetPayload ¶
func (o *GetReportsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetSampleV2BadRequest ¶
type GetSampleV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSampleV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSampleV2BadRequest ¶
func NewGetSampleV2BadRequest() *GetSampleV2BadRequest
NewGetSampleV2BadRequest creates a GetSampleV2BadRequest with default headers values
func (*GetSampleV2BadRequest) Error ¶
func (o *GetSampleV2BadRequest) Error() string
func (*GetSampleV2BadRequest) GetPayload ¶
func (o *GetSampleV2BadRequest) GetPayload() *models.MsaReplyMetaOnly
type GetSampleV2Default ¶
type GetSampleV2Default struct { Payload string // contains filtered or unexported fields }
GetSampleV2Default describes a response with status code -1, with default header values.
OK
func NewGetSampleV2Default ¶
func NewGetSampleV2Default(code int) *GetSampleV2Default
NewGetSampleV2Default creates a GetSampleV2Default with default headers values
func (*GetSampleV2Default) Code ¶
func (o *GetSampleV2Default) Code() int
Code gets the status code for the get sample v2 default response
func (*GetSampleV2Default) Error ¶
func (o *GetSampleV2Default) Error() string
func (*GetSampleV2Default) GetPayload ¶
func (o *GetSampleV2Default) GetPayload() string
type GetSampleV2Forbidden ¶
type GetSampleV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSampleV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSampleV2Forbidden ¶
func NewGetSampleV2Forbidden() *GetSampleV2Forbidden
NewGetSampleV2Forbidden creates a GetSampleV2Forbidden with default headers values
func (*GetSampleV2Forbidden) Error ¶
func (o *GetSampleV2Forbidden) Error() string
func (*GetSampleV2Forbidden) GetPayload ¶
func (o *GetSampleV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
type GetSampleV2InternalServerError ¶
type GetSampleV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSampleV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSampleV2InternalServerError ¶
func NewGetSampleV2InternalServerError() *GetSampleV2InternalServerError
NewGetSampleV2InternalServerError creates a GetSampleV2InternalServerError with default headers values
func (*GetSampleV2InternalServerError) Error ¶
func (o *GetSampleV2InternalServerError) Error() string
func (*GetSampleV2InternalServerError) GetPayload ¶
func (o *GetSampleV2InternalServerError) GetPayload() *models.MsaReplyMetaOnly
type GetSampleV2NotFound ¶
type GetSampleV2NotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSampleV2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetSampleV2NotFound ¶
func NewGetSampleV2NotFound() *GetSampleV2NotFound
NewGetSampleV2NotFound creates a GetSampleV2NotFound with default headers values
func (*GetSampleV2NotFound) Error ¶
func (o *GetSampleV2NotFound) Error() string
func (*GetSampleV2NotFound) GetPayload ¶
func (o *GetSampleV2NotFound) GetPayload() *models.MsaReplyMetaOnly
type GetSampleV2OK ¶
type GetSampleV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload string }
GetSampleV2OK describes a response with status code 200, with default header values.
OK
func NewGetSampleV2OK ¶
func NewGetSampleV2OK() *GetSampleV2OK
NewGetSampleV2OK creates a GetSampleV2OK with default headers values
func (*GetSampleV2OK) Error ¶
func (o *GetSampleV2OK) Error() string
func (*GetSampleV2OK) GetPayload ¶
func (o *GetSampleV2OK) GetPayload() string
type GetSampleV2Params ¶
type GetSampleV2Params struct { /* Ids. The file SHA256. */ Ids string /* PasswordProtected. Flag whether the sample should be zipped and password protected with pass='infected' */ PasswordProtected *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSampleV2Params contains all the parameters to send to the API endpoint
for the get sample v2 operation. Typically these are written to a http.Request.
func NewGetSampleV2Params ¶
func NewGetSampleV2Params() *GetSampleV2Params
NewGetSampleV2Params creates a new GetSampleV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSampleV2ParamsWithContext ¶
func NewGetSampleV2ParamsWithContext(ctx context.Context) *GetSampleV2Params
NewGetSampleV2ParamsWithContext creates a new GetSampleV2Params object with the ability to set a context for a request.
func NewGetSampleV2ParamsWithHTTPClient ¶
func NewGetSampleV2ParamsWithHTTPClient(client *http.Client) *GetSampleV2Params
NewGetSampleV2ParamsWithHTTPClient creates a new GetSampleV2Params object with the ability to set a custom HTTPClient for a request.
func NewGetSampleV2ParamsWithTimeout ¶
func NewGetSampleV2ParamsWithTimeout(timeout time.Duration) *GetSampleV2Params
NewGetSampleV2ParamsWithTimeout creates a new GetSampleV2Params object with the ability to set a timeout on a request.
func (*GetSampleV2Params) SetContext ¶
func (o *GetSampleV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get sample v2 params
func (*GetSampleV2Params) SetDefaults ¶
func (o *GetSampleV2Params) SetDefaults()
SetDefaults hydrates default values in the get sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetSampleV2Params) SetHTTPClient ¶
func (o *GetSampleV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sample v2 params
func (*GetSampleV2Params) SetIds ¶
func (o *GetSampleV2Params) SetIds(ids string)
SetIds adds the ids to the get sample v2 params
func (*GetSampleV2Params) SetPasswordProtected ¶
func (o *GetSampleV2Params) SetPasswordProtected(passwordProtected *bool)
SetPasswordProtected adds the passwordProtected to the get sample v2 params
func (*GetSampleV2Params) SetTimeout ¶
func (o *GetSampleV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sample v2 params
func (*GetSampleV2Params) WithContext ¶
func (o *GetSampleV2Params) WithContext(ctx context.Context) *GetSampleV2Params
WithContext adds the context to the get sample v2 params
func (*GetSampleV2Params) WithDefaults ¶
func (o *GetSampleV2Params) WithDefaults() *GetSampleV2Params
WithDefaults hydrates default values in the get sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetSampleV2Params) WithHTTPClient ¶
func (o *GetSampleV2Params) WithHTTPClient(client *http.Client) *GetSampleV2Params
WithHTTPClient adds the HTTPClient to the get sample v2 params
func (*GetSampleV2Params) WithIds ¶
func (o *GetSampleV2Params) WithIds(ids string) *GetSampleV2Params
WithIds adds the ids to the get sample v2 params
func (*GetSampleV2Params) WithPasswordProtected ¶
func (o *GetSampleV2Params) WithPasswordProtected(passwordProtected *bool) *GetSampleV2Params
WithPasswordProtected adds the passwordProtected to the get sample v2 params
func (*GetSampleV2Params) WithTimeout ¶
func (o *GetSampleV2Params) WithTimeout(timeout time.Duration) *GetSampleV2Params
WithTimeout adds the timeout to the get sample v2 params
func (*GetSampleV2Params) WriteToRequest ¶
func (o *GetSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSampleV2Reader ¶
type GetSampleV2Reader struct {
// contains filtered or unexported fields
}
GetSampleV2Reader is a Reader for the GetSampleV2 structure.
func (*GetSampleV2Reader) ReadResponse ¶
func (o *GetSampleV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSampleV2TooManyRequests ¶
type GetSampleV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetSampleV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSampleV2TooManyRequests ¶
func NewGetSampleV2TooManyRequests() *GetSampleV2TooManyRequests
NewGetSampleV2TooManyRequests creates a GetSampleV2TooManyRequests with default headers values
func (*GetSampleV2TooManyRequests) Error ¶
func (o *GetSampleV2TooManyRequests) Error() string
func (*GetSampleV2TooManyRequests) GetPayload ¶
func (o *GetSampleV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetSubmissionsBadRequest ¶
type GetSubmissionsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
GetSubmissionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSubmissionsBadRequest ¶
func NewGetSubmissionsBadRequest() *GetSubmissionsBadRequest
NewGetSubmissionsBadRequest creates a GetSubmissionsBadRequest with default headers values
func (*GetSubmissionsBadRequest) Error ¶
func (o *GetSubmissionsBadRequest) Error() string
func (*GetSubmissionsBadRequest) GetPayload ¶
func (o *GetSubmissionsBadRequest) GetPayload() *models.FalconxSubmissionV1Response
type GetSubmissionsDefault ¶
type GetSubmissionsDefault struct { Payload *models.FalconxSubmissionV1Response // contains filtered or unexported fields }
GetSubmissionsDefault describes a response with status code -1, with default header values.
OK
func NewGetSubmissionsDefault ¶
func NewGetSubmissionsDefault(code int) *GetSubmissionsDefault
NewGetSubmissionsDefault creates a GetSubmissionsDefault with default headers values
func (*GetSubmissionsDefault) Code ¶
func (o *GetSubmissionsDefault) Code() int
Code gets the status code for the get submissions default response
func (*GetSubmissionsDefault) Error ¶
func (o *GetSubmissionsDefault) Error() string
func (*GetSubmissionsDefault) GetPayload ¶
func (o *GetSubmissionsDefault) GetPayload() *models.FalconxSubmissionV1Response
type GetSubmissionsForbidden ¶
type GetSubmissionsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSubmissionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSubmissionsForbidden ¶
func NewGetSubmissionsForbidden() *GetSubmissionsForbidden
NewGetSubmissionsForbidden creates a GetSubmissionsForbidden with default headers values
func (*GetSubmissionsForbidden) Error ¶
func (o *GetSubmissionsForbidden) Error() string
func (*GetSubmissionsForbidden) GetPayload ¶
func (o *GetSubmissionsForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetSubmissionsInternalServerError ¶
type GetSubmissionsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
GetSubmissionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSubmissionsInternalServerError ¶
func NewGetSubmissionsInternalServerError() *GetSubmissionsInternalServerError
NewGetSubmissionsInternalServerError creates a GetSubmissionsInternalServerError with default headers values
func (*GetSubmissionsInternalServerError) Error ¶
func (o *GetSubmissionsInternalServerError) Error() string
func (*GetSubmissionsInternalServerError) GetPayload ¶
func (o *GetSubmissionsInternalServerError) GetPayload() *models.FalconxSubmissionV1Response
type GetSubmissionsOK ¶
type GetSubmissionsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
GetSubmissionsOK describes a response with status code 200, with default header values.
OK
func NewGetSubmissionsOK ¶
func NewGetSubmissionsOK() *GetSubmissionsOK
NewGetSubmissionsOK creates a GetSubmissionsOK with default headers values
func (*GetSubmissionsOK) Error ¶
func (o *GetSubmissionsOK) Error() string
func (*GetSubmissionsOK) GetPayload ¶
func (o *GetSubmissionsOK) GetPayload() *models.FalconxSubmissionV1Response
type GetSubmissionsParams ¶
type GetSubmissionsParams struct { /* Ids. ID of a submitted malware sample. Find a submission ID from the response when submitting a malware sample or search with `/falconx/queries/submissions/v1`. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSubmissionsParams contains all the parameters to send to the API endpoint
for the get submissions operation. Typically these are written to a http.Request.
func NewGetSubmissionsParams ¶
func NewGetSubmissionsParams() *GetSubmissionsParams
NewGetSubmissionsParams creates a new GetSubmissionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubmissionsParamsWithContext ¶
func NewGetSubmissionsParamsWithContext(ctx context.Context) *GetSubmissionsParams
NewGetSubmissionsParamsWithContext creates a new GetSubmissionsParams object with the ability to set a context for a request.
func NewGetSubmissionsParamsWithHTTPClient ¶
func NewGetSubmissionsParamsWithHTTPClient(client *http.Client) *GetSubmissionsParams
NewGetSubmissionsParamsWithHTTPClient creates a new GetSubmissionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubmissionsParamsWithTimeout ¶
func NewGetSubmissionsParamsWithTimeout(timeout time.Duration) *GetSubmissionsParams
NewGetSubmissionsParamsWithTimeout creates a new GetSubmissionsParams object with the ability to set a timeout on a request.
func (*GetSubmissionsParams) SetContext ¶
func (o *GetSubmissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get submissions params
func (*GetSubmissionsParams) SetDefaults ¶
func (o *GetSubmissionsParams) SetDefaults()
SetDefaults hydrates default values in the get submissions params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubmissionsParams) SetHTTPClient ¶
func (o *GetSubmissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get submissions params
func (*GetSubmissionsParams) SetIds ¶
func (o *GetSubmissionsParams) SetIds(ids []string)
SetIds adds the ids to the get submissions params
func (*GetSubmissionsParams) SetTimeout ¶
func (o *GetSubmissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get submissions params
func (*GetSubmissionsParams) WithContext ¶
func (o *GetSubmissionsParams) WithContext(ctx context.Context) *GetSubmissionsParams
WithContext adds the context to the get submissions params
func (*GetSubmissionsParams) WithDefaults ¶
func (o *GetSubmissionsParams) WithDefaults() *GetSubmissionsParams
WithDefaults hydrates default values in the get submissions params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubmissionsParams) WithHTTPClient ¶
func (o *GetSubmissionsParams) WithHTTPClient(client *http.Client) *GetSubmissionsParams
WithHTTPClient adds the HTTPClient to the get submissions params
func (*GetSubmissionsParams) WithIds ¶
func (o *GetSubmissionsParams) WithIds(ids []string) *GetSubmissionsParams
WithIds adds the ids to the get submissions params
func (*GetSubmissionsParams) WithTimeout ¶
func (o *GetSubmissionsParams) WithTimeout(timeout time.Duration) *GetSubmissionsParams
WithTimeout adds the timeout to the get submissions params
func (*GetSubmissionsParams) WriteToRequest ¶
func (o *GetSubmissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubmissionsReader ¶
type GetSubmissionsReader struct {
// contains filtered or unexported fields
}
GetSubmissionsReader is a Reader for the GetSubmissions structure.
func (*GetSubmissionsReader) ReadResponse ¶
func (o *GetSubmissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubmissionsTooManyRequests ¶
type GetSubmissionsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetSubmissionsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSubmissionsTooManyRequests ¶
func NewGetSubmissionsTooManyRequests() *GetSubmissionsTooManyRequests
NewGetSubmissionsTooManyRequests creates a GetSubmissionsTooManyRequests with default headers values
func (*GetSubmissionsTooManyRequests) Error ¶
func (o *GetSubmissionsTooManyRequests) Error() string
func (*GetSubmissionsTooManyRequests) GetPayload ¶
func (o *GetSubmissionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetSummaryReportsBadRequest ¶
type GetSummaryReportsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSummaryReportV1Response }
GetSummaryReportsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSummaryReportsBadRequest ¶
func NewGetSummaryReportsBadRequest() *GetSummaryReportsBadRequest
NewGetSummaryReportsBadRequest creates a GetSummaryReportsBadRequest with default headers values
func (*GetSummaryReportsBadRequest) Error ¶
func (o *GetSummaryReportsBadRequest) Error() string
func (*GetSummaryReportsBadRequest) GetPayload ¶
func (o *GetSummaryReportsBadRequest) GetPayload() *models.FalconxSummaryReportV1Response
type GetSummaryReportsDefault ¶
type GetSummaryReportsDefault struct { Payload *models.FalconxSummaryReportV1Response // contains filtered or unexported fields }
GetSummaryReportsDefault describes a response with status code -1, with default header values.
OK
func NewGetSummaryReportsDefault ¶
func NewGetSummaryReportsDefault(code int) *GetSummaryReportsDefault
NewGetSummaryReportsDefault creates a GetSummaryReportsDefault with default headers values
func (*GetSummaryReportsDefault) Code ¶
func (o *GetSummaryReportsDefault) Code() int
Code gets the status code for the get summary reports default response
func (*GetSummaryReportsDefault) Error ¶
func (o *GetSummaryReportsDefault) Error() string
func (*GetSummaryReportsDefault) GetPayload ¶
func (o *GetSummaryReportsDefault) GetPayload() *models.FalconxSummaryReportV1Response
type GetSummaryReportsForbidden ¶
type GetSummaryReportsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetSummaryReportsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSummaryReportsForbidden ¶
func NewGetSummaryReportsForbidden() *GetSummaryReportsForbidden
NewGetSummaryReportsForbidden creates a GetSummaryReportsForbidden with default headers values
func (*GetSummaryReportsForbidden) Error ¶
func (o *GetSummaryReportsForbidden) Error() string
func (*GetSummaryReportsForbidden) GetPayload ¶
func (o *GetSummaryReportsForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetSummaryReportsInternalServerError ¶
type GetSummaryReportsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSummaryReportV1Response }
GetSummaryReportsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSummaryReportsInternalServerError ¶
func NewGetSummaryReportsInternalServerError() *GetSummaryReportsInternalServerError
NewGetSummaryReportsInternalServerError creates a GetSummaryReportsInternalServerError with default headers values
func (*GetSummaryReportsInternalServerError) Error ¶
func (o *GetSummaryReportsInternalServerError) Error() string
func (*GetSummaryReportsInternalServerError) GetPayload ¶
func (o *GetSummaryReportsInternalServerError) GetPayload() *models.FalconxSummaryReportV1Response
type GetSummaryReportsOK ¶
type GetSummaryReportsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSummaryReportV1Response }
GetSummaryReportsOK describes a response with status code 200, with default header values.
OK
func NewGetSummaryReportsOK ¶
func NewGetSummaryReportsOK() *GetSummaryReportsOK
NewGetSummaryReportsOK creates a GetSummaryReportsOK with default headers values
func (*GetSummaryReportsOK) Error ¶
func (o *GetSummaryReportsOK) Error() string
func (*GetSummaryReportsOK) GetPayload ¶
func (o *GetSummaryReportsOK) GetPayload() *models.FalconxSummaryReportV1Response
type GetSummaryReportsParams ¶
type GetSummaryReportsParams struct { /* Ids. ID of a summary. Find a summary ID from the response when submitting a malware sample or search with `/falconx/queries/reports/v1`. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSummaryReportsParams contains all the parameters to send to the API endpoint
for the get summary reports operation. Typically these are written to a http.Request.
func NewGetSummaryReportsParams ¶
func NewGetSummaryReportsParams() *GetSummaryReportsParams
NewGetSummaryReportsParams creates a new GetSummaryReportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSummaryReportsParamsWithContext ¶
func NewGetSummaryReportsParamsWithContext(ctx context.Context) *GetSummaryReportsParams
NewGetSummaryReportsParamsWithContext creates a new GetSummaryReportsParams object with the ability to set a context for a request.
func NewGetSummaryReportsParamsWithHTTPClient ¶
func NewGetSummaryReportsParamsWithHTTPClient(client *http.Client) *GetSummaryReportsParams
NewGetSummaryReportsParamsWithHTTPClient creates a new GetSummaryReportsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSummaryReportsParamsWithTimeout ¶
func NewGetSummaryReportsParamsWithTimeout(timeout time.Duration) *GetSummaryReportsParams
NewGetSummaryReportsParamsWithTimeout creates a new GetSummaryReportsParams object with the ability to set a timeout on a request.
func (*GetSummaryReportsParams) SetContext ¶
func (o *GetSummaryReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get summary reports params
func (*GetSummaryReportsParams) SetDefaults ¶
func (o *GetSummaryReportsParams) SetDefaults()
SetDefaults hydrates default values in the get summary reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetSummaryReportsParams) SetHTTPClient ¶
func (o *GetSummaryReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get summary reports params
func (*GetSummaryReportsParams) SetIds ¶
func (o *GetSummaryReportsParams) SetIds(ids []string)
SetIds adds the ids to the get summary reports params
func (*GetSummaryReportsParams) SetTimeout ¶
func (o *GetSummaryReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get summary reports params
func (*GetSummaryReportsParams) WithContext ¶
func (o *GetSummaryReportsParams) WithContext(ctx context.Context) *GetSummaryReportsParams
WithContext adds the context to the get summary reports params
func (*GetSummaryReportsParams) WithDefaults ¶
func (o *GetSummaryReportsParams) WithDefaults() *GetSummaryReportsParams
WithDefaults hydrates default values in the get summary reports params (not the query body).
All values with no default are reset to their zero value.
func (*GetSummaryReportsParams) WithHTTPClient ¶
func (o *GetSummaryReportsParams) WithHTTPClient(client *http.Client) *GetSummaryReportsParams
WithHTTPClient adds the HTTPClient to the get summary reports params
func (*GetSummaryReportsParams) WithIds ¶
func (o *GetSummaryReportsParams) WithIds(ids []string) *GetSummaryReportsParams
WithIds adds the ids to the get summary reports params
func (*GetSummaryReportsParams) WithTimeout ¶
func (o *GetSummaryReportsParams) WithTimeout(timeout time.Duration) *GetSummaryReportsParams
WithTimeout adds the timeout to the get summary reports params
func (*GetSummaryReportsParams) WriteToRequest ¶
func (o *GetSummaryReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSummaryReportsReader ¶
type GetSummaryReportsReader struct {
// contains filtered or unexported fields
}
GetSummaryReportsReader is a Reader for the GetSummaryReports structure.
func (*GetSummaryReportsReader) ReadResponse ¶
func (o *GetSummaryReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSummaryReportsTooManyRequests ¶
type GetSummaryReportsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetSummaryReportsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetSummaryReportsTooManyRequests ¶
func NewGetSummaryReportsTooManyRequests() *GetSummaryReportsTooManyRequests
NewGetSummaryReportsTooManyRequests creates a GetSummaryReportsTooManyRequests with default headers values
func (*GetSummaryReportsTooManyRequests) Error ¶
func (o *GetSummaryReportsTooManyRequests) Error() string
func (*GetSummaryReportsTooManyRequests) GetPayload ¶
func (o *GetSummaryReportsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type QueryReportsBadRequest ¶
type QueryReportsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryReportsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryReportsBadRequest ¶
func NewQueryReportsBadRequest() *QueryReportsBadRequest
NewQueryReportsBadRequest creates a QueryReportsBadRequest with default headers values
func (*QueryReportsBadRequest) Error ¶
func (o *QueryReportsBadRequest) Error() string
func (*QueryReportsBadRequest) GetPayload ¶
func (o *QueryReportsBadRequest) GetPayload() *models.MsaQueryResponse
type QueryReportsDefault ¶
type QueryReportsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryReportsDefault describes a response with status code -1, with default header values.
OK
func NewQueryReportsDefault ¶
func NewQueryReportsDefault(code int) *QueryReportsDefault
NewQueryReportsDefault creates a QueryReportsDefault with default headers values
func (*QueryReportsDefault) Code ¶
func (o *QueryReportsDefault) Code() int
Code gets the status code for the query reports default response
func (*QueryReportsDefault) Error ¶
func (o *QueryReportsDefault) Error() string
func (*QueryReportsDefault) GetPayload ¶
func (o *QueryReportsDefault) GetPayload() *models.MsaQueryResponse
type QueryReportsForbidden ¶
type QueryReportsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QueryReportsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryReportsForbidden ¶
func NewQueryReportsForbidden() *QueryReportsForbidden
NewQueryReportsForbidden creates a QueryReportsForbidden with default headers values
func (*QueryReportsForbidden) Error ¶
func (o *QueryReportsForbidden) Error() string
func (*QueryReportsForbidden) GetPayload ¶
func (o *QueryReportsForbidden) GetPayload() *models.MsaReplyMetaOnly
type QueryReportsInternalServerError ¶
type QueryReportsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryReportsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryReportsInternalServerError ¶
func NewQueryReportsInternalServerError() *QueryReportsInternalServerError
NewQueryReportsInternalServerError creates a QueryReportsInternalServerError with default headers values
func (*QueryReportsInternalServerError) Error ¶
func (o *QueryReportsInternalServerError) Error() string
func (*QueryReportsInternalServerError) GetPayload ¶
func (o *QueryReportsInternalServerError) GetPayload() *models.MsaQueryResponse
type QueryReportsOK ¶
type QueryReportsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QueryReportsOK describes a response with status code 200, with default header values.
OK
func NewQueryReportsOK ¶
func NewQueryReportsOK() *QueryReportsOK
NewQueryReportsOK creates a QueryReportsOK with default headers values
func (*QueryReportsOK) Error ¶
func (o *QueryReportsOK) Error() string
func (*QueryReportsOK) GetPayload ¶
func (o *QueryReportsOK) GetPayload() *models.MsaQueryResponse
type QueryReportsParams ¶
type QueryReportsParams struct { /* Filter. Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide). */ Filter *string /* Limit. Maximum number of report IDs to return. Max: 5000. */ Limit *int64 /* Offset. The offset to start retrieving reports from. */ Offset *string /* Sort. Sort order: `asc` or `desc`. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryReportsParams contains all the parameters to send to the API endpoint
for the query reports operation. Typically these are written to a http.Request.
func NewQueryReportsParams ¶
func NewQueryReportsParams() *QueryReportsParams
NewQueryReportsParams creates a new QueryReportsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQueryReportsParamsWithContext ¶
func NewQueryReportsParamsWithContext(ctx context.Context) *QueryReportsParams
NewQueryReportsParamsWithContext creates a new QueryReportsParams object with the ability to set a context for a request.
func NewQueryReportsParamsWithHTTPClient ¶
func NewQueryReportsParamsWithHTTPClient(client *http.Client) *QueryReportsParams
NewQueryReportsParamsWithHTTPClient creates a new QueryReportsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryReportsParamsWithTimeout ¶
func NewQueryReportsParamsWithTimeout(timeout time.Duration) *QueryReportsParams
NewQueryReportsParamsWithTimeout creates a new QueryReportsParams object with the ability to set a timeout on a request.
func (*QueryReportsParams) SetContext ¶
func (o *QueryReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the query reports params
func (*QueryReportsParams) SetDefaults ¶
func (o *QueryReportsParams) SetDefaults()
SetDefaults hydrates default values in the query reports params (not the query body).
All values with no default are reset to their zero value.
func (*QueryReportsParams) SetFilter ¶
func (o *QueryReportsParams) SetFilter(filter *string)
SetFilter adds the filter to the query reports params
func (*QueryReportsParams) SetHTTPClient ¶
func (o *QueryReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query reports params
func (*QueryReportsParams) SetLimit ¶
func (o *QueryReportsParams) SetLimit(limit *int64)
SetLimit adds the limit to the query reports params
func (*QueryReportsParams) SetOffset ¶
func (o *QueryReportsParams) SetOffset(offset *string)
SetOffset adds the offset to the query reports params
func (*QueryReportsParams) SetSort ¶
func (o *QueryReportsParams) SetSort(sort *string)
SetSort adds the sort to the query reports params
func (*QueryReportsParams) SetTimeout ¶
func (o *QueryReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query reports params
func (*QueryReportsParams) WithContext ¶
func (o *QueryReportsParams) WithContext(ctx context.Context) *QueryReportsParams
WithContext adds the context to the query reports params
func (*QueryReportsParams) WithDefaults ¶
func (o *QueryReportsParams) WithDefaults() *QueryReportsParams
WithDefaults hydrates default values in the query reports params (not the query body).
All values with no default are reset to their zero value.
func (*QueryReportsParams) WithFilter ¶
func (o *QueryReportsParams) WithFilter(filter *string) *QueryReportsParams
WithFilter adds the filter to the query reports params
func (*QueryReportsParams) WithHTTPClient ¶
func (o *QueryReportsParams) WithHTTPClient(client *http.Client) *QueryReportsParams
WithHTTPClient adds the HTTPClient to the query reports params
func (*QueryReportsParams) WithLimit ¶
func (o *QueryReportsParams) WithLimit(limit *int64) *QueryReportsParams
WithLimit adds the limit to the query reports params
func (*QueryReportsParams) WithOffset ¶
func (o *QueryReportsParams) WithOffset(offset *string) *QueryReportsParams
WithOffset adds the offset to the query reports params
func (*QueryReportsParams) WithSort ¶
func (o *QueryReportsParams) WithSort(sort *string) *QueryReportsParams
WithSort adds the sort to the query reports params
func (*QueryReportsParams) WithTimeout ¶
func (o *QueryReportsParams) WithTimeout(timeout time.Duration) *QueryReportsParams
WithTimeout adds the timeout to the query reports params
func (*QueryReportsParams) WriteToRequest ¶
func (o *QueryReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryReportsReader ¶
type QueryReportsReader struct {
// contains filtered or unexported fields
}
QueryReportsReader is a Reader for the QueryReports structure.
func (*QueryReportsReader) ReadResponse ¶
func (o *QueryReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryReportsTooManyRequests ¶
type QueryReportsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QueryReportsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryReportsTooManyRequests ¶
func NewQueryReportsTooManyRequests() *QueryReportsTooManyRequests
NewQueryReportsTooManyRequests creates a QueryReportsTooManyRequests with default headers values
func (*QueryReportsTooManyRequests) Error ¶
func (o *QueryReportsTooManyRequests) Error() string
func (*QueryReportsTooManyRequests) GetPayload ¶
func (o *QueryReportsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type QuerySampleV1BadRequest ¶
type QuerySampleV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySampleV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQuerySampleV1BadRequest ¶
func NewQuerySampleV1BadRequest() *QuerySampleV1BadRequest
NewQuerySampleV1BadRequest creates a QuerySampleV1BadRequest with default headers values
func (*QuerySampleV1BadRequest) Error ¶
func (o *QuerySampleV1BadRequest) Error() string
func (*QuerySampleV1BadRequest) GetPayload ¶
func (o *QuerySampleV1BadRequest) GetPayload() *models.MsaQueryResponse
type QuerySampleV1Default ¶
type QuerySampleV1Default struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QuerySampleV1Default describes a response with status code -1, with default header values.
OK
func NewQuerySampleV1Default ¶
func NewQuerySampleV1Default(code int) *QuerySampleV1Default
NewQuerySampleV1Default creates a QuerySampleV1Default with default headers values
func (*QuerySampleV1Default) Code ¶
func (o *QuerySampleV1Default) Code() int
Code gets the status code for the query sample v1 default response
func (*QuerySampleV1Default) Error ¶
func (o *QuerySampleV1Default) Error() string
func (*QuerySampleV1Default) GetPayload ¶
func (o *QuerySampleV1Default) GetPayload() *models.MsaQueryResponse
type QuerySampleV1Forbidden ¶
type QuerySampleV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySampleV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewQuerySampleV1Forbidden ¶
func NewQuerySampleV1Forbidden() *QuerySampleV1Forbidden
NewQuerySampleV1Forbidden creates a QuerySampleV1Forbidden with default headers values
func (*QuerySampleV1Forbidden) Error ¶
func (o *QuerySampleV1Forbidden) Error() string
func (*QuerySampleV1Forbidden) GetPayload ¶
func (o *QuerySampleV1Forbidden) GetPayload() *models.MsaQueryResponse
type QuerySampleV1InternalServerError ¶
type QuerySampleV1InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySampleV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQuerySampleV1InternalServerError ¶
func NewQuerySampleV1InternalServerError() *QuerySampleV1InternalServerError
NewQuerySampleV1InternalServerError creates a QuerySampleV1InternalServerError with default headers values
func (*QuerySampleV1InternalServerError) Error ¶
func (o *QuerySampleV1InternalServerError) Error() string
func (*QuerySampleV1InternalServerError) GetPayload ¶
func (o *QuerySampleV1InternalServerError) GetPayload() *models.MsaQueryResponse
type QuerySampleV1OK ¶
type QuerySampleV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySampleV1OK describes a response with status code 200, with default header values.
OK
func NewQuerySampleV1OK ¶
func NewQuerySampleV1OK() *QuerySampleV1OK
NewQuerySampleV1OK creates a QuerySampleV1OK with default headers values
func (*QuerySampleV1OK) Error ¶
func (o *QuerySampleV1OK) Error() string
func (*QuerySampleV1OK) GetPayload ¶
func (o *QuerySampleV1OK) GetPayload() *models.MsaQueryResponse
type QuerySampleV1Params ¶
type QuerySampleV1Params struct { /* Body. Pass a list of sha256s to check if the exist. It will be returned the list of existing hashes. */ Body *models.ClientQuerySamplesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySampleV1Params contains all the parameters to send to the API endpoint
for the query sample v1 operation. Typically these are written to a http.Request.
func NewQuerySampleV1Params ¶
func NewQuerySampleV1Params() *QuerySampleV1Params
NewQuerySampleV1Params creates a new QuerySampleV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuerySampleV1ParamsWithContext ¶
func NewQuerySampleV1ParamsWithContext(ctx context.Context) *QuerySampleV1Params
NewQuerySampleV1ParamsWithContext creates a new QuerySampleV1Params object with the ability to set a context for a request.
func NewQuerySampleV1ParamsWithHTTPClient ¶
func NewQuerySampleV1ParamsWithHTTPClient(client *http.Client) *QuerySampleV1Params
NewQuerySampleV1ParamsWithHTTPClient creates a new QuerySampleV1Params object with the ability to set a custom HTTPClient for a request.
func NewQuerySampleV1ParamsWithTimeout ¶
func NewQuerySampleV1ParamsWithTimeout(timeout time.Duration) *QuerySampleV1Params
NewQuerySampleV1ParamsWithTimeout creates a new QuerySampleV1Params object with the ability to set a timeout on a request.
func (*QuerySampleV1Params) SetBody ¶
func (o *QuerySampleV1Params) SetBody(body *models.ClientQuerySamplesRequest)
SetBody adds the body to the query sample v1 params
func (*QuerySampleV1Params) SetContext ¶
func (o *QuerySampleV1Params) SetContext(ctx context.Context)
SetContext adds the context to the query sample v1 params
func (*QuerySampleV1Params) SetDefaults ¶
func (o *QuerySampleV1Params) SetDefaults()
SetDefaults hydrates default values in the query sample v1 params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySampleV1Params) SetHTTPClient ¶
func (o *QuerySampleV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query sample v1 params
func (*QuerySampleV1Params) SetTimeout ¶
func (o *QuerySampleV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query sample v1 params
func (*QuerySampleV1Params) WithBody ¶
func (o *QuerySampleV1Params) WithBody(body *models.ClientQuerySamplesRequest) *QuerySampleV1Params
WithBody adds the body to the query sample v1 params
func (*QuerySampleV1Params) WithContext ¶
func (o *QuerySampleV1Params) WithContext(ctx context.Context) *QuerySampleV1Params
WithContext adds the context to the query sample v1 params
func (*QuerySampleV1Params) WithDefaults ¶
func (o *QuerySampleV1Params) WithDefaults() *QuerySampleV1Params
WithDefaults hydrates default values in the query sample v1 params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySampleV1Params) WithHTTPClient ¶
func (o *QuerySampleV1Params) WithHTTPClient(client *http.Client) *QuerySampleV1Params
WithHTTPClient adds the HTTPClient to the query sample v1 params
func (*QuerySampleV1Params) WithTimeout ¶
func (o *QuerySampleV1Params) WithTimeout(timeout time.Duration) *QuerySampleV1Params
WithTimeout adds the timeout to the query sample v1 params
func (*QuerySampleV1Params) WriteToRequest ¶
func (o *QuerySampleV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySampleV1Reader ¶
type QuerySampleV1Reader struct {
// contains filtered or unexported fields
}
QuerySampleV1Reader is a Reader for the QuerySampleV1 structure.
func (*QuerySampleV1Reader) ReadResponse ¶
func (o *QuerySampleV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySampleV1TooManyRequests ¶
type QuerySampleV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QuerySampleV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQuerySampleV1TooManyRequests ¶
func NewQuerySampleV1TooManyRequests() *QuerySampleV1TooManyRequests
NewQuerySampleV1TooManyRequests creates a QuerySampleV1TooManyRequests with default headers values
func (*QuerySampleV1TooManyRequests) Error ¶
func (o *QuerySampleV1TooManyRequests) Error() string
func (*QuerySampleV1TooManyRequests) GetPayload ¶
func (o *QuerySampleV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type QuerySubmissionsBadRequest ¶
type QuerySubmissionsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySubmissionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQuerySubmissionsBadRequest ¶
func NewQuerySubmissionsBadRequest() *QuerySubmissionsBadRequest
NewQuerySubmissionsBadRequest creates a QuerySubmissionsBadRequest with default headers values
func (*QuerySubmissionsBadRequest) Error ¶
func (o *QuerySubmissionsBadRequest) Error() string
func (*QuerySubmissionsBadRequest) GetPayload ¶
func (o *QuerySubmissionsBadRequest) GetPayload() *models.MsaQueryResponse
type QuerySubmissionsDefault ¶
type QuerySubmissionsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QuerySubmissionsDefault describes a response with status code -1, with default header values.
OK
func NewQuerySubmissionsDefault ¶
func NewQuerySubmissionsDefault(code int) *QuerySubmissionsDefault
NewQuerySubmissionsDefault creates a QuerySubmissionsDefault with default headers values
func (*QuerySubmissionsDefault) Code ¶
func (o *QuerySubmissionsDefault) Code() int
Code gets the status code for the query submissions default response
func (*QuerySubmissionsDefault) Error ¶
func (o *QuerySubmissionsDefault) Error() string
func (*QuerySubmissionsDefault) GetPayload ¶
func (o *QuerySubmissionsDefault) GetPayload() *models.MsaQueryResponse
type QuerySubmissionsForbidden ¶
type QuerySubmissionsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QuerySubmissionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQuerySubmissionsForbidden ¶
func NewQuerySubmissionsForbidden() *QuerySubmissionsForbidden
NewQuerySubmissionsForbidden creates a QuerySubmissionsForbidden with default headers values
func (*QuerySubmissionsForbidden) Error ¶
func (o *QuerySubmissionsForbidden) Error() string
func (*QuerySubmissionsForbidden) GetPayload ¶
func (o *QuerySubmissionsForbidden) GetPayload() *models.MsaReplyMetaOnly
type QuerySubmissionsInternalServerError ¶
type QuerySubmissionsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySubmissionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQuerySubmissionsInternalServerError ¶
func NewQuerySubmissionsInternalServerError() *QuerySubmissionsInternalServerError
NewQuerySubmissionsInternalServerError creates a QuerySubmissionsInternalServerError with default headers values
func (*QuerySubmissionsInternalServerError) Error ¶
func (o *QuerySubmissionsInternalServerError) Error() string
func (*QuerySubmissionsInternalServerError) GetPayload ¶
func (o *QuerySubmissionsInternalServerError) GetPayload() *models.MsaQueryResponse
type QuerySubmissionsOK ¶
type QuerySubmissionsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
QuerySubmissionsOK describes a response with status code 200, with default header values.
OK
func NewQuerySubmissionsOK ¶
func NewQuerySubmissionsOK() *QuerySubmissionsOK
NewQuerySubmissionsOK creates a QuerySubmissionsOK with default headers values
func (*QuerySubmissionsOK) Error ¶
func (o *QuerySubmissionsOK) Error() string
func (*QuerySubmissionsOK) GetPayload ¶
func (o *QuerySubmissionsOK) GetPayload() *models.MsaQueryResponse
type QuerySubmissionsParams ¶
type QuerySubmissionsParams struct { /* Filter. Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide). */ Filter *string /* Limit. Maximum number of submission IDs to return. Max: 5000. */ Limit *int64 /* Offset. The offset to start retrieving submissions from. */ Offset *string /* Sort. Sort order: `asc` or `desc`. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySubmissionsParams contains all the parameters to send to the API endpoint
for the query submissions operation. Typically these are written to a http.Request.
func NewQuerySubmissionsParams ¶
func NewQuerySubmissionsParams() *QuerySubmissionsParams
NewQuerySubmissionsParams creates a new QuerySubmissionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuerySubmissionsParamsWithContext ¶
func NewQuerySubmissionsParamsWithContext(ctx context.Context) *QuerySubmissionsParams
NewQuerySubmissionsParamsWithContext creates a new QuerySubmissionsParams object with the ability to set a context for a request.
func NewQuerySubmissionsParamsWithHTTPClient ¶
func NewQuerySubmissionsParamsWithHTTPClient(client *http.Client) *QuerySubmissionsParams
NewQuerySubmissionsParamsWithHTTPClient creates a new QuerySubmissionsParams object with the ability to set a custom HTTPClient for a request.
func NewQuerySubmissionsParamsWithTimeout ¶
func NewQuerySubmissionsParamsWithTimeout(timeout time.Duration) *QuerySubmissionsParams
NewQuerySubmissionsParamsWithTimeout creates a new QuerySubmissionsParams object with the ability to set a timeout on a request.
func (*QuerySubmissionsParams) SetContext ¶
func (o *QuerySubmissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the query submissions params
func (*QuerySubmissionsParams) SetDefaults ¶
func (o *QuerySubmissionsParams) SetDefaults()
SetDefaults hydrates default values in the query submissions params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySubmissionsParams) SetFilter ¶
func (o *QuerySubmissionsParams) SetFilter(filter *string)
SetFilter adds the filter to the query submissions params
func (*QuerySubmissionsParams) SetHTTPClient ¶
func (o *QuerySubmissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query submissions params
func (*QuerySubmissionsParams) SetLimit ¶
func (o *QuerySubmissionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the query submissions params
func (*QuerySubmissionsParams) SetOffset ¶
func (o *QuerySubmissionsParams) SetOffset(offset *string)
SetOffset adds the offset to the query submissions params
func (*QuerySubmissionsParams) SetSort ¶
func (o *QuerySubmissionsParams) SetSort(sort *string)
SetSort adds the sort to the query submissions params
func (*QuerySubmissionsParams) SetTimeout ¶
func (o *QuerySubmissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query submissions params
func (*QuerySubmissionsParams) WithContext ¶
func (o *QuerySubmissionsParams) WithContext(ctx context.Context) *QuerySubmissionsParams
WithContext adds the context to the query submissions params
func (*QuerySubmissionsParams) WithDefaults ¶
func (o *QuerySubmissionsParams) WithDefaults() *QuerySubmissionsParams
WithDefaults hydrates default values in the query submissions params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySubmissionsParams) WithFilter ¶
func (o *QuerySubmissionsParams) WithFilter(filter *string) *QuerySubmissionsParams
WithFilter adds the filter to the query submissions params
func (*QuerySubmissionsParams) WithHTTPClient ¶
func (o *QuerySubmissionsParams) WithHTTPClient(client *http.Client) *QuerySubmissionsParams
WithHTTPClient adds the HTTPClient to the query submissions params
func (*QuerySubmissionsParams) WithLimit ¶
func (o *QuerySubmissionsParams) WithLimit(limit *int64) *QuerySubmissionsParams
WithLimit adds the limit to the query submissions params
func (*QuerySubmissionsParams) WithOffset ¶
func (o *QuerySubmissionsParams) WithOffset(offset *string) *QuerySubmissionsParams
WithOffset adds the offset to the query submissions params
func (*QuerySubmissionsParams) WithSort ¶
func (o *QuerySubmissionsParams) WithSort(sort *string) *QuerySubmissionsParams
WithSort adds the sort to the query submissions params
func (*QuerySubmissionsParams) WithTimeout ¶
func (o *QuerySubmissionsParams) WithTimeout(timeout time.Duration) *QuerySubmissionsParams
WithTimeout adds the timeout to the query submissions params
func (*QuerySubmissionsParams) WriteToRequest ¶
func (o *QuerySubmissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySubmissionsReader ¶
type QuerySubmissionsReader struct {
// contains filtered or unexported fields
}
QuerySubmissionsReader is a Reader for the QuerySubmissions structure.
func (*QuerySubmissionsReader) ReadResponse ¶
func (o *QuerySubmissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySubmissionsTooManyRequests ¶
type QuerySubmissionsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
QuerySubmissionsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQuerySubmissionsTooManyRequests ¶
func NewQuerySubmissionsTooManyRequests() *QuerySubmissionsTooManyRequests
NewQuerySubmissionsTooManyRequests creates a QuerySubmissionsTooManyRequests with default headers values
func (*QuerySubmissionsTooManyRequests) Error ¶
func (o *QuerySubmissionsTooManyRequests) Error() string
func (*QuerySubmissionsTooManyRequests) GetPayload ¶
func (o *QuerySubmissionsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type SubmitBadRequest ¶
type SubmitBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
SubmitBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSubmitBadRequest ¶
func NewSubmitBadRequest() *SubmitBadRequest
NewSubmitBadRequest creates a SubmitBadRequest with default headers values
func (*SubmitBadRequest) Error ¶
func (o *SubmitBadRequest) Error() string
func (*SubmitBadRequest) GetPayload ¶
func (o *SubmitBadRequest) GetPayload() *models.FalconxSubmissionV1Response
type SubmitDefault ¶
type SubmitDefault struct { Payload *models.FalconxSubmissionV1Response // contains filtered or unexported fields }
SubmitDefault describes a response with status code -1, with default header values.
OK
func NewSubmitDefault ¶
func NewSubmitDefault(code int) *SubmitDefault
NewSubmitDefault creates a SubmitDefault with default headers values
func (*SubmitDefault) Code ¶
func (o *SubmitDefault) Code() int
Code gets the status code for the submit default response
func (*SubmitDefault) Error ¶
func (o *SubmitDefault) Error() string
func (*SubmitDefault) GetPayload ¶
func (o *SubmitDefault) GetPayload() *models.FalconxSubmissionV1Response
type SubmitForbidden ¶
type SubmitForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
SubmitForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSubmitForbidden ¶
func NewSubmitForbidden() *SubmitForbidden
NewSubmitForbidden creates a SubmitForbidden with default headers values
func (*SubmitForbidden) Error ¶
func (o *SubmitForbidden) Error() string
func (*SubmitForbidden) GetPayload ¶
func (o *SubmitForbidden) GetPayload() *models.MsaReplyMetaOnly
type SubmitInternalServerError ¶
type SubmitInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
SubmitInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewSubmitInternalServerError ¶
func NewSubmitInternalServerError() *SubmitInternalServerError
NewSubmitInternalServerError creates a SubmitInternalServerError with default headers values
func (*SubmitInternalServerError) Error ¶
func (o *SubmitInternalServerError) Error() string
func (*SubmitInternalServerError) GetPayload ¶
func (o *SubmitInternalServerError) GetPayload() *models.FalconxSubmissionV1Response
type SubmitOK ¶
type SubmitOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.FalconxSubmissionV1Response }
SubmitOK describes a response with status code 200, with default header values.
OK
func NewSubmitOK ¶
func NewSubmitOK() *SubmitOK
NewSubmitOK creates a SubmitOK with default headers values
func (*SubmitOK) GetPayload ¶
func (o *SubmitOK) GetPayload() *models.FalconxSubmissionV1Response
type SubmitParams ¶
type SubmitParams struct { /* Body. Submit either a URL or a sample SHA256 for sandbox analysis. The sample file must have been previously uploaded through `/samples/entities/samples/v2`. You must specify a JSON object that includes the `falconx.SubmissionParametersV1` key/value pairs shown below. **`environment_id`**: Specifies the sandbox environment used for analysis. Values: - `300`: Linux Ubuntu 16.04, 64-bit - `200`: Android (static analysis) - `160`: Windows 10, 64-bit - `110`: Windows 7, 64-bit - `100`: Windows 7, 32-bit **`sha256`** ID of the sample, which is a SHA256 hash value. Find a sample ID from the response when uploading a malware sample or search with `/falconx/queries/submissions/v1`.The `url` parameter must be unset if `sha256` is used. **`url`** A web page or file URL. It can be HTTP(S) or FTP. The `sha256` parameter must be unset if `url` is used. **`action_script`** (optional): Runtime script for sandbox analysis. Values: - `default` - `default_maxantievasion` - `default_randomfiles` - `default_randomtheme` - `default_openie` **`command_line`** (optional): Command line script passed to the submitted file at runtime. Max length: 2048 characters **`document_password`** (optional): Auto-filled for Adobe or Office files that prompt for a password. Max length: 32 characters **`enable_tor`** (optional): If `true`, sandbox analysis routes network traffic via TOR. Default: `false`. **`submit_name`** (optional): Name of the malware sample that's used for file type detection and analysis **`system_date`** (optional): Set a custom date in the format `yyyy-MM-dd` for the sandbox environment **`system_time`** (optional): Set a custom time in the format `HH:mm` for the sandbox environment. */ Body *models.FalconxSubmissionParametersV1 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitParams contains all the parameters to send to the API endpoint
for the submit operation. Typically these are written to a http.Request.
func NewSubmitParams ¶
func NewSubmitParams() *SubmitParams
NewSubmitParams creates a new SubmitParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSubmitParamsWithContext ¶
func NewSubmitParamsWithContext(ctx context.Context) *SubmitParams
NewSubmitParamsWithContext creates a new SubmitParams object with the ability to set a context for a request.
func NewSubmitParamsWithHTTPClient ¶
func NewSubmitParamsWithHTTPClient(client *http.Client) *SubmitParams
NewSubmitParamsWithHTTPClient creates a new SubmitParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitParamsWithTimeout ¶
func NewSubmitParamsWithTimeout(timeout time.Duration) *SubmitParams
NewSubmitParamsWithTimeout creates a new SubmitParams object with the ability to set a timeout on a request.
func (*SubmitParams) SetBody ¶
func (o *SubmitParams) SetBody(body *models.FalconxSubmissionParametersV1)
SetBody adds the body to the submit params
func (*SubmitParams) SetContext ¶
func (o *SubmitParams) SetContext(ctx context.Context)
SetContext adds the context to the submit params
func (*SubmitParams) SetDefaults ¶
func (o *SubmitParams) SetDefaults()
SetDefaults hydrates default values in the submit params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitParams) SetHTTPClient ¶
func (o *SubmitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit params
func (*SubmitParams) SetTimeout ¶
func (o *SubmitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit params
func (*SubmitParams) WithBody ¶
func (o *SubmitParams) WithBody(body *models.FalconxSubmissionParametersV1) *SubmitParams
WithBody adds the body to the submit params
func (*SubmitParams) WithContext ¶
func (o *SubmitParams) WithContext(ctx context.Context) *SubmitParams
WithContext adds the context to the submit params
func (*SubmitParams) WithDefaults ¶
func (o *SubmitParams) WithDefaults() *SubmitParams
WithDefaults hydrates default values in the submit params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitParams) WithHTTPClient ¶
func (o *SubmitParams) WithHTTPClient(client *http.Client) *SubmitParams
WithHTTPClient adds the HTTPClient to the submit params
func (*SubmitParams) WithTimeout ¶
func (o *SubmitParams) WithTimeout(timeout time.Duration) *SubmitParams
WithTimeout adds the timeout to the submit params
func (*SubmitParams) WriteToRequest ¶
func (o *SubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitReader ¶
type SubmitReader struct {
// contains filtered or unexported fields
}
SubmitReader is a Reader for the Submit structure.
func (*SubmitReader) ReadResponse ¶
func (o *SubmitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitTooManyRequests ¶
type SubmitTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.FalconxSubmissionV1Response }
SubmitTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSubmitTooManyRequests ¶
func NewSubmitTooManyRequests() *SubmitTooManyRequests
NewSubmitTooManyRequests creates a SubmitTooManyRequests with default headers values
func (*SubmitTooManyRequests) Error ¶
func (o *SubmitTooManyRequests) Error() string
func (*SubmitTooManyRequests) GetPayload ¶
func (o *SubmitTooManyRequests) GetPayload() *models.FalconxSubmissionV1Response
type UploadSampleV2BadRequest ¶
type UploadSampleV2BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ClientSampleMetadataResponseV2 }
UploadSampleV2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUploadSampleV2BadRequest ¶
func NewUploadSampleV2BadRequest() *UploadSampleV2BadRequest
NewUploadSampleV2BadRequest creates a UploadSampleV2BadRequest with default headers values
func (*UploadSampleV2BadRequest) Error ¶
func (o *UploadSampleV2BadRequest) Error() string
func (*UploadSampleV2BadRequest) GetPayload ¶
func (o *UploadSampleV2BadRequest) GetPayload() *models.ClientSampleMetadataResponseV2
type UploadSampleV2Default ¶
type UploadSampleV2Default struct { Payload *models.ClientSampleMetadataResponseV2 // contains filtered or unexported fields }
UploadSampleV2Default describes a response with status code -1, with default header values.
OK
func NewUploadSampleV2Default ¶
func NewUploadSampleV2Default(code int) *UploadSampleV2Default
NewUploadSampleV2Default creates a UploadSampleV2Default with default headers values
func (*UploadSampleV2Default) Code ¶
func (o *UploadSampleV2Default) Code() int
Code gets the status code for the upload sample v2 default response
func (*UploadSampleV2Default) Error ¶
func (o *UploadSampleV2Default) Error() string
func (*UploadSampleV2Default) GetPayload ¶
func (o *UploadSampleV2Default) GetPayload() *models.ClientSampleMetadataResponseV2
type UploadSampleV2Forbidden ¶
type UploadSampleV2Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
UploadSampleV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUploadSampleV2Forbidden ¶
func NewUploadSampleV2Forbidden() *UploadSampleV2Forbidden
NewUploadSampleV2Forbidden creates a UploadSampleV2Forbidden with default headers values
func (*UploadSampleV2Forbidden) Error ¶
func (o *UploadSampleV2Forbidden) Error() string
func (*UploadSampleV2Forbidden) GetPayload ¶
func (o *UploadSampleV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
type UploadSampleV2InternalServerError ¶
type UploadSampleV2InternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ClientSampleMetadataResponseV2 }
UploadSampleV2InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUploadSampleV2InternalServerError ¶
func NewUploadSampleV2InternalServerError() *UploadSampleV2InternalServerError
NewUploadSampleV2InternalServerError creates a UploadSampleV2InternalServerError with default headers values
func (*UploadSampleV2InternalServerError) Error ¶
func (o *UploadSampleV2InternalServerError) Error() string
func (*UploadSampleV2InternalServerError) GetPayload ¶
func (o *UploadSampleV2InternalServerError) GetPayload() *models.ClientSampleMetadataResponseV2
type UploadSampleV2OK ¶
type UploadSampleV2OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.ClientSampleMetadataResponseV2 }
UploadSampleV2OK describes a response with status code 200, with default header values.
OK
func NewUploadSampleV2OK ¶
func NewUploadSampleV2OK() *UploadSampleV2OK
NewUploadSampleV2OK creates a UploadSampleV2OK with default headers values
func (*UploadSampleV2OK) Error ¶
func (o *UploadSampleV2OK) Error() string
func (*UploadSampleV2OK) GetPayload ¶
func (o *UploadSampleV2OK) GetPayload() *models.ClientSampleMetadataResponseV2
type UploadSampleV2Params ¶
type UploadSampleV2Params struct { /* Comment. A descriptive comment to identify the file for other users. */ Comment *string /* FileName. Name of the file. */ FileName string /* IsConfidential. Defines visibility of this file in Falcon MalQuery, either via the API or the Falcon console. - `true`: File is only shown to users within your customer account - `false`: File can be seen by other CrowdStrike customers Default: `true`. Default: true */ IsConfidential *bool /* Sample. Content of the uploaded sample in binary format. For example, use `--data-binary @$FILE_PATH` when using cURL. Max file size: 256 MB. Accepted file formats: - Portable executables: `.exe`, `.scr`, `.pif`, `.dll`, `.com`, `.cpl`, etc. - Office documents: `.doc`, `.docx`, `.ppt`, `.pps`, `.pptx`, `.ppsx`, `.xls`, `.xlsx`, `.rtf`, `.pub` - PDF - APK - Executable JAR - Windows script component: `.sct` - Windows shortcut: `.lnk` - Windows help: `.chm` - HTML application: `.hta` - Windows script file: `.wsf` - Javascript: `.js` - Visual Basic: `.vbs`, `.vbe` - Shockwave Flash: `.swf` - Perl: `.pl` - Powershell: `.ps1`, `.psd1`, `.psm1` - Scalable vector graphics: `.svg` - Python: `.py` - Linux ELF executables - Email files: MIME RFC 822 `.eml`, Outlook `.msg`. */ Sample runtime.NamedReadCloser Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadSampleV2Params contains all the parameters to send to the API endpoint
for the upload sample v2 operation. Typically these are written to a http.Request.
func NewUploadSampleV2Params ¶
func NewUploadSampleV2Params() *UploadSampleV2Params
NewUploadSampleV2Params creates a new UploadSampleV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadSampleV2ParamsWithContext ¶
func NewUploadSampleV2ParamsWithContext(ctx context.Context) *UploadSampleV2Params
NewUploadSampleV2ParamsWithContext creates a new UploadSampleV2Params object with the ability to set a context for a request.
func NewUploadSampleV2ParamsWithHTTPClient ¶
func NewUploadSampleV2ParamsWithHTTPClient(client *http.Client) *UploadSampleV2Params
NewUploadSampleV2ParamsWithHTTPClient creates a new UploadSampleV2Params object with the ability to set a custom HTTPClient for a request.
func NewUploadSampleV2ParamsWithTimeout ¶
func NewUploadSampleV2ParamsWithTimeout(timeout time.Duration) *UploadSampleV2Params
NewUploadSampleV2ParamsWithTimeout creates a new UploadSampleV2Params object with the ability to set a timeout on a request.
func (*UploadSampleV2Params) SetComment ¶
func (o *UploadSampleV2Params) SetComment(comment *string)
SetComment adds the comment to the upload sample v2 params
func (*UploadSampleV2Params) SetContext ¶
func (o *UploadSampleV2Params) SetContext(ctx context.Context)
SetContext adds the context to the upload sample v2 params
func (*UploadSampleV2Params) SetDefaults ¶
func (o *UploadSampleV2Params) SetDefaults()
SetDefaults hydrates default values in the upload sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UploadSampleV2Params) SetFileName ¶
func (o *UploadSampleV2Params) SetFileName(fileName string)
SetFileName adds the fileName to the upload sample v2 params
func (*UploadSampleV2Params) SetHTTPClient ¶
func (o *UploadSampleV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload sample v2 params
func (*UploadSampleV2Params) SetIsConfidential ¶
func (o *UploadSampleV2Params) SetIsConfidential(isConfidential *bool)
SetIsConfidential adds the isConfidential to the upload sample v2 params
func (*UploadSampleV2Params) SetSample ¶ added in v0.2.6
func (o *UploadSampleV2Params) SetSample(sample runtime.NamedReadCloser)
SetSample adds the sample to the upload sample v2 params
func (*UploadSampleV2Params) SetTimeout ¶
func (o *UploadSampleV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload sample v2 params
func (*UploadSampleV2Params) WithComment ¶
func (o *UploadSampleV2Params) WithComment(comment *string) *UploadSampleV2Params
WithComment adds the comment to the upload sample v2 params
func (*UploadSampleV2Params) WithContext ¶
func (o *UploadSampleV2Params) WithContext(ctx context.Context) *UploadSampleV2Params
WithContext adds the context to the upload sample v2 params
func (*UploadSampleV2Params) WithDefaults ¶
func (o *UploadSampleV2Params) WithDefaults() *UploadSampleV2Params
WithDefaults hydrates default values in the upload sample v2 params (not the query body).
All values with no default are reset to their zero value.
func (*UploadSampleV2Params) WithFileName ¶
func (o *UploadSampleV2Params) WithFileName(fileName string) *UploadSampleV2Params
WithFileName adds the fileName to the upload sample v2 params
func (*UploadSampleV2Params) WithHTTPClient ¶
func (o *UploadSampleV2Params) WithHTTPClient(client *http.Client) *UploadSampleV2Params
WithHTTPClient adds the HTTPClient to the upload sample v2 params
func (*UploadSampleV2Params) WithIsConfidential ¶
func (o *UploadSampleV2Params) WithIsConfidential(isConfidential *bool) *UploadSampleV2Params
WithIsConfidential adds the isConfidential to the upload sample v2 params
func (*UploadSampleV2Params) WithSample ¶ added in v0.2.6
func (o *UploadSampleV2Params) WithSample(sample runtime.NamedReadCloser) *UploadSampleV2Params
WithSample adds the sample to the upload sample v2 params
func (*UploadSampleV2Params) WithTimeout ¶
func (o *UploadSampleV2Params) WithTimeout(timeout time.Duration) *UploadSampleV2Params
WithTimeout adds the timeout to the upload sample v2 params
func (*UploadSampleV2Params) WriteToRequest ¶
func (o *UploadSampleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadSampleV2Reader ¶
type UploadSampleV2Reader struct {
// contains filtered or unexported fields
}
UploadSampleV2Reader is a Reader for the UploadSampleV2 structure.
func (*UploadSampleV2Reader) ReadResponse ¶
func (o *UploadSampleV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadSampleV2TooManyRequests ¶
type UploadSampleV2TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
UploadSampleV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUploadSampleV2TooManyRequests ¶
func NewUploadSampleV2TooManyRequests() *UploadSampleV2TooManyRequests
NewUploadSampleV2TooManyRequests creates a UploadSampleV2TooManyRequests with default headers values
func (*UploadSampleV2TooManyRequests) Error ¶
func (o *UploadSampleV2TooManyRequests) Error() string
func (*UploadSampleV2TooManyRequests) GetPayload ¶
func (o *UploadSampleV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- delete_report_parameters.go
- delete_report_responses.go
- delete_sample_v2_parameters.go
- delete_sample_v2_responses.go
- falconx_sandbox_client.go
- get_artifacts_parameters.go
- get_artifacts_responses.go
- get_reports_parameters.go
- get_reports_responses.go
- get_sample_v2_parameters.go
- get_sample_v2_responses.go
- get_submissions_parameters.go
- get_submissions_responses.go
- get_summary_reports_parameters.go
- get_summary_reports_responses.go
- query_reports_parameters.go
- query_reports_responses.go
- query_sample_v1_parameters.go
- query_sample_v1_responses.go
- query_submissions_parameters.go
- query_submissions_responses.go
- submit_parameters.go
- submit_responses.go
- upload_sample_v2_parameters.go
- upload_sample_v2_responses.go