runtime_detections

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: 0

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 runtime detections API

func (*Client) GetRuntimeDetectionsCombinedV2

func (a *Client) GetRuntimeDetectionsCombinedV2(params *GetRuntimeDetectionsCombinedV2Params, opts ...ClientOption) (*GetRuntimeDetectionsCombinedV2OK, error)

GetRuntimeDetectionsCombinedV2 retrieves container runtime detections by the provided search criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetRuntimeDetectionsCombinedV2(params *GetRuntimeDetectionsCombinedV2Params, opts ...ClientOption) (*GetRuntimeDetectionsCombinedV2OK, 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 runtime detections API client.

type GetRuntimeDetectionsCombinedV2Forbidden

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

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

Forbidden

func NewGetRuntimeDetectionsCombinedV2Forbidden

func NewGetRuntimeDetectionsCombinedV2Forbidden() *GetRuntimeDetectionsCombinedV2Forbidden

NewGetRuntimeDetectionsCombinedV2Forbidden creates a GetRuntimeDetectionsCombinedV2Forbidden with default headers values

func (*GetRuntimeDetectionsCombinedV2Forbidden) Code

Code gets the status code for the get runtime detections combined v2 forbidden response

func (*GetRuntimeDetectionsCombinedV2Forbidden) Error

func (*GetRuntimeDetectionsCombinedV2Forbidden) GetPayload

func (*GetRuntimeDetectionsCombinedV2Forbidden) IsClientError

func (o *GetRuntimeDetectionsCombinedV2Forbidden) IsClientError() bool

IsClientError returns true when this get runtime detections combined v2 forbidden response has a 4xx status code

func (*GetRuntimeDetectionsCombinedV2Forbidden) IsCode

IsCode returns true when this get runtime detections combined v2 forbidden response a status code equal to that given

func (*GetRuntimeDetectionsCombinedV2Forbidden) IsRedirect

IsRedirect returns true when this get runtime detections combined v2 forbidden response has a 3xx status code

func (*GetRuntimeDetectionsCombinedV2Forbidden) IsServerError

func (o *GetRuntimeDetectionsCombinedV2Forbidden) IsServerError() bool

IsServerError returns true when this get runtime detections combined v2 forbidden response has a 5xx status code

func (*GetRuntimeDetectionsCombinedV2Forbidden) IsSuccess

IsSuccess returns true when this get runtime detections combined v2 forbidden response has a 2xx status code

func (*GetRuntimeDetectionsCombinedV2Forbidden) String

type GetRuntimeDetectionsCombinedV2InternalServerError

type GetRuntimeDetectionsCombinedV2InternalServerError 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.CoreEntitiesResponse
}

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

Internal Server Error

func NewGetRuntimeDetectionsCombinedV2InternalServerError

func NewGetRuntimeDetectionsCombinedV2InternalServerError() *GetRuntimeDetectionsCombinedV2InternalServerError

NewGetRuntimeDetectionsCombinedV2InternalServerError creates a GetRuntimeDetectionsCombinedV2InternalServerError with default headers values

func (*GetRuntimeDetectionsCombinedV2InternalServerError) Code

Code gets the status code for the get runtime detections combined v2 internal server error response

func (*GetRuntimeDetectionsCombinedV2InternalServerError) Error

func (*GetRuntimeDetectionsCombinedV2InternalServerError) GetPayload

func (*GetRuntimeDetectionsCombinedV2InternalServerError) IsClientError

IsClientError returns true when this get runtime detections combined v2 internal server error response has a 4xx status code

func (*GetRuntimeDetectionsCombinedV2InternalServerError) IsCode

IsCode returns true when this get runtime detections combined v2 internal server error response a status code equal to that given

func (*GetRuntimeDetectionsCombinedV2InternalServerError) IsRedirect

IsRedirect returns true when this get runtime detections combined v2 internal server error response has a 3xx status code

func (*GetRuntimeDetectionsCombinedV2InternalServerError) IsServerError

IsServerError returns true when this get runtime detections combined v2 internal server error response has a 5xx status code

func (*GetRuntimeDetectionsCombinedV2InternalServerError) IsSuccess

IsSuccess returns true when this get runtime detections combined v2 internal server error response has a 2xx status code

func (*GetRuntimeDetectionsCombinedV2InternalServerError) String

type GetRuntimeDetectionsCombinedV2OK

type GetRuntimeDetectionsCombinedV2OK 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.RuntimedetectionsDetectionsEntityResponse
}

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

OK

func NewGetRuntimeDetectionsCombinedV2OK

func NewGetRuntimeDetectionsCombinedV2OK() *GetRuntimeDetectionsCombinedV2OK

NewGetRuntimeDetectionsCombinedV2OK creates a GetRuntimeDetectionsCombinedV2OK with default headers values

func (*GetRuntimeDetectionsCombinedV2OK) Code

Code gets the status code for the get runtime detections combined v2 o k response

func (*GetRuntimeDetectionsCombinedV2OK) Error

func (*GetRuntimeDetectionsCombinedV2OK) GetPayload

func (*GetRuntimeDetectionsCombinedV2OK) IsClientError

func (o *GetRuntimeDetectionsCombinedV2OK) IsClientError() bool

IsClientError returns true when this get runtime detections combined v2 o k response has a 4xx status code

func (*GetRuntimeDetectionsCombinedV2OK) IsCode

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

IsCode returns true when this get runtime detections combined v2 o k response a status code equal to that given

func (*GetRuntimeDetectionsCombinedV2OK) IsRedirect

func (o *GetRuntimeDetectionsCombinedV2OK) IsRedirect() bool

IsRedirect returns true when this get runtime detections combined v2 o k response has a 3xx status code

func (*GetRuntimeDetectionsCombinedV2OK) IsServerError

func (o *GetRuntimeDetectionsCombinedV2OK) IsServerError() bool

IsServerError returns true when this get runtime detections combined v2 o k response has a 5xx status code

func (*GetRuntimeDetectionsCombinedV2OK) IsSuccess

func (o *GetRuntimeDetectionsCombinedV2OK) IsSuccess() bool

IsSuccess returns true when this get runtime detections combined v2 o k response has a 2xx status code

func (*GetRuntimeDetectionsCombinedV2OK) String

type GetRuntimeDetectionsCombinedV2Params

type GetRuntimeDetectionsCombinedV2Params struct {

	/* Filter.

	   Filter Container Runtime Detections using a query in Falcon Query Language (FQL). Supported filters:  action_taken,aid,cid,cloud,cluster_name,command_line,computer_name,container_id,detect_timestamp,detection_description,detection_id,file_name,file_path,host_id,host_type,image_id,name,namespace,pod_name,severity,tactic
	*/
	Filter *string

	/* Limit.

	   The upper-bound on the number of records to retrieve.
	*/
	Limit *int64

	/* Offset.

	   The offset from where to begin.
	*/
	Offset *int64

	/* Sort.

	   The field to sort the records on.
	*/
	Sort *string

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

GetRuntimeDetectionsCombinedV2Params contains all the parameters to send to the API endpoint

for the get runtime detections combined v2 operation.

Typically these are written to a http.Request.

func NewGetRuntimeDetectionsCombinedV2Params

func NewGetRuntimeDetectionsCombinedV2Params() *GetRuntimeDetectionsCombinedV2Params

NewGetRuntimeDetectionsCombinedV2Params creates a new GetRuntimeDetectionsCombinedV2Params 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 NewGetRuntimeDetectionsCombinedV2ParamsWithContext

func NewGetRuntimeDetectionsCombinedV2ParamsWithContext(ctx context.Context) *GetRuntimeDetectionsCombinedV2Params

NewGetRuntimeDetectionsCombinedV2ParamsWithContext creates a new GetRuntimeDetectionsCombinedV2Params object with the ability to set a context for a request.

func NewGetRuntimeDetectionsCombinedV2ParamsWithHTTPClient

func NewGetRuntimeDetectionsCombinedV2ParamsWithHTTPClient(client *http.Client) *GetRuntimeDetectionsCombinedV2Params

NewGetRuntimeDetectionsCombinedV2ParamsWithHTTPClient creates a new GetRuntimeDetectionsCombinedV2Params object with the ability to set a custom HTTPClient for a request.

func NewGetRuntimeDetectionsCombinedV2ParamsWithTimeout

func NewGetRuntimeDetectionsCombinedV2ParamsWithTimeout(timeout time.Duration) *GetRuntimeDetectionsCombinedV2Params

NewGetRuntimeDetectionsCombinedV2ParamsWithTimeout creates a new GetRuntimeDetectionsCombinedV2Params object with the ability to set a timeout on a request.

func (*GetRuntimeDetectionsCombinedV2Params) SetContext

SetContext adds the context to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetDefaults

func (o *GetRuntimeDetectionsCombinedV2Params) SetDefaults()

SetDefaults hydrates default values in the get runtime detections combined v2 params (not the query body).

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

func (*GetRuntimeDetectionsCombinedV2Params) SetFilter

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

SetFilter adds the filter to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetLimit

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

SetLimit adds the limit to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetOffset

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

SetOffset adds the offset to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetSort

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

SetSort adds the sort to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) SetTimeout

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

SetTimeout adds the timeout to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithContext

WithContext adds the context to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithDefaults

WithDefaults hydrates default values in the get runtime detections combined v2 params (not the query body).

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

func (*GetRuntimeDetectionsCombinedV2Params) WithFilter

WithFilter adds the filter to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithLimit

WithLimit adds the limit to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithOffset

WithOffset adds the offset to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithSort

WithSort adds the sort to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WithTimeout

WithTimeout adds the timeout to the get runtime detections combined v2 params

func (*GetRuntimeDetectionsCombinedV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRuntimeDetectionsCombinedV2Reader

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

GetRuntimeDetectionsCombinedV2Reader is a Reader for the GetRuntimeDetectionsCombinedV2 structure.

func (*GetRuntimeDetectionsCombinedV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRuntimeDetectionsCombinedV2TooManyRequests

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

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

Too Many Requests

func NewGetRuntimeDetectionsCombinedV2TooManyRequests

func NewGetRuntimeDetectionsCombinedV2TooManyRequests() *GetRuntimeDetectionsCombinedV2TooManyRequests

NewGetRuntimeDetectionsCombinedV2TooManyRequests creates a GetRuntimeDetectionsCombinedV2TooManyRequests with default headers values

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) Code

Code gets the status code for the get runtime detections combined v2 too many requests response

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) Error

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) GetPayload

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) IsClientError

IsClientError returns true when this get runtime detections combined v2 too many requests response has a 4xx status code

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) IsCode

IsCode returns true when this get runtime detections combined v2 too many requests response a status code equal to that given

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) IsRedirect

IsRedirect returns true when this get runtime detections combined v2 too many requests response has a 3xx status code

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) IsServerError

IsServerError returns true when this get runtime detections combined v2 too many requests response has a 5xx status code

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) IsSuccess

IsSuccess returns true when this get runtime detections combined v2 too many requests response has a 2xx status code

func (*GetRuntimeDetectionsCombinedV2TooManyRequests) String

Jump to

Keyboard shortcuts

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