falconx_sandbox

package
v0.2.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Index

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

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

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

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 (*DeleteReportInternalServerError) GetPayload

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

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

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 (*DeleteReportTooManyRequests) GetPayload

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

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

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

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 (*DeleteSampleV2InternalServerError) GetPayload

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

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

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

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 (*DeleteSampleV2TooManyRequests) GetPayload

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

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

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 (*GetArtifactsInternalServerError) GetPayload

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

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

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 (*GetArtifactsTooManyRequests) GetPayload

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

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

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 (*GetReportsInternalServerError) GetPayload

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

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

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 (*GetSampleV2InternalServerError) GetPayload

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 (*GetSampleV2TooManyRequests) GetPayload

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

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

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

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 (*GetSubmissionsInternalServerError) GetPayload

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

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

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

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 (*GetSubmissionsTooManyRequests) GetPayload

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 (*GetSummaryReportsBadRequest) GetPayload

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

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 (*GetSummaryReportsForbidden) GetPayload

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 (*GetSummaryReportsInternalServerError) GetPayload

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

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

WithContext adds the context to the get summary reports params

func (*GetSummaryReportsParams) WithDefaults

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

WithIds adds the ids to the get summary reports params

func (*GetSummaryReportsParams) WithTimeout

WithTimeout adds the timeout to the get summary reports params

func (*GetSummaryReportsParams) WriteToRequest

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 (*GetSummaryReportsTooManyRequests) GetPayload

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

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

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 (*QueryReportsInternalServerError) GetPayload

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

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 (*QueryReportsTooManyRequests) GetPayload

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

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

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 (*QuerySampleV1InternalServerError) GetPayload

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

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

WithBody adds the body to the query sample v1 params

func (*QuerySampleV1Params) WithContext

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 (*QuerySampleV1TooManyRequests) GetPayload

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 (*QuerySubmissionsBadRequest) GetPayload

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

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

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 (*QuerySubmissionsInternalServerError) GetPayload

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

WithContext adds the context to the query submissions params

func (*QuerySubmissionsParams) WithDefaults

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

WithSort adds the sort to the query submissions params

func (*QuerySubmissionsParams) WithTimeout

WithTimeout adds the timeout to the query submissions params

func (*QuerySubmissionsParams) WriteToRequest

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 (*QuerySubmissionsTooManyRequests) GetPayload

type SubmitBadRequest

type SubmitBadRequest 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.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

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

type SubmitForbidden

type SubmitForbidden 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
}
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 {

	/* 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.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

type SubmitOK

type SubmitOK 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.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) Error

func (o *SubmitOK) Error() string

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): Deprecated, please use `network_settings` instead. If `true`, sandbox analysis routes network traffic via TOR. Default: `false`.

	**`network_settings`** (optional): Specifies the sandbox network_settings used for analysis. Values:

	- `default`: Fully operating network
	- `tor`: Route network traffic via TOR
	- `simulated`: Simulate network traffic
	- `offline`: No network traffic

	**`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

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

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 {

	/* 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.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

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

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

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

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 (*UploadSampleV2InternalServerError) GetPayload

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

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

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

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 (*UploadSampleV2TooManyRequests) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL