security_events

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 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 security events API

func (*Client) GetNetworkClientSecurityEvents

func (a *Client) GetNetworkClientSecurityEvents(params *GetNetworkClientSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkClientSecurityEventsOK, error)

GetNetworkClientSecurityEvents gets network client security events

List the security events for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

func (*Client) GetNetworkSecurityEvents

func (a *Client) GetNetworkSecurityEvents(params *GetNetworkSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityEventsOK, error)

GetNetworkSecurityEvents gets network security events

List the security events for a network

func (*Client) GetOrganizationSecurityEvents

func (a *Client) GetOrganizationSecurityEvents(params *GetOrganizationSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSecurityEventsOK, error)

GetOrganizationSecurityEvents gets organization security events

List the security events for an organization

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetNetworkClientSecurityEvents(params *GetNetworkClientSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkClientSecurityEventsOK, error)

	GetNetworkSecurityEvents(params *GetNetworkSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityEventsOK, error)

	GetOrganizationSecurityEvents(params *GetOrganizationSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSecurityEventsOK, 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 security events API client.

type GetNetworkClientSecurityEventsOK

type GetNetworkClientSecurityEventsOK struct {
	Payload interface{}
}

GetNetworkClientSecurityEventsOK handles this case with default header values.

Successful operation

func NewGetNetworkClientSecurityEventsOK

func NewGetNetworkClientSecurityEventsOK() *GetNetworkClientSecurityEventsOK

NewGetNetworkClientSecurityEventsOK creates a GetNetworkClientSecurityEventsOK with default headers values

func (*GetNetworkClientSecurityEventsOK) Error

func (*GetNetworkClientSecurityEventsOK) GetPayload

func (o *GetNetworkClientSecurityEventsOK) GetPayload() interface{}

type GetNetworkClientSecurityEventsParams

type GetNetworkClientSecurityEventsParams struct {

	/*ClientID*/
	ClientID string
	/*EndingBefore
	  A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	EndingBefore *string
	/*NetworkID*/
	NetworkID string
	/*PerPage
	  The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.

	*/
	PerPage *int32
	/*StartingAfter
	  A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	StartingAfter *string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 791 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 791 days after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 31 days.

	*/
	Timespan *float64

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

GetNetworkClientSecurityEventsParams contains all the parameters to send to the API endpoint for the get network client security events operation typically these are written to a http.Request

func NewGetNetworkClientSecurityEventsParams

func NewGetNetworkClientSecurityEventsParams() *GetNetworkClientSecurityEventsParams

NewGetNetworkClientSecurityEventsParams creates a new GetNetworkClientSecurityEventsParams object with the default values initialized.

func NewGetNetworkClientSecurityEventsParamsWithContext

func NewGetNetworkClientSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkClientSecurityEventsParams

NewGetNetworkClientSecurityEventsParamsWithContext creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a context for a request

func NewGetNetworkClientSecurityEventsParamsWithHTTPClient

func NewGetNetworkClientSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkClientSecurityEventsParams

NewGetNetworkClientSecurityEventsParamsWithHTTPClient creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNetworkClientSecurityEventsParamsWithTimeout

func NewGetNetworkClientSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkClientSecurityEventsParams

NewGetNetworkClientSecurityEventsParamsWithTimeout creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNetworkClientSecurityEventsParams) SetClientID

func (o *GetNetworkClientSecurityEventsParams) SetClientID(clientID string)

SetClientID adds the clientId to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetContext

SetContext adds the context to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetEndingBefore

func (o *GetNetworkClientSecurityEventsParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetNetworkID

func (o *GetNetworkClientSecurityEventsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetPerPage

func (o *GetNetworkClientSecurityEventsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetStartingAfter

func (o *GetNetworkClientSecurityEventsParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetT0

SetT0 adds the t0 to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetT1

SetT1 adds the t1 to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) SetTimespan

func (o *GetNetworkClientSecurityEventsParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithClientID

WithClientID adds the clientID to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithContext

WithContext adds the context to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithNetworkID

WithNetworkID adds the networkID to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithPerPage

WithPerPage adds the perPage to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithT0

WithT0 adds the t0 to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithT1

WithT1 adds the t1 to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithTimeout

WithTimeout adds the timeout to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WithTimespan

WithTimespan adds the timespan to the get network client security events params

func (*GetNetworkClientSecurityEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkClientSecurityEventsReader

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

GetNetworkClientSecurityEventsReader is a Reader for the GetNetworkClientSecurityEvents structure.

func (*GetNetworkClientSecurityEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkSecurityEventsOK

type GetNetworkSecurityEventsOK struct {
	Payload interface{}
}

GetNetworkSecurityEventsOK handles this case with default header values.

Successful operation

func NewGetNetworkSecurityEventsOK

func NewGetNetworkSecurityEventsOK() *GetNetworkSecurityEventsOK

NewGetNetworkSecurityEventsOK creates a GetNetworkSecurityEventsOK with default headers values

func (*GetNetworkSecurityEventsOK) Error

func (*GetNetworkSecurityEventsOK) GetPayload

func (o *GetNetworkSecurityEventsOK) GetPayload() interface{}

type GetNetworkSecurityEventsParams

type GetNetworkSecurityEventsParams struct {

	/*EndingBefore
	  A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	EndingBefore *string
	/*NetworkID*/
	NetworkID string
	/*PerPage
	  The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.

	*/
	PerPage *int32
	/*StartingAfter
	  A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	StartingAfter *string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 365 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 365 days after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.

	*/
	Timespan *float64

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

GetNetworkSecurityEventsParams contains all the parameters to send to the API endpoint for the get network security events operation typically these are written to a http.Request

func NewGetNetworkSecurityEventsParams

func NewGetNetworkSecurityEventsParams() *GetNetworkSecurityEventsParams

NewGetNetworkSecurityEventsParams creates a new GetNetworkSecurityEventsParams object with the default values initialized.

func NewGetNetworkSecurityEventsParamsWithContext

func NewGetNetworkSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkSecurityEventsParams

NewGetNetworkSecurityEventsParamsWithContext creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a context for a request

func NewGetNetworkSecurityEventsParamsWithHTTPClient

func NewGetNetworkSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkSecurityEventsParams

NewGetNetworkSecurityEventsParamsWithHTTPClient creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNetworkSecurityEventsParamsWithTimeout

func NewGetNetworkSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkSecurityEventsParams

NewGetNetworkSecurityEventsParamsWithTimeout creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNetworkSecurityEventsParams) SetContext

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

SetContext adds the context to the get network security events params

func (*GetNetworkSecurityEventsParams) SetEndingBefore

func (o *GetNetworkSecurityEventsParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get network security events params

func (*GetNetworkSecurityEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network security events params

func (*GetNetworkSecurityEventsParams) SetNetworkID

func (o *GetNetworkSecurityEventsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network security events params

func (*GetNetworkSecurityEventsParams) SetPerPage

func (o *GetNetworkSecurityEventsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get network security events params

func (*GetNetworkSecurityEventsParams) SetStartingAfter

func (o *GetNetworkSecurityEventsParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get network security events params

func (*GetNetworkSecurityEventsParams) SetT0

func (o *GetNetworkSecurityEventsParams) SetT0(t0 *string)

SetT0 adds the t0 to the get network security events params

func (*GetNetworkSecurityEventsParams) SetT1

func (o *GetNetworkSecurityEventsParams) SetT1(t1 *string)

SetT1 adds the t1 to the get network security events params

func (*GetNetworkSecurityEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get network security events params

func (*GetNetworkSecurityEventsParams) SetTimespan

func (o *GetNetworkSecurityEventsParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get network security events params

func (*GetNetworkSecurityEventsParams) WithContext

WithContext adds the context to the get network security events params

func (*GetNetworkSecurityEventsParams) WithEndingBefore

func (o *GetNetworkSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkSecurityEventsParams

WithEndingBefore adds the endingBefore to the get network security events params

func (*GetNetworkSecurityEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network security events params

func (*GetNetworkSecurityEventsParams) WithNetworkID

WithNetworkID adds the networkID to the get network security events params

func (*GetNetworkSecurityEventsParams) WithPerPage

WithPerPage adds the perPage to the get network security events params

func (*GetNetworkSecurityEventsParams) WithStartingAfter

func (o *GetNetworkSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkSecurityEventsParams

WithStartingAfter adds the startingAfter to the get network security events params

func (*GetNetworkSecurityEventsParams) WithT0

WithT0 adds the t0 to the get network security events params

func (*GetNetworkSecurityEventsParams) WithT1

WithT1 adds the t1 to the get network security events params

func (*GetNetworkSecurityEventsParams) WithTimeout

WithTimeout adds the timeout to the get network security events params

func (*GetNetworkSecurityEventsParams) WithTimespan

WithTimespan adds the timespan to the get network security events params

func (*GetNetworkSecurityEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSecurityEventsReader

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

GetNetworkSecurityEventsReader is a Reader for the GetNetworkSecurityEvents structure.

func (*GetNetworkSecurityEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationSecurityEventsOK

type GetOrganizationSecurityEventsOK struct {
	Payload interface{}
}

GetOrganizationSecurityEventsOK handles this case with default header values.

Successful operation

func NewGetOrganizationSecurityEventsOK

func NewGetOrganizationSecurityEventsOK() *GetOrganizationSecurityEventsOK

NewGetOrganizationSecurityEventsOK creates a GetOrganizationSecurityEventsOK with default headers values

func (*GetOrganizationSecurityEventsOK) Error

func (*GetOrganizationSecurityEventsOK) GetPayload

func (o *GetOrganizationSecurityEventsOK) GetPayload() interface{}

type GetOrganizationSecurityEventsParams

type GetOrganizationSecurityEventsParams struct {

	/*EndingBefore
	  A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	EndingBefore *string
	/*OrganizationID*/
	OrganizationID string
	/*PerPage
	  The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.

	*/
	PerPage *int32
	/*StartingAfter
	  A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	StartingAfter *string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 365 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 365 days after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.

	*/
	Timespan *float64

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

GetOrganizationSecurityEventsParams contains all the parameters to send to the API endpoint for the get organization security events operation typically these are written to a http.Request

func NewGetOrganizationSecurityEventsParams

func NewGetOrganizationSecurityEventsParams() *GetOrganizationSecurityEventsParams

NewGetOrganizationSecurityEventsParams creates a new GetOrganizationSecurityEventsParams object with the default values initialized.

func NewGetOrganizationSecurityEventsParamsWithContext

func NewGetOrganizationSecurityEventsParamsWithContext(ctx context.Context) *GetOrganizationSecurityEventsParams

NewGetOrganizationSecurityEventsParamsWithContext creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrganizationSecurityEventsParamsWithHTTPClient

func NewGetOrganizationSecurityEventsParamsWithHTTPClient(client *http.Client) *GetOrganizationSecurityEventsParams

NewGetOrganizationSecurityEventsParamsWithHTTPClient creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrganizationSecurityEventsParamsWithTimeout

func NewGetOrganizationSecurityEventsParamsWithTimeout(timeout time.Duration) *GetOrganizationSecurityEventsParams

NewGetOrganizationSecurityEventsParamsWithTimeout creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrganizationSecurityEventsParams) SetContext

SetContext adds the context to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetEndingBefore

func (o *GetOrganizationSecurityEventsParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetOrganizationID

func (o *GetOrganizationSecurityEventsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetPerPage

func (o *GetOrganizationSecurityEventsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetStartingAfter

func (o *GetOrganizationSecurityEventsParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetT0

SetT0 adds the t0 to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetT1

SetT1 adds the t1 to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get organization security events params

func (*GetOrganizationSecurityEventsParams) SetTimespan

func (o *GetOrganizationSecurityEventsParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithContext

WithContext adds the context to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithPerPage

WithPerPage adds the perPage to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithT0

WithT0 adds the t0 to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithT1

WithT1 adds the t1 to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithTimeout

WithTimeout adds the timeout to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WithTimespan

WithTimespan adds the timespan to the get organization security events params

func (*GetOrganizationSecurityEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationSecurityEventsReader

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

GetOrganizationSecurityEventsReader is a Reader for the GetOrganizationSecurityEvents structure.

func (*GetOrganizationSecurityEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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