real_time_response_audit

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 real time response audit API

func (*Client) RTRAuditSessions

func (a *Client) RTRAuditSessions(params *RTRAuditSessionsParams, opts ...ClientOption) (*RTRAuditSessionsOK, error)

RTRAuditSessions gets all the r t r sessions created for a customer in a specified duration

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 {
	RTRAuditSessions(params *RTRAuditSessionsParams, opts ...ClientOption) (*RTRAuditSessionsOK, 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 real time response audit API client.

type RTRAuditSessionsBadRequest

type RTRAuditSessionsBadRequest 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.DomainAPIError
}

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

Bad Request

func NewRTRAuditSessionsBadRequest

func NewRTRAuditSessionsBadRequest() *RTRAuditSessionsBadRequest

NewRTRAuditSessionsBadRequest creates a RTRAuditSessionsBadRequest with default headers values

func (*RTRAuditSessionsBadRequest) Code

func (o *RTRAuditSessionsBadRequest) Code() int

Code gets the status code for the r t r audit sessions bad request response

func (*RTRAuditSessionsBadRequest) Error

func (*RTRAuditSessionsBadRequest) GetPayload

func (*RTRAuditSessionsBadRequest) IsClientError

func (o *RTRAuditSessionsBadRequest) IsClientError() bool

IsClientError returns true when this r t r audit sessions bad request response has a 4xx status code

func (*RTRAuditSessionsBadRequest) IsCode

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

IsCode returns true when this r t r audit sessions bad request response a status code equal to that given

func (*RTRAuditSessionsBadRequest) IsRedirect

func (o *RTRAuditSessionsBadRequest) IsRedirect() bool

IsRedirect returns true when this r t r audit sessions bad request response has a 3xx status code

func (*RTRAuditSessionsBadRequest) IsServerError

func (o *RTRAuditSessionsBadRequest) IsServerError() bool

IsServerError returns true when this r t r audit sessions bad request response has a 5xx status code

func (*RTRAuditSessionsBadRequest) IsSuccess

func (o *RTRAuditSessionsBadRequest) IsSuccess() bool

IsSuccess returns true when this r t r audit sessions bad request response has a 2xx status code

func (*RTRAuditSessionsBadRequest) String

func (o *RTRAuditSessionsBadRequest) String() string

type RTRAuditSessionsForbidden

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

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

Forbidden

func NewRTRAuditSessionsForbidden

func NewRTRAuditSessionsForbidden() *RTRAuditSessionsForbidden

NewRTRAuditSessionsForbidden creates a RTRAuditSessionsForbidden with default headers values

func (*RTRAuditSessionsForbidden) Code

func (o *RTRAuditSessionsForbidden) Code() int

Code gets the status code for the r t r audit sessions forbidden response

func (*RTRAuditSessionsForbidden) Error

func (o *RTRAuditSessionsForbidden) Error() string

func (*RTRAuditSessionsForbidden) GetPayload

func (*RTRAuditSessionsForbidden) IsClientError

func (o *RTRAuditSessionsForbidden) IsClientError() bool

IsClientError returns true when this r t r audit sessions forbidden response has a 4xx status code

func (*RTRAuditSessionsForbidden) IsCode

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

IsCode returns true when this r t r audit sessions forbidden response a status code equal to that given

func (*RTRAuditSessionsForbidden) IsRedirect

func (o *RTRAuditSessionsForbidden) IsRedirect() bool

IsRedirect returns true when this r t r audit sessions forbidden response has a 3xx status code

func (*RTRAuditSessionsForbidden) IsServerError

func (o *RTRAuditSessionsForbidden) IsServerError() bool

IsServerError returns true when this r t r audit sessions forbidden response has a 5xx status code

func (*RTRAuditSessionsForbidden) IsSuccess

func (o *RTRAuditSessionsForbidden) IsSuccess() bool

IsSuccess returns true when this r t r audit sessions forbidden response has a 2xx status code

func (*RTRAuditSessionsForbidden) String

func (o *RTRAuditSessionsForbidden) String() string

type RTRAuditSessionsNotFound

type RTRAuditSessionsNotFound 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.DomainAPIError
}

RTRAuditSessionsNotFound describes a response with status code 404, with default header values.

Not Found

func NewRTRAuditSessionsNotFound

func NewRTRAuditSessionsNotFound() *RTRAuditSessionsNotFound

NewRTRAuditSessionsNotFound creates a RTRAuditSessionsNotFound with default headers values

func (*RTRAuditSessionsNotFound) Code

func (o *RTRAuditSessionsNotFound) Code() int

Code gets the status code for the r t r audit sessions not found response

func (*RTRAuditSessionsNotFound) Error

func (o *RTRAuditSessionsNotFound) Error() string

func (*RTRAuditSessionsNotFound) GetPayload

func (*RTRAuditSessionsNotFound) IsClientError

func (o *RTRAuditSessionsNotFound) IsClientError() bool

IsClientError returns true when this r t r audit sessions not found response has a 4xx status code

func (*RTRAuditSessionsNotFound) IsCode

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

IsCode returns true when this r t r audit sessions not found response a status code equal to that given

func (*RTRAuditSessionsNotFound) IsRedirect

func (o *RTRAuditSessionsNotFound) IsRedirect() bool

IsRedirect returns true when this r t r audit sessions not found response has a 3xx status code

func (*RTRAuditSessionsNotFound) IsServerError

func (o *RTRAuditSessionsNotFound) IsServerError() bool

IsServerError returns true when this r t r audit sessions not found response has a 5xx status code

func (*RTRAuditSessionsNotFound) IsSuccess

func (o *RTRAuditSessionsNotFound) IsSuccess() bool

IsSuccess returns true when this r t r audit sessions not found response has a 2xx status code

func (*RTRAuditSessionsNotFound) String

func (o *RTRAuditSessionsNotFound) String() string

type RTRAuditSessionsOK

type RTRAuditSessionsOK 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.DomainSessionResponseWrapper
}

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

OK

func NewRTRAuditSessionsOK

func NewRTRAuditSessionsOK() *RTRAuditSessionsOK

NewRTRAuditSessionsOK creates a RTRAuditSessionsOK with default headers values

func (*RTRAuditSessionsOK) Code

func (o *RTRAuditSessionsOK) Code() int

Code gets the status code for the r t r audit sessions o k response

func (*RTRAuditSessionsOK) Error

func (o *RTRAuditSessionsOK) Error() string

func (*RTRAuditSessionsOK) GetPayload

func (*RTRAuditSessionsOK) IsClientError

func (o *RTRAuditSessionsOK) IsClientError() bool

IsClientError returns true when this r t r audit sessions o k response has a 4xx status code

func (*RTRAuditSessionsOK) IsCode

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

IsCode returns true when this r t r audit sessions o k response a status code equal to that given

func (*RTRAuditSessionsOK) IsRedirect

func (o *RTRAuditSessionsOK) IsRedirect() bool

IsRedirect returns true when this r t r audit sessions o k response has a 3xx status code

func (*RTRAuditSessionsOK) IsServerError

func (o *RTRAuditSessionsOK) IsServerError() bool

IsServerError returns true when this r t r audit sessions o k response has a 5xx status code

func (*RTRAuditSessionsOK) IsSuccess

func (o *RTRAuditSessionsOK) IsSuccess() bool

IsSuccess returns true when this r t r audit sessions o k response has a 2xx status code

func (*RTRAuditSessionsOK) String

func (o *RTRAuditSessionsOK) String() string

type RTRAuditSessionsParams

type RTRAuditSessionsParams struct {

	/* Filter.

	   Optional filter 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.

	   number of sessions to be returned
	*/
	Limit *string

	/* Offset.

	   offset value to be used for paginated results
	*/
	Offset *string

	/* Sort.

	   how to sort the session IDs. e.g. sort=created_at|desc will sort the results based on createdAt in descending order
	*/
	Sort *string

	/* WithCommandInfo.

	   get sessions with command info included; by default sessions are returned without command info which include cloud_request_ids and logs fields
	*/
	WithCommandInfo *bool

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

RTRAuditSessionsParams contains all the parameters to send to the API endpoint

for the r t r audit sessions operation.

Typically these are written to a http.Request.

func NewRTRAuditSessionsParams

func NewRTRAuditSessionsParams() *RTRAuditSessionsParams

NewRTRAuditSessionsParams creates a new RTRAuditSessionsParams 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 NewRTRAuditSessionsParamsWithContext

func NewRTRAuditSessionsParamsWithContext(ctx context.Context) *RTRAuditSessionsParams

NewRTRAuditSessionsParamsWithContext creates a new RTRAuditSessionsParams object with the ability to set a context for a request.

func NewRTRAuditSessionsParamsWithHTTPClient

func NewRTRAuditSessionsParamsWithHTTPClient(client *http.Client) *RTRAuditSessionsParams

NewRTRAuditSessionsParamsWithHTTPClient creates a new RTRAuditSessionsParams object with the ability to set a custom HTTPClient for a request.

func NewRTRAuditSessionsParamsWithTimeout

func NewRTRAuditSessionsParamsWithTimeout(timeout time.Duration) *RTRAuditSessionsParams

NewRTRAuditSessionsParamsWithTimeout creates a new RTRAuditSessionsParams object with the ability to set a timeout on a request.

func (*RTRAuditSessionsParams) SetContext

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

SetContext adds the context to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetDefaults

func (o *RTRAuditSessionsParams) SetDefaults()

SetDefaults hydrates default values in the r t r audit sessions params (not the query body).

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

func (*RTRAuditSessionsParams) SetFilter

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

SetFilter adds the filter to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetLimit

func (o *RTRAuditSessionsParams) SetLimit(limit *string)

SetLimit adds the limit to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetOffset

func (o *RTRAuditSessionsParams) SetOffset(offset *string)

SetOffset adds the offset to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetSort

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

SetSort adds the sort to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetTimeout

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

SetTimeout adds the timeout to the r t r audit sessions params

func (*RTRAuditSessionsParams) SetWithCommandInfo

func (o *RTRAuditSessionsParams) SetWithCommandInfo(withCommandInfo *bool)

SetWithCommandInfo adds the withCommandInfo to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithContext

WithContext adds the context to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithDefaults

WithDefaults hydrates default values in the r t r audit sessions params (not the query body).

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

func (*RTRAuditSessionsParams) WithFilter

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

WithFilter adds the filter to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithLimit

WithLimit adds the limit to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithOffset

func (o *RTRAuditSessionsParams) WithOffset(offset *string) *RTRAuditSessionsParams

WithOffset adds the offset to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithSort

WithSort adds the sort to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithTimeout

WithTimeout adds the timeout to the r t r audit sessions params

func (*RTRAuditSessionsParams) WithWithCommandInfo

func (o *RTRAuditSessionsParams) WithWithCommandInfo(withCommandInfo *bool) *RTRAuditSessionsParams

WithWithCommandInfo adds the withCommandInfo to the r t r audit sessions params

func (*RTRAuditSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RTRAuditSessionsReader

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

RTRAuditSessionsReader is a Reader for the RTRAuditSessions structure.

func (*RTRAuditSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RTRAuditSessionsTooManyRequests

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

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

Too Many Requests

func NewRTRAuditSessionsTooManyRequests

func NewRTRAuditSessionsTooManyRequests() *RTRAuditSessionsTooManyRequests

NewRTRAuditSessionsTooManyRequests creates a RTRAuditSessionsTooManyRequests with default headers values

func (*RTRAuditSessionsTooManyRequests) Code

Code gets the status code for the r t r audit sessions too many requests response

func (*RTRAuditSessionsTooManyRequests) Error

func (*RTRAuditSessionsTooManyRequests) GetPayload

func (*RTRAuditSessionsTooManyRequests) IsClientError

func (o *RTRAuditSessionsTooManyRequests) IsClientError() bool

IsClientError returns true when this r t r audit sessions too many requests response has a 4xx status code

func (*RTRAuditSessionsTooManyRequests) IsCode

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

IsCode returns true when this r t r audit sessions too many requests response a status code equal to that given

func (*RTRAuditSessionsTooManyRequests) IsRedirect

func (o *RTRAuditSessionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this r t r audit sessions too many requests response has a 3xx status code

func (*RTRAuditSessionsTooManyRequests) IsServerError

func (o *RTRAuditSessionsTooManyRequests) IsServerError() bool

IsServerError returns true when this r t r audit sessions too many requests response has a 5xx status code

func (*RTRAuditSessionsTooManyRequests) IsSuccess

func (o *RTRAuditSessionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this r t r audit sessions too many requests response has a 2xx status code

func (*RTRAuditSessionsTooManyRequests) String

Jump to

Keyboard shortcuts

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