intelligence_indicator_graph

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 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 intelligence indicator graph API

func (*Client) LookupIndicators added in v0.16.0

func (a *Client) LookupIndicators(params *LookupIndicatorsParams, opts ...ClientOption) (*LookupIndicatorsOK, error)

LookupIndicators gets indicators based on their value

Look up intelligence data for multiple indicators. Supports various indicator types including domains, IP addresses, and file hashes (MD5, SHA1, SHA256). Provide up to 500 indicators in a single request.

func (*Client) SearchIndicators

func (a *Client) SearchIndicators(params *SearchIndicatorsParams, opts ...ClientOption) (*SearchIndicatorsOK, error)
SearchIndicators searches indicators based on f q l filter

This method supports flexible parameter input through both query parameters and JSON request body.

## Parameter Precedence Rules

| Parameter | Query Param | JSON Body | Precedence Rule | |-----------|-------------|-----------|-----------------| | filter | ✅ | ✅ | **EXCLUSIVE** - Cannot specify both | | sort | ✅ | ✅ | **Query param OVERRIDES** JSON body | | limit | ✅ | ❌ | Query param only | | offset | ✅ | ❌ | Query param only |

### Usage Patterns: - **Query-only:** Use query parameters for simple requests - **Body-only:** Use JSON body for complex configurations - **Hybrid:** Combine both, following precedence rules above

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 {
	LookupIndicators(params *LookupIndicatorsParams, opts ...ClientOption) (*LookupIndicatorsOK, error)

	SearchIndicators(params *SearchIndicatorsParams, opts ...ClientOption) (*SearchIndicatorsOK, 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 intelligence indicator graph API client.

type LookupIndicatorsBadRequest added in v0.16.0

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

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

Bad Request

func NewLookupIndicatorsBadRequest added in v0.16.0

func NewLookupIndicatorsBadRequest() *LookupIndicatorsBadRequest

NewLookupIndicatorsBadRequest creates a LookupIndicatorsBadRequest with default headers values

func (*LookupIndicatorsBadRequest) Code added in v0.16.0

func (o *LookupIndicatorsBadRequest) Code() int

Code gets the status code for the lookup indicators bad request response

func (*LookupIndicatorsBadRequest) Error added in v0.16.0

func (*LookupIndicatorsBadRequest) IsClientError added in v0.16.0

func (o *LookupIndicatorsBadRequest) IsClientError() bool

IsClientError returns true when this lookup indicators bad request response has a 4xx status code

func (*LookupIndicatorsBadRequest) IsCode added in v0.16.0

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

IsCode returns true when this lookup indicators bad request response a status code equal to that given

func (*LookupIndicatorsBadRequest) IsRedirect added in v0.16.0

func (o *LookupIndicatorsBadRequest) IsRedirect() bool

IsRedirect returns true when this lookup indicators bad request response has a 3xx status code

func (*LookupIndicatorsBadRequest) IsServerError added in v0.16.0

func (o *LookupIndicatorsBadRequest) IsServerError() bool

IsServerError returns true when this lookup indicators bad request response has a 5xx status code

func (*LookupIndicatorsBadRequest) IsSuccess added in v0.16.0

func (o *LookupIndicatorsBadRequest) IsSuccess() bool

IsSuccess returns true when this lookup indicators bad request response has a 2xx status code

func (*LookupIndicatorsBadRequest) String added in v0.16.0

func (o *LookupIndicatorsBadRequest) String() string

type LookupIndicatorsForbidden added in v0.16.0

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

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

Forbidden

func NewLookupIndicatorsForbidden added in v0.16.0

func NewLookupIndicatorsForbidden() *LookupIndicatorsForbidden

NewLookupIndicatorsForbidden creates a LookupIndicatorsForbidden with default headers values

func (*LookupIndicatorsForbidden) Code added in v0.16.0

func (o *LookupIndicatorsForbidden) Code() int

Code gets the status code for the lookup indicators forbidden response

func (*LookupIndicatorsForbidden) Error added in v0.16.0

func (o *LookupIndicatorsForbidden) Error() string

func (*LookupIndicatorsForbidden) GetPayload added in v0.16.0

func (*LookupIndicatorsForbidden) IsClientError added in v0.16.0

func (o *LookupIndicatorsForbidden) IsClientError() bool

IsClientError returns true when this lookup indicators forbidden response has a 4xx status code

func (*LookupIndicatorsForbidden) IsCode added in v0.16.0

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

IsCode returns true when this lookup indicators forbidden response a status code equal to that given

func (*LookupIndicatorsForbidden) IsRedirect added in v0.16.0

func (o *LookupIndicatorsForbidden) IsRedirect() bool

IsRedirect returns true when this lookup indicators forbidden response has a 3xx status code

func (*LookupIndicatorsForbidden) IsServerError added in v0.16.0

func (o *LookupIndicatorsForbidden) IsServerError() bool

IsServerError returns true when this lookup indicators forbidden response has a 5xx status code

func (*LookupIndicatorsForbidden) IsSuccess added in v0.16.0

func (o *LookupIndicatorsForbidden) IsSuccess() bool

IsSuccess returns true when this lookup indicators forbidden response has a 2xx status code

func (*LookupIndicatorsForbidden) String added in v0.16.0

func (o *LookupIndicatorsForbidden) String() string

type LookupIndicatorsInternalServerError added in v0.16.0

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

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

Internal Server Error

func NewLookupIndicatorsInternalServerError added in v0.16.0

func NewLookupIndicatorsInternalServerError() *LookupIndicatorsInternalServerError

NewLookupIndicatorsInternalServerError creates a LookupIndicatorsInternalServerError with default headers values

func (*LookupIndicatorsInternalServerError) Code added in v0.16.0

Code gets the status code for the lookup indicators internal server error response

func (*LookupIndicatorsInternalServerError) Error added in v0.16.0

func (*LookupIndicatorsInternalServerError) IsClientError added in v0.16.0

func (o *LookupIndicatorsInternalServerError) IsClientError() bool

IsClientError returns true when this lookup indicators internal server error response has a 4xx status code

func (*LookupIndicatorsInternalServerError) IsCode added in v0.16.0

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

func (*LookupIndicatorsInternalServerError) IsRedirect added in v0.16.0

func (o *LookupIndicatorsInternalServerError) IsRedirect() bool

IsRedirect returns true when this lookup indicators internal server error response has a 3xx status code

func (*LookupIndicatorsInternalServerError) IsServerError added in v0.16.0

func (o *LookupIndicatorsInternalServerError) IsServerError() bool

IsServerError returns true when this lookup indicators internal server error response has a 5xx status code

func (*LookupIndicatorsInternalServerError) IsSuccess added in v0.16.0

IsSuccess returns true when this lookup indicators internal server error response has a 2xx status code

func (*LookupIndicatorsInternalServerError) String added in v0.16.0

type LookupIndicatorsNotFound added in v0.16.0

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

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

Not Found

func NewLookupIndicatorsNotFound added in v0.16.0

func NewLookupIndicatorsNotFound() *LookupIndicatorsNotFound

NewLookupIndicatorsNotFound creates a LookupIndicatorsNotFound with default headers values

func (*LookupIndicatorsNotFound) Code added in v0.16.0

func (o *LookupIndicatorsNotFound) Code() int

Code gets the status code for the lookup indicators not found response

func (*LookupIndicatorsNotFound) Error added in v0.16.0

func (o *LookupIndicatorsNotFound) Error() string

func (*LookupIndicatorsNotFound) IsClientError added in v0.16.0

func (o *LookupIndicatorsNotFound) IsClientError() bool

IsClientError returns true when this lookup indicators not found response has a 4xx status code

func (*LookupIndicatorsNotFound) IsCode added in v0.16.0

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

IsCode returns true when this lookup indicators not found response a status code equal to that given

func (*LookupIndicatorsNotFound) IsRedirect added in v0.16.0

func (o *LookupIndicatorsNotFound) IsRedirect() bool

IsRedirect returns true when this lookup indicators not found response has a 3xx status code

func (*LookupIndicatorsNotFound) IsServerError added in v0.16.0

func (o *LookupIndicatorsNotFound) IsServerError() bool

IsServerError returns true when this lookup indicators not found response has a 5xx status code

func (*LookupIndicatorsNotFound) IsSuccess added in v0.16.0

func (o *LookupIndicatorsNotFound) IsSuccess() bool

IsSuccess returns true when this lookup indicators not found response has a 2xx status code

func (*LookupIndicatorsNotFound) String added in v0.16.0

func (o *LookupIndicatorsNotFound) String() string

type LookupIndicatorsOK added in v0.16.0

type LookupIndicatorsOK 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.RestapiLookupIndicatorResponse
}

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

OK

func NewLookupIndicatorsOK added in v0.16.0

func NewLookupIndicatorsOK() *LookupIndicatorsOK

NewLookupIndicatorsOK creates a LookupIndicatorsOK with default headers values

func (*LookupIndicatorsOK) Code added in v0.16.0

func (o *LookupIndicatorsOK) Code() int

Code gets the status code for the lookup indicators o k response

func (*LookupIndicatorsOK) Error added in v0.16.0

func (o *LookupIndicatorsOK) Error() string

func (*LookupIndicatorsOK) GetPayload added in v0.16.0

func (*LookupIndicatorsOK) IsClientError added in v0.16.0

func (o *LookupIndicatorsOK) IsClientError() bool

IsClientError returns true when this lookup indicators o k response has a 4xx status code

func (*LookupIndicatorsOK) IsCode added in v0.16.0

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

IsCode returns true when this lookup indicators o k response a status code equal to that given

func (*LookupIndicatorsOK) IsRedirect added in v0.16.0

func (o *LookupIndicatorsOK) IsRedirect() bool

IsRedirect returns true when this lookup indicators o k response has a 3xx status code

func (*LookupIndicatorsOK) IsServerError added in v0.16.0

func (o *LookupIndicatorsOK) IsServerError() bool

IsServerError returns true when this lookup indicators o k response has a 5xx status code

func (*LookupIndicatorsOK) IsSuccess added in v0.16.0

func (o *LookupIndicatorsOK) IsSuccess() bool

IsSuccess returns true when this lookup indicators o k response has a 2xx status code

func (*LookupIndicatorsOK) String added in v0.16.0

func (o *LookupIndicatorsOK) String() string

type LookupIndicatorsParams added in v0.16.0

type LookupIndicatorsParams struct {

	// Body.
	Body *models.RestapiIndicatorsLookupRequest

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

LookupIndicatorsParams contains all the parameters to send to the API endpoint

for the lookup indicators operation.

Typically these are written to a http.Request.

func NewLookupIndicatorsParams added in v0.16.0

func NewLookupIndicatorsParams() *LookupIndicatorsParams

NewLookupIndicatorsParams creates a new LookupIndicatorsParams 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 NewLookupIndicatorsParamsWithContext added in v0.16.0

func NewLookupIndicatorsParamsWithContext(ctx context.Context) *LookupIndicatorsParams

NewLookupIndicatorsParamsWithContext creates a new LookupIndicatorsParams object with the ability to set a context for a request.

func NewLookupIndicatorsParamsWithHTTPClient added in v0.16.0

func NewLookupIndicatorsParamsWithHTTPClient(client *http.Client) *LookupIndicatorsParams

NewLookupIndicatorsParamsWithHTTPClient creates a new LookupIndicatorsParams object with the ability to set a custom HTTPClient for a request.

func NewLookupIndicatorsParamsWithTimeout added in v0.16.0

func NewLookupIndicatorsParamsWithTimeout(timeout time.Duration) *LookupIndicatorsParams

NewLookupIndicatorsParamsWithTimeout creates a new LookupIndicatorsParams object with the ability to set a timeout on a request.

func (*LookupIndicatorsParams) SetBody added in v0.16.0

SetBody adds the body to the lookup indicators params

func (*LookupIndicatorsParams) SetContext added in v0.16.0

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

SetContext adds the context to the lookup indicators params

func (*LookupIndicatorsParams) SetDefaults added in v0.16.0

func (o *LookupIndicatorsParams) SetDefaults()

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

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

func (*LookupIndicatorsParams) SetHTTPClient added in v0.16.0

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

SetHTTPClient adds the HTTPClient to the lookup indicators params

func (*LookupIndicatorsParams) SetTimeout added in v0.16.0

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

SetTimeout adds the timeout to the lookup indicators params

func (*LookupIndicatorsParams) WithBody added in v0.16.0

WithBody adds the body to the lookup indicators params

func (*LookupIndicatorsParams) WithContext added in v0.16.0

WithContext adds the context to the lookup indicators params

func (*LookupIndicatorsParams) WithDefaults added in v0.16.0

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

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

func (*LookupIndicatorsParams) WithHTTPClient added in v0.16.0

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

WithHTTPClient adds the HTTPClient to the lookup indicators params

func (*LookupIndicatorsParams) WithTimeout added in v0.16.0

WithTimeout adds the timeout to the lookup indicators params

func (*LookupIndicatorsParams) WriteToRequest added in v0.16.0

WriteToRequest writes these params to a swagger request

type LookupIndicatorsReader added in v0.16.0

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

LookupIndicatorsReader is a Reader for the LookupIndicators structure.

func (*LookupIndicatorsReader) ReadResponse added in v0.16.0

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

ReadResponse reads a server response into the received o.

type LookupIndicatorsTooManyRequests added in v0.16.0

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

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

Too Many Requests

func NewLookupIndicatorsTooManyRequests added in v0.16.0

func NewLookupIndicatorsTooManyRequests() *LookupIndicatorsTooManyRequests

NewLookupIndicatorsTooManyRequests creates a LookupIndicatorsTooManyRequests with default headers values

func (*LookupIndicatorsTooManyRequests) Code added in v0.16.0

Code gets the status code for the lookup indicators too many requests response

func (*LookupIndicatorsTooManyRequests) Error added in v0.16.0

func (*LookupIndicatorsTooManyRequests) GetPayload added in v0.16.0

func (*LookupIndicatorsTooManyRequests) IsClientError added in v0.16.0

func (o *LookupIndicatorsTooManyRequests) IsClientError() bool

IsClientError returns true when this lookup indicators too many requests response has a 4xx status code

func (*LookupIndicatorsTooManyRequests) IsCode added in v0.16.0

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

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

func (*LookupIndicatorsTooManyRequests) IsRedirect added in v0.16.0

func (o *LookupIndicatorsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this lookup indicators too many requests response has a 3xx status code

func (*LookupIndicatorsTooManyRequests) IsServerError added in v0.16.0

func (o *LookupIndicatorsTooManyRequests) IsServerError() bool

IsServerError returns true when this lookup indicators too many requests response has a 5xx status code

func (*LookupIndicatorsTooManyRequests) IsSuccess added in v0.16.0

func (o *LookupIndicatorsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this lookup indicators too many requests response has a 2xx status code

func (*LookupIndicatorsTooManyRequests) String added in v0.16.0

type SearchIndicatorsBadRequest

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

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

Bad Request

func NewSearchIndicatorsBadRequest

func NewSearchIndicatorsBadRequest() *SearchIndicatorsBadRequest

NewSearchIndicatorsBadRequest creates a SearchIndicatorsBadRequest with default headers values

func (*SearchIndicatorsBadRequest) Code

func (o *SearchIndicatorsBadRequest) Code() int

Code gets the status code for the search indicators bad request response

func (*SearchIndicatorsBadRequest) Error

func (*SearchIndicatorsBadRequest) IsClientError

func (o *SearchIndicatorsBadRequest) IsClientError() bool

IsClientError returns true when this search indicators bad request response has a 4xx status code

func (*SearchIndicatorsBadRequest) IsCode

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

IsCode returns true when this search indicators bad request response a status code equal to that given

func (*SearchIndicatorsBadRequest) IsRedirect

func (o *SearchIndicatorsBadRequest) IsRedirect() bool

IsRedirect returns true when this search indicators bad request response has a 3xx status code

func (*SearchIndicatorsBadRequest) IsServerError

func (o *SearchIndicatorsBadRequest) IsServerError() bool

IsServerError returns true when this search indicators bad request response has a 5xx status code

func (*SearchIndicatorsBadRequest) IsSuccess

func (o *SearchIndicatorsBadRequest) IsSuccess() bool

IsSuccess returns true when this search indicators bad request response has a 2xx status code

func (*SearchIndicatorsBadRequest) String

func (o *SearchIndicatorsBadRequest) String() string

type SearchIndicatorsForbidden

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

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

Forbidden

func NewSearchIndicatorsForbidden

func NewSearchIndicatorsForbidden() *SearchIndicatorsForbidden

NewSearchIndicatorsForbidden creates a SearchIndicatorsForbidden with default headers values

func (*SearchIndicatorsForbidden) Code

func (o *SearchIndicatorsForbidden) Code() int

Code gets the status code for the search indicators forbidden response

func (*SearchIndicatorsForbidden) Error

func (o *SearchIndicatorsForbidden) Error() string

func (*SearchIndicatorsForbidden) GetPayload

func (*SearchIndicatorsForbidden) IsClientError

func (o *SearchIndicatorsForbidden) IsClientError() bool

IsClientError returns true when this search indicators forbidden response has a 4xx status code

func (*SearchIndicatorsForbidden) IsCode

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

IsCode returns true when this search indicators forbidden response a status code equal to that given

func (*SearchIndicatorsForbidden) IsRedirect

func (o *SearchIndicatorsForbidden) IsRedirect() bool

IsRedirect returns true when this search indicators forbidden response has a 3xx status code

func (*SearchIndicatorsForbidden) IsServerError

func (o *SearchIndicatorsForbidden) IsServerError() bool

IsServerError returns true when this search indicators forbidden response has a 5xx status code

func (*SearchIndicatorsForbidden) IsSuccess

func (o *SearchIndicatorsForbidden) IsSuccess() bool

IsSuccess returns true when this search indicators forbidden response has a 2xx status code

func (*SearchIndicatorsForbidden) String

func (o *SearchIndicatorsForbidden) String() string

type SearchIndicatorsInternalServerError

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

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

Internal Server Error

func NewSearchIndicatorsInternalServerError

func NewSearchIndicatorsInternalServerError() *SearchIndicatorsInternalServerError

NewSearchIndicatorsInternalServerError creates a SearchIndicatorsInternalServerError with default headers values

func (*SearchIndicatorsInternalServerError) Code

Code gets the status code for the search indicators internal server error response

func (*SearchIndicatorsInternalServerError) Error

func (*SearchIndicatorsInternalServerError) IsClientError

func (o *SearchIndicatorsInternalServerError) IsClientError() bool

IsClientError returns true when this search indicators internal server error response has a 4xx status code

func (*SearchIndicatorsInternalServerError) IsCode

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

func (*SearchIndicatorsInternalServerError) IsRedirect

func (o *SearchIndicatorsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search indicators internal server error response has a 3xx status code

func (*SearchIndicatorsInternalServerError) IsServerError

func (o *SearchIndicatorsInternalServerError) IsServerError() bool

IsServerError returns true when this search indicators internal server error response has a 5xx status code

func (*SearchIndicatorsInternalServerError) IsSuccess

IsSuccess returns true when this search indicators internal server error response has a 2xx status code

func (*SearchIndicatorsInternalServerError) String

type SearchIndicatorsNotFound

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

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

Not Found

func NewSearchIndicatorsNotFound

func NewSearchIndicatorsNotFound() *SearchIndicatorsNotFound

NewSearchIndicatorsNotFound creates a SearchIndicatorsNotFound with default headers values

func (*SearchIndicatorsNotFound) Code

func (o *SearchIndicatorsNotFound) Code() int

Code gets the status code for the search indicators not found response

func (*SearchIndicatorsNotFound) Error

func (o *SearchIndicatorsNotFound) Error() string

func (*SearchIndicatorsNotFound) IsClientError

func (o *SearchIndicatorsNotFound) IsClientError() bool

IsClientError returns true when this search indicators not found response has a 4xx status code

func (*SearchIndicatorsNotFound) IsCode

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

IsCode returns true when this search indicators not found response a status code equal to that given

func (*SearchIndicatorsNotFound) IsRedirect

func (o *SearchIndicatorsNotFound) IsRedirect() bool

IsRedirect returns true when this search indicators not found response has a 3xx status code

func (*SearchIndicatorsNotFound) IsServerError

func (o *SearchIndicatorsNotFound) IsServerError() bool

IsServerError returns true when this search indicators not found response has a 5xx status code

func (*SearchIndicatorsNotFound) IsSuccess

func (o *SearchIndicatorsNotFound) IsSuccess() bool

IsSuccess returns true when this search indicators not found response has a 2xx status code

func (*SearchIndicatorsNotFound) String

func (o *SearchIndicatorsNotFound) String() string

type SearchIndicatorsOK

type SearchIndicatorsOK 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.RestapiIndicatorResponse
}

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

OK

func NewSearchIndicatorsOK

func NewSearchIndicatorsOK() *SearchIndicatorsOK

NewSearchIndicatorsOK creates a SearchIndicatorsOK with default headers values

func (*SearchIndicatorsOK) Code

func (o *SearchIndicatorsOK) Code() int

Code gets the status code for the search indicators o k response

func (*SearchIndicatorsOK) Error

func (o *SearchIndicatorsOK) Error() string

func (*SearchIndicatorsOK) GetPayload

func (*SearchIndicatorsOK) IsClientError

func (o *SearchIndicatorsOK) IsClientError() bool

IsClientError returns true when this search indicators o k response has a 4xx status code

func (*SearchIndicatorsOK) IsCode

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

IsCode returns true when this search indicators o k response a status code equal to that given

func (*SearchIndicatorsOK) IsRedirect

func (o *SearchIndicatorsOK) IsRedirect() bool

IsRedirect returns true when this search indicators o k response has a 3xx status code

func (*SearchIndicatorsOK) IsServerError

func (o *SearchIndicatorsOK) IsServerError() bool

IsServerError returns true when this search indicators o k response has a 5xx status code

func (*SearchIndicatorsOK) IsSuccess

func (o *SearchIndicatorsOK) IsSuccess() bool

IsSuccess returns true when this search indicators o k response has a 2xx status code

func (*SearchIndicatorsOK) String

func (o *SearchIndicatorsOK) String() string

type SearchIndicatorsParams

type SearchIndicatorsParams struct {

	// Body.
	Body *models.RestapiIndicatorsQueryRequest

	/* Filter.


	FQL query specifying the filter parameters.

	**Filter parameters include:** Type, LastUpdated, KillChain, MaliciousConfidence, MaliciousConfidenceValidatedTime, FirstSeen, LastSeen,
	Adversaries.Name, Adversaries.Slug, Reports.Title, Reports.Slug, Threats.FamilyName, Vulnerabilities.CVE, Sectors.Name, FileDetails.SHA256,
	FileDetails.SHA1, FileDetails.MD5, DomainDetails.Detail, IPv4Details.IPv4, IPv6Details.IPv6, URLDetails.URL and others
	*/
	Filter *string

	/* Limit.

	   Limit
	*/
	Limit *int64

	/* Offset.

	   Offset
	*/
	Offset *string

	/* Sort.

	   Parameter to specify the order(field examples: FileDetails.SHA256, URLDetails.URL, PublishDate, MaliciousConfidence) Ex: 'PublishDate|asc'.
	*/
	Sort *string

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

SearchIndicatorsParams contains all the parameters to send to the API endpoint

for the search indicators operation.

Typically these are written to a http.Request.

func NewSearchIndicatorsParams

func NewSearchIndicatorsParams() *SearchIndicatorsParams

NewSearchIndicatorsParams creates a new SearchIndicatorsParams 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 NewSearchIndicatorsParamsWithContext

func NewSearchIndicatorsParamsWithContext(ctx context.Context) *SearchIndicatorsParams

NewSearchIndicatorsParamsWithContext creates a new SearchIndicatorsParams object with the ability to set a context for a request.

func NewSearchIndicatorsParamsWithHTTPClient

func NewSearchIndicatorsParamsWithHTTPClient(client *http.Client) *SearchIndicatorsParams

NewSearchIndicatorsParamsWithHTTPClient creates a new SearchIndicatorsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchIndicatorsParamsWithTimeout

func NewSearchIndicatorsParamsWithTimeout(timeout time.Duration) *SearchIndicatorsParams

NewSearchIndicatorsParamsWithTimeout creates a new SearchIndicatorsParams object with the ability to set a timeout on a request.

func (*SearchIndicatorsParams) SetBody

SetBody adds the body to the search indicators params

func (*SearchIndicatorsParams) SetContext

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

SetContext adds the context to the search indicators params

func (*SearchIndicatorsParams) SetDefaults

func (o *SearchIndicatorsParams) SetDefaults()

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

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

func (*SearchIndicatorsParams) SetFilter added in v0.16.0

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

SetFilter adds the filter to the search indicators params

func (*SearchIndicatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search indicators params

func (*SearchIndicatorsParams) SetLimit

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

SetLimit adds the limit to the search indicators params

func (*SearchIndicatorsParams) SetOffset

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

SetOffset adds the offset to the search indicators params

func (*SearchIndicatorsParams) SetSort added in v0.16.0

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

SetSort adds the sort to the search indicators params

func (*SearchIndicatorsParams) SetTimeout

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

SetTimeout adds the timeout to the search indicators params

func (*SearchIndicatorsParams) WithBody

WithBody adds the body to the search indicators params

func (*SearchIndicatorsParams) WithContext

WithContext adds the context to the search indicators params

func (*SearchIndicatorsParams) WithDefaults

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

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

func (*SearchIndicatorsParams) WithFilter added in v0.16.0

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

WithFilter adds the filter to the search indicators params

func (*SearchIndicatorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search indicators params

func (*SearchIndicatorsParams) WithLimit

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

WithLimit adds the limit to the search indicators params

func (*SearchIndicatorsParams) WithOffset

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

WithOffset adds the offset to the search indicators params

func (*SearchIndicatorsParams) WithSort added in v0.16.0

WithSort adds the sort to the search indicators params

func (*SearchIndicatorsParams) WithTimeout

WithTimeout adds the timeout to the search indicators params

func (*SearchIndicatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchIndicatorsReader

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

SearchIndicatorsReader is a Reader for the SearchIndicators structure.

func (*SearchIndicatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchIndicatorsTooManyRequests

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

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

Too Many Requests

func NewSearchIndicatorsTooManyRequests

func NewSearchIndicatorsTooManyRequests() *SearchIndicatorsTooManyRequests

NewSearchIndicatorsTooManyRequests creates a SearchIndicatorsTooManyRequests with default headers values

func (*SearchIndicatorsTooManyRequests) Code

Code gets the status code for the search indicators too many requests response

func (*SearchIndicatorsTooManyRequests) Error

func (*SearchIndicatorsTooManyRequests) GetPayload

func (*SearchIndicatorsTooManyRequests) IsClientError

func (o *SearchIndicatorsTooManyRequests) IsClientError() bool

IsClientError returns true when this search indicators too many requests response has a 4xx status code

func (*SearchIndicatorsTooManyRequests) IsCode

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

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

func (*SearchIndicatorsTooManyRequests) IsRedirect

func (o *SearchIndicatorsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search indicators too many requests response has a 3xx status code

func (*SearchIndicatorsTooManyRequests) IsServerError

func (o *SearchIndicatorsTooManyRequests) IsServerError() bool

IsServerError returns true when this search indicators too many requests response has a 5xx status code

func (*SearchIndicatorsTooManyRequests) IsSuccess

func (o *SearchIndicatorsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search indicators too many requests response has a 2xx status code

func (*SearchIndicatorsTooManyRequests) String

Jump to

Keyboard shortcuts

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