detects

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 2

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 detects API

func (*Client) GetAggregateDetects

func (a *Client) GetAggregateDetects(params *GetAggregateDetectsParams, opts ...ClientOption) (*GetAggregateDetectsOK, error)

GetAggregateDetects gets detect aggregates as specified via json in request body

func (*Client) GetDetectSummaries

func (a *Client) GetDetectSummaries(params *GetDetectSummariesParams, opts ...ClientOption) (*GetDetectSummariesOK, error)

GetDetectSummaries views information about detections

func (*Client) QueryDetects

func (a *Client) QueryDetects(params *QueryDetectsParams, opts ...ClientOption) (*QueryDetectsOK, error)

QueryDetects searches for detection i ds that match a given query

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateDetectsByIdsV2

func (a *Client) UpdateDetectsByIdsV2(params *UpdateDetectsByIdsV2Params, opts ...ClientOption) (*UpdateDetectsByIdsV2OK, error)

UpdateDetectsByIdsV2 modifies the state assignee and visibility of detections

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAggregateDetects(params *GetAggregateDetectsParams, opts ...ClientOption) (*GetAggregateDetectsOK, error)

	GetDetectSummaries(params *GetDetectSummariesParams, opts ...ClientOption) (*GetDetectSummariesOK, error)

	QueryDetects(params *QueryDetectsParams, opts ...ClientOption) (*QueryDetectsOK, error)

	UpdateDetectsByIdsV2(params *UpdateDetectsByIdsV2Params, opts ...ClientOption) (*UpdateDetectsByIdsV2OK, 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 detects API client.

type GetAggregateDetectsBadRequest

type GetAggregateDetectsBadRequest 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.MsaAggregatesResponse
}

GetAggregateDetectsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAggregateDetectsBadRequest

func NewGetAggregateDetectsBadRequest() *GetAggregateDetectsBadRequest

NewGetAggregateDetectsBadRequest creates a GetAggregateDetectsBadRequest with default headers values

func (*GetAggregateDetectsBadRequest) Code added in v0.2.33

Code gets the status code for the get aggregate detects bad request response

func (*GetAggregateDetectsBadRequest) Error

func (*GetAggregateDetectsBadRequest) GetPayload

func (*GetAggregateDetectsBadRequest) IsClientError added in v0.2.27

func (o *GetAggregateDetectsBadRequest) IsClientError() bool

IsClientError returns true when this get aggregate detects bad request response has a 4xx status code

func (*GetAggregateDetectsBadRequest) IsCode added in v0.2.27

func (o *GetAggregateDetectsBadRequest) IsCode(code int) bool

IsCode returns true when this get aggregate detects bad request response a status code equal to that given

func (*GetAggregateDetectsBadRequest) IsRedirect added in v0.2.27

func (o *GetAggregateDetectsBadRequest) IsRedirect() bool

IsRedirect returns true when this get aggregate detects bad request response has a 3xx status code

func (*GetAggregateDetectsBadRequest) IsServerError added in v0.2.27

func (o *GetAggregateDetectsBadRequest) IsServerError() bool

IsServerError returns true when this get aggregate detects bad request response has a 5xx status code

func (*GetAggregateDetectsBadRequest) IsSuccess added in v0.2.27

func (o *GetAggregateDetectsBadRequest) IsSuccess() bool

IsSuccess returns true when this get aggregate detects bad request response has a 2xx status code

func (*GetAggregateDetectsBadRequest) String added in v0.2.27

type GetAggregateDetectsForbidden

type GetAggregateDetectsForbidden 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
}

GetAggregateDetectsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAggregateDetectsForbidden

func NewGetAggregateDetectsForbidden() *GetAggregateDetectsForbidden

NewGetAggregateDetectsForbidden creates a GetAggregateDetectsForbidden with default headers values

func (*GetAggregateDetectsForbidden) Code added in v0.2.33

Code gets the status code for the get aggregate detects forbidden response

func (*GetAggregateDetectsForbidden) Error

func (*GetAggregateDetectsForbidden) GetPayload

func (*GetAggregateDetectsForbidden) IsClientError added in v0.2.27

func (o *GetAggregateDetectsForbidden) IsClientError() bool

IsClientError returns true when this get aggregate detects forbidden response has a 4xx status code

func (*GetAggregateDetectsForbidden) IsCode added in v0.2.27

func (o *GetAggregateDetectsForbidden) IsCode(code int) bool

IsCode returns true when this get aggregate detects forbidden response a status code equal to that given

func (*GetAggregateDetectsForbidden) IsRedirect added in v0.2.27

func (o *GetAggregateDetectsForbidden) IsRedirect() bool

IsRedirect returns true when this get aggregate detects forbidden response has a 3xx status code

func (*GetAggregateDetectsForbidden) IsServerError added in v0.2.27

func (o *GetAggregateDetectsForbidden) IsServerError() bool

IsServerError returns true when this get aggregate detects forbidden response has a 5xx status code

func (*GetAggregateDetectsForbidden) IsSuccess added in v0.2.27

func (o *GetAggregateDetectsForbidden) IsSuccess() bool

IsSuccess returns true when this get aggregate detects forbidden response has a 2xx status code

func (*GetAggregateDetectsForbidden) String added in v0.2.27

type GetAggregateDetectsInternalServerError

type GetAggregateDetectsInternalServerError 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.MsaAggregatesResponse
}

GetAggregateDetectsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAggregateDetectsInternalServerError

func NewGetAggregateDetectsInternalServerError() *GetAggregateDetectsInternalServerError

NewGetAggregateDetectsInternalServerError creates a GetAggregateDetectsInternalServerError with default headers values

func (*GetAggregateDetectsInternalServerError) Code added in v0.2.33

Code gets the status code for the get aggregate detects internal server error response

func (*GetAggregateDetectsInternalServerError) Error

func (*GetAggregateDetectsInternalServerError) GetPayload

func (*GetAggregateDetectsInternalServerError) IsClientError added in v0.2.27

func (o *GetAggregateDetectsInternalServerError) IsClientError() bool

IsClientError returns true when this get aggregate detects internal server error response has a 4xx status code

func (*GetAggregateDetectsInternalServerError) IsCode added in v0.2.27

IsCode returns true when this get aggregate detects internal server error response a status code equal to that given

func (*GetAggregateDetectsInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this get aggregate detects internal server error response has a 3xx status code

func (*GetAggregateDetectsInternalServerError) IsServerError added in v0.2.27

func (o *GetAggregateDetectsInternalServerError) IsServerError() bool

IsServerError returns true when this get aggregate detects internal server error response has a 5xx status code

func (*GetAggregateDetectsInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this get aggregate detects internal server error response has a 2xx status code

func (*GetAggregateDetectsInternalServerError) String added in v0.2.27

type GetAggregateDetectsOK

type GetAggregateDetectsOK 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.MsaAggregatesResponse
}

GetAggregateDetectsOK describes a response with status code 200, with default header values.

OK

func NewGetAggregateDetectsOK

func NewGetAggregateDetectsOK() *GetAggregateDetectsOK

NewGetAggregateDetectsOK creates a GetAggregateDetectsOK with default headers values

func (*GetAggregateDetectsOK) Code added in v0.2.33

func (o *GetAggregateDetectsOK) Code() int

Code gets the status code for the get aggregate detects o k response

func (*GetAggregateDetectsOK) Error

func (o *GetAggregateDetectsOK) Error() string

func (*GetAggregateDetectsOK) GetPayload

func (*GetAggregateDetectsOK) IsClientError added in v0.2.27

func (o *GetAggregateDetectsOK) IsClientError() bool

IsClientError returns true when this get aggregate detects o k response has a 4xx status code

func (*GetAggregateDetectsOK) IsCode added in v0.2.27

func (o *GetAggregateDetectsOK) IsCode(code int) bool

IsCode returns true when this get aggregate detects o k response a status code equal to that given

func (*GetAggregateDetectsOK) IsRedirect added in v0.2.27

func (o *GetAggregateDetectsOK) IsRedirect() bool

IsRedirect returns true when this get aggregate detects o k response has a 3xx status code

func (*GetAggregateDetectsOK) IsServerError added in v0.2.27

func (o *GetAggregateDetectsOK) IsServerError() bool

IsServerError returns true when this get aggregate detects o k response has a 5xx status code

func (*GetAggregateDetectsOK) IsSuccess added in v0.2.27

func (o *GetAggregateDetectsOK) IsSuccess() bool

IsSuccess returns true when this get aggregate detects o k response has a 2xx status code

func (*GetAggregateDetectsOK) String added in v0.2.27

func (o *GetAggregateDetectsOK) String() string

type GetAggregateDetectsParams

type GetAggregateDetectsParams struct {

	/* Body.

	   Query criteria and settings
	*/
	Body []*models.MsaAggregateQueryRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAggregateDetectsParams contains all the parameters to send to the API endpoint

for the get aggregate detects operation.

Typically these are written to a http.Request.

func NewGetAggregateDetectsParams

func NewGetAggregateDetectsParams() *GetAggregateDetectsParams

NewGetAggregateDetectsParams creates a new GetAggregateDetectsParams 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 NewGetAggregateDetectsParamsWithContext

func NewGetAggregateDetectsParamsWithContext(ctx context.Context) *GetAggregateDetectsParams

NewGetAggregateDetectsParamsWithContext creates a new GetAggregateDetectsParams object with the ability to set a context for a request.

func NewGetAggregateDetectsParamsWithHTTPClient

func NewGetAggregateDetectsParamsWithHTTPClient(client *http.Client) *GetAggregateDetectsParams

NewGetAggregateDetectsParamsWithHTTPClient creates a new GetAggregateDetectsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAggregateDetectsParamsWithTimeout

func NewGetAggregateDetectsParamsWithTimeout(timeout time.Duration) *GetAggregateDetectsParams

NewGetAggregateDetectsParamsWithTimeout creates a new GetAggregateDetectsParams object with the ability to set a timeout on a request.

func (*GetAggregateDetectsParams) SetBody

SetBody adds the body to the get aggregate detects params

func (*GetAggregateDetectsParams) SetContext

func (o *GetAggregateDetectsParams) SetContext(ctx context.Context)

SetContext adds the context to the get aggregate detects params

func (*GetAggregateDetectsParams) SetDefaults

func (o *GetAggregateDetectsParams) SetDefaults()

SetDefaults hydrates default values in the get aggregate detects params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateDetectsParams) SetHTTPClient

func (o *GetAggregateDetectsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get aggregate detects params

func (*GetAggregateDetectsParams) SetTimeout

func (o *GetAggregateDetectsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get aggregate detects params

func (*GetAggregateDetectsParams) WithBody

WithBody adds the body to the get aggregate detects params

func (*GetAggregateDetectsParams) WithContext

WithContext adds the context to the get aggregate detects params

func (*GetAggregateDetectsParams) WithDefaults

WithDefaults hydrates default values in the get aggregate detects params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateDetectsParams) WithHTTPClient

func (o *GetAggregateDetectsParams) WithHTTPClient(client *http.Client) *GetAggregateDetectsParams

WithHTTPClient adds the HTTPClient to the get aggregate detects params

func (*GetAggregateDetectsParams) WithTimeout

WithTimeout adds the timeout to the get aggregate detects params

func (*GetAggregateDetectsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAggregateDetectsReader

type GetAggregateDetectsReader struct {
	// contains filtered or unexported fields
}

GetAggregateDetectsReader is a Reader for the GetAggregateDetects structure.

func (*GetAggregateDetectsReader) ReadResponse

func (o *GetAggregateDetectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAggregateDetectsTooManyRequests

type GetAggregateDetectsTooManyRequests 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
}

GetAggregateDetectsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAggregateDetectsTooManyRequests

func NewGetAggregateDetectsTooManyRequests() *GetAggregateDetectsTooManyRequests

NewGetAggregateDetectsTooManyRequests creates a GetAggregateDetectsTooManyRequests with default headers values

func (*GetAggregateDetectsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get aggregate detects too many requests response

func (*GetAggregateDetectsTooManyRequests) Error

func (*GetAggregateDetectsTooManyRequests) GetPayload

func (*GetAggregateDetectsTooManyRequests) IsClientError added in v0.2.27

func (o *GetAggregateDetectsTooManyRequests) IsClientError() bool

IsClientError returns true when this get aggregate detects too many requests response has a 4xx status code

func (*GetAggregateDetectsTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this get aggregate detects too many requests response a status code equal to that given

func (*GetAggregateDetectsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetAggregateDetectsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get aggregate detects too many requests response has a 3xx status code

func (*GetAggregateDetectsTooManyRequests) IsServerError added in v0.2.27

func (o *GetAggregateDetectsTooManyRequests) IsServerError() bool

IsServerError returns true when this get aggregate detects too many requests response has a 5xx status code

func (*GetAggregateDetectsTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this get aggregate detects too many requests response has a 2xx status code

func (*GetAggregateDetectsTooManyRequests) String added in v0.2.27

type GetDetectSummariesBadRequest

type GetDetectSummariesBadRequest 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.DomainMsaDetectSummariesResponse
}

GetDetectSummariesBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDetectSummariesBadRequest

func NewGetDetectSummariesBadRequest() *GetDetectSummariesBadRequest

NewGetDetectSummariesBadRequest creates a GetDetectSummariesBadRequest with default headers values

func (*GetDetectSummariesBadRequest) Code added in v0.2.33

Code gets the status code for the get detect summaries bad request response

func (*GetDetectSummariesBadRequest) Error

func (*GetDetectSummariesBadRequest) GetPayload

func (*GetDetectSummariesBadRequest) IsClientError added in v0.2.27

func (o *GetDetectSummariesBadRequest) IsClientError() bool

IsClientError returns true when this get detect summaries bad request response has a 4xx status code

func (*GetDetectSummariesBadRequest) IsCode added in v0.2.27

func (o *GetDetectSummariesBadRequest) IsCode(code int) bool

IsCode returns true when this get detect summaries bad request response a status code equal to that given

func (*GetDetectSummariesBadRequest) IsRedirect added in v0.2.27

func (o *GetDetectSummariesBadRequest) IsRedirect() bool

IsRedirect returns true when this get detect summaries bad request response has a 3xx status code

func (*GetDetectSummariesBadRequest) IsServerError added in v0.2.27

func (o *GetDetectSummariesBadRequest) IsServerError() bool

IsServerError returns true when this get detect summaries bad request response has a 5xx status code

func (*GetDetectSummariesBadRequest) IsSuccess added in v0.2.27

func (o *GetDetectSummariesBadRequest) IsSuccess() bool

IsSuccess returns true when this get detect summaries bad request response has a 2xx status code

func (*GetDetectSummariesBadRequest) String added in v0.2.27

type GetDetectSummariesForbidden

type GetDetectSummariesForbidden 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
}

GetDetectSummariesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDetectSummariesForbidden

func NewGetDetectSummariesForbidden() *GetDetectSummariesForbidden

NewGetDetectSummariesForbidden creates a GetDetectSummariesForbidden with default headers values

func (*GetDetectSummariesForbidden) Code added in v0.2.33

func (o *GetDetectSummariesForbidden) Code() int

Code gets the status code for the get detect summaries forbidden response

func (*GetDetectSummariesForbidden) Error

func (*GetDetectSummariesForbidden) GetPayload

func (*GetDetectSummariesForbidden) IsClientError added in v0.2.27

func (o *GetDetectSummariesForbidden) IsClientError() bool

IsClientError returns true when this get detect summaries forbidden response has a 4xx status code

func (*GetDetectSummariesForbidden) IsCode added in v0.2.27

func (o *GetDetectSummariesForbidden) IsCode(code int) bool

IsCode returns true when this get detect summaries forbidden response a status code equal to that given

func (*GetDetectSummariesForbidden) IsRedirect added in v0.2.27

func (o *GetDetectSummariesForbidden) IsRedirect() bool

IsRedirect returns true when this get detect summaries forbidden response has a 3xx status code

func (*GetDetectSummariesForbidden) IsServerError added in v0.2.27

func (o *GetDetectSummariesForbidden) IsServerError() bool

IsServerError returns true when this get detect summaries forbidden response has a 5xx status code

func (*GetDetectSummariesForbidden) IsSuccess added in v0.2.27

func (o *GetDetectSummariesForbidden) IsSuccess() bool

IsSuccess returns true when this get detect summaries forbidden response has a 2xx status code

func (*GetDetectSummariesForbidden) String added in v0.2.27

func (o *GetDetectSummariesForbidden) String() string

type GetDetectSummariesInternalServerError

type GetDetectSummariesInternalServerError 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.DomainMsaDetectSummariesResponse
}

GetDetectSummariesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDetectSummariesInternalServerError

func NewGetDetectSummariesInternalServerError() *GetDetectSummariesInternalServerError

NewGetDetectSummariesInternalServerError creates a GetDetectSummariesInternalServerError with default headers values

func (*GetDetectSummariesInternalServerError) Code added in v0.2.33

Code gets the status code for the get detect summaries internal server error response

func (*GetDetectSummariesInternalServerError) Error

func (*GetDetectSummariesInternalServerError) GetPayload

func (*GetDetectSummariesInternalServerError) IsClientError added in v0.2.27

func (o *GetDetectSummariesInternalServerError) IsClientError() bool

IsClientError returns true when this get detect summaries internal server error response has a 4xx status code

func (*GetDetectSummariesInternalServerError) IsCode added in v0.2.27

IsCode returns true when this get detect summaries internal server error response a status code equal to that given

func (*GetDetectSummariesInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this get detect summaries internal server error response has a 3xx status code

func (*GetDetectSummariesInternalServerError) IsServerError added in v0.2.27

func (o *GetDetectSummariesInternalServerError) IsServerError() bool

IsServerError returns true when this get detect summaries internal server error response has a 5xx status code

func (*GetDetectSummariesInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this get detect summaries internal server error response has a 2xx status code

func (*GetDetectSummariesInternalServerError) String added in v0.2.27

type GetDetectSummariesOK

type GetDetectSummariesOK 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.DomainMsaDetectSummariesResponse
}

GetDetectSummariesOK describes a response with status code 200, with default header values.

OK

func NewGetDetectSummariesOK

func NewGetDetectSummariesOK() *GetDetectSummariesOK

NewGetDetectSummariesOK creates a GetDetectSummariesOK with default headers values

func (*GetDetectSummariesOK) Code added in v0.2.33

func (o *GetDetectSummariesOK) Code() int

Code gets the status code for the get detect summaries o k response

func (*GetDetectSummariesOK) Error

func (o *GetDetectSummariesOK) Error() string

func (*GetDetectSummariesOK) GetPayload

func (*GetDetectSummariesOK) IsClientError added in v0.2.27

func (o *GetDetectSummariesOK) IsClientError() bool

IsClientError returns true when this get detect summaries o k response has a 4xx status code

func (*GetDetectSummariesOK) IsCode added in v0.2.27

func (o *GetDetectSummariesOK) IsCode(code int) bool

IsCode returns true when this get detect summaries o k response a status code equal to that given

func (*GetDetectSummariesOK) IsRedirect added in v0.2.27

func (o *GetDetectSummariesOK) IsRedirect() bool

IsRedirect returns true when this get detect summaries o k response has a 3xx status code

func (*GetDetectSummariesOK) IsServerError added in v0.2.27

func (o *GetDetectSummariesOK) IsServerError() bool

IsServerError returns true when this get detect summaries o k response has a 5xx status code

func (*GetDetectSummariesOK) IsSuccess added in v0.2.27

func (o *GetDetectSummariesOK) IsSuccess() bool

IsSuccess returns true when this get detect summaries o k response has a 2xx status code

func (*GetDetectSummariesOK) String added in v0.2.27

func (o *GetDetectSummariesOK) String() string

type GetDetectSummariesParams

type GetDetectSummariesParams struct {

	/* Body.

	   View key attributes of detections, including the associated host, [disposition](https://falcon.crowdstrike.com/documentation/86/detections-monitoring-apis#pattern-disposition-value-descriptions), objective/tactic/technique, adversary, and more. Specify one or more detection IDs (max 1000 per request). Find detection IDs with the `/detects/queries/detects/v1` endpoint, the Falcon console, or the Streaming API.
	*/
	Body *models.MsaIdsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDetectSummariesParams contains all the parameters to send to the API endpoint

for the get detect summaries operation.

Typically these are written to a http.Request.

func NewGetDetectSummariesParams

func NewGetDetectSummariesParams() *GetDetectSummariesParams

NewGetDetectSummariesParams creates a new GetDetectSummariesParams 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 NewGetDetectSummariesParamsWithContext

func NewGetDetectSummariesParamsWithContext(ctx context.Context) *GetDetectSummariesParams

NewGetDetectSummariesParamsWithContext creates a new GetDetectSummariesParams object with the ability to set a context for a request.

func NewGetDetectSummariesParamsWithHTTPClient

func NewGetDetectSummariesParamsWithHTTPClient(client *http.Client) *GetDetectSummariesParams

NewGetDetectSummariesParamsWithHTTPClient creates a new GetDetectSummariesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDetectSummariesParamsWithTimeout

func NewGetDetectSummariesParamsWithTimeout(timeout time.Duration) *GetDetectSummariesParams

NewGetDetectSummariesParamsWithTimeout creates a new GetDetectSummariesParams object with the ability to set a timeout on a request.

func (*GetDetectSummariesParams) SetBody

func (o *GetDetectSummariesParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get detect summaries params

func (*GetDetectSummariesParams) SetContext

func (o *GetDetectSummariesParams) SetContext(ctx context.Context)

SetContext adds the context to the get detect summaries params

func (*GetDetectSummariesParams) SetDefaults

func (o *GetDetectSummariesParams) SetDefaults()

SetDefaults hydrates default values in the get detect summaries params (not the query body).

All values with no default are reset to their zero value.

func (*GetDetectSummariesParams) SetHTTPClient

func (o *GetDetectSummariesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get detect summaries params

func (*GetDetectSummariesParams) SetTimeout

func (o *GetDetectSummariesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get detect summaries params

func (*GetDetectSummariesParams) WithBody

WithBody adds the body to the get detect summaries params

func (*GetDetectSummariesParams) WithContext

WithContext adds the context to the get detect summaries params

func (*GetDetectSummariesParams) WithDefaults

WithDefaults hydrates default values in the get detect summaries params (not the query body).

All values with no default are reset to their zero value.

func (*GetDetectSummariesParams) WithHTTPClient

func (o *GetDetectSummariesParams) WithHTTPClient(client *http.Client) *GetDetectSummariesParams

WithHTTPClient adds the HTTPClient to the get detect summaries params

func (*GetDetectSummariesParams) WithTimeout

WithTimeout adds the timeout to the get detect summaries params

func (*GetDetectSummariesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDetectSummariesReader

type GetDetectSummariesReader struct {
	// contains filtered or unexported fields
}

GetDetectSummariesReader is a Reader for the GetDetectSummaries structure.

func (*GetDetectSummariesReader) ReadResponse

func (o *GetDetectSummariesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDetectSummariesTooManyRequests

type GetDetectSummariesTooManyRequests 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
}

GetDetectSummariesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDetectSummariesTooManyRequests

func NewGetDetectSummariesTooManyRequests() *GetDetectSummariesTooManyRequests

NewGetDetectSummariesTooManyRequests creates a GetDetectSummariesTooManyRequests with default headers values

func (*GetDetectSummariesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get detect summaries too many requests response

func (*GetDetectSummariesTooManyRequests) Error

func (*GetDetectSummariesTooManyRequests) GetPayload

func (*GetDetectSummariesTooManyRequests) IsClientError added in v0.2.27

func (o *GetDetectSummariesTooManyRequests) IsClientError() bool

IsClientError returns true when this get detect summaries too many requests response has a 4xx status code

func (*GetDetectSummariesTooManyRequests) IsCode added in v0.2.27

func (o *GetDetectSummariesTooManyRequests) IsCode(code int) bool

IsCode returns true when this get detect summaries too many requests response a status code equal to that given

func (*GetDetectSummariesTooManyRequests) IsRedirect added in v0.2.27

func (o *GetDetectSummariesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get detect summaries too many requests response has a 3xx status code

func (*GetDetectSummariesTooManyRequests) IsServerError added in v0.2.27

func (o *GetDetectSummariesTooManyRequests) IsServerError() bool

IsServerError returns true when this get detect summaries too many requests response has a 5xx status code

func (*GetDetectSummariesTooManyRequests) IsSuccess added in v0.2.27

func (o *GetDetectSummariesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get detect summaries too many requests response has a 2xx status code

func (*GetDetectSummariesTooManyRequests) String added in v0.2.27

type QueryDetectsBadRequest

type QueryDetectsBadRequest 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
}

QueryDetectsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryDetectsBadRequest

func NewQueryDetectsBadRequest() *QueryDetectsBadRequest

NewQueryDetectsBadRequest creates a QueryDetectsBadRequest with default headers values

func (*QueryDetectsBadRequest) Code added in v0.2.33

func (o *QueryDetectsBadRequest) Code() int

Code gets the status code for the query detects bad request response

func (*QueryDetectsBadRequest) Error

func (o *QueryDetectsBadRequest) Error() string

func (*QueryDetectsBadRequest) GetPayload

func (*QueryDetectsBadRequest) IsClientError added in v0.2.27

func (o *QueryDetectsBadRequest) IsClientError() bool

IsClientError returns true when this query detects bad request response has a 4xx status code

func (*QueryDetectsBadRequest) IsCode added in v0.2.27

func (o *QueryDetectsBadRequest) IsCode(code int) bool

IsCode returns true when this query detects bad request response a status code equal to that given

func (*QueryDetectsBadRequest) IsRedirect added in v0.2.27

func (o *QueryDetectsBadRequest) IsRedirect() bool

IsRedirect returns true when this query detects bad request response has a 3xx status code

func (*QueryDetectsBadRequest) IsServerError added in v0.2.27

func (o *QueryDetectsBadRequest) IsServerError() bool

IsServerError returns true when this query detects bad request response has a 5xx status code

func (*QueryDetectsBadRequest) IsSuccess added in v0.2.27

func (o *QueryDetectsBadRequest) IsSuccess() bool

IsSuccess returns true when this query detects bad request response has a 2xx status code

func (*QueryDetectsBadRequest) String added in v0.2.27

func (o *QueryDetectsBadRequest) String() string

type QueryDetectsForbidden

type QueryDetectsForbidden 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
}

QueryDetectsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryDetectsForbidden

func NewQueryDetectsForbidden() *QueryDetectsForbidden

NewQueryDetectsForbidden creates a QueryDetectsForbidden with default headers values

func (*QueryDetectsForbidden) Code added in v0.2.33

func (o *QueryDetectsForbidden) Code() int

Code gets the status code for the query detects forbidden response

func (*QueryDetectsForbidden) Error

func (o *QueryDetectsForbidden) Error() string

func (*QueryDetectsForbidden) GetPayload

func (*QueryDetectsForbidden) IsClientError added in v0.2.27

func (o *QueryDetectsForbidden) IsClientError() bool

IsClientError returns true when this query detects forbidden response has a 4xx status code

func (*QueryDetectsForbidden) IsCode added in v0.2.27

func (o *QueryDetectsForbidden) IsCode(code int) bool

IsCode returns true when this query detects forbidden response a status code equal to that given

func (*QueryDetectsForbidden) IsRedirect added in v0.2.27

func (o *QueryDetectsForbidden) IsRedirect() bool

IsRedirect returns true when this query detects forbidden response has a 3xx status code

func (*QueryDetectsForbidden) IsServerError added in v0.2.27

func (o *QueryDetectsForbidden) IsServerError() bool

IsServerError returns true when this query detects forbidden response has a 5xx status code

func (*QueryDetectsForbidden) IsSuccess added in v0.2.27

func (o *QueryDetectsForbidden) IsSuccess() bool

IsSuccess returns true when this query detects forbidden response has a 2xx status code

func (*QueryDetectsForbidden) String added in v0.2.27

func (o *QueryDetectsForbidden) String() string

type QueryDetectsInternalServerError

type QueryDetectsInternalServerError 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
}

QueryDetectsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryDetectsInternalServerError

func NewQueryDetectsInternalServerError() *QueryDetectsInternalServerError

NewQueryDetectsInternalServerError creates a QueryDetectsInternalServerError with default headers values

func (*QueryDetectsInternalServerError) Code added in v0.2.33

Code gets the status code for the query detects internal server error response

func (*QueryDetectsInternalServerError) Error

func (*QueryDetectsInternalServerError) GetPayload

func (*QueryDetectsInternalServerError) IsClientError added in v0.2.27

func (o *QueryDetectsInternalServerError) IsClientError() bool

IsClientError returns true when this query detects internal server error response has a 4xx status code

func (*QueryDetectsInternalServerError) IsCode added in v0.2.27

func (o *QueryDetectsInternalServerError) IsCode(code int) bool

IsCode returns true when this query detects internal server error response a status code equal to that given

func (*QueryDetectsInternalServerError) IsRedirect added in v0.2.27

func (o *QueryDetectsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query detects internal server error response has a 3xx status code

func (*QueryDetectsInternalServerError) IsServerError added in v0.2.27

func (o *QueryDetectsInternalServerError) IsServerError() bool

IsServerError returns true when this query detects internal server error response has a 5xx status code

func (*QueryDetectsInternalServerError) IsSuccess added in v0.2.27

func (o *QueryDetectsInternalServerError) IsSuccess() bool

IsSuccess returns true when this query detects internal server error response has a 2xx status code

func (*QueryDetectsInternalServerError) String added in v0.2.27

type QueryDetectsOK

type QueryDetectsOK 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
}

QueryDetectsOK describes a response with status code 200, with default header values.

OK

func NewQueryDetectsOK

func NewQueryDetectsOK() *QueryDetectsOK

NewQueryDetectsOK creates a QueryDetectsOK with default headers values

func (*QueryDetectsOK) Code added in v0.2.33

func (o *QueryDetectsOK) Code() int

Code gets the status code for the query detects o k response

func (*QueryDetectsOK) Error

func (o *QueryDetectsOK) Error() string

func (*QueryDetectsOK) GetPayload

func (o *QueryDetectsOK) GetPayload() *models.MsaQueryResponse

func (*QueryDetectsOK) IsClientError added in v0.2.27

func (o *QueryDetectsOK) IsClientError() bool

IsClientError returns true when this query detects o k response has a 4xx status code

func (*QueryDetectsOK) IsCode added in v0.2.27

func (o *QueryDetectsOK) IsCode(code int) bool

IsCode returns true when this query detects o k response a status code equal to that given

func (*QueryDetectsOK) IsRedirect added in v0.2.27

func (o *QueryDetectsOK) IsRedirect() bool

IsRedirect returns true when this query detects o k response has a 3xx status code

func (*QueryDetectsOK) IsServerError added in v0.2.27

func (o *QueryDetectsOK) IsServerError() bool

IsServerError returns true when this query detects o k response has a 5xx status code

func (*QueryDetectsOK) IsSuccess added in v0.2.27

func (o *QueryDetectsOK) IsSuccess() bool

IsSuccess returns true when this query detects o k response has a 2xx status code

func (*QueryDetectsOK) String added in v0.2.27

func (o *QueryDetectsOK) String() string

type QueryDetectsParams

type QueryDetectsParams struct {

	/* Filter.

	     Filter detections using a query in Falcon Query Language (FQL) An asterisk wildcard `*` includes all results.

	Common filter options include:

	- `status`
	- `device.device_id`
	- `max_severity`

	The full list of valid filter options is extensive. Review it in our [documentation inside the Falcon console](https://falcon.crowdstrike.com/documentation/45/falcon-query-language-fql).
	*/
	Filter *string

	/* Limit.

	   The maximum number of detections to return in this response (default: 9999; max: 9999). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   The first detection to return, where `0` is the latest detection. Use with the `limit` parameter to manage pagination of results.
	*/
	Offset *int64

	/* Q.

	   Search all detection metadata for the provided string
	*/
	Q *string

	/* Sort.

	     Sort detections using these options:

	- `first_behavior`: Timestamp of the first behavior associated with this detection
	- `last_behavior`: Timestamp of the last behavior associated with this detection
	- `max_severity`: Highest severity of the behaviors associated with this detection
	- `max_confidence`: Highest confidence of the behaviors associated with this detection
	- `adversary_id`: ID of the adversary associated with this detection, if any
	- `device.hostname`: Hostname of the host where this detection was detected

	Sort either `asc` (ascending) or `desc` (descending). For example: `last_behavior|asc`
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryDetectsParams contains all the parameters to send to the API endpoint

for the query detects operation.

Typically these are written to a http.Request.

func NewQueryDetectsParams

func NewQueryDetectsParams() *QueryDetectsParams

NewQueryDetectsParams creates a new QueryDetectsParams 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 NewQueryDetectsParamsWithContext

func NewQueryDetectsParamsWithContext(ctx context.Context) *QueryDetectsParams

NewQueryDetectsParamsWithContext creates a new QueryDetectsParams object with the ability to set a context for a request.

func NewQueryDetectsParamsWithHTTPClient

func NewQueryDetectsParamsWithHTTPClient(client *http.Client) *QueryDetectsParams

NewQueryDetectsParamsWithHTTPClient creates a new QueryDetectsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryDetectsParamsWithTimeout

func NewQueryDetectsParamsWithTimeout(timeout time.Duration) *QueryDetectsParams

NewQueryDetectsParamsWithTimeout creates a new QueryDetectsParams object with the ability to set a timeout on a request.

func (*QueryDetectsParams) SetContext

func (o *QueryDetectsParams) SetContext(ctx context.Context)

SetContext adds the context to the query detects params

func (*QueryDetectsParams) SetDefaults

func (o *QueryDetectsParams) SetDefaults()

SetDefaults hydrates default values in the query detects params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDetectsParams) SetFilter

func (o *QueryDetectsParams) SetFilter(filter *string)

SetFilter adds the filter to the query detects params

func (*QueryDetectsParams) SetHTTPClient

func (o *QueryDetectsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query detects params

func (*QueryDetectsParams) SetLimit

func (o *QueryDetectsParams) SetLimit(limit *int64)

SetLimit adds the limit to the query detects params

func (*QueryDetectsParams) SetOffset

func (o *QueryDetectsParams) SetOffset(offset *int64)

SetOffset adds the offset to the query detects params

func (*QueryDetectsParams) SetQ

func (o *QueryDetectsParams) SetQ(q *string)

SetQ adds the q to the query detects params

func (*QueryDetectsParams) SetSort

func (o *QueryDetectsParams) SetSort(sort *string)

SetSort adds the sort to the query detects params

func (*QueryDetectsParams) SetTimeout

func (o *QueryDetectsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query detects params

func (*QueryDetectsParams) WithContext

WithContext adds the context to the query detects params

func (*QueryDetectsParams) WithDefaults

func (o *QueryDetectsParams) WithDefaults() *QueryDetectsParams

WithDefaults hydrates default values in the query detects params (not the query body).

All values with no default are reset to their zero value.

func (*QueryDetectsParams) WithFilter

func (o *QueryDetectsParams) WithFilter(filter *string) *QueryDetectsParams

WithFilter adds the filter to the query detects params

func (*QueryDetectsParams) WithHTTPClient

func (o *QueryDetectsParams) WithHTTPClient(client *http.Client) *QueryDetectsParams

WithHTTPClient adds the HTTPClient to the query detects params

func (*QueryDetectsParams) WithLimit

func (o *QueryDetectsParams) WithLimit(limit *int64) *QueryDetectsParams

WithLimit adds the limit to the query detects params

func (*QueryDetectsParams) WithOffset

func (o *QueryDetectsParams) WithOffset(offset *int64) *QueryDetectsParams

WithOffset adds the offset to the query detects params

func (*QueryDetectsParams) WithQ

WithQ adds the q to the query detects params

func (*QueryDetectsParams) WithSort

func (o *QueryDetectsParams) WithSort(sort *string) *QueryDetectsParams

WithSort adds the sort to the query detects params

func (*QueryDetectsParams) WithTimeout

func (o *QueryDetectsParams) WithTimeout(timeout time.Duration) *QueryDetectsParams

WithTimeout adds the timeout to the query detects params

func (*QueryDetectsParams) WriteToRequest

func (o *QueryDetectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryDetectsReader

type QueryDetectsReader struct {
	// contains filtered or unexported fields
}

QueryDetectsReader is a Reader for the QueryDetects structure.

func (*QueryDetectsReader) ReadResponse

func (o *QueryDetectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryDetectsTooManyRequests

type QueryDetectsTooManyRequests 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
}

QueryDetectsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryDetectsTooManyRequests

func NewQueryDetectsTooManyRequests() *QueryDetectsTooManyRequests

NewQueryDetectsTooManyRequests creates a QueryDetectsTooManyRequests with default headers values

func (*QueryDetectsTooManyRequests) Code added in v0.2.33

func (o *QueryDetectsTooManyRequests) Code() int

Code gets the status code for the query detects too many requests response

func (*QueryDetectsTooManyRequests) Error

func (*QueryDetectsTooManyRequests) GetPayload

func (*QueryDetectsTooManyRequests) IsClientError added in v0.2.27

func (o *QueryDetectsTooManyRequests) IsClientError() bool

IsClientError returns true when this query detects too many requests response has a 4xx status code

func (*QueryDetectsTooManyRequests) IsCode added in v0.2.27

func (o *QueryDetectsTooManyRequests) IsCode(code int) bool

IsCode returns true when this query detects too many requests response a status code equal to that given

func (*QueryDetectsTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryDetectsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query detects too many requests response has a 3xx status code

func (*QueryDetectsTooManyRequests) IsServerError added in v0.2.27

func (o *QueryDetectsTooManyRequests) IsServerError() bool

IsServerError returns true when this query detects too many requests response has a 5xx status code

func (*QueryDetectsTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryDetectsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query detects too many requests response has a 2xx status code

func (*QueryDetectsTooManyRequests) String added in v0.2.27

func (o *QueryDetectsTooManyRequests) String() string

type UpdateDetectsByIdsV2BadRequest

type UpdateDetectsByIdsV2BadRequest 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
}

UpdateDetectsByIdsV2BadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateDetectsByIdsV2BadRequest

func NewUpdateDetectsByIdsV2BadRequest() *UpdateDetectsByIdsV2BadRequest

NewUpdateDetectsByIdsV2BadRequest creates a UpdateDetectsByIdsV2BadRequest with default headers values

func (*UpdateDetectsByIdsV2BadRequest) Code added in v0.2.33

Code gets the status code for the update detects by ids v2 bad request response

func (*UpdateDetectsByIdsV2BadRequest) Error

func (*UpdateDetectsByIdsV2BadRequest) GetPayload

func (*UpdateDetectsByIdsV2BadRequest) IsClientError added in v0.2.27

func (o *UpdateDetectsByIdsV2BadRequest) IsClientError() bool

IsClientError returns true when this update detects by ids v2 bad request response has a 4xx status code

func (*UpdateDetectsByIdsV2BadRequest) IsCode added in v0.2.27

func (o *UpdateDetectsByIdsV2BadRequest) IsCode(code int) bool

IsCode returns true when this update detects by ids v2 bad request response a status code equal to that given

func (*UpdateDetectsByIdsV2BadRequest) IsRedirect added in v0.2.27

func (o *UpdateDetectsByIdsV2BadRequest) IsRedirect() bool

IsRedirect returns true when this update detects by ids v2 bad request response has a 3xx status code

func (*UpdateDetectsByIdsV2BadRequest) IsServerError added in v0.2.27

func (o *UpdateDetectsByIdsV2BadRequest) IsServerError() bool

IsServerError returns true when this update detects by ids v2 bad request response has a 5xx status code

func (*UpdateDetectsByIdsV2BadRequest) IsSuccess added in v0.2.27

func (o *UpdateDetectsByIdsV2BadRequest) IsSuccess() bool

IsSuccess returns true when this update detects by ids v2 bad request response has a 2xx status code

func (*UpdateDetectsByIdsV2BadRequest) String added in v0.2.27

type UpdateDetectsByIdsV2Forbidden

type UpdateDetectsByIdsV2Forbidden 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
}

UpdateDetectsByIdsV2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateDetectsByIdsV2Forbidden

func NewUpdateDetectsByIdsV2Forbidden() *UpdateDetectsByIdsV2Forbidden

NewUpdateDetectsByIdsV2Forbidden creates a UpdateDetectsByIdsV2Forbidden with default headers values

func (*UpdateDetectsByIdsV2Forbidden) Code added in v0.2.33

Code gets the status code for the update detects by ids v2 forbidden response

func (*UpdateDetectsByIdsV2Forbidden) Error

func (*UpdateDetectsByIdsV2Forbidden) GetPayload

func (*UpdateDetectsByIdsV2Forbidden) IsClientError added in v0.2.27

func (o *UpdateDetectsByIdsV2Forbidden) IsClientError() bool

IsClientError returns true when this update detects by ids v2 forbidden response has a 4xx status code

func (*UpdateDetectsByIdsV2Forbidden) IsCode added in v0.2.27

func (o *UpdateDetectsByIdsV2Forbidden) IsCode(code int) bool

IsCode returns true when this update detects by ids v2 forbidden response a status code equal to that given

func (*UpdateDetectsByIdsV2Forbidden) IsRedirect added in v0.2.27

func (o *UpdateDetectsByIdsV2Forbidden) IsRedirect() bool

IsRedirect returns true when this update detects by ids v2 forbidden response has a 3xx status code

func (*UpdateDetectsByIdsV2Forbidden) IsServerError added in v0.2.27

func (o *UpdateDetectsByIdsV2Forbidden) IsServerError() bool

IsServerError returns true when this update detects by ids v2 forbidden response has a 5xx status code

func (*UpdateDetectsByIdsV2Forbidden) IsSuccess added in v0.2.27

func (o *UpdateDetectsByIdsV2Forbidden) IsSuccess() bool

IsSuccess returns true when this update detects by ids v2 forbidden response has a 2xx status code

func (*UpdateDetectsByIdsV2Forbidden) String added in v0.2.27

type UpdateDetectsByIdsV2InternalServerError

type UpdateDetectsByIdsV2InternalServerError 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
}

UpdateDetectsByIdsV2InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUpdateDetectsByIdsV2InternalServerError

func NewUpdateDetectsByIdsV2InternalServerError() *UpdateDetectsByIdsV2InternalServerError

NewUpdateDetectsByIdsV2InternalServerError creates a UpdateDetectsByIdsV2InternalServerError with default headers values

func (*UpdateDetectsByIdsV2InternalServerError) Code added in v0.2.33

Code gets the status code for the update detects by ids v2 internal server error response

func (*UpdateDetectsByIdsV2InternalServerError) Error

func (*UpdateDetectsByIdsV2InternalServerError) GetPayload

func (*UpdateDetectsByIdsV2InternalServerError) IsClientError added in v0.2.27

func (o *UpdateDetectsByIdsV2InternalServerError) IsClientError() bool

IsClientError returns true when this update detects by ids v2 internal server error response has a 4xx status code

func (*UpdateDetectsByIdsV2InternalServerError) IsCode added in v0.2.27

IsCode returns true when this update detects by ids v2 internal server error response a status code equal to that given

func (*UpdateDetectsByIdsV2InternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this update detects by ids v2 internal server error response has a 3xx status code

func (*UpdateDetectsByIdsV2InternalServerError) IsServerError added in v0.2.27

func (o *UpdateDetectsByIdsV2InternalServerError) IsServerError() bool

IsServerError returns true when this update detects by ids v2 internal server error response has a 5xx status code

func (*UpdateDetectsByIdsV2InternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this update detects by ids v2 internal server error response has a 2xx status code

func (*UpdateDetectsByIdsV2InternalServerError) String added in v0.2.27

type UpdateDetectsByIdsV2OK

type UpdateDetectsByIdsV2OK 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
}

UpdateDetectsByIdsV2OK describes a response with status code 200, with default header values.

OK

func NewUpdateDetectsByIdsV2OK

func NewUpdateDetectsByIdsV2OK() *UpdateDetectsByIdsV2OK

NewUpdateDetectsByIdsV2OK creates a UpdateDetectsByIdsV2OK with default headers values

func (*UpdateDetectsByIdsV2OK) Code added in v0.2.33

func (o *UpdateDetectsByIdsV2OK) Code() int

Code gets the status code for the update detects by ids v2 o k response

func (*UpdateDetectsByIdsV2OK) Error

func (o *UpdateDetectsByIdsV2OK) Error() string

func (*UpdateDetectsByIdsV2OK) GetPayload

func (*UpdateDetectsByIdsV2OK) IsClientError added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) IsClientError() bool

IsClientError returns true when this update detects by ids v2 o k response has a 4xx status code

func (*UpdateDetectsByIdsV2OK) IsCode added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) IsCode(code int) bool

IsCode returns true when this update detects by ids v2 o k response a status code equal to that given

func (*UpdateDetectsByIdsV2OK) IsRedirect added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) IsRedirect() bool

IsRedirect returns true when this update detects by ids v2 o k response has a 3xx status code

func (*UpdateDetectsByIdsV2OK) IsServerError added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) IsServerError() bool

IsServerError returns true when this update detects by ids v2 o k response has a 5xx status code

func (*UpdateDetectsByIdsV2OK) IsSuccess added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) IsSuccess() bool

IsSuccess returns true when this update detects by ids v2 o k response has a 2xx status code

func (*UpdateDetectsByIdsV2OK) String added in v0.2.27

func (o *UpdateDetectsByIdsV2OK) String() string

type UpdateDetectsByIdsV2Params

type UpdateDetectsByIdsV2Params struct {

	/* Body.

	     This endpoint modifies attributes (state and assignee) of detections.

	This endpoint accepts a query formatted as a JSON array of key-value pairs. You can update one or more attributes one or more detections with a single request.

	**`assigned_to_uuid` values**

	A user ID, such as `1234567891234567891`

	**`ids` values**

	One or more detection IDs, which you can find with the `/detects/queries/detects/v1` endpoint, the Falcon console, or the Streaming API.

	**`show_in_ui` values**

	- `true`: This detection is displayed in Falcon
	- `false`: This detection is not displayed in Falcon. Most commonly used together with the `status` key's `false_positive` value.

	**`status` values**

	- `new`
	- `in_progress`
	- `true_positive`
	- `false_positive`
	- `closed`
	- `ignored`

	**`comment` values**
	Optional comment to add to the detection. Comments are displayed with the detection in Falcon and usually used to provide context or notes for other Falcon users. A detection can have multiple comments over time.
	*/
	Body *models.DomainDetectsEntitiesPatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDetectsByIdsV2Params contains all the parameters to send to the API endpoint

for the update detects by ids v2 operation.

Typically these are written to a http.Request.

func NewUpdateDetectsByIdsV2Params

func NewUpdateDetectsByIdsV2Params() *UpdateDetectsByIdsV2Params

NewUpdateDetectsByIdsV2Params creates a new UpdateDetectsByIdsV2Params 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 NewUpdateDetectsByIdsV2ParamsWithContext

func NewUpdateDetectsByIdsV2ParamsWithContext(ctx context.Context) *UpdateDetectsByIdsV2Params

NewUpdateDetectsByIdsV2ParamsWithContext creates a new UpdateDetectsByIdsV2Params object with the ability to set a context for a request.

func NewUpdateDetectsByIdsV2ParamsWithHTTPClient

func NewUpdateDetectsByIdsV2ParamsWithHTTPClient(client *http.Client) *UpdateDetectsByIdsV2Params

NewUpdateDetectsByIdsV2ParamsWithHTTPClient creates a new UpdateDetectsByIdsV2Params object with the ability to set a custom HTTPClient for a request.

func NewUpdateDetectsByIdsV2ParamsWithTimeout

func NewUpdateDetectsByIdsV2ParamsWithTimeout(timeout time.Duration) *UpdateDetectsByIdsV2Params

NewUpdateDetectsByIdsV2ParamsWithTimeout creates a new UpdateDetectsByIdsV2Params object with the ability to set a timeout on a request.

func (*UpdateDetectsByIdsV2Params) SetBody

SetBody adds the body to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) SetContext

func (o *UpdateDetectsByIdsV2Params) SetContext(ctx context.Context)

SetContext adds the context to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) SetDefaults

func (o *UpdateDetectsByIdsV2Params) SetDefaults()

SetDefaults hydrates default values in the update detects by ids v2 params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDetectsByIdsV2Params) SetHTTPClient

func (o *UpdateDetectsByIdsV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) SetTimeout

func (o *UpdateDetectsByIdsV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) WithBody

WithBody adds the body to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) WithContext

WithContext adds the context to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) WithDefaults

WithDefaults hydrates default values in the update detects by ids v2 params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDetectsByIdsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) WithTimeout

WithTimeout adds the timeout to the update detects by ids v2 params

func (*UpdateDetectsByIdsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDetectsByIdsV2Reader

type UpdateDetectsByIdsV2Reader struct {
	// contains filtered or unexported fields
}

UpdateDetectsByIdsV2Reader is a Reader for the UpdateDetectsByIdsV2 structure.

func (*UpdateDetectsByIdsV2Reader) ReadResponse

func (o *UpdateDetectsByIdsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDetectsByIdsV2TooManyRequests

type UpdateDetectsByIdsV2TooManyRequests 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
}

UpdateDetectsByIdsV2TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateDetectsByIdsV2TooManyRequests

func NewUpdateDetectsByIdsV2TooManyRequests() *UpdateDetectsByIdsV2TooManyRequests

NewUpdateDetectsByIdsV2TooManyRequests creates a UpdateDetectsByIdsV2TooManyRequests with default headers values

func (*UpdateDetectsByIdsV2TooManyRequests) Code added in v0.2.33

Code gets the status code for the update detects by ids v2 too many requests response

func (*UpdateDetectsByIdsV2TooManyRequests) Error

func (*UpdateDetectsByIdsV2TooManyRequests) GetPayload

func (*UpdateDetectsByIdsV2TooManyRequests) IsClientError added in v0.2.27

func (o *UpdateDetectsByIdsV2TooManyRequests) IsClientError() bool

IsClientError returns true when this update detects by ids v2 too many requests response has a 4xx status code

func (*UpdateDetectsByIdsV2TooManyRequests) IsCode added in v0.2.27

IsCode returns true when this update detects by ids v2 too many requests response a status code equal to that given

func (*UpdateDetectsByIdsV2TooManyRequests) IsRedirect added in v0.2.27

func (o *UpdateDetectsByIdsV2TooManyRequests) IsRedirect() bool

IsRedirect returns true when this update detects by ids v2 too many requests response has a 3xx status code

func (*UpdateDetectsByIdsV2TooManyRequests) IsServerError added in v0.2.27

func (o *UpdateDetectsByIdsV2TooManyRequests) IsServerError() bool

IsServerError returns true when this update detects by ids v2 too many requests response has a 5xx status code

func (*UpdateDetectsByIdsV2TooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this update detects by ids v2 too many requests response has a 2xx status code

func (*UpdateDetectsByIdsV2TooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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