cloud_security_assets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 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 cloud security assets API

func (*Client) CloudSecurityAssetsCombinedComplianceByAccount

func (a *Client) CloudSecurityAssetsCombinedComplianceByAccount(params *CloudSecurityAssetsCombinedComplianceByAccountParams, opts ...ClientOption) (*CloudSecurityAssetsCombinedComplianceByAccountOK, error)

CloudSecurityAssetsCombinedComplianceByAccount gets combined compliance data aggregated by account and region results can be filtered and sorted

func (*Client) CloudSecurityAssetsEntitiesGet

func (a *Client) CloudSecurityAssetsEntitiesGet(params *CloudSecurityAssetsEntitiesGetParams, opts ...ClientOption) (*CloudSecurityAssetsEntitiesGetOK, error)

CloudSecurityAssetsEntitiesGet gets raw resources based on the provided i ds param maximum of 100 resources can be requested with this method use p o s t method with same path if more are required

func (*Client) CloudSecurityAssetsQueries

func (a *Client) CloudSecurityAssetsQueries(params *CloudSecurityAssetsQueriesParams, opts ...ClientOption) (*CloudSecurityAssetsQueriesOK, error)

CloudSecurityAssetsQueries gets a list of resource i ds for the given parameters filters and sort criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CloudSecurityAssetsCombinedComplianceByAccount(params *CloudSecurityAssetsCombinedComplianceByAccountParams, opts ...ClientOption) (*CloudSecurityAssetsCombinedComplianceByAccountOK, error)

	CloudSecurityAssetsEntitiesGet(params *CloudSecurityAssetsEntitiesGetParams, opts ...ClientOption) (*CloudSecurityAssetsEntitiesGetOK, error)

	CloudSecurityAssetsQueries(params *CloudSecurityAssetsQueriesParams, opts ...ClientOption) (*CloudSecurityAssetsQueriesOK, 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 cloud security assets API client.

type CloudSecurityAssetsCombinedComplianceByAccountBadRequest

type CloudSecurityAssetsCombinedComplianceByAccountBadRequest 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.RestCursorResponseFields
}

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

Bad Request

func NewCloudSecurityAssetsCombinedComplianceByAccountBadRequest

func NewCloudSecurityAssetsCombinedComplianceByAccountBadRequest() *CloudSecurityAssetsCombinedComplianceByAccountBadRequest

NewCloudSecurityAssetsCombinedComplianceByAccountBadRequest creates a CloudSecurityAssetsCombinedComplianceByAccountBadRequest with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) Code

Code gets the status code for the cloud security assets combined compliance by account bad request response

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account bad request response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) IsCode

IsCode returns true when this cloud security assets combined compliance by account bad request response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account bad request response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account bad request response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account bad request response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountBadRequest) String

type CloudSecurityAssetsCombinedComplianceByAccountForbidden

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

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

Forbidden

func NewCloudSecurityAssetsCombinedComplianceByAccountForbidden

func NewCloudSecurityAssetsCombinedComplianceByAccountForbidden() *CloudSecurityAssetsCombinedComplianceByAccountForbidden

NewCloudSecurityAssetsCombinedComplianceByAccountForbidden creates a CloudSecurityAssetsCombinedComplianceByAccountForbidden with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) Code

Code gets the status code for the cloud security assets combined compliance by account forbidden response

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account forbidden response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) IsCode

IsCode returns true when this cloud security assets combined compliance by account forbidden response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account forbidden response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account forbidden response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account forbidden response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountForbidden) String

type CloudSecurityAssetsCombinedComplianceByAccountInternalServerError

type CloudSecurityAssetsCombinedComplianceByAccountInternalServerError 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.RestCursorResponseFields
}

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

Internal Server Error

func NewCloudSecurityAssetsCombinedComplianceByAccountInternalServerError

func NewCloudSecurityAssetsCombinedComplianceByAccountInternalServerError() *CloudSecurityAssetsCombinedComplianceByAccountInternalServerError

NewCloudSecurityAssetsCombinedComplianceByAccountInternalServerError creates a CloudSecurityAssetsCombinedComplianceByAccountInternalServerError with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) Code

Code gets the status code for the cloud security assets combined compliance by account internal server error response

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account internal server error response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) IsCode

IsCode returns true when this cloud security assets combined compliance by account internal server error response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account internal server error response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account internal server error response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account internal server error response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountInternalServerError) String

type CloudSecurityAssetsCombinedComplianceByAccountNotFound

type CloudSecurityAssetsCombinedComplianceByAccountNotFound 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.RestCursorResponseFields
}

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

Not Found

func NewCloudSecurityAssetsCombinedComplianceByAccountNotFound

func NewCloudSecurityAssetsCombinedComplianceByAccountNotFound() *CloudSecurityAssetsCombinedComplianceByAccountNotFound

NewCloudSecurityAssetsCombinedComplianceByAccountNotFound creates a CloudSecurityAssetsCombinedComplianceByAccountNotFound with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) Code

Code gets the status code for the cloud security assets combined compliance by account not found response

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account not found response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) IsCode

IsCode returns true when this cloud security assets combined compliance by account not found response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account not found response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account not found response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account not found response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountNotFound) String

type CloudSecurityAssetsCombinedComplianceByAccountOK

type CloudSecurityAssetsCombinedComplianceByAccountOK 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.AssetsComplianceResponse
}

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

OK

func NewCloudSecurityAssetsCombinedComplianceByAccountOK

func NewCloudSecurityAssetsCombinedComplianceByAccountOK() *CloudSecurityAssetsCombinedComplianceByAccountOK

NewCloudSecurityAssetsCombinedComplianceByAccountOK creates a CloudSecurityAssetsCombinedComplianceByAccountOK with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) Code

Code gets the status code for the cloud security assets combined compliance by account o k response

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account o k response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) IsCode

IsCode returns true when this cloud security assets combined compliance by account o k response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account o k response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account o k response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account o k response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountOK) String

type CloudSecurityAssetsCombinedComplianceByAccountParams

type CloudSecurityAssetsCombinedComplianceByAccountParams struct {

	/* After.

	   token-based pagination. use for paginating through an entire result set. Use only one of 'offset' and 'after' parameters for paginating
	*/
	After *string

	/* Filter.

	     FQL string to filter on asset contents. Filterable fields include:
	- `account_id`
	- `account_name`
	- `assessment_id`
	- `business_impact`
	- `cloud_group`
	- `cloud_label`
	- `cloud_label_id`
	- `cloud_provider`
	- `cloud_scope`
	- `compliant`
	- `control.benchmark.name`
	- `control.benchmark.version`
	- `control.extension.status`
	- `control.framework`
	- `control.name`
	- `control.type`
	- `control.version`
	- `environment`
	- `last_evaluated`
	- `region`
	- `resource_provider`
	- `resource_type`
	- `resource_type_name`
	- `service`
	- `service_category`
	- `severities`
	- `tag_key`
	- `tag_value`
	*/
	Filter *string

	/* IncludeFailingIomSeverityCounts.

	   Include counts of failing IOMs by severity level
	*/
	IncludeFailingIomSeverityCounts *bool

	/* Limit.

	   The maximum number of items to return. When not specified or 0, 20 is used. When larger than 10000, 10000 is used.

	   Default: 20
	*/
	Limit *int64

	/* Offset.

	   Offset returned controls. Use only one of 'offset' and 'after' parameter for paginating. 'offset' can only be used on offsets < 10,000. For paginating through the entire result set, use 'after' parameter
	*/
	Offset *int64

	/* Sort.

	     Sort expression in format: field|direction (e.g., last_evaluated|desc). Allowed sort fields:
	- `account_id`
	- `account_name`
	- `assessment_id`
	- `cloud_provider`
	- `control.benchmark.name`
	- `control.benchmark.version`
	- `control.framework`
	- `control.name`
	- `control.type`
	- `control.version`
	- `last_evaluated`
	- `region`
	- `resource_counts.compliant`
	- `resource_counts.non_compliant`
	- `resource_counts.total`
	- `resource_provider`
	- `resource_type`
	- `resource_type_name`
	- `service`
	- `service_category`
	*/
	Sort *string

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

CloudSecurityAssetsCombinedComplianceByAccountParams contains all the parameters to send to the API endpoint

for the cloud security assets combined compliance by account operation.

Typically these are written to a http.Request.

func NewCloudSecurityAssetsCombinedComplianceByAccountParams

func NewCloudSecurityAssetsCombinedComplianceByAccountParams() *CloudSecurityAssetsCombinedComplianceByAccountParams

NewCloudSecurityAssetsCombinedComplianceByAccountParams creates a new CloudSecurityAssetsCombinedComplianceByAccountParams 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 NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithContext

func NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithContext(ctx context.Context) *CloudSecurityAssetsCombinedComplianceByAccountParams

NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithContext creates a new CloudSecurityAssetsCombinedComplianceByAccountParams object with the ability to set a context for a request.

func NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithHTTPClient

func NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithHTTPClient(client *http.Client) *CloudSecurityAssetsCombinedComplianceByAccountParams

NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithHTTPClient creates a new CloudSecurityAssetsCombinedComplianceByAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithTimeout

func NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithTimeout(timeout time.Duration) *CloudSecurityAssetsCombinedComplianceByAccountParams

NewCloudSecurityAssetsCombinedComplianceByAccountParamsWithTimeout creates a new CloudSecurityAssetsCombinedComplianceByAccountParams object with the ability to set a timeout on a request.

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetAfter

SetAfter adds the after to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetContext

SetContext adds the context to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetDefaults

SetDefaults hydrates default values in the cloud security assets combined compliance by account params (not the query body).

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

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetFilter

SetFilter adds the filter to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetIncludeFailingIomSeverityCounts

func (o *CloudSecurityAssetsCombinedComplianceByAccountParams) SetIncludeFailingIomSeverityCounts(includeFailingIomSeverityCounts *bool)

SetIncludeFailingIomSeverityCounts adds the includeFailingIomSeverityCounts to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetLimit

SetLimit adds the limit to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetOffset

SetOffset adds the offset to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetSort

SetSort adds the sort to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) SetTimeout

SetTimeout adds the timeout to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithAfter

WithAfter adds the after to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithContext

WithContext adds the context to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithDefaults

WithDefaults hydrates default values in the cloud security assets combined compliance by account params (not the query body).

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

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithFilter

WithFilter adds the filter to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithIncludeFailingIomSeverityCounts

func (o *CloudSecurityAssetsCombinedComplianceByAccountParams) WithIncludeFailingIomSeverityCounts(includeFailingIomSeverityCounts *bool) *CloudSecurityAssetsCombinedComplianceByAccountParams

WithIncludeFailingIomSeverityCounts adds the includeFailingIomSeverityCounts to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithLimit

WithLimit adds the limit to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithOffset

WithOffset adds the offset to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithSort

WithSort adds the sort to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WithTimeout

WithTimeout adds the timeout to the cloud security assets combined compliance by account params

func (*CloudSecurityAssetsCombinedComplianceByAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudSecurityAssetsCombinedComplianceByAccountReader

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

CloudSecurityAssetsCombinedComplianceByAccountReader is a Reader for the CloudSecurityAssetsCombinedComplianceByAccount structure.

func (*CloudSecurityAssetsCombinedComplianceByAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout

type CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout 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.RestCursorResponseFields
}

CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewCloudSecurityAssetsCombinedComplianceByAccountRequestTimeout

func NewCloudSecurityAssetsCombinedComplianceByAccountRequestTimeout() *CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout

NewCloudSecurityAssetsCombinedComplianceByAccountRequestTimeout creates a CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) Code

Code gets the status code for the cloud security assets combined compliance by account request timeout response

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account request timeout response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) IsCode

IsCode returns true when this cloud security assets combined compliance by account request timeout response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account request timeout response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account request timeout response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account request timeout response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountRequestTimeout) String

type CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests

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

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

Too Many Requests

func NewCloudSecurityAssetsCombinedComplianceByAccountTooManyRequests

func NewCloudSecurityAssetsCombinedComplianceByAccountTooManyRequests() *CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests

NewCloudSecurityAssetsCombinedComplianceByAccountTooManyRequests creates a CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests with default headers values

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) Code

Code gets the status code for the cloud security assets combined compliance by account too many requests response

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) Error

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) GetPayload

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) IsClientError

IsClientError returns true when this cloud security assets combined compliance by account too many requests response has a 4xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) IsCode

IsCode returns true when this cloud security assets combined compliance by account too many requests response a status code equal to that given

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) IsRedirect

IsRedirect returns true when this cloud security assets combined compliance by account too many requests response has a 3xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) IsServerError

IsServerError returns true when this cloud security assets combined compliance by account too many requests response has a 5xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) IsSuccess

IsSuccess returns true when this cloud security assets combined compliance by account too many requests response has a 2xx status code

func (*CloudSecurityAssetsCombinedComplianceByAccountTooManyRequests) String

type CloudSecurityAssetsEntitiesGetBadRequest

type CloudSecurityAssetsEntitiesGetBadRequest 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.RestCursorResponseFields
}

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

Bad Request

func NewCloudSecurityAssetsEntitiesGetBadRequest

func NewCloudSecurityAssetsEntitiesGetBadRequest() *CloudSecurityAssetsEntitiesGetBadRequest

NewCloudSecurityAssetsEntitiesGetBadRequest creates a CloudSecurityAssetsEntitiesGetBadRequest with default headers values

func (*CloudSecurityAssetsEntitiesGetBadRequest) Code

Code gets the status code for the cloud security assets entities get bad request response

func (*CloudSecurityAssetsEntitiesGetBadRequest) Error

func (*CloudSecurityAssetsEntitiesGetBadRequest) GetPayload

func (*CloudSecurityAssetsEntitiesGetBadRequest) IsClientError

IsClientError returns true when this cloud security assets entities get bad request response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetBadRequest) IsCode

IsCode returns true when this cloud security assets entities get bad request response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetBadRequest) IsRedirect

IsRedirect returns true when this cloud security assets entities get bad request response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetBadRequest) IsServerError

IsServerError returns true when this cloud security assets entities get bad request response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetBadRequest) IsSuccess

IsSuccess returns true when this cloud security assets entities get bad request response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetBadRequest) String

type CloudSecurityAssetsEntitiesGetForbidden

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

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

Forbidden

func NewCloudSecurityAssetsEntitiesGetForbidden

func NewCloudSecurityAssetsEntitiesGetForbidden() *CloudSecurityAssetsEntitiesGetForbidden

NewCloudSecurityAssetsEntitiesGetForbidden creates a CloudSecurityAssetsEntitiesGetForbidden with default headers values

func (*CloudSecurityAssetsEntitiesGetForbidden) Code

Code gets the status code for the cloud security assets entities get forbidden response

func (*CloudSecurityAssetsEntitiesGetForbidden) Error

func (*CloudSecurityAssetsEntitiesGetForbidden) GetPayload

func (*CloudSecurityAssetsEntitiesGetForbidden) IsClientError

func (o *CloudSecurityAssetsEntitiesGetForbidden) IsClientError() bool

IsClientError returns true when this cloud security assets entities get forbidden response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetForbidden) IsCode

IsCode returns true when this cloud security assets entities get forbidden response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetForbidden) IsRedirect

IsRedirect returns true when this cloud security assets entities get forbidden response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetForbidden) IsServerError

func (o *CloudSecurityAssetsEntitiesGetForbidden) IsServerError() bool

IsServerError returns true when this cloud security assets entities get forbidden response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetForbidden) IsSuccess

IsSuccess returns true when this cloud security assets entities get forbidden response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetForbidden) String

type CloudSecurityAssetsEntitiesGetInternalServerError

type CloudSecurityAssetsEntitiesGetInternalServerError 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.RestCursorResponseFields
}

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

Internal Server Error

func NewCloudSecurityAssetsEntitiesGetInternalServerError

func NewCloudSecurityAssetsEntitiesGetInternalServerError() *CloudSecurityAssetsEntitiesGetInternalServerError

NewCloudSecurityAssetsEntitiesGetInternalServerError creates a CloudSecurityAssetsEntitiesGetInternalServerError with default headers values

func (*CloudSecurityAssetsEntitiesGetInternalServerError) Code

Code gets the status code for the cloud security assets entities get internal server error response

func (*CloudSecurityAssetsEntitiesGetInternalServerError) Error

func (*CloudSecurityAssetsEntitiesGetInternalServerError) GetPayload

func (*CloudSecurityAssetsEntitiesGetInternalServerError) IsClientError

IsClientError returns true when this cloud security assets entities get internal server error response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetInternalServerError) IsCode

IsCode returns true when this cloud security assets entities get internal server error response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetInternalServerError) IsRedirect

IsRedirect returns true when this cloud security assets entities get internal server error response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetInternalServerError) IsServerError

IsServerError returns true when this cloud security assets entities get internal server error response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetInternalServerError) IsSuccess

IsSuccess returns true when this cloud security assets entities get internal server error response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetInternalServerError) String

type CloudSecurityAssetsEntitiesGetNotFound

type CloudSecurityAssetsEntitiesGetNotFound 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.RestCursorResponseFields
}

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

Not Found

func NewCloudSecurityAssetsEntitiesGetNotFound

func NewCloudSecurityAssetsEntitiesGetNotFound() *CloudSecurityAssetsEntitiesGetNotFound

NewCloudSecurityAssetsEntitiesGetNotFound creates a CloudSecurityAssetsEntitiesGetNotFound with default headers values

func (*CloudSecurityAssetsEntitiesGetNotFound) Code

Code gets the status code for the cloud security assets entities get not found response

func (*CloudSecurityAssetsEntitiesGetNotFound) Error

func (*CloudSecurityAssetsEntitiesGetNotFound) GetPayload

func (*CloudSecurityAssetsEntitiesGetNotFound) IsClientError

func (o *CloudSecurityAssetsEntitiesGetNotFound) IsClientError() bool

IsClientError returns true when this cloud security assets entities get not found response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetNotFound) IsCode

IsCode returns true when this cloud security assets entities get not found response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetNotFound) IsRedirect

IsRedirect returns true when this cloud security assets entities get not found response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetNotFound) IsServerError

func (o *CloudSecurityAssetsEntitiesGetNotFound) IsServerError() bool

IsServerError returns true when this cloud security assets entities get not found response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetNotFound) IsSuccess

IsSuccess returns true when this cloud security assets entities get not found response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetNotFound) String

type CloudSecurityAssetsEntitiesGetOK

type CloudSecurityAssetsEntitiesGetOK 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.AssetsGetResourcesResponse
}

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

OK

func NewCloudSecurityAssetsEntitiesGetOK

func NewCloudSecurityAssetsEntitiesGetOK() *CloudSecurityAssetsEntitiesGetOK

NewCloudSecurityAssetsEntitiesGetOK creates a CloudSecurityAssetsEntitiesGetOK with default headers values

func (*CloudSecurityAssetsEntitiesGetOK) Code

Code gets the status code for the cloud security assets entities get o k response

func (*CloudSecurityAssetsEntitiesGetOK) Error

func (*CloudSecurityAssetsEntitiesGetOK) GetPayload

func (*CloudSecurityAssetsEntitiesGetOK) IsClientError

func (o *CloudSecurityAssetsEntitiesGetOK) IsClientError() bool

IsClientError returns true when this cloud security assets entities get o k response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetOK) IsCode

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

IsCode returns true when this cloud security assets entities get o k response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetOK) IsRedirect

func (o *CloudSecurityAssetsEntitiesGetOK) IsRedirect() bool

IsRedirect returns true when this cloud security assets entities get o k response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetOK) IsServerError

func (o *CloudSecurityAssetsEntitiesGetOK) IsServerError() bool

IsServerError returns true when this cloud security assets entities get o k response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetOK) IsSuccess

func (o *CloudSecurityAssetsEntitiesGetOK) IsSuccess() bool

IsSuccess returns true when this cloud security assets entities get o k response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetOK) String

type CloudSecurityAssetsEntitiesGetParams

type CloudSecurityAssetsEntitiesGetParams struct {

	/* Ids.

	   List of assets to return (maximum 100 IDs allowed).  Use POST method with same path if more entities are required.
	*/
	Ids []string

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

CloudSecurityAssetsEntitiesGetParams contains all the parameters to send to the API endpoint

for the cloud security assets entities get operation.

Typically these are written to a http.Request.

func NewCloudSecurityAssetsEntitiesGetParams

func NewCloudSecurityAssetsEntitiesGetParams() *CloudSecurityAssetsEntitiesGetParams

NewCloudSecurityAssetsEntitiesGetParams creates a new CloudSecurityAssetsEntitiesGetParams 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 NewCloudSecurityAssetsEntitiesGetParamsWithContext

func NewCloudSecurityAssetsEntitiesGetParamsWithContext(ctx context.Context) *CloudSecurityAssetsEntitiesGetParams

NewCloudSecurityAssetsEntitiesGetParamsWithContext creates a new CloudSecurityAssetsEntitiesGetParams object with the ability to set a context for a request.

func NewCloudSecurityAssetsEntitiesGetParamsWithHTTPClient

func NewCloudSecurityAssetsEntitiesGetParamsWithHTTPClient(client *http.Client) *CloudSecurityAssetsEntitiesGetParams

NewCloudSecurityAssetsEntitiesGetParamsWithHTTPClient creates a new CloudSecurityAssetsEntitiesGetParams object with the ability to set a custom HTTPClient for a request.

func NewCloudSecurityAssetsEntitiesGetParamsWithTimeout

func NewCloudSecurityAssetsEntitiesGetParamsWithTimeout(timeout time.Duration) *CloudSecurityAssetsEntitiesGetParams

NewCloudSecurityAssetsEntitiesGetParamsWithTimeout creates a new CloudSecurityAssetsEntitiesGetParams object with the ability to set a timeout on a request.

func (*CloudSecurityAssetsEntitiesGetParams) SetContext

SetContext adds the context to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) SetDefaults

func (o *CloudSecurityAssetsEntitiesGetParams) SetDefaults()

SetDefaults hydrates default values in the cloud security assets entities get params (not the query body).

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

func (*CloudSecurityAssetsEntitiesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) SetIds

SetIds adds the ids to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) SetTimeout

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

SetTimeout adds the timeout to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) WithContext

WithContext adds the context to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) WithDefaults

WithDefaults hydrates default values in the cloud security assets entities get params (not the query body).

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

func (*CloudSecurityAssetsEntitiesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) WithIds

WithIds adds the ids to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) WithTimeout

WithTimeout adds the timeout to the cloud security assets entities get params

func (*CloudSecurityAssetsEntitiesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudSecurityAssetsEntitiesGetReader

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

CloudSecurityAssetsEntitiesGetReader is a Reader for the CloudSecurityAssetsEntitiesGet structure.

func (*CloudSecurityAssetsEntitiesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudSecurityAssetsEntitiesGetRequestTimeout

type CloudSecurityAssetsEntitiesGetRequestTimeout 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.RestCursorResponseFields
}

CloudSecurityAssetsEntitiesGetRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewCloudSecurityAssetsEntitiesGetRequestTimeout

func NewCloudSecurityAssetsEntitiesGetRequestTimeout() *CloudSecurityAssetsEntitiesGetRequestTimeout

NewCloudSecurityAssetsEntitiesGetRequestTimeout creates a CloudSecurityAssetsEntitiesGetRequestTimeout with default headers values

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) Code

Code gets the status code for the cloud security assets entities get request timeout response

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) Error

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) GetPayload

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) IsClientError

IsClientError returns true when this cloud security assets entities get request timeout response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) IsCode

IsCode returns true when this cloud security assets entities get request timeout response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) IsRedirect

IsRedirect returns true when this cloud security assets entities get request timeout response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) IsServerError

IsServerError returns true when this cloud security assets entities get request timeout response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) IsSuccess

IsSuccess returns true when this cloud security assets entities get request timeout response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetRequestTimeout) String

type CloudSecurityAssetsEntitiesGetTooManyRequests

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

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

Too Many Requests

func NewCloudSecurityAssetsEntitiesGetTooManyRequests

func NewCloudSecurityAssetsEntitiesGetTooManyRequests() *CloudSecurityAssetsEntitiesGetTooManyRequests

NewCloudSecurityAssetsEntitiesGetTooManyRequests creates a CloudSecurityAssetsEntitiesGetTooManyRequests with default headers values

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) Code

Code gets the status code for the cloud security assets entities get too many requests response

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) Error

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) GetPayload

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) IsClientError

IsClientError returns true when this cloud security assets entities get too many requests response has a 4xx status code

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) IsCode

IsCode returns true when this cloud security assets entities get too many requests response a status code equal to that given

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) IsRedirect

IsRedirect returns true when this cloud security assets entities get too many requests response has a 3xx status code

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) IsServerError

IsServerError returns true when this cloud security assets entities get too many requests response has a 5xx status code

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) IsSuccess

IsSuccess returns true when this cloud security assets entities get too many requests response has a 2xx status code

func (*CloudSecurityAssetsEntitiesGetTooManyRequests) String

type CloudSecurityAssetsQueriesBadRequest

type CloudSecurityAssetsQueriesBadRequest 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.RestCursorResponseFields
}

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

Bad Request

func NewCloudSecurityAssetsQueriesBadRequest

func NewCloudSecurityAssetsQueriesBadRequest() *CloudSecurityAssetsQueriesBadRequest

NewCloudSecurityAssetsQueriesBadRequest creates a CloudSecurityAssetsQueriesBadRequest with default headers values

func (*CloudSecurityAssetsQueriesBadRequest) Code

Code gets the status code for the cloud security assets queries bad request response

func (*CloudSecurityAssetsQueriesBadRequest) Error

func (*CloudSecurityAssetsQueriesBadRequest) GetPayload

func (*CloudSecurityAssetsQueriesBadRequest) IsClientError

func (o *CloudSecurityAssetsQueriesBadRequest) IsClientError() bool

IsClientError returns true when this cloud security assets queries bad request response has a 4xx status code

func (*CloudSecurityAssetsQueriesBadRequest) IsCode

IsCode returns true when this cloud security assets queries bad request response a status code equal to that given

func (*CloudSecurityAssetsQueriesBadRequest) IsRedirect

IsRedirect returns true when this cloud security assets queries bad request response has a 3xx status code

func (*CloudSecurityAssetsQueriesBadRequest) IsServerError

func (o *CloudSecurityAssetsQueriesBadRequest) IsServerError() bool

IsServerError returns true when this cloud security assets queries bad request response has a 5xx status code

func (*CloudSecurityAssetsQueriesBadRequest) IsSuccess

IsSuccess returns true when this cloud security assets queries bad request response has a 2xx status code

func (*CloudSecurityAssetsQueriesBadRequest) String

type CloudSecurityAssetsQueriesForbidden

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

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

Forbidden

func NewCloudSecurityAssetsQueriesForbidden

func NewCloudSecurityAssetsQueriesForbidden() *CloudSecurityAssetsQueriesForbidden

NewCloudSecurityAssetsQueriesForbidden creates a CloudSecurityAssetsQueriesForbidden with default headers values

func (*CloudSecurityAssetsQueriesForbidden) Code

Code gets the status code for the cloud security assets queries forbidden response

func (*CloudSecurityAssetsQueriesForbidden) Error

func (*CloudSecurityAssetsQueriesForbidden) GetPayload

func (*CloudSecurityAssetsQueriesForbidden) IsClientError

func (o *CloudSecurityAssetsQueriesForbidden) IsClientError() bool

IsClientError returns true when this cloud security assets queries forbidden response has a 4xx status code

func (*CloudSecurityAssetsQueriesForbidden) IsCode

IsCode returns true when this cloud security assets queries forbidden response a status code equal to that given

func (*CloudSecurityAssetsQueriesForbidden) IsRedirect

func (o *CloudSecurityAssetsQueriesForbidden) IsRedirect() bool

IsRedirect returns true when this cloud security assets queries forbidden response has a 3xx status code

func (*CloudSecurityAssetsQueriesForbidden) IsServerError

func (o *CloudSecurityAssetsQueriesForbidden) IsServerError() bool

IsServerError returns true when this cloud security assets queries forbidden response has a 5xx status code

func (*CloudSecurityAssetsQueriesForbidden) IsSuccess

IsSuccess returns true when this cloud security assets queries forbidden response has a 2xx status code

func (*CloudSecurityAssetsQueriesForbidden) String

type CloudSecurityAssetsQueriesInternalServerError

type CloudSecurityAssetsQueriesInternalServerError 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.RestCursorResponseFields
}

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

Internal Server Error

func NewCloudSecurityAssetsQueriesInternalServerError

func NewCloudSecurityAssetsQueriesInternalServerError() *CloudSecurityAssetsQueriesInternalServerError

NewCloudSecurityAssetsQueriesInternalServerError creates a CloudSecurityAssetsQueriesInternalServerError with default headers values

func (*CloudSecurityAssetsQueriesInternalServerError) Code

Code gets the status code for the cloud security assets queries internal server error response

func (*CloudSecurityAssetsQueriesInternalServerError) Error

func (*CloudSecurityAssetsQueriesInternalServerError) GetPayload

func (*CloudSecurityAssetsQueriesInternalServerError) IsClientError

IsClientError returns true when this cloud security assets queries internal server error response has a 4xx status code

func (*CloudSecurityAssetsQueriesInternalServerError) IsCode

IsCode returns true when this cloud security assets queries internal server error response a status code equal to that given

func (*CloudSecurityAssetsQueriesInternalServerError) IsRedirect

IsRedirect returns true when this cloud security assets queries internal server error response has a 3xx status code

func (*CloudSecurityAssetsQueriesInternalServerError) IsServerError

IsServerError returns true when this cloud security assets queries internal server error response has a 5xx status code

func (*CloudSecurityAssetsQueriesInternalServerError) IsSuccess

IsSuccess returns true when this cloud security assets queries internal server error response has a 2xx status code

func (*CloudSecurityAssetsQueriesInternalServerError) String

type CloudSecurityAssetsQueriesOK

type CloudSecurityAssetsQueriesOK 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.AssetsGetResourceIDsResponse
}

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

OK

func NewCloudSecurityAssetsQueriesOK

func NewCloudSecurityAssetsQueriesOK() *CloudSecurityAssetsQueriesOK

NewCloudSecurityAssetsQueriesOK creates a CloudSecurityAssetsQueriesOK with default headers values

func (*CloudSecurityAssetsQueriesOK) Code

Code gets the status code for the cloud security assets queries o k response

func (*CloudSecurityAssetsQueriesOK) Error

func (*CloudSecurityAssetsQueriesOK) GetPayload

func (*CloudSecurityAssetsQueriesOK) IsClientError

func (o *CloudSecurityAssetsQueriesOK) IsClientError() bool

IsClientError returns true when this cloud security assets queries o k response has a 4xx status code

func (*CloudSecurityAssetsQueriesOK) IsCode

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

IsCode returns true when this cloud security assets queries o k response a status code equal to that given

func (*CloudSecurityAssetsQueriesOK) IsRedirect

func (o *CloudSecurityAssetsQueriesOK) IsRedirect() bool

IsRedirect returns true when this cloud security assets queries o k response has a 3xx status code

func (*CloudSecurityAssetsQueriesOK) IsServerError

func (o *CloudSecurityAssetsQueriesOK) IsServerError() bool

IsServerError returns true when this cloud security assets queries o k response has a 5xx status code

func (*CloudSecurityAssetsQueriesOK) IsSuccess

func (o *CloudSecurityAssetsQueriesOK) IsSuccess() bool

IsSuccess returns true when this cloud security assets queries o k response has a 2xx status code

func (*CloudSecurityAssetsQueriesOK) String

type CloudSecurityAssetsQueriesParams

type CloudSecurityAssetsQueriesParams struct {

	/* After.

	   token-based pagination. use for paginating through an entire result set. Use only one of 'offset' and 'after' parameters for paginating
	*/
	After *string

	/* Filter.

	     FQL string to filter on asset contents. Filterable fields include:
	- `account_id`
	- `account_name`
	- `active`
	- `azure.vm_id`
	- `business_impact`
	- `cloud_group`
	- `cloud_label`
	- `cloud_label_id`
	- `cloud_provider`
	- `cloud_scope`
	- `cluster_id`
	- `cluster_name`
	- `compartment_ocid`
	- `compliant.benchmark_name`
	- `compliant.benchmark_version`
	- `compliant.framework`
	- `compliant.policy_id`
	- `compliant.requirement`
	- `compliant.rule`
	- `compliant.section`
	- `configuration.id`
	- `control.benchmark.name`
	- `control.benchmark.version`
	- `control.framework`
	- `control.requirement`
	- `control.type`
	- `control.version`
	- `creation_time`
	- `cve_ids`
	- `data_classifications.found`
	- `data_classifications.label`
	- `data_classifications.label_id`
	- `data_classifications.scanned`
	- `data_classifications.tag`
	- `data_classifications.tag_id`
	- `environment`
	- `exprt_ratings`
	- `first_seen`
	- `highest_severity`
	- `id`
	- `insights.boolean_value`
	- `insights.date_value`
	- `insights.id`
	- `insights.integer_value`
	- `insights.string_list_value`
	- `insights.string_value`
	- `instance_id`
	- `instance_state`
	- `ioa_count`
	- `iom_count`
	- `legacy_resource_id`
	- `legacy_uuid`
	- `managed_by`
	- `non_compliant.benchmark_name`
	- `non_compliant.benchmark_version`
	- `non_compliant.framework`
	- `non_compliant.policy_id`
	- `non_compliant.requirement`
	- `non_compliant.rule`
	- `non_compliant.rule_name`
	- `non_compliant.section`
	- `non_compliant.severity`
	- `organization_Id`
	- `os_version`
	- `platform_name`
	- `publicly_exposed`
	- `region`
	- `resource_id`
	- `resource_name`
	- `resource_type`
	- `resource_type_name`
	- `sensor_priority`
	- `service`
	- `service_category`
	- `severity`
	- `snapshot_detections`
	- `ssm_managed`
	- `status`
	- `tag_key`
	- `tag_value`
	- `tags`
	- `tenant_id`
	- `updated_at`
	- `vmware.guest_os_id`
	- `vmware.guest_os_version`
	- `vmware.host_system_name`
	- `vmware.host_type`
	- `vmware.instance_uuid`
	- `vmware.vm_host_name`
	- `vmware.vm_tools_status`
	- `zone`
	*/
	Filter *string

	/* Limit.

	   The maximum number of items to return. When not specified or 0, 500 is used. When larger than 1000, 1000 is used.

	   Default: 500
	*/
	Limit *int64

	/* Offset.

	   Offset returned assets. Use only one of 'offset' and 'after' parameter for paginating. 'offset' can only be used on offsets < 10,000. For paginating through the entire result set, use 'after' parameter
	*/
	Offset *int64

	/* Sort.

	     The field to sort on.  Sortable fields include:
	- `account_id`
	- `account_name`
	- `active`
	- `cloud_provider`
	- `cluster_id`
	- `cluster_name`
	- `compartment_name`
	- `compartment_ocid`
	- `compartment_path`
	- `creation_time`
	- `data_classifications.found`
	- `data_classifications.scanned`
	- `first_seen`
	- `id`
	- `instance_id`
	- `instance_state`
	- `ioa_count`
	- `iom_count`
	- `managed_by`
	- `organization_Id`
	- `os_version`
	- `platform_name`
	- `publicly_exposed`
	- `region`
	- `resource_id`
	- `resource_name`
	- `resource_type`
	- `resource_type_name`
	- `service`
	- `service_category`
	- `ssm_managed`
	- `status`
	- `tenancy_name`
	- `tenancy_ocid`
	- `tenancy_type`
	- `tenant_id`
	- `updated_at`
	- `vmware.guest_os_id`
	- `vmware.guest_os_version`
	- `vmware.host_system_name`
	- `vmware.host_type`
	- `vmware.instance_uuid`
	- `vmware.vm_host_name`
	- `vmware.vm_tools_status`
	- `zone`

	Use `|asc` or `|desc` suffix to specify sort direction.
	*/
	Sort *string

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

CloudSecurityAssetsQueriesParams contains all the parameters to send to the API endpoint

for the cloud security assets queries operation.

Typically these are written to a http.Request.

func NewCloudSecurityAssetsQueriesParams

func NewCloudSecurityAssetsQueriesParams() *CloudSecurityAssetsQueriesParams

NewCloudSecurityAssetsQueriesParams creates a new CloudSecurityAssetsQueriesParams 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 NewCloudSecurityAssetsQueriesParamsWithContext

func NewCloudSecurityAssetsQueriesParamsWithContext(ctx context.Context) *CloudSecurityAssetsQueriesParams

NewCloudSecurityAssetsQueriesParamsWithContext creates a new CloudSecurityAssetsQueriesParams object with the ability to set a context for a request.

func NewCloudSecurityAssetsQueriesParamsWithHTTPClient

func NewCloudSecurityAssetsQueriesParamsWithHTTPClient(client *http.Client) *CloudSecurityAssetsQueriesParams

NewCloudSecurityAssetsQueriesParamsWithHTTPClient creates a new CloudSecurityAssetsQueriesParams object with the ability to set a custom HTTPClient for a request.

func NewCloudSecurityAssetsQueriesParamsWithTimeout

func NewCloudSecurityAssetsQueriesParamsWithTimeout(timeout time.Duration) *CloudSecurityAssetsQueriesParams

NewCloudSecurityAssetsQueriesParamsWithTimeout creates a new CloudSecurityAssetsQueriesParams object with the ability to set a timeout on a request.

func (*CloudSecurityAssetsQueriesParams) SetAfter

func (o *CloudSecurityAssetsQueriesParams) SetAfter(after *string)

SetAfter adds the after to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetContext

SetContext adds the context to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetDefaults

func (o *CloudSecurityAssetsQueriesParams) SetDefaults()

SetDefaults hydrates default values in the cloud security assets queries params (not the query body).

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

func (*CloudSecurityAssetsQueriesParams) SetFilter

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

SetFilter adds the filter to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetLimit

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

SetLimit adds the limit to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetOffset

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

SetOffset adds the offset to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetSort

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

SetSort adds the sort to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) SetTimeout

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

SetTimeout adds the timeout to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithAfter

WithAfter adds the after to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithContext

WithContext adds the context to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithDefaults

WithDefaults hydrates default values in the cloud security assets queries params (not the query body).

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

func (*CloudSecurityAssetsQueriesParams) WithFilter

WithFilter adds the filter to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithLimit

WithLimit adds the limit to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithOffset

WithOffset adds the offset to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithSort

WithSort adds the sort to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WithTimeout

WithTimeout adds the timeout to the cloud security assets queries params

func (*CloudSecurityAssetsQueriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudSecurityAssetsQueriesReader

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

CloudSecurityAssetsQueriesReader is a Reader for the CloudSecurityAssetsQueries structure.

func (*CloudSecurityAssetsQueriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudSecurityAssetsQueriesRequestTimeout

type CloudSecurityAssetsQueriesRequestTimeout 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.RestCursorResponseFields
}

CloudSecurityAssetsQueriesRequestTimeout describes a response with status code 408, with default header values.

Request Timeout

func NewCloudSecurityAssetsQueriesRequestTimeout

func NewCloudSecurityAssetsQueriesRequestTimeout() *CloudSecurityAssetsQueriesRequestTimeout

NewCloudSecurityAssetsQueriesRequestTimeout creates a CloudSecurityAssetsQueriesRequestTimeout with default headers values

func (*CloudSecurityAssetsQueriesRequestTimeout) Code

Code gets the status code for the cloud security assets queries request timeout response

func (*CloudSecurityAssetsQueriesRequestTimeout) Error

func (*CloudSecurityAssetsQueriesRequestTimeout) GetPayload

func (*CloudSecurityAssetsQueriesRequestTimeout) IsClientError

IsClientError returns true when this cloud security assets queries request timeout response has a 4xx status code

func (*CloudSecurityAssetsQueriesRequestTimeout) IsCode

IsCode returns true when this cloud security assets queries request timeout response a status code equal to that given

func (*CloudSecurityAssetsQueriesRequestTimeout) IsRedirect

IsRedirect returns true when this cloud security assets queries request timeout response has a 3xx status code

func (*CloudSecurityAssetsQueriesRequestTimeout) IsServerError

IsServerError returns true when this cloud security assets queries request timeout response has a 5xx status code

func (*CloudSecurityAssetsQueriesRequestTimeout) IsSuccess

IsSuccess returns true when this cloud security assets queries request timeout response has a 2xx status code

func (*CloudSecurityAssetsQueriesRequestTimeout) String

type CloudSecurityAssetsQueriesTooManyRequests

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

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

Too Many Requests

func NewCloudSecurityAssetsQueriesTooManyRequests

func NewCloudSecurityAssetsQueriesTooManyRequests() *CloudSecurityAssetsQueriesTooManyRequests

NewCloudSecurityAssetsQueriesTooManyRequests creates a CloudSecurityAssetsQueriesTooManyRequests with default headers values

func (*CloudSecurityAssetsQueriesTooManyRequests) Code

Code gets the status code for the cloud security assets queries too many requests response

func (*CloudSecurityAssetsQueriesTooManyRequests) Error

func (*CloudSecurityAssetsQueriesTooManyRequests) GetPayload

func (*CloudSecurityAssetsQueriesTooManyRequests) IsClientError

IsClientError returns true when this cloud security assets queries too many requests response has a 4xx status code

func (*CloudSecurityAssetsQueriesTooManyRequests) IsCode

IsCode returns true when this cloud security assets queries too many requests response a status code equal to that given

func (*CloudSecurityAssetsQueriesTooManyRequests) IsRedirect

IsRedirect returns true when this cloud security assets queries too many requests response has a 3xx status code

func (*CloudSecurityAssetsQueriesTooManyRequests) IsServerError

IsServerError returns true when this cloud security assets queries too many requests response has a 5xx status code

func (*CloudSecurityAssetsQueriesTooManyRequests) IsSuccess

IsSuccess returns true when this cloud security assets queries too many requests response has a 2xx status code

func (*CloudSecurityAssetsQueriesTooManyRequests) String

Jump to

Keyboard shortcuts

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