Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetChangesBadRequest
- type GetChangesDefault
- type GetChangesForbidden
- type GetChangesInternalServerError
- type GetChangesOK
- type GetChangesParams
- func (o *GetChangesParams) SetContext(ctx context.Context)
- func (o *GetChangesParams) SetDefaults()
- func (o *GetChangesParams) SetHTTPClient(client *http.Client)
- func (o *GetChangesParams) SetIds(ids []string)
- func (o *GetChangesParams) SetTimeout(timeout time.Duration)
- func (o *GetChangesParams) WithContext(ctx context.Context) *GetChangesParams
- func (o *GetChangesParams) WithDefaults() *GetChangesParams
- func (o *GetChangesParams) WithHTTPClient(client *http.Client) *GetChangesParams
- func (o *GetChangesParams) WithIds(ids []string) *GetChangesParams
- func (o *GetChangesParams) WithTimeout(timeout time.Duration) *GetChangesParams
- func (o *GetChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChangesReader
- type GetChangesTooManyRequests
- type QueryChangesBadRequest
- type QueryChangesDefault
- type QueryChangesForbidden
- type QueryChangesInternalServerError
- type QueryChangesOK
- type QueryChangesParams
- func (o *QueryChangesParams) SetContext(ctx context.Context)
- func (o *QueryChangesParams) SetDefaults()
- func (o *QueryChangesParams) SetFilter(filter *string)
- func (o *QueryChangesParams) SetHTTPClient(client *http.Client)
- func (o *QueryChangesParams) SetLimit(limit *int64)
- func (o *QueryChangesParams) SetOffset(offset *int64)
- func (o *QueryChangesParams) SetSort(sort *string)
- func (o *QueryChangesParams) SetTimeout(timeout time.Duration)
- func (o *QueryChangesParams) WithContext(ctx context.Context) *QueryChangesParams
- func (o *QueryChangesParams) WithDefaults() *QueryChangesParams
- func (o *QueryChangesParams) WithFilter(filter *string) *QueryChangesParams
- func (o *QueryChangesParams) WithHTTPClient(client *http.Client) *QueryChangesParams
- func (o *QueryChangesParams) WithLimit(limit *int64) *QueryChangesParams
- func (o *QueryChangesParams) WithOffset(offset *int64) *QueryChangesParams
- func (o *QueryChangesParams) WithSort(sort *string) *QueryChangesParams
- func (o *QueryChangesParams) WithTimeout(timeout time.Duration) *QueryChangesParams
- func (o *QueryChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryChangesReader
- type QueryChangesTooManyRequests
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 filevantage API
func (*Client) GetChanges ¶
func (a *Client) GetChanges(params *GetChangesParams, opts ...ClientOption) (*GetChangesOK, error)
GetChanges retrieves information on changes
Retrieve key attributes of Falcon FileVantage changes for the specified ids.
func (*Client) QueryChanges ¶
func (a *Client) QueryChanges(params *QueryChangesParams, opts ...ClientOption) (*QueryChangesOK, error)
QueryChanges returns one or more change i ds
Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided
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 { GetChanges(params *GetChangesParams, opts ...ClientOption) (*GetChangesOK, error) QueryChanges(params *QueryChangesParams, opts ...ClientOption) (*QueryChangesOK, 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 filevantage API client.
type GetChangesBadRequest ¶
type GetChangesBadRequest 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 }
GetChangesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetChangesBadRequest ¶
func NewGetChangesBadRequest() *GetChangesBadRequest
NewGetChangesBadRequest creates a GetChangesBadRequest with default headers values
func (*GetChangesBadRequest) Error ¶
func (o *GetChangesBadRequest) Error() string
func (*GetChangesBadRequest) GetPayload ¶
func (o *GetChangesBadRequest) GetPayload() *models.MsaReplyMetaOnly
type GetChangesDefault ¶
type GetChangesDefault struct { Payload *models.ExternalGetChangesResponse // contains filtered or unexported fields }
GetChangesDefault describes a response with status code -1, with default header values.
OK
func NewGetChangesDefault ¶
func NewGetChangesDefault(code int) *GetChangesDefault
NewGetChangesDefault creates a GetChangesDefault with default headers values
func (*GetChangesDefault) Code ¶
func (o *GetChangesDefault) Code() int
Code gets the status code for the get changes default response
func (*GetChangesDefault) Error ¶
func (o *GetChangesDefault) Error() string
func (*GetChangesDefault) GetPayload ¶
func (o *GetChangesDefault) GetPayload() *models.ExternalGetChangesResponse
type GetChangesForbidden ¶
type GetChangesForbidden 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 }
GetChangesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetChangesForbidden ¶
func NewGetChangesForbidden() *GetChangesForbidden
NewGetChangesForbidden creates a GetChangesForbidden with default headers values
func (*GetChangesForbidden) Error ¶
func (o *GetChangesForbidden) Error() string
func (*GetChangesForbidden) GetPayload ¶
func (o *GetChangesForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetChangesInternalServerError ¶
type GetChangesInternalServerError 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 }
GetChangesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetChangesInternalServerError ¶
func NewGetChangesInternalServerError() *GetChangesInternalServerError
NewGetChangesInternalServerError creates a GetChangesInternalServerError with default headers values
func (*GetChangesInternalServerError) Error ¶
func (o *GetChangesInternalServerError) Error() string
func (*GetChangesInternalServerError) GetPayload ¶
func (o *GetChangesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type GetChangesOK ¶
type GetChangesOK 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.ExternalGetChangesResponse }
GetChangesOK describes a response with status code 200, with default header values.
OK
func NewGetChangesOK ¶
func NewGetChangesOK() *GetChangesOK
NewGetChangesOK creates a GetChangesOK with default headers values
func (*GetChangesOK) Error ¶
func (o *GetChangesOK) Error() string
func (*GetChangesOK) GetPayload ¶
func (o *GetChangesOK) GetPayload() *models.ExternalGetChangesResponse
type GetChangesParams ¶
type GetChangesParams struct { /* Ids. Comma separated values of change ids */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChangesParams contains all the parameters to send to the API endpoint
for the get changes operation. Typically these are written to a http.Request.
func NewGetChangesParams ¶
func NewGetChangesParams() *GetChangesParams
NewGetChangesParams creates a new GetChangesParams 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 NewGetChangesParamsWithContext ¶
func NewGetChangesParamsWithContext(ctx context.Context) *GetChangesParams
NewGetChangesParamsWithContext creates a new GetChangesParams object with the ability to set a context for a request.
func NewGetChangesParamsWithHTTPClient ¶
func NewGetChangesParamsWithHTTPClient(client *http.Client) *GetChangesParams
NewGetChangesParamsWithHTTPClient creates a new GetChangesParams object with the ability to set a custom HTTPClient for a request.
func NewGetChangesParamsWithTimeout ¶
func NewGetChangesParamsWithTimeout(timeout time.Duration) *GetChangesParams
NewGetChangesParamsWithTimeout creates a new GetChangesParams object with the ability to set a timeout on a request.
func (*GetChangesParams) SetContext ¶
func (o *GetChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the get changes params
func (*GetChangesParams) SetDefaults ¶
func (o *GetChangesParams) SetDefaults()
SetDefaults hydrates default values in the get changes params (not the query body).
All values with no default are reset to their zero value.
func (*GetChangesParams) SetHTTPClient ¶
func (o *GetChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get changes params
func (*GetChangesParams) SetIds ¶
func (o *GetChangesParams) SetIds(ids []string)
SetIds adds the ids to the get changes params
func (*GetChangesParams) SetTimeout ¶
func (o *GetChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get changes params
func (*GetChangesParams) WithContext ¶
func (o *GetChangesParams) WithContext(ctx context.Context) *GetChangesParams
WithContext adds the context to the get changes params
func (*GetChangesParams) WithDefaults ¶
func (o *GetChangesParams) WithDefaults() *GetChangesParams
WithDefaults hydrates default values in the get changes params (not the query body).
All values with no default are reset to their zero value.
func (*GetChangesParams) WithHTTPClient ¶
func (o *GetChangesParams) WithHTTPClient(client *http.Client) *GetChangesParams
WithHTTPClient adds the HTTPClient to the get changes params
func (*GetChangesParams) WithIds ¶
func (o *GetChangesParams) WithIds(ids []string) *GetChangesParams
WithIds adds the ids to the get changes params
func (*GetChangesParams) WithTimeout ¶
func (o *GetChangesParams) WithTimeout(timeout time.Duration) *GetChangesParams
WithTimeout adds the timeout to the get changes params
func (*GetChangesParams) WriteToRequest ¶
func (o *GetChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChangesReader ¶
type GetChangesReader struct {
// contains filtered or unexported fields
}
GetChangesReader is a Reader for the GetChanges structure.
func (*GetChangesReader) ReadResponse ¶
func (o *GetChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChangesTooManyRequests ¶
type GetChangesTooManyRequests 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 }
GetChangesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetChangesTooManyRequests ¶
func NewGetChangesTooManyRequests() *GetChangesTooManyRequests
NewGetChangesTooManyRequests creates a GetChangesTooManyRequests with default headers values
func (*GetChangesTooManyRequests) Error ¶
func (o *GetChangesTooManyRequests) Error() string
func (*GetChangesTooManyRequests) GetPayload ¶
func (o *GetChangesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type QueryChangesBadRequest ¶
type QueryChangesBadRequest 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 }
QueryChangesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryChangesBadRequest ¶
func NewQueryChangesBadRequest() *QueryChangesBadRequest
NewQueryChangesBadRequest creates a QueryChangesBadRequest with default headers values
func (*QueryChangesBadRequest) Error ¶
func (o *QueryChangesBadRequest) Error() string
func (*QueryChangesBadRequest) GetPayload ¶
func (o *QueryChangesBadRequest) GetPayload() *models.MsaReplyMetaOnly
type QueryChangesDefault ¶
type QueryChangesDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryChangesDefault describes a response with status code -1, with default header values.
OK
func NewQueryChangesDefault ¶
func NewQueryChangesDefault(code int) *QueryChangesDefault
NewQueryChangesDefault creates a QueryChangesDefault with default headers values
func (*QueryChangesDefault) Code ¶
func (o *QueryChangesDefault) Code() int
Code gets the status code for the query changes default response
func (*QueryChangesDefault) Error ¶
func (o *QueryChangesDefault) Error() string
func (*QueryChangesDefault) GetPayload ¶
func (o *QueryChangesDefault) GetPayload() *models.MsaQueryResponse
type QueryChangesForbidden ¶
type QueryChangesForbidden 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 }
QueryChangesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryChangesForbidden ¶
func NewQueryChangesForbidden() *QueryChangesForbidden
NewQueryChangesForbidden creates a QueryChangesForbidden with default headers values
func (*QueryChangesForbidden) Error ¶
func (o *QueryChangesForbidden) Error() string
func (*QueryChangesForbidden) GetPayload ¶
func (o *QueryChangesForbidden) GetPayload() *models.MsaReplyMetaOnly
type QueryChangesInternalServerError ¶
type QueryChangesInternalServerError 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 }
QueryChangesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryChangesInternalServerError ¶
func NewQueryChangesInternalServerError() *QueryChangesInternalServerError
NewQueryChangesInternalServerError creates a QueryChangesInternalServerError with default headers values
func (*QueryChangesInternalServerError) Error ¶
func (o *QueryChangesInternalServerError) Error() string
func (*QueryChangesInternalServerError) GetPayload ¶
func (o *QueryChangesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type QueryChangesOK ¶
type QueryChangesOK 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 }
QueryChangesOK describes a response with status code 200, with default header values.
OK
func NewQueryChangesOK ¶
func NewQueryChangesOK() *QueryChangesOK
NewQueryChangesOK creates a QueryChangesOK with default headers values
func (*QueryChangesOK) Error ¶
func (o *QueryChangesOK) Error() string
func (*QueryChangesOK) GetPayload ¶
func (o *QueryChangesOK) GetPayload() *models.MsaQueryResponse
type QueryChangesParams ¶
type QueryChangesParams struct { /* Filter. Filter changes using a query in Falcon Query Language (FQL). Common filter options include: - `host.host_name` - `action_timestamp` The full list of allowed filter parameters can be reviewed in our API documentation. */ Filter *string /* Limit. The maximum number of changes to return in the response (default: 100; max: 500). Use with the `offset` parameter to manage pagination of results */ Limit *int64 /* Offset. The first change index to return in the response. If not provided it will default to '0'. Use with the `limit` parameter to manage pagination of results. */ Offset *int64 /* Sort. Sort changes using options like: - `action_timestamp` (timestamp of the change occurrence) Sort either `asc` (ascending) or `desc` (descending). For example: `action_timestamp|asc`. The full list of allowed sorting options can be reviewed in our API documentation. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryChangesParams contains all the parameters to send to the API endpoint
for the query changes operation. Typically these are written to a http.Request.
func NewQueryChangesParams ¶
func NewQueryChangesParams() *QueryChangesParams
NewQueryChangesParams creates a new QueryChangesParams 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 NewQueryChangesParamsWithContext ¶
func NewQueryChangesParamsWithContext(ctx context.Context) *QueryChangesParams
NewQueryChangesParamsWithContext creates a new QueryChangesParams object with the ability to set a context for a request.
func NewQueryChangesParamsWithHTTPClient ¶
func NewQueryChangesParamsWithHTTPClient(client *http.Client) *QueryChangesParams
NewQueryChangesParamsWithHTTPClient creates a new QueryChangesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryChangesParamsWithTimeout ¶
func NewQueryChangesParamsWithTimeout(timeout time.Duration) *QueryChangesParams
NewQueryChangesParamsWithTimeout creates a new QueryChangesParams object with the ability to set a timeout on a request.
func (*QueryChangesParams) SetContext ¶
func (o *QueryChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the query changes params
func (*QueryChangesParams) SetDefaults ¶
func (o *QueryChangesParams) SetDefaults()
SetDefaults hydrates default values in the query changes params (not the query body).
All values with no default are reset to their zero value.
func (*QueryChangesParams) SetFilter ¶
func (o *QueryChangesParams) SetFilter(filter *string)
SetFilter adds the filter to the query changes params
func (*QueryChangesParams) SetHTTPClient ¶
func (o *QueryChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query changes params
func (*QueryChangesParams) SetLimit ¶
func (o *QueryChangesParams) SetLimit(limit *int64)
SetLimit adds the limit to the query changes params
func (*QueryChangesParams) SetOffset ¶
func (o *QueryChangesParams) SetOffset(offset *int64)
SetOffset adds the offset to the query changes params
func (*QueryChangesParams) SetSort ¶
func (o *QueryChangesParams) SetSort(sort *string)
SetSort adds the sort to the query changes params
func (*QueryChangesParams) SetTimeout ¶
func (o *QueryChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query changes params
func (*QueryChangesParams) WithContext ¶
func (o *QueryChangesParams) WithContext(ctx context.Context) *QueryChangesParams
WithContext adds the context to the query changes params
func (*QueryChangesParams) WithDefaults ¶
func (o *QueryChangesParams) WithDefaults() *QueryChangesParams
WithDefaults hydrates default values in the query changes params (not the query body).
All values with no default are reset to their zero value.
func (*QueryChangesParams) WithFilter ¶
func (o *QueryChangesParams) WithFilter(filter *string) *QueryChangesParams
WithFilter adds the filter to the query changes params
func (*QueryChangesParams) WithHTTPClient ¶
func (o *QueryChangesParams) WithHTTPClient(client *http.Client) *QueryChangesParams
WithHTTPClient adds the HTTPClient to the query changes params
func (*QueryChangesParams) WithLimit ¶
func (o *QueryChangesParams) WithLimit(limit *int64) *QueryChangesParams
WithLimit adds the limit to the query changes params
func (*QueryChangesParams) WithOffset ¶
func (o *QueryChangesParams) WithOffset(offset *int64) *QueryChangesParams
WithOffset adds the offset to the query changes params
func (*QueryChangesParams) WithSort ¶
func (o *QueryChangesParams) WithSort(sort *string) *QueryChangesParams
WithSort adds the sort to the query changes params
func (*QueryChangesParams) WithTimeout ¶
func (o *QueryChangesParams) WithTimeout(timeout time.Duration) *QueryChangesParams
WithTimeout adds the timeout to the query changes params
func (*QueryChangesParams) WriteToRequest ¶
func (o *QueryChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryChangesReader ¶
type QueryChangesReader struct {
// contains filtered or unexported fields
}
QueryChangesReader is a Reader for the QueryChanges structure.
func (*QueryChangesReader) ReadResponse ¶
func (o *QueryChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryChangesTooManyRequests ¶
type QueryChangesTooManyRequests 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 }
QueryChangesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryChangesTooManyRequests ¶
func NewQueryChangesTooManyRequests() *QueryChangesTooManyRequests
NewQueryChangesTooManyRequests creates a QueryChangesTooManyRequests with default headers values
func (*QueryChangesTooManyRequests) Error ¶
func (o *QueryChangesTooManyRequests) Error() string
func (*QueryChangesTooManyRequests) GetPayload ¶
func (o *QueryChangesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly