cloudguard

package
v35.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type ActivityProblemAggregation ¶

type ActivityProblemAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	PoliticalLocation *PoliticalLocation `mandatory:"true" json:"politicalLocation"`

	GeographicalLocation *GeographicalLocation `mandatory:"true" json:"geographicalLocation"`

	// The number of occurences with given dimension/s
	Count *int `mandatory:"true" json:"count"`
}

ActivityProblemAggregation Provides the dimensions and their corresponding count.

func (ActivityProblemAggregation) String ¶

type ActivityProblemAggregationCollection ¶

type ActivityProblemAggregationCollection struct {

	// The items consists of all the ActivityProblemAggregation objects.
	Items []ActivityProblemAggregation `mandatory:"true" json:"items"`
}

ActivityProblemAggregationCollection Activity Problem Aggregation Collection.

func (ActivityProblemAggregationCollection) String ¶

type ActorTypeEnum ¶

type ActorTypeEnum string

ActorTypeEnum Enum with underlying type: string

const (
	ActorTypeCloudGuardService ActorTypeEnum = "CLOUD_GUARD_SERVICE"
	ActorTypeCorrelation       ActorTypeEnum = "CORRELATION"
	ActorTypeResponder         ActorTypeEnum = "RESPONDER"
	ActorTypeUser              ActorTypeEnum = "USER"
)

Set of constants representing the allowable values for ActorTypeEnum

func GetActorTypeEnumValues ¶

func GetActorTypeEnumValues() []ActorTypeEnum

GetActorTypeEnumValues Enumerates the set of values for ActorTypeEnum

type AttachTargetDetectorRecipeDetails ¶

type AttachTargetDetectorRecipeDetails struct {

	// DetectorRecipe Identifier
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`
}

AttachTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe

func (AttachTargetDetectorRecipeDetails) String ¶

type AttachTargetResponderRecipeDetails ¶

type AttachTargetResponderRecipeDetails struct {

	// ResponderRecipe Identifier
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`
}

AttachTargetResponderRecipeDetails The information required to create TargetResponderRecipe

func (AttachTargetResponderRecipeDetails) String ¶

type CandidateResponderRule ¶

type CandidateResponderRule struct {

	// The unique identifier of the Responder rule
	Id *string `mandatory:"false" json:"id"`

	// The display name of the Responder rule
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Preferred state
	IsPreferred *bool `mandatory:"false" json:"isPreferred"`
}

CandidateResponderRule Candidate Responder Rule list in Detector rule

func (CandidateResponderRule) String ¶

func (m CandidateResponderRule) String() string

type ChangeDetectorRecipeCompartmentDetails ¶

type ChangeDetectorRecipeCompartmentDetails struct {

	// The OCID of the compartment into which the DetectorRecipe should be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDetectorRecipeCompartmentDetails Changing compartmentId for DetectorRecipe

func (ChangeDetectorRecipeCompartmentDetails) String ¶

type ChangeDetectorRecipeCompartmentRequest ¶

type ChangeDetectorRecipeCompartmentRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The target compartment id.
	ChangeDetectorRecipeCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeDetectorRecipeCompartmentRequest wrapper for the ChangeDetectorRecipeCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use ChangeDetectorRecipeCompartmentRequest.

func (ChangeDetectorRecipeCompartmentRequest) HTTPRequest ¶

func (request ChangeDetectorRecipeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDetectorRecipeCompartmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDetectorRecipeCompartmentRequest) String ¶

type ChangeDetectorRecipeCompartmentResponse ¶

type ChangeDetectorRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeDetectorRecipeCompartmentResponse wrapper for the ChangeDetectorRecipeCompartment operation

func (ChangeDetectorRecipeCompartmentResponse) HTTPResponse ¶

func (response ChangeDetectorRecipeCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeDetectorRecipeCompartmentResponse) String ¶

type ChangeManagedListCompartmentDetails ¶

type ChangeManagedListCompartmentDetails struct {

	// The OCID of the compartment into which the ManagedList should be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeManagedListCompartmentDetails Changing compartmentId for ManagedList

func (ChangeManagedListCompartmentDetails) String ¶

type ChangeManagedListCompartmentRequest ¶

type ChangeManagedListCompartmentRequest struct {

	// The cloudguard list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// The compartment id of the ManagedList
	ChangeManagedListCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeManagedListCompartmentRequest wrapper for the ChangeManagedListCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartmentRequest.

func (ChangeManagedListCompartmentRequest) HTTPRequest ¶

func (request ChangeManagedListCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeManagedListCompartmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeManagedListCompartmentRequest) String ¶

type ChangeManagedListCompartmentResponse ¶

type ChangeManagedListCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeManagedListCompartmentResponse wrapper for the ChangeManagedListCompartment operation

func (ChangeManagedListCompartmentResponse) HTTPResponse ¶

func (response ChangeManagedListCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeManagedListCompartmentResponse) String ¶

func (response ChangeManagedListCompartmentResponse) String() string

type ChangeResponderRecipeCompartmentDetails ¶

type ChangeResponderRecipeCompartmentDetails struct {

	// The OCID of the compartment into which the ResponderRecipe should be moved
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeResponderRecipeCompartmentDetails Changing compartmentId for ResponderRecipe

func (ChangeResponderRecipeCompartmentDetails) String ¶

type ChangeResponderRecipeCompartmentRequest ¶

type ChangeResponderRecipeCompartmentRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The target compartment id.
	ChangeResponderRecipeCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeResponderRecipeCompartmentRequest wrapper for the ChangeResponderRecipeCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use ChangeResponderRecipeCompartmentRequest.

func (ChangeResponderRecipeCompartmentRequest) HTTPRequest ¶

func (request ChangeResponderRecipeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeResponderRecipeCompartmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeResponderRecipeCompartmentRequest) String ¶

type ChangeResponderRecipeCompartmentResponse ¶

type ChangeResponderRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeResponderRecipeCompartmentResponse wrapper for the ChangeResponderRecipeCompartment operation

func (ChangeResponderRecipeCompartmentResponse) HTTPResponse ¶

func (response ChangeResponderRecipeCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeResponderRecipeCompartmentResponse) String ¶

type CloudGuardClient ¶

type CloudGuardClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

CloudGuardClient a client for CloudGuard

func NewCloudGuardClientWithConfigurationProvider ¶

func NewCloudGuardClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CloudGuardClient, err error)

NewCloudGuardClientWithConfigurationProvider Creates a new default CloudGuard client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewCloudGuardClientWithOboToken ¶

func NewCloudGuardClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CloudGuardClient, err error)

NewCloudGuardClientWithOboToken Creates a new default CloudGuard client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (CloudGuardClient) ChangeDetectorRecipeCompartment ¶

func (client CloudGuardClient) ChangeDetectorRecipeCompartment(ctx context.Context, request ChangeDetectorRecipeCompartmentRequest) (response ChangeDetectorRecipeCompartmentResponse, err error)

ChangeDetectorRecipeCompartment Moves the DetectorRecipe from current compartment to another.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use ChangeDetectorRecipeCompartment API.

func (CloudGuardClient) ChangeManagedListCompartment ¶

func (client CloudGuardClient) ChangeManagedListCompartment(ctx context.Context, request ChangeManagedListCompartmentRequest) (response ChangeManagedListCompartmentResponse, err error)

ChangeManagedListCompartment Moves the ManagedList from current compartment to another.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartment API.

func (CloudGuardClient) ChangeResponderRecipeCompartment ¶

func (client CloudGuardClient) ChangeResponderRecipeCompartment(ctx context.Context, request ChangeResponderRecipeCompartmentRequest) (response ChangeResponderRecipeCompartmentResponse, err error)

ChangeResponderRecipeCompartment Moves the ResponderRecipe from current compartment to another.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use ChangeResponderRecipeCompartment API.

func (*CloudGuardClient) ConfigurationProvider ¶

func (client *CloudGuardClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (CloudGuardClient) CreateDetectorRecipe ¶

func (client CloudGuardClient) CreateDetectorRecipe(ctx context.Context, request CreateDetectorRecipeRequest) (response CreateDetectorRecipeResponse, err error)

CreateDetectorRecipe Creates a DetectorRecipe

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use CreateDetectorRecipe API.

func (CloudGuardClient) CreateManagedList ¶

func (client CloudGuardClient) CreateManagedList(ctx context.Context, request CreateManagedListRequest) (response CreateManagedListResponse, err error)

CreateManagedList Creates a new ManagedList.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateManagedList.go.html to see an example of how to use CreateManagedList API.

func (CloudGuardClient) CreateResponderRecipe ¶

func (client CloudGuardClient) CreateResponderRecipe(ctx context.Context, request CreateResponderRecipeRequest) (response CreateResponderRecipeResponse, err error)

CreateResponderRecipe Create a ResponderRecipe.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateResponderRecipe.go.html to see an example of how to use CreateResponderRecipe API.

func (CloudGuardClient) CreateTarget ¶

func (client CloudGuardClient) CreateTarget(ctx context.Context, request CreateTargetRequest) (response CreateTargetResponse, err error)

CreateTarget Creates a new Target

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTarget.go.html to see an example of how to use CreateTarget API.

func (CloudGuardClient) CreateTargetDetectorRecipe ¶

func (client CloudGuardClient) CreateTargetDetectorRecipe(ctx context.Context, request CreateTargetDetectorRecipeRequest) (response CreateTargetDetectorRecipeResponse, err error)

CreateTargetDetectorRecipe Attach a DetectorRecipe with the Target

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use CreateTargetDetectorRecipe API.

func (CloudGuardClient) CreateTargetResponderRecipe ¶

func (client CloudGuardClient) CreateTargetResponderRecipe(ctx context.Context, request CreateTargetResponderRecipeRequest) (response CreateTargetResponderRecipeResponse, err error)

CreateTargetResponderRecipe Attach a ResponderRecipe with the Target

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use CreateTargetResponderRecipe API.

func (CloudGuardClient) DeleteDetectorRecipe ¶

func (client CloudGuardClient) DeleteDetectorRecipe(ctx context.Context, request DeleteDetectorRecipeRequest) (response DeleteDetectorRecipeResponse, err error)

DeleteDetectorRecipe Deletes a DetectorRecipe identified by detectorRecipeId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipe API.

func (CloudGuardClient) DeleteManagedList ¶

func (client CloudGuardClient) DeleteManagedList(ctx context.Context, request DeleteManagedListRequest) (response DeleteManagedListResponse, err error)

DeleteManagedList Deletes a managed list identified by managedListId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedList API.

func (CloudGuardClient) DeleteResponderRecipe ¶

func (client CloudGuardClient) DeleteResponderRecipe(ctx context.Context, request DeleteResponderRecipeRequest) (response DeleteResponderRecipeResponse, err error)

DeleteResponderRecipe Delete the ResponderRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipe API.

func (CloudGuardClient) DeleteTarget ¶

func (client CloudGuardClient) DeleteTarget(ctx context.Context, request DeleteTargetRequest) (response DeleteTargetResponse, err error)

DeleteTarget Deletes a Target identified by targetId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTarget API.

func (CloudGuardClient) DeleteTargetDetectorRecipe ¶

func (client CloudGuardClient) DeleteTargetDetectorRecipe(ctx context.Context, request DeleteTargetDetectorRecipeRequest) (response DeleteTargetDetectorRecipeResponse, err error)

DeleteTargetDetectorRecipe Delete the TargetDetectorRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipe API.

func (CloudGuardClient) DeleteTargetResponderRecipe ¶

func (client CloudGuardClient) DeleteTargetResponderRecipe(ctx context.Context, request DeleteTargetResponderRecipeRequest) (response DeleteTargetResponderRecipeResponse, err error)

DeleteTargetResponderRecipe Delete the TargetResponderRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipe API.

func (CloudGuardClient) ExecuteResponderExecution ¶

func (client CloudGuardClient) ExecuteResponderExecution(ctx context.Context, request ExecuteResponderExecutionRequest) (response ExecuteResponderExecutionResponse, err error)

ExecuteResponderExecution Executes the responder execution. When provided, If-Match is checked against ETag values of the resource.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecution API.

func (CloudGuardClient) GetConditionMetadataType ¶

func (client CloudGuardClient) GetConditionMetadataType(ctx context.Context, request GetConditionMetadataTypeRequest) (response GetConditionMetadataTypeResponse, err error)

GetConditionMetadataType Returns ConditionType with its details.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataType API.

func (CloudGuardClient) GetConfiguration ¶

func (client CloudGuardClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)

GetConfiguration GET Cloud Guard Configuration Details for a Tenancy.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfiguration API.

func (CloudGuardClient) GetDetector ¶

func (client CloudGuardClient) GetDetector(ctx context.Context, request GetDetectorRequest) (response GetDetectorResponse, err error)

GetDetector Returns a Detector identified by detectorId.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetector.go.html to see an example of how to use GetDetector API.

func (CloudGuardClient) GetDetectorRecipe ¶

func (client CloudGuardClient) GetDetectorRecipe(ctx context.Context, request GetDetectorRecipeRequest) (response GetDetectorRecipeResponse, err error)

GetDetectorRecipe Returns a DetectorRecipe identified by detectorRecipeId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipe API.

func (CloudGuardClient) GetDetectorRecipeDetectorRule ¶

func (client CloudGuardClient) GetDetectorRecipeDetectorRule(ctx context.Context, request GetDetectorRecipeDetectorRuleRequest) (response GetDetectorRecipeDetectorRuleResponse, err error)

GetDetectorRecipeDetectorRule Get DetectorRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRule API.

func (CloudGuardClient) GetDetectorRule ¶

func (client CloudGuardClient) GetDetectorRule(ctx context.Context, request GetDetectorRuleRequest) (response GetDetectorRuleResponse, err error)

GetDetectorRule Returns a Detector Rule identified by detectorRuleId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRule API.

func (CloudGuardClient) GetManagedList ¶

func (client CloudGuardClient) GetManagedList(ctx context.Context, request GetManagedListRequest) (response GetManagedListResponse, err error)

GetManagedList Returns a managed list identified by managedListId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedList API.

func (CloudGuardClient) GetProblem ¶

func (client CloudGuardClient) GetProblem(ctx context.Context, request GetProblemRequest) (response GetProblemResponse, err error)

GetProblem Returns a Problems response

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetProblem.go.html to see an example of how to use GetProblem API.

func (CloudGuardClient) GetResponderExecution ¶

func (client CloudGuardClient) GetResponderExecution(ctx context.Context, request GetResponderExecutionRequest) (response GetResponderExecutionResponse, err error)

GetResponderExecution Returns a Responder Execution identified by responderExecutionId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecution API.

func (CloudGuardClient) GetResponderRecipe ¶

func (client CloudGuardClient) GetResponderRecipe(ctx context.Context, request GetResponderRecipeRequest) (response GetResponderRecipeResponse, err error)

GetResponderRecipe Get a ResponderRecipe by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipe API.

func (CloudGuardClient) GetResponderRecipeResponderRule ¶

func (client CloudGuardClient) GetResponderRecipeResponderRule(ctx context.Context, request GetResponderRecipeResponderRuleRequest) (response GetResponderRecipeResponderRuleResponse, err error)

GetResponderRecipeResponderRule Get ResponderRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRule API.

func (CloudGuardClient) GetResponderRule ¶

func (client CloudGuardClient) GetResponderRule(ctx context.Context, request GetResponderRuleRequest) (response GetResponderRuleResponse, err error)

GetResponderRule Get a ResponderRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRule API.

func (CloudGuardClient) GetTarget ¶

func (client CloudGuardClient) GetTarget(ctx context.Context, request GetTargetRequest) (response GetTargetResponse, err error)

GetTarget Returns a Target identified by targetId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTarget.go.html to see an example of how to use GetTarget API.

func (CloudGuardClient) GetTargetDetectorRecipe ¶

func (client CloudGuardClient) GetTargetDetectorRecipe(ctx context.Context, request GetTargetDetectorRecipeRequest) (response GetTargetDetectorRecipeResponse, err error)

GetTargetDetectorRecipe Get a TargetDetectorRecipe by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipe API.

func (CloudGuardClient) GetTargetDetectorRecipeDetectorRule ¶

func (client CloudGuardClient) GetTargetDetectorRecipeDetectorRule(ctx context.Context, request GetTargetDetectorRecipeDetectorRuleRequest) (response GetTargetDetectorRecipeDetectorRuleResponse, err error)

GetTargetDetectorRecipeDetectorRule Get DetectorRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRule API.

func (CloudGuardClient) GetTargetResponderRecipe ¶

func (client CloudGuardClient) GetTargetResponderRecipe(ctx context.Context, request GetTargetResponderRecipeRequest) (response GetTargetResponderRecipeResponse, err error)

GetTargetResponderRecipe Get a TargetResponderRecipe by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipe API.

func (CloudGuardClient) GetTargetResponderRecipeResponderRule ¶

func (client CloudGuardClient) GetTargetResponderRecipeResponderRule(ctx context.Context, request GetTargetResponderRecipeResponderRuleRequest) (response GetTargetResponderRecipeResponderRuleResponse, err error)

GetTargetResponderRecipeResponderRule Get ResponderRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRule API.

func (CloudGuardClient) ListConditionMetadataTypes ¶

func (client CloudGuardClient) ListConditionMetadataTypes(ctx context.Context, request ListConditionMetadataTypesRequest) (response ListConditionMetadataTypesResponse, err error)

ListConditionMetadataTypes Returns a list of condition types.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypes API.

func (CloudGuardClient) ListDetectorRecipeDetectorRules ¶

func (client CloudGuardClient) ListDetectorRecipeDetectorRules(ctx context.Context, request ListDetectorRecipeDetectorRulesRequest) (response ListDetectorRecipeDetectorRulesResponse, err error)

ListDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRules API.

func (CloudGuardClient) ListDetectorRecipes ¶

func (client CloudGuardClient) ListDetectorRecipes(ctx context.Context, request ListDetectorRecipesRequest) (response ListDetectorRecipesResponse, err error)

ListDetectorRecipes Returns a list of all Detector Recipes in a compartment The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListDetectorRecipes on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipes API.

func (CloudGuardClient) ListDetectorRules ¶

func (client CloudGuardClient) ListDetectorRules(ctx context.Context, request ListDetectorRulesRequest) (response ListDetectorRulesResponse, err error)

ListDetectorRules Returns a list of detector rules for the detectorId passed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRules API.

func (CloudGuardClient) ListDetectors ¶

func (client CloudGuardClient) ListDetectors(ctx context.Context, request ListDetectorsRequest) (response ListDetectorsResponse, err error)

ListDetectors Returns detector catalog - list of detectors supported by Cloud Guard

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectors API.

func (CloudGuardClient) ListImpactedResources ¶

func (client CloudGuardClient) ListImpactedResources(ctx context.Context, request ListImpactedResourcesRequest) (response ListImpactedResourcesResponse, err error)

ListImpactedResources Returns a list of Impacted Resources for a CloudGuard Problem

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResources API.

func (CloudGuardClient) ListManagedListTypes ¶

func (client CloudGuardClient) ListManagedListTypes(ctx context.Context, request ListManagedListTypesRequest) (response ListManagedListTypesResponse, err error)

ListManagedListTypes Returns all ManagedList types supported by Cloud Guard

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypes API.

func (CloudGuardClient) ListManagedLists ¶

func (client CloudGuardClient) ListManagedLists(ctx context.Context, request ListManagedListsRequest) (response ListManagedListsResponse, err error)

ListManagedLists Returns a list of ListManagedLists. The ListManagedLists operation returns only the managed lists in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return ManagedLists in only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListManagedLists on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedLists API.

func (CloudGuardClient) ListProblemHistories ¶

func (client CloudGuardClient) ListProblemHistories(ctx context.Context, request ListProblemHistoriesRequest) (response ListProblemHistoriesResponse, err error)

ListProblemHistories Returns a list of Actions done on CloudGuard Problem

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistories API.

func (CloudGuardClient) ListProblems ¶

func (client CloudGuardClient) ListProblems(ctx context.Context, request ListProblemsRequest) (response ListProblemsResponse, err error)

ListProblems Returns a list of all Problems identified by the Cloud Guard The ListProblems operation returns only the problems in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblems.go.html to see an example of how to use ListProblems API.

func (CloudGuardClient) ListRecommendations ¶

func (client CloudGuardClient) ListRecommendations(ctx context.Context, request ListRecommendationsRequest) (response ListRecommendationsResponse, err error)

ListRecommendations Returns a list of all Recommendations.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendations API.

func (CloudGuardClient) ListResourceTypes ¶

func (client CloudGuardClient) ListResourceTypes(ctx context.Context, request ListResourceTypesRequest) (response ListResourceTypesResponse, err error)

ListResourceTypes Returns a list of resource types.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypes API.

func (CloudGuardClient) ListResponderActivities ¶

func (client CloudGuardClient) ListResponderActivities(ctx context.Context, request ListResponderActivitiesRequest) (response ListResponderActivitiesResponse, err error)

ListResponderActivities Returns a list of Responder activities done on CloudGuard Problem

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivities API.

func (CloudGuardClient) ListResponderExecutions ¶

func (client CloudGuardClient) ListResponderExecutions(ctx context.Context, request ListResponderExecutionsRequest) (response ListResponderExecutionsResponse, err error)

ListResponderExecutions Returns a list of Responder Executions. A Responder Execution is an entity that tracks the collective execution of multiple Responder Rule Executions for a given Problem.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutions API.

func (CloudGuardClient) ListResponderRecipeResponderRules ¶

func (client CloudGuardClient) ListResponderRecipeResponderRules(ctx context.Context, request ListResponderRecipeResponderRulesRequest) (response ListResponderRecipeResponderRulesResponse, err error)

ListResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRules API.

func (CloudGuardClient) ListResponderRecipes ¶

func (client CloudGuardClient) ListResponderRecipes(ctx context.Context, request ListResponderRecipesRequest) (response ListResponderRecipesResponse, err error)

ListResponderRecipes Returns a list of all ResponderRecipes in a compartment The ListResponderRecipe operation returns only the targets in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipes API.

func (CloudGuardClient) ListResponderRules ¶

func (client CloudGuardClient) ListResponderRules(ctx context.Context, request ListResponderRulesRequest) (response ListResponderRulesResponse, err error)

ListResponderRules Returns a list of ResponderRule.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRules API.

func (CloudGuardClient) ListTargetDetectorRecipeDetectorRules ¶

func (client CloudGuardClient) ListTargetDetectorRecipeDetectorRules(ctx context.Context, request ListTargetDetectorRecipeDetectorRulesRequest) (response ListTargetDetectorRecipeDetectorRulesResponse, err error)

ListTargetDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe within a Target.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRules API.

func (CloudGuardClient) ListTargetDetectorRecipes ¶

func (client CloudGuardClient) ListTargetDetectorRecipes(ctx context.Context, request ListTargetDetectorRecipesRequest) (response ListTargetDetectorRecipesResponse, err error)

ListTargetDetectorRecipes Returns a list of all detector recipes associated with the target identified by targetId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipes API.

func (CloudGuardClient) ListTargetResponderRecipeResponderRules ¶

func (client CloudGuardClient) ListTargetResponderRecipeResponderRules(ctx context.Context, request ListTargetResponderRecipeResponderRulesRequest) (response ListTargetResponderRecipeResponderRulesResponse, err error)

ListTargetResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe within a Target.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRules API.

func (CloudGuardClient) ListTargetResponderRecipes ¶

func (client CloudGuardClient) ListTargetResponderRecipes(ctx context.Context, request ListTargetResponderRecipesRequest) (response ListTargetResponderRecipesResponse, err error)

ListTargetResponderRecipes Returns a list of all responder recipes associated with the target identified by targetId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipes API.

func (CloudGuardClient) ListTargets ¶

func (client CloudGuardClient) ListTargets(ctx context.Context, request ListTargetsRequest) (response ListTargetsResponse, err error)

ListTargets Returns a list of all Targets in a compartment The ListTargets operation returns only the targets in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargets.go.html to see an example of how to use ListTargets API.

func (CloudGuardClient) RequestRiskScores ¶

func (client CloudGuardClient) RequestRiskScores(ctx context.Context, request RequestRiskScoresRequest) (response RequestRiskScoresResponse, err error)

RequestRiskScores Examines the number of problems related to the resource and the relative severity of those problems.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScores API.

func (CloudGuardClient) RequestSecurityScoreSummarizedTrend ¶

func (client CloudGuardClient) RequestSecurityScoreSummarizedTrend(ctx context.Context, request RequestSecurityScoreSummarizedTrendRequest) (response RequestSecurityScoreSummarizedTrendResponse, err error)

RequestSecurityScoreSummarizedTrend Measures the number of resources examined across all regions and compares it with the number of problems detected, for a given time period.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrend API.

func (CloudGuardClient) RequestSecurityScores ¶

func (client CloudGuardClient) RequestSecurityScores(ctx context.Context, request RequestSecurityScoresRequest) (response RequestSecurityScoresResponse, err error)

RequestSecurityScores Measures the number of resources examined across all regions and compares it with the number of problems detected.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScores API.

func (CloudGuardClient) RequestSummarizedActivityProblems ¶

func (client CloudGuardClient) RequestSummarizedActivityProblems(ctx context.Context, request RequestSummarizedActivityProblemsRequest) (response RequestSummarizedActivityProblemsResponse, err error)

RequestSummarizedActivityProblems Returns the summary of Activity type problems identified by cloud guard, for a given set of dimensions. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. The compartmentId to be passed with `accessLevel` and `compartmentIdInSubtree` params has to be the root compartment id (tenant-id) only.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblems API.

func (CloudGuardClient) RequestSummarizedProblems ¶

func (client CloudGuardClient) RequestSummarizedProblems(ctx context.Context, request RequestSummarizedProblemsRequest) (response RequestSummarizedProblemsResponse, err error)

RequestSummarizedProblems Returns the number of problems identified by cloud guard, for a given set of dimensions. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblems API.

func (CloudGuardClient) RequestSummarizedResponderExecutions ¶

func (client CloudGuardClient) RequestSummarizedResponderExecutions(ctx context.Context, request RequestSummarizedResponderExecutionsRequest) (response RequestSummarizedResponderExecutionsResponse, err error)

RequestSummarizedResponderExecutions Returns the number of Responder Executions, for a given set of dimensions. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutions API.

func (CloudGuardClient) RequestSummarizedRiskScores ¶

func (client CloudGuardClient) RequestSummarizedRiskScores(ctx context.Context, request RequestSummarizedRiskScoresRequest) (response RequestSummarizedRiskScoresResponse, err error)

RequestSummarizedRiskScores DEPRECATED

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScores API.

func (CloudGuardClient) RequestSummarizedSecurityScores ¶

func (client CloudGuardClient) RequestSummarizedSecurityScores(ctx context.Context, request RequestSummarizedSecurityScoresRequest) (response RequestSummarizedSecurityScoresResponse, err error)

RequestSummarizedSecurityScores DEPRECATED

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScores API.

func (CloudGuardClient) RequestSummarizedTrendProblems ¶

func (client CloudGuardClient) RequestSummarizedTrendProblems(ctx context.Context, request RequestSummarizedTrendProblemsRequest) (response RequestSummarizedTrendProblemsResponse, err error)

RequestSummarizedTrendProblems Returns the number of problems identified by cloud guard, for a given time period. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblems API.

func (CloudGuardClient) RequestSummarizedTrendResponderExecutions ¶

func (client CloudGuardClient) RequestSummarizedTrendResponderExecutions(ctx context.Context, request RequestSummarizedTrendResponderExecutionsRequest) (response RequestSummarizedTrendResponderExecutionsResponse, err error)

RequestSummarizedTrendResponderExecutions Returns the number of remediations performed by Responders, for a given time period. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutions API.

func (CloudGuardClient) RequestSummarizedTrendSecurityScores ¶

func (client CloudGuardClient) RequestSummarizedTrendSecurityScores(ctx context.Context, request RequestSummarizedTrendSecurityScoresRequest) (response RequestSummarizedTrendSecurityScoresResponse, err error)

RequestSummarizedTrendSecurityScores DEPRECATED

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScores API.

func (*CloudGuardClient) SetRegion ¶

func (client *CloudGuardClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CloudGuardClient) SkipBulkResponderExecution ¶

func (client CloudGuardClient) SkipBulkResponderExecution(ctx context.Context, request SkipBulkResponderExecutionRequest) (response SkipBulkResponderExecutionResponse, err error)

SkipBulkResponderExecution Skips the execution for a bulk of responder executions The operation is atomic in nature

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecution API.

func (CloudGuardClient) SkipResponderExecution ¶

func (client CloudGuardClient) SkipResponderExecution(ctx context.Context, request SkipResponderExecutionRequest) (response SkipResponderExecutionResponse, err error)

SkipResponderExecution Skips the execution of the responder execution. When provided, If-Match is checked against ETag values of the resource.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecution API.

func (CloudGuardClient) TriggerResponder ¶

func (client CloudGuardClient) TriggerResponder(ctx context.Context, request TriggerResponderRequest) (response TriggerResponderResponse, err error)

TriggerResponder push the problem to responder

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponder API.

func (CloudGuardClient) UpdateBulkProblemStatus ¶

func (client CloudGuardClient) UpdateBulkProblemStatus(ctx context.Context, request UpdateBulkProblemStatusRequest) (response UpdateBulkProblemStatusResponse, err error)

UpdateBulkProblemStatus Updates the statuses in bulk for a list of problems The operation is atomic in nature

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatus API.

func (CloudGuardClient) UpdateConfiguration ¶

func (client CloudGuardClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)

UpdateConfiguration Enable/Disable Cloud Guard. The reporting region cannot be updated once created.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfiguration API.

func (CloudGuardClient) UpdateDetectorRecipe ¶

func (client CloudGuardClient) UpdateDetectorRecipe(ctx context.Context, request UpdateDetectorRecipeRequest) (response UpdateDetectorRecipeResponse, err error)

UpdateDetectorRecipe Updates a detector recipe identified by detectorRecipeId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipe API.

func (CloudGuardClient) UpdateDetectorRecipeDetectorRule ¶

func (client CloudGuardClient) UpdateDetectorRecipeDetectorRule(ctx context.Context, request UpdateDetectorRecipeDetectorRuleRequest) (response UpdateDetectorRecipeDetectorRuleResponse, err error)

UpdateDetectorRecipeDetectorRule Update the DetectorRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRule API.

func (CloudGuardClient) UpdateManagedList ¶

func (client CloudGuardClient) UpdateManagedList(ctx context.Context, request UpdateManagedListRequest) (response UpdateManagedListResponse, err error)

UpdateManagedList Updates a managed list identified by managedListId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedList API.

func (CloudGuardClient) UpdateProblemStatus ¶

func (client CloudGuardClient) UpdateProblemStatus(ctx context.Context, request UpdateProblemStatusRequest) (response UpdateProblemStatusResponse, err error)

UpdateProblemStatus updates the problem details

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatus API.

func (CloudGuardClient) UpdateResponderRecipe ¶

func (client CloudGuardClient) UpdateResponderRecipe(ctx context.Context, request UpdateResponderRecipeRequest) (response UpdateResponderRecipeResponse, err error)

UpdateResponderRecipe Update the ResponderRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipe API.

func (CloudGuardClient) UpdateResponderRecipeResponderRule ¶

func (client CloudGuardClient) UpdateResponderRecipeResponderRule(ctx context.Context, request UpdateResponderRecipeResponderRuleRequest) (response UpdateResponderRecipeResponderRuleResponse, err error)

UpdateResponderRecipeResponderRule Update the ResponderRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRule API.

func (CloudGuardClient) UpdateTarget ¶

func (client CloudGuardClient) UpdateTarget(ctx context.Context, request UpdateTargetRequest) (response UpdateTargetResponse, err error)

UpdateTarget Updates a Target identified by targetId

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTarget API.

func (CloudGuardClient) UpdateTargetDetectorRecipe ¶

func (client CloudGuardClient) UpdateTargetDetectorRecipe(ctx context.Context, request UpdateTargetDetectorRecipeRequest) (response UpdateTargetDetectorRecipeResponse, err error)

UpdateTargetDetectorRecipe Update the TargetDetectorRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipe API.

func (CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule ¶

func (client CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule(ctx context.Context, request UpdateTargetDetectorRecipeDetectorRuleRequest) (response UpdateTargetDetectorRecipeDetectorRuleResponse, err error)

UpdateTargetDetectorRecipeDetectorRule Update the DetectorRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRule API.

func (CloudGuardClient) UpdateTargetResponderRecipe ¶

func (client CloudGuardClient) UpdateTargetResponderRecipe(ctx context.Context, request UpdateTargetResponderRecipeRequest) (response UpdateTargetResponderRecipeResponse, err error)

UpdateTargetResponderRecipe Update the TargetResponderRecipe resource by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipe API.

func (CloudGuardClient) UpdateTargetResponderRecipeResponderRule ¶

func (client CloudGuardClient) UpdateTargetResponderRecipeResponderRule(ctx context.Context, request UpdateTargetResponderRecipeResponderRuleRequest) (response UpdateTargetResponderRecipeResponderRuleResponse, err error)

UpdateTargetResponderRecipeResponderRule Update the ResponderRule by identifier

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRule API.

type CloudGuardStatusEnum ¶

type CloudGuardStatusEnum string

CloudGuardStatusEnum Enum with underlying type: string

const (
	CloudGuardStatusEnabled  CloudGuardStatusEnum = "ENABLED"
	CloudGuardStatusDisabled CloudGuardStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for CloudGuardStatusEnum

func GetCloudGuardStatusEnumValues ¶

func GetCloudGuardStatusEnumValues() []CloudGuardStatusEnum

GetCloudGuardStatusEnumValues Enumerates the set of values for CloudGuardStatusEnum

type CompositeCondition ¶

type CompositeCondition struct {
	LeftOperand Condition `mandatory:"false" json:"leftOperand"`

	RightOperand Condition `mandatory:"false" json:"rightOperand"`

	CompositeOperator CompositeConditionCompositeOperatorEnum `mandatory:"false" json:"compositeOperator,omitempty"`
}

CompositeCondition Composite Condition object with nested Condition

func (CompositeCondition) MarshalJSON ¶

func (m CompositeCondition) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CompositeCondition) String ¶

func (m CompositeCondition) String() string

func (*CompositeCondition) UnmarshalJSON ¶

func (m *CompositeCondition) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CompositeConditionCompositeOperatorEnum ¶

type CompositeConditionCompositeOperatorEnum string

CompositeConditionCompositeOperatorEnum Enum with underlying type: string

const (
	CompositeConditionCompositeOperatorAnd CompositeConditionCompositeOperatorEnum = "AND"
	CompositeConditionCompositeOperatorOr  CompositeConditionCompositeOperatorEnum = "OR"
)

Set of constants representing the allowable values for CompositeConditionCompositeOperatorEnum

func GetCompositeConditionCompositeOperatorEnumValues ¶

func GetCompositeConditionCompositeOperatorEnumValues() []CompositeConditionCompositeOperatorEnum

GetCompositeConditionCompositeOperatorEnumValues Enumerates the set of values for CompositeConditionCompositeOperatorEnum

type Condition ¶

type Condition interface {
}

Condition Base condition object

type ConditionFilterTypeEnum ¶

type ConditionFilterTypeEnum string

ConditionFilterTypeEnum Enum with underlying type: string

const (
	ConditionFilterTypeCondition ConditionFilterTypeEnum = "CONDITION"
	ConditionFilterTypeConfig    ConditionFilterTypeEnum = "CONFIG"
)

Set of constants representing the allowable values for ConditionFilterTypeEnum

func GetConditionFilterTypeEnumValues ¶

func GetConditionFilterTypeEnumValues() []ConditionFilterTypeEnum

GetConditionFilterTypeEnumValues Enumerates the set of values for ConditionFilterTypeEnum

type ConditionGroup ¶

type ConditionGroup struct {

	// compartment associated with condition
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	Condition Condition `mandatory:"true" json:"condition"`
}

ConditionGroup Condition configured on a target

func (ConditionGroup) String ¶

func (m ConditionGroup) String() string

func (*ConditionGroup) UnmarshalJSON ¶

func (m *ConditionGroup) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ConditionKindEnum ¶

type ConditionKindEnum string

ConditionKindEnum Enum with underlying type: string

const (
	ConditionKindComposite ConditionKindEnum = "COMPOSITE"
	ConditionKindSimple    ConditionKindEnum = "SIMPLE"
)

Set of constants representing the allowable values for ConditionKindEnum

func GetConditionKindEnumValues ¶

func GetConditionKindEnumValues() []ConditionKindEnum

GetConditionKindEnumValues Enumerates the set of values for ConditionKindEnum

type ConditionMetadataType ¶

type ConditionMetadataType struct {

	// Name used to identify
	Name *string `mandatory:"true" json:"name"`

	// collection of Service type
	ServiceTypes []ServiceTypeSummary `mandatory:"true" json:"serviceTypes"`
}

ConditionMetadataType condition type provided by cloud guard

func (ConditionMetadataType) String ¶

func (m ConditionMetadataType) String() string

type ConditionMetadataTypeCollection ¶

type ConditionMetadataTypeCollection struct {

	// collection of condition types
	Items []ConditionMetadataTypeSummary `mandatory:"true" json:"items"`
}

ConditionMetadataTypeCollection condition type provided by cloud guard

func (ConditionMetadataTypeCollection) String ¶

type ConditionMetadataTypeSummary ¶

type ConditionMetadataTypeSummary struct {

	// Name used to identify
	Id *string `mandatory:"true" json:"id"`

	// Display name of the condition type
	Description *string `mandatory:"true" json:"description"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ConditionMetadataTypeSummary condition type provided by cloud guard

func (ConditionMetadataTypeSummary) String ¶

type ConditionOperator ¶

type ConditionOperator struct {

	// operator name
	Name ConditionOperatorNameEnum `mandatory:"true" json:"name"`

	// display name of the operator
	DisplayName *string `mandatory:"true" json:"displayName"`
}

ConditionOperator Conditions related to the parameter data type

func (ConditionOperator) String ¶

func (m ConditionOperator) String() string

type ConditionOperatorNameEnum ¶

type ConditionOperatorNameEnum string

ConditionOperatorNameEnum Enum with underlying type: string

const (
	ConditionOperatorNameAnd         ConditionOperatorNameEnum = "AND"
	ConditionOperatorNameOr          ConditionOperatorNameEnum = "OR"
	ConditionOperatorNameIn          ConditionOperatorNameEnum = "IN"
	ConditionOperatorNameNotIn       ConditionOperatorNameEnum = "NOT_IN"
	ConditionOperatorNameEquals      ConditionOperatorNameEnum = "EQUALS"
	ConditionOperatorNameNotEquals   ConditionOperatorNameEnum = "NOT_EQUALS"
	ConditionOperatorNameLessThan    ConditionOperatorNameEnum = "LESS_THAN"
	ConditionOperatorNameGreaterThan ConditionOperatorNameEnum = "GREATER_THAN"
	ConditionOperatorNameRange       ConditionOperatorNameEnum = "RANGE"
)

Set of constants representing the allowable values for ConditionOperatorNameEnum

func GetConditionOperatorNameEnumValues ¶

func GetConditionOperatorNameEnumValues() []ConditionOperatorNameEnum

GetConditionOperatorNameEnumValues Enumerates the set of values for ConditionOperatorNameEnum

type ConditionTypeEnumEnum ¶

type ConditionTypeEnumEnum string

ConditionTypeEnumEnum Enum with underlying type: string

const (
	ConditionTypeEnumActivityCondition   ConditionTypeEnumEnum = "ActivityCondition"
	ConditionTypeEnumSecurityCondition   ConditionTypeEnumEnum = "SecurityCondition"
	ConditionTypeEnumCloudGuardCondition ConditionTypeEnumEnum = "CloudGuardCondition"
)

Set of constants representing the allowable values for ConditionTypeEnumEnum

func GetConditionTypeEnumEnumValues ¶

func GetConditionTypeEnumEnumValues() []ConditionTypeEnumEnum

GetConditionTypeEnumEnumValues Enumerates the set of values for ConditionTypeEnumEnum

type ConditionValueTypeEnum ¶

type ConditionValueTypeEnum string

ConditionValueTypeEnum Enum with underlying type: string

const (
	ConditionValueTypeManaged ConditionValueTypeEnum = "MANAGED"
	ConditionValueTypeCustom  ConditionValueTypeEnum = "CUSTOM"
)

Set of constants representing the allowable values for ConditionValueTypeEnum

func GetConditionValueTypeEnumValues ¶

func GetConditionValueTypeEnumValues() []ConditionValueTypeEnum

GetConditionValueTypeEnumValues Enumerates the set of values for ConditionValueTypeEnum

type ConfigValue ¶

type ConfigValue struct {

	// configuration list item type, either CUSTOM or MANAGED
	ListType ConfigurationListItemTypeEnum `mandatory:"true" json:"listType"`

	// type of the managed list
	ManagedListType *string `mandatory:"true" json:"managedListType"`

	// configuration value
	Value *string `mandatory:"true" json:"value"`
}

ConfigValue configuration item for multi list data type

func (ConfigValue) String ¶

func (m ConfigValue) String() string

type Configuration ¶

type Configuration struct {

	// The reporting region value
	ReportingRegion *string `mandatory:"true" json:"reportingRegion"`

	// Status of Cloud Guard Tenant
	Status CloudGuardStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Identifies if Oracle managed resources were created by customers
	SelfManageResources *bool `mandatory:"false" json:"selfManageResources"`
}

Configuration Cloud Guard configuration details of a tenancy.

func (Configuration) String ¶

func (m Configuration) String() string

type ConfigurationListItemTypeEnum ¶

type ConfigurationListItemTypeEnum string

ConfigurationListItemTypeEnum Enum with underlying type: string

const (
	ConfigurationListItemTypeManaged ConfigurationListItemTypeEnum = "MANAGED"
	ConfigurationListItemTypeCustom  ConfigurationListItemTypeEnum = "CUSTOM"
)

Set of constants representing the allowable values for ConfigurationListItemTypeEnum

func GetConfigurationListItemTypeEnumValues ¶

func GetConfigurationListItemTypeEnumValues() []ConfigurationListItemTypeEnum

GetConfigurationListItemTypeEnumValues Enumerates the set of values for ConfigurationListItemTypeEnum

type CreateDetectorRecipeDetails ¶

type CreateDetectorRecipeDetails struct {

	// DetectorRecipe Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The id of the source detector recipe.
	SourceDetectorRecipeId *string `mandatory:"true" json:"sourceDetectorRecipeId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// DetectorRecipe Description
	Description *string `mandatory:"false" json:"description"`

	// Detector Rules to override from source detector recipe
	DetectorRules []UpdateDetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateDetectorRecipeDetails Create of Detector recipe.

func (CreateDetectorRecipeDetails) String ¶

type CreateDetectorRecipeRequest ¶

type CreateDetectorRecipeRequest struct {

	// Details for the new DetectorRecipe.
	CreateDetectorRecipeDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateDetectorRecipeRequest wrapper for the CreateDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use CreateDetectorRecipeRequest.

func (CreateDetectorRecipeRequest) HTTPRequest ¶

func (request CreateDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDetectorRecipeRequest) RetryPolicy ¶

func (request CreateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDetectorRecipeRequest) String ¶

func (request CreateDetectorRecipeRequest) String() string

type CreateDetectorRecipeResponse ¶

type CreateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateDetectorRecipeResponse wrapper for the CreateDetectorRecipe operation

func (CreateDetectorRecipeResponse) HTTPResponse ¶

func (response CreateDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDetectorRecipeResponse) String ¶

func (response CreateDetectorRecipeResponse) String() string

type CreateManagedListDetails ¶

type CreateManagedListDetails struct {

	// ManagedList display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID of the Source ManagedList
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// ManagedList description
	Description *string `mandatory:"false" json:"description"`

	// type of the list
	ListType ManagedListTypeEnum `mandatory:"false" json:"listType,omitempty"`

	// List of ManagedListItem
	ListItems []string `mandatory:"false" json:"listItems"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateManagedListDetails Create ManagedList

func (CreateManagedListDetails) String ¶

func (m CreateManagedListDetails) String() string

type CreateManagedListRequest ¶

type CreateManagedListRequest struct {

	// Details for the new ManagedList.
	CreateManagedListDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateManagedListRequest wrapper for the CreateManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateManagedList.go.html to see an example of how to use CreateManagedListRequest.

func (CreateManagedListRequest) HTTPRequest ¶

func (request CreateManagedListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateManagedListRequest) RetryPolicy ¶

func (request CreateManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateManagedListRequest) String ¶

func (request CreateManagedListRequest) String() string

type CreateManagedListResponse ¶

type CreateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateManagedListResponse wrapper for the CreateManagedList operation

func (CreateManagedListResponse) HTTPResponse ¶

func (response CreateManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateManagedListResponse) String ¶

func (response CreateManagedListResponse) String() string

type CreateResponderRecipeDetails ¶

type CreateResponderRecipeDetails struct {

	// ResponderRecipe Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The id of the source responder recipe.
	SourceResponderRecipeId *string `mandatory:"true" json:"sourceResponderRecipeId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe Description
	Description *string `mandatory:"false" json:"description"`

	// Responder Rules to override from source responder recipe
	ResponderRules []UpdateResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateResponderRecipeDetails Details of ResponderRecipe.

func (CreateResponderRecipeDetails) String ¶

type CreateResponderRecipeRequest ¶

type CreateResponderRecipeRequest struct {

	// Details for ResponderRecipe.
	CreateResponderRecipeDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateResponderRecipeRequest wrapper for the CreateResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateResponderRecipe.go.html to see an example of how to use CreateResponderRecipeRequest.

func (CreateResponderRecipeRequest) HTTPRequest ¶

func (request CreateResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateResponderRecipeRequest) RetryPolicy ¶

func (request CreateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateResponderRecipeRequest) String ¶

func (request CreateResponderRecipeRequest) String() string

type CreateResponderRecipeResponse ¶

type CreateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateResponderRecipeResponse wrapper for the CreateResponderRecipe operation

func (CreateResponderRecipeResponse) HTTPResponse ¶

func (response CreateResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateResponderRecipeResponse) String ¶

func (response CreateResponderRecipeResponse) String() string

type CreateTargetDetails ¶

type CreateTargetDetails struct {

	// DetectorTemplate Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// possible type of targets(compartment/HCMCloud/ERPCloud)
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

	// Resource ID which the target uses to monitor
	TargetResourceId *string `mandatory:"true" json:"targetResourceId"`

	// The target description.
	Description *string `mandatory:"false" json:"description"`

	// List of detector recipes to associate with target
	TargetDetectorRecipes []CreateTargetDetectorRecipeDetails `mandatory:"false" json:"targetDetectorRecipes"`

	// List of responder recipes to associate with target
	TargetResponderRecipes []CreateTargetResponderRecipeDetails `mandatory:"false" json:"targetResponderRecipes"`

	// The current state of the DetectorRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateTargetDetails The information about new Target.

func (CreateTargetDetails) String ¶

func (m CreateTargetDetails) String() string

type CreateTargetDetectorRecipeDetails ¶

type CreateTargetDetectorRecipeDetails struct {

	// Identifier for DetectorRecipe.
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Overrides to be applied to Detector Rule associated with the target
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"false" json:"detectorRules"`
}

CreateTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe

func (CreateTargetDetectorRecipeDetails) String ¶

type CreateTargetDetectorRecipeRequest ¶

type CreateTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// Details for associating DetectorRecipe to Target
	AttachTargetDetectorRecipeDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateTargetDetectorRecipeRequest wrapper for the CreateTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use CreateTargetDetectorRecipeRequest.

func (CreateTargetDetectorRecipeRequest) HTTPRequest ¶

func (request CreateTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetDetectorRecipeRequest) RetryPolicy ¶

func (request CreateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateTargetDetectorRecipeRequest) String ¶

func (request CreateTargetDetectorRecipeRequest) String() string

type CreateTargetDetectorRecipeResponse ¶

type CreateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateTargetDetectorRecipeResponse wrapper for the CreateTargetDetectorRecipe operation

func (CreateTargetDetectorRecipeResponse) HTTPResponse ¶

func (response CreateTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTargetDetectorRecipeResponse) String ¶

func (response CreateTargetDetectorRecipeResponse) String() string

type CreateTargetRequest ¶

type CreateTargetRequest struct {

	// Details for the new Target.
	CreateTargetDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateTargetRequest wrapper for the CreateTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTarget.go.html to see an example of how to use CreateTargetRequest.

func (CreateTargetRequest) HTTPRequest ¶

func (request CreateTargetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetRequest) RetryPolicy ¶

func (request CreateTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateTargetRequest) String ¶

func (request CreateTargetRequest) String() string

type CreateTargetResponderRecipeDetails ¶

type CreateTargetResponderRecipeDetails struct {

	// Identifier for ResponderRecipe.
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// Override responder rules associated with reponder recipe in a target.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"false" json:"responderRules"`
}

CreateTargetResponderRecipeDetails The information required to create TargetResponderRecipe

func (CreateTargetResponderRecipeDetails) String ¶

type CreateTargetResponderRecipeRequest ¶

type CreateTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// Details for associating ResponderRecipe to Target
	AttachTargetResponderRecipeDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateTargetResponderRecipeRequest wrapper for the CreateTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use CreateTargetResponderRecipeRequest.

func (CreateTargetResponderRecipeRequest) HTTPRequest ¶

func (request CreateTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetResponderRecipeRequest) RetryPolicy ¶

func (request CreateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateTargetResponderRecipeRequest) String ¶

func (request CreateTargetResponderRecipeRequest) String() string

type CreateTargetResponderRecipeResponse ¶

type CreateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateTargetResponderRecipeResponse wrapper for the CreateTargetResponderRecipe operation

func (CreateTargetResponderRecipeResponse) HTTPResponse ¶

func (response CreateTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponderRecipeResponse) String ¶

func (response CreateTargetResponderRecipeResponse) String() string

type CreateTargetResponse ¶

type CreateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateTargetResponse wrapper for the CreateTarget operation

func (CreateTargetResponse) HTTPResponse ¶

func (response CreateTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponse) String ¶

func (response CreateTargetResponse) String() string

type DeleteDetectorRecipeRequest ¶

type DeleteDetectorRecipeRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteDetectorRecipeRequest wrapper for the DeleteDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipeRequest.

func (DeleteDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeRequest) RetryPolicy ¶

func (request DeleteDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDetectorRecipeRequest) String ¶

func (request DeleteDetectorRecipeRequest) String() string

type DeleteDetectorRecipeResponse ¶

type DeleteDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDetectorRecipeResponse wrapper for the DeleteDetectorRecipe operation

func (DeleteDetectorRecipeResponse) HTTPResponse ¶

func (response DeleteDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeResponse) String ¶

func (response DeleteDetectorRecipeResponse) String() string

type DeleteManagedListRequest ¶

type DeleteManagedListRequest struct {

	// The cloudguard list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteManagedListRequest wrapper for the DeleteManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedListRequest.

func (DeleteManagedListRequest) HTTPRequest ¶

func (request DeleteManagedListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagedListRequest) RetryPolicy ¶

func (request DeleteManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteManagedListRequest) String ¶

func (request DeleteManagedListRequest) String() string

type DeleteManagedListResponse ¶

type DeleteManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteManagedListResponse wrapper for the DeleteManagedList operation

func (DeleteManagedListResponse) HTTPResponse ¶

func (response DeleteManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteManagedListResponse) String ¶

func (response DeleteManagedListResponse) String() string

type DeleteResponderRecipeRequest ¶

type DeleteResponderRecipeRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteResponderRecipeRequest wrapper for the DeleteResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipeRequest.

func (DeleteResponderRecipeRequest) HTTPRequest ¶

func (request DeleteResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResponderRecipeRequest) RetryPolicy ¶

func (request DeleteResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteResponderRecipeRequest) String ¶

func (request DeleteResponderRecipeRequest) String() string

type DeleteResponderRecipeResponse ¶

type DeleteResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteResponderRecipeResponse wrapper for the DeleteResponderRecipe operation

func (DeleteResponderRecipeResponse) HTTPResponse ¶

func (response DeleteResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteResponderRecipeResponse) String ¶

func (response DeleteResponderRecipeResponse) String() string

type DeleteTargetDetectorRecipeRequest ¶

type DeleteTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetDetectorRecipeRequest wrapper for the DeleteTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipeRequest.

func (DeleteTargetDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetDetectorRecipeRequest) RetryPolicy ¶

func (request DeleteTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetDetectorRecipeRequest) String ¶

func (request DeleteTargetDetectorRecipeRequest) String() string

type DeleteTargetDetectorRecipeResponse ¶

type DeleteTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetDetectorRecipeResponse wrapper for the DeleteTargetDetectorRecipe operation

func (DeleteTargetDetectorRecipeResponse) HTTPResponse ¶

func (response DeleteTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetDetectorRecipeResponse) String ¶

func (response DeleteTargetDetectorRecipeResponse) String() string

type DeleteTargetRequest ¶

type DeleteTargetRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetRequest wrapper for the DeleteTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTargetRequest.

func (DeleteTargetRequest) HTTPRequest ¶

func (request DeleteTargetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetRequest) RetryPolicy ¶

func (request DeleteTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetRequest) String ¶

func (request DeleteTargetRequest) String() string

type DeleteTargetResponderRecipeRequest ¶

type DeleteTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteTargetResponderRecipeRequest wrapper for the DeleteTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipeRequest.

func (DeleteTargetResponderRecipeRequest) HTTPRequest ¶

func (request DeleteTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetResponderRecipeRequest) RetryPolicy ¶

func (request DeleteTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTargetResponderRecipeRequest) String ¶

func (request DeleteTargetResponderRecipeRequest) String() string

type DeleteTargetResponderRecipeResponse ¶

type DeleteTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetResponderRecipeResponse wrapper for the DeleteTargetResponderRecipe operation

func (DeleteTargetResponderRecipeResponse) HTTPResponse ¶

func (response DeleteTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponderRecipeResponse) String ¶

func (response DeleteTargetResponderRecipeResponse) String() string

type DeleteTargetResponse ¶

type DeleteTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTargetResponse wrapper for the DeleteTarget operation

func (DeleteTargetResponse) HTTPResponse ¶

func (response DeleteTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponse) String ¶

func (response DeleteTargetResponse) String() string

type Detector ¶

type Detector struct {

	// detector key
	Id *string `mandatory:"true" json:"id"`

	// detector description
	Description *string `mandatory:"true" json:"description"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

Detector A single Detector

func (Detector) String ¶

func (m Detector) String() string

type DetectorCollection ¶

type DetectorCollection struct {

	// List of DetectorSummary
	Items []DetectorSummary `mandatory:"true" json:"items"`
}

DetectorCollection Summary of the Detector.

func (DetectorCollection) String ¶

func (m DetectorCollection) String() string

type DetectorConfiguration ¶

type DetectorConfiguration struct {

	// Unique name of the configuration
	ConfigKey *string `mandatory:"true" json:"configKey"`

	// configuration name
	Name *string `mandatory:"true" json:"name"`

	// configuration value
	Value *string `mandatory:"false" json:"value"`

	// configuration data type
	DataType *string `mandatory:"false" json:"dataType"`

	// List of configuration values
	Values []ConfigValue `mandatory:"false" json:"values"`
}

DetectorConfiguration A single configuration applied to a detector

func (DetectorConfiguration) String ¶

func (m DetectorConfiguration) String() string

type DetectorDetails ¶

type DetectorDetails struct {

	// Enables the control
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"true" json:"riskLevel"`

	// Configuration details
	Configurations []DetectorConfiguration `mandatory:"false" json:"configurations"`

	Condition Condition `mandatory:"false" json:"condition"`

	// user defined labels for a detector rule
	Labels []string `mandatory:"false" json:"labels"`

	// configuration allowed or not
	IsConfigurationAllowed *bool `mandatory:"false" json:"isConfigurationAllowed"`
}

DetectorDetails Details of a Detector Rule

func (DetectorDetails) String ¶

func (m DetectorDetails) String() string

func (*DetectorDetails) UnmarshalJSON ¶

func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type DetectorEnumEnum ¶

type DetectorEnumEnum string

DetectorEnumEnum Enum with underlying type: string

const (
	DetectorEnumIaasActivityDetector      DetectorEnumEnum = "IAAS_ACTIVITY_DETECTOR"
	DetectorEnumIaasConfigurationDetector DetectorEnumEnum = "IAAS_CONFIGURATION_DETECTOR"
)

Set of constants representing the allowable values for DetectorEnumEnum

func GetDetectorEnumEnumValues ¶

func GetDetectorEnumEnumValues() []DetectorEnumEnum

GetDetectorEnumEnumValues Enumerates the set of values for DetectorEnumEnum

type DetectorRecipe ¶

type DetectorRecipe struct {

	// Ocid for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// DisplayName of detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// compartmentId of detector recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Recipe Ocid of the Source Recipe to be cloned
	SourceDetectorRecipeId *string `mandatory:"true" json:"sourceDetectorRecipeId"`

	// Owner of detector recipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Detector recipe description
	Description *string `mandatory:"false" json:"description"`

	// List of detetor rules for the detector type for recipe
	DetectorRules []DetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// List of detetor rules for the detector type for recipe
	EffectiveDetectorRules []DetectorRecipeDetectorRule `mandatory:"false" json:"effectiveDetectorRules"`

	// The date and time the detector recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DetectorRecipe Details of Detector recipe

func (DetectorRecipe) String ¶

func (m DetectorRecipe) String() string

type DetectorRecipeCollection ¶

type DetectorRecipeCollection struct {

	// List of DetectorRecipeSummary
	Items []DetectorRecipeSummary `mandatory:"true" json:"items"`
}

DetectorRecipeCollection Summary of the DetectorRecipe.

func (DetectorRecipeCollection) String ¶

func (m DetectorRecipeCollection) String() string

type DetectorRecipeDetectorRule ¶

type DetectorRecipeDetectorRule struct {

	// The unique identifier of the detector rule
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// detector for the rule
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"true" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// displayName
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for DetectorRecipeDetectorRule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for DetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	Details *DetectorDetails `mandatory:"false" json:"details"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []DetectorRecipeDetectorRuleManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of CandidateResponderRule related to this rule
	CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"`

	// The date and time the detector recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the DetectorRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

DetectorRecipeDetectorRule Detector Recipe Rule

func (DetectorRecipeDetectorRule) String ¶

type DetectorRecipeDetectorRuleCollection ¶

type DetectorRecipeDetectorRuleCollection struct {

	// List of DetectorRecipeDetectorRuleSummary
	Items []DetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"`
}

DetectorRecipeDetectorRuleCollection Summary of the DetectorRule.

func (DetectorRecipeDetectorRuleCollection) String ¶

type DetectorRecipeDetectorRuleManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleManagedListTypesEnum string

DetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRecipeDetectorRuleManagedListTypesCidrBlock    DetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRecipeDetectorRuleManagedListTypesUsers        DetectorRecipeDetectorRuleManagedListTypesEnum = "USERS"
	DetectorRecipeDetectorRuleManagedListTypesGroups       DetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS"
	DetectorRecipeDetectorRuleManagedListTypesIpv4address  DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRecipeDetectorRuleManagedListTypesIpv6address  DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRecipeDetectorRuleManagedListTypesResourceOcid DetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRecipeDetectorRuleManagedListTypesRegion       DetectorRecipeDetectorRuleManagedListTypesEnum = "REGION"
	DetectorRecipeDetectorRuleManagedListTypesCountry      DetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY"
	DetectorRecipeDetectorRuleManagedListTypesState        DetectorRecipeDetectorRuleManagedListTypesEnum = "STATE"
	DetectorRecipeDetectorRuleManagedListTypesCity         DetectorRecipeDetectorRuleManagedListTypesEnum = "CITY"
	DetectorRecipeDetectorRuleManagedListTypesTags         DetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []DetectorRecipeDetectorRuleManagedListTypesEnum

GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum

type DetectorRecipeDetectorRuleSummary ¶

type DetectorRecipeDetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// possible type of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// DetectorTemplate Identifier, can be renamed
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for DetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"false" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of CandidateResponderRule related to this rule
	CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"`

	DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"`

	// The date and time the detector recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the detector recipe rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

DetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.

func (DetectorRecipeDetectorRuleSummary) String ¶

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

DetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock    DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRecipeDetectorRuleSummaryManagedListTypesUsers        DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesGroups       DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address  DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address  DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRecipeDetectorRuleSummaryManagedListTypesRegion       DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION"
	DetectorRecipeDetectorRuleSummaryManagedListTypesCountry      DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	DetectorRecipeDetectorRuleSummaryManagedListTypesState        DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE"
	DetectorRecipeDetectorRuleSummaryManagedListTypesCity         DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY"
	DetectorRecipeDetectorRuleSummaryManagedListTypesTags         DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

type DetectorRecipeSummary ¶

type DetectorRecipeSummary struct {

	// Ocid for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// DisplayName of detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// compartmentId of detector recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Owner of detector recipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Detector recipe description
	Description *string `mandatory:"false" json:"description"`

	// Recipe Ocid of the Source Recipe to be cloned
	SourceDetectorRecipeId *string `mandatory:"false" json:"sourceDetectorRecipeId"`

	// List of detetor rules for the detector type
	DetectorRules []DetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// The date and time the detector recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DetectorRecipeSummary Summary of Detector recipe

func (DetectorRecipeSummary) String ¶

func (m DetectorRecipeSummary) String() string

type DetectorRule ¶

type DetectorRule struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// detector for the rule
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"true" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// displayName
	DisplayName *string `mandatory:"false" json:"displayName"`

	// description for DetectorRule
	Description *string `mandatory:"false" json:"description"`

	// recommendation for DetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []DetectorRuleManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of CandidateResponderRule related to this rule
	CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"`

	// The date and time the detector rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the DetectorRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

DetectorRule Detector

func (DetectorRule) String ¶

func (m DetectorRule) String() string

type DetectorRuleCollection ¶

type DetectorRuleCollection struct {

	// List of DetectorRuleSummary
	Items []DetectorRuleSummary `mandatory:"true" json:"items"`
}

DetectorRuleCollection Summary of the DetectorRule.

func (DetectorRuleCollection) String ¶

func (m DetectorRuleCollection) String() string

type DetectorRuleManagedListTypesEnum ¶

type DetectorRuleManagedListTypesEnum string

DetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRuleManagedListTypesCidrBlock    DetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRuleManagedListTypesUsers        DetectorRuleManagedListTypesEnum = "USERS"
	DetectorRuleManagedListTypesGroups       DetectorRuleManagedListTypesEnum = "GROUPS"
	DetectorRuleManagedListTypesIpv4address  DetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRuleManagedListTypesIpv6address  DetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRuleManagedListTypesResourceOcid DetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRuleManagedListTypesRegion       DetectorRuleManagedListTypesEnum = "REGION"
	DetectorRuleManagedListTypesCountry      DetectorRuleManagedListTypesEnum = "COUNTRY"
	DetectorRuleManagedListTypesState        DetectorRuleManagedListTypesEnum = "STATE"
	DetectorRuleManagedListTypesCity         DetectorRuleManagedListTypesEnum = "CITY"
	DetectorRuleManagedListTypesTags         DetectorRuleManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum

func GetDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRuleManagedListTypesEnumValues() []DetectorRuleManagedListTypesEnum

GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum

type DetectorRuleSummary ¶

type DetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// possible type of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for detector rule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for detector rule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"false" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []DetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// List of CandidateResponderRule related to this rule
	CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"`

	DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"`

	// The date and time the detector rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the detector rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the detector rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

DetectorRuleSummary Summary of the Detector Rules.

func (DetectorRuleSummary) String ¶

func (m DetectorRuleSummary) String() string

type DetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRuleSummaryManagedListTypesEnum string

DetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	DetectorRuleSummaryManagedListTypesCidrBlock    DetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	DetectorRuleSummaryManagedListTypesUsers        DetectorRuleSummaryManagedListTypesEnum = "USERS"
	DetectorRuleSummaryManagedListTypesGroups       DetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	DetectorRuleSummaryManagedListTypesIpv4address  DetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	DetectorRuleSummaryManagedListTypesIpv6address  DetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	DetectorRuleSummaryManagedListTypesResourceOcid DetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	DetectorRuleSummaryManagedListTypesRegion       DetectorRuleSummaryManagedListTypesEnum = "REGION"
	DetectorRuleSummaryManagedListTypesCountry      DetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	DetectorRuleSummaryManagedListTypesState        DetectorRuleSummaryManagedListTypesEnum = "STATE"
	DetectorRuleSummaryManagedListTypesCity         DetectorRuleSummaryManagedListTypesEnum = "CITY"
	DetectorRuleSummaryManagedListTypesTags         DetectorRuleSummaryManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum

func GetDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRuleSummaryManagedListTypesEnum

GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum

type DetectorSummary ¶

type DetectorSummary struct {

	// detector Identifier
	Id *string `mandatory:"true" json:"id"`

	// detector description
	Description *string `mandatory:"false" json:"description"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

DetectorSummary Summary of the Detector.

func (DetectorSummary) String ¶

func (m DetectorSummary) String() string

type EventStatusEnum ¶

type EventStatusEnum string

EventStatusEnum Enum with underlying type: string

const (
	EventStatusReopen  EventStatusEnum = "REOPEN"
	EventStatusOpen    EventStatusEnum = "OPEN"
	EventStatusUpdate  EventStatusEnum = "UPDATE"
	EventStatusResolve EventStatusEnum = "RESOLVE"
	EventStatusDismiss EventStatusEnum = "DISMISS"
)

Set of constants representing the allowable values for EventStatusEnum

func GetEventStatusEnumValues ¶

func GetEventStatusEnumValues() []EventStatusEnum

GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum

type ExecuteResponderExecutionDetails ¶

type ExecuteResponderExecutionDetails struct {

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

ExecuteResponderExecutionDetails The details for Responder Configuration

func (ExecuteResponderExecutionDetails) String ¶

type ExecuteResponderExecutionRequest ¶

type ExecuteResponderExecutionRequest struct {

	// The identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Details for Responder Configuration
	ExecuteResponderExecutionDetails `contributesTo:"body"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ExecuteResponderExecutionRequest wrapper for the ExecuteResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecutionRequest.

func (ExecuteResponderExecutionRequest) HTTPRequest ¶

func (request ExecuteResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExecuteResponderExecutionRequest) RetryPolicy ¶

func (request ExecuteResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ExecuteResponderExecutionRequest) String ¶

func (request ExecuteResponderExecutionRequest) String() string

type ExecuteResponderExecutionResponse ¶

type ExecuteResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ExecuteResponderExecutionResponse wrapper for the ExecuteResponderExecution operation

func (ExecuteResponderExecutionResponse) HTTPResponse ¶

func (response ExecuteResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ExecuteResponderExecutionResponse) String ¶

func (response ExecuteResponderExecutionResponse) String() string

type FeedProviderTypeEnum ¶

type FeedProviderTypeEnum string

FeedProviderTypeEnum Enum with underlying type: string

const (
	FeedProviderTypeCustomer FeedProviderTypeEnum = "CUSTOMER"
	FeedProviderTypeOracle   FeedProviderTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for FeedProviderTypeEnum

func GetFeedProviderTypeEnumValues ¶

func GetFeedProviderTypeEnumValues() []FeedProviderTypeEnum

GetFeedProviderTypeEnumValues Enumerates the set of values for FeedProviderTypeEnum

type GeographicalLocation ¶

type GeographicalLocation struct {

	// Latitude
	Latitude *float64 `mandatory:"true" json:"latitude"`

	// Longitude
	Longitude *float64 `mandatory:"true" json:"longitude"`
}

GeographicalLocation Geographical Location of a problem

func (GeographicalLocation) String ¶

func (m GeographicalLocation) String() string

type GetConditionMetadataTypeConditionMetadataTypeIdEnum ¶

type GetConditionMetadataTypeConditionMetadataTypeIdEnum string

GetConditionMetadataTypeConditionMetadataTypeIdEnum Enum with underlying type: string

const (
	GetConditionMetadataTypeConditionMetadataTypeIdActivitycondition   GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ActivityCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdSecuritycondition   GetConditionMetadataTypeConditionMetadataTypeIdEnum = "SecurityCondition"
	GetConditionMetadataTypeConditionMetadataTypeIdCloudguardcondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "CloudGuardCondition"
)

Set of constants representing the allowable values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues ¶

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues() []GetConditionMetadataTypeConditionMetadataTypeIdEnum

GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues Enumerates the set of values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

type GetConditionMetadataTypeRequest ¶

type GetConditionMetadataTypeRequest struct {

	// The type of the condition meta data.
	ConditionMetadataTypeId GetConditionMetadataTypeConditionMetadataTypeIdEnum `mandatory:"true" contributesTo:"path" name:"conditionMetadataTypeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// ServiceType filter for the condition meta data.
	ServiceType *string `mandatory:"false" contributesTo:"query" name:"serviceType"`

	// Resource filter for the condition meta data.
	ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetConditionMetadataTypeRequest wrapper for the GetConditionMetadataType operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataTypeRequest.

func (GetConditionMetadataTypeRequest) HTTPRequest ¶

func (request GetConditionMetadataTypeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConditionMetadataTypeRequest) RetryPolicy ¶

func (request GetConditionMetadataTypeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConditionMetadataTypeRequest) String ¶

func (request GetConditionMetadataTypeRequest) String() string

type GetConditionMetadataTypeResponse ¶

type GetConditionMetadataTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ConditionMetadataType instance
	ConditionMetadataType `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetConditionMetadataTypeResponse wrapper for the GetConditionMetadataType operation

func (GetConditionMetadataTypeResponse) HTTPResponse ¶

func (response GetConditionMetadataTypeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConditionMetadataTypeResponse) String ¶

func (response GetConditionMetadataTypeResponse) String() string

type GetConfigurationRequest ¶

type GetConfigurationRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetConfigurationRequest wrapper for the GetConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.

func (GetConfigurationRequest) HTTPRequest ¶

func (request GetConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConfigurationRequest) RetryPolicy ¶

func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConfigurationRequest) String ¶

func (request GetConfigurationRequest) String() string

type GetConfigurationResponse ¶

type GetConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Configuration instance
	Configuration `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetConfigurationResponse wrapper for the GetConfiguration operation

func (GetConfigurationResponse) HTTPResponse ¶

func (response GetConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConfigurationResponse) String ¶

func (response GetConfigurationResponse) String() string

type GetDetectorRecipeDetectorRuleRequest ¶

type GetDetectorRecipeDetectorRuleRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The key of Detector Rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRecipeDetectorRuleRequest wrapper for the GetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRuleRequest.

func (GetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRecipeDetectorRuleRequest) String ¶

type GetDetectorRecipeDetectorRuleResponse ¶

type GetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipeDetectorRule instance
	DetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDetectorRecipeDetectorRuleResponse wrapper for the GetDetectorRecipeDetectorRule operation

func (GetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

func (response GetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeDetectorRuleResponse) String ¶

type GetDetectorRecipeRequest ¶

type GetDetectorRecipeRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRecipeRequest wrapper for the GetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipeRequest.

func (GetDetectorRecipeRequest) HTTPRequest ¶

func (request GetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeRequest) RetryPolicy ¶

func (request GetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRecipeRequest) String ¶

func (request GetDetectorRecipeRequest) String() string

type GetDetectorRecipeResponse ¶

type GetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDetectorRecipeResponse wrapper for the GetDetectorRecipe operation

func (GetDetectorRecipeResponse) HTTPResponse ¶

func (response GetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeResponse) String ¶

func (response GetDetectorRecipeResponse) String() string

type GetDetectorRequest ¶

type GetDetectorRequest struct {

	// The Name of Detector.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRequest wrapper for the GetDetector operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetector.go.html to see an example of how to use GetDetectorRequest.

func (GetDetectorRequest) HTTPRequest ¶

func (request GetDetectorRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRequest) RetryPolicy ¶

func (request GetDetectorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRequest) String ¶

func (request GetDetectorRequest) String() string

type GetDetectorResponse ¶

type GetDetectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Detector instance
	Detector `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

GetDetectorResponse wrapper for the GetDetector operation

func (GetDetectorResponse) HTTPResponse ¶

func (response GetDetectorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorResponse) String ¶

func (response GetDetectorResponse) String() string

type GetDetectorRuleRequest ¶

type GetDetectorRuleRequest struct {

	// The Name of Detector.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The key of Detector Rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetDetectorRuleRequest wrapper for the GetDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRuleRequest.

func (GetDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRuleRequest) RetryPolicy ¶

func (request GetDetectorRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDetectorRuleRequest) String ¶

func (request GetDetectorRuleRequest) String() string

type GetDetectorRuleResponse ¶

type GetDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRule instance
	DetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

GetDetectorRuleResponse wrapper for the GetDetectorRule operation

func (GetDetectorRuleResponse) HTTPResponse ¶

func (response GetDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDetectorRuleResponse) String ¶

func (response GetDetectorRuleResponse) String() string

type GetManagedListRequest ¶

type GetManagedListRequest struct {

	// The cloudguard list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetManagedListRequest wrapper for the GetManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedListRequest.

func (GetManagedListRequest) HTTPRequest ¶

func (request GetManagedListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagedListRequest) RetryPolicy ¶

func (request GetManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetManagedListRequest) String ¶

func (request GetManagedListRequest) String() string

type GetManagedListResponse ¶

type GetManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetManagedListResponse wrapper for the GetManagedList operation

func (GetManagedListResponse) HTTPResponse ¶

func (response GetManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetManagedListResponse) String ¶

func (response GetManagedListResponse) String() string

type GetProblemRequest ¶

type GetProblemRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetProblemRequest wrapper for the GetProblem operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetProblem.go.html to see an example of how to use GetProblemRequest.

func (GetProblemRequest) HTTPRequest ¶

func (request GetProblemRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProblemRequest) RetryPolicy ¶

func (request GetProblemRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProblemRequest) String ¶

func (request GetProblemRequest) String() string

type GetProblemResponse ¶

type GetProblemResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Problem instance
	Problem `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetProblemResponse wrapper for the GetProblem operation

func (GetProblemResponse) HTTPResponse ¶

func (response GetProblemResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProblemResponse) String ¶

func (response GetProblemResponse) String() string

type GetResponderExecutionRequest ¶

type GetResponderExecutionRequest struct {

	// The identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderExecutionRequest wrapper for the GetResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecutionRequest.

func (GetResponderExecutionRequest) HTTPRequest ¶

func (request GetResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderExecutionRequest) RetryPolicy ¶

func (request GetResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderExecutionRequest) String ¶

func (request GetResponderExecutionRequest) String() string

type GetResponderExecutionResponse ¶

type GetResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderExecution instance
	ResponderExecution `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderExecutionResponse wrapper for the GetResponderExecution operation

func (GetResponderExecutionResponse) HTTPResponse ¶

func (response GetResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderExecutionResponse) String ¶

func (response GetResponderExecutionResponse) String() string

type GetResponderRecipeRequest ¶

type GetResponderRecipeRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRecipeRequest wrapper for the GetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipeRequest.

func (GetResponderRecipeRequest) HTTPRequest ¶

func (request GetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeRequest) RetryPolicy ¶

func (request GetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRecipeRequest) String ¶

func (request GetResponderRecipeRequest) String() string

type GetResponderRecipeResponderRuleRequest ¶

type GetResponderRecipeResponderRuleRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRecipeResponderRuleRequest wrapper for the GetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRuleRequest.

func (GetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRecipeResponderRuleRequest) String ¶

type GetResponderRecipeResponderRuleResponse ¶

type GetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipeResponderRule instance
	ResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRecipeResponderRuleResponse wrapper for the GetResponderRecipeResponderRule operation

func (GetResponderRecipeResponderRuleResponse) HTTPResponse ¶

func (response GetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponderRuleResponse) String ¶

type GetResponderRecipeResponse ¶

type GetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRecipeResponse wrapper for the GetResponderRecipe operation

func (GetResponderRecipeResponse) HTTPResponse ¶

func (response GetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponse) String ¶

func (response GetResponderRecipeResponse) String() string

type GetResponderRuleRequest ¶

type GetResponderRuleRequest struct {

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetResponderRuleRequest wrapper for the GetResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRuleRequest.

func (GetResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRuleRequest) RetryPolicy ¶

func (request GetResponderRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResponderRuleRequest) String ¶

func (request GetResponderRuleRequest) String() string

type GetResponderRuleResponse ¶

type GetResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRule instance
	ResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetResponderRuleResponse wrapper for the GetResponderRule operation

func (GetResponderRuleResponse) HTTPResponse ¶

func (response GetResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResponderRuleResponse) String ¶

func (response GetResponderRuleResponse) String() string

type GetTargetDetectorRecipeDetectorRuleRequest ¶

type GetTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The id of DetectorRule
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetDetectorRecipeDetectorRuleRequest wrapper for the GetTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRuleRequest.

func (GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeDetectorRuleRequest) String ¶

type GetTargetDetectorRecipeDetectorRuleResponse ¶

type GetTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeDetectorRuleResponse wrapper for the GetTargetDetectorRecipeDetectorRule operation

func (GetTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeDetectorRuleResponse) String ¶

type GetTargetDetectorRecipeRequest ¶

type GetTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetDetectorRecipeRequest wrapper for the GetTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipeRequest.

func (GetTargetDetectorRecipeRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeRequest) RetryPolicy ¶

func (request GetTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeRequest) String ¶

func (request GetTargetDetectorRecipeRequest) String() string

type GetTargetDetectorRecipeResponse ¶

type GetTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeResponse wrapper for the GetTargetDetectorRecipe operation

func (GetTargetDetectorRecipeResponse) HTTPResponse ¶

func (response GetTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeResponse) String ¶

func (response GetTargetDetectorRecipeResponse) String() string

type GetTargetRequest ¶

type GetTargetRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetRequest wrapper for the GetTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTarget.go.html to see an example of how to use GetTargetRequest.

func (GetTargetRequest) HTTPRequest ¶

func (request GetTargetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetRequest) RetryPolicy ¶

func (request GetTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetRequest) String ¶

func (request GetTargetRequest) String() string

type GetTargetResponderRecipeRequest ¶

type GetTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeRequest wrapper for the GetTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipeRequest.

func (GetTargetResponderRecipeRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeRequest) RetryPolicy ¶

func (request GetTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeRequest) String ¶

func (request GetTargetResponderRecipeRequest) String() string

type GetTargetResponderRecipeResponderRuleRequest ¶

type GetTargetResponderRecipeResponderRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeResponderRuleRequest wrapper for the GetTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRuleRequest.

func (GetTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeResponderRuleRequest) String ¶

type GetTargetResponderRecipeResponderRuleResponse ¶

type GetTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponderRuleResponse wrapper for the GetTargetResponderRecipeResponderRule operation

func (GetTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponderRuleResponse) String ¶

type GetTargetResponderRecipeResponse ¶

type GetTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponse wrapper for the GetTargetResponderRecipe operation

func (GetTargetResponderRecipeResponse) HTTPResponse ¶

func (response GetTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponse) String ¶

func (response GetTargetResponderRecipeResponse) String() string

type GetTargetResponse ¶

type GetTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponse wrapper for the GetTarget operation

func (GetTargetResponse) HTTPResponse ¶

func (response GetTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponse) String ¶

func (response GetTargetResponse) String() string

type ImpactedResourceCollection ¶

type ImpactedResourceCollection struct {

	// List of ImpactedResourceSummary
	Items []ImpactedResourceSummary `mandatory:"true" json:"items"`
}

ImpactedResourceCollection Provides the summary of impacted resources

func (ImpactedResourceCollection) String ¶

type ImpactedResourceSummary ¶

type ImpactedResourceSummary struct {

	// Unique identifier for finding event
	Id *string `mandatory:"true" json:"id"`

	// Unique id of the Impacted Resource
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Problem Id to which the Impacted Resource is associated
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Compartment Id where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Name of the Impacted Resource
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// Type of the Impacted Resource
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Region where the resource is created
	Region *string `mandatory:"true" json:"region"`

	// Time when the problem was identified
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`
}

ImpactedResourceSummary Impacted Resource summary Definition.

func (ImpactedResourceSummary) String ¶

func (m ImpactedResourceSummary) String() string

type LifecycleStateEnum ¶

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues ¶

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

type ListConditionMetadataTypesLifecycleStateEnum ¶

type ListConditionMetadataTypesLifecycleStateEnum string

ListConditionMetadataTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesLifecycleStateCreating ListConditionMetadataTypesLifecycleStateEnum = "CREATING"
	ListConditionMetadataTypesLifecycleStateUpdating ListConditionMetadataTypesLifecycleStateEnum = "UPDATING"
	ListConditionMetadataTypesLifecycleStateActive   ListConditionMetadataTypesLifecycleStateEnum = "ACTIVE"
	ListConditionMetadataTypesLifecycleStateInactive ListConditionMetadataTypesLifecycleStateEnum = "INACTIVE"
	ListConditionMetadataTypesLifecycleStateDeleting ListConditionMetadataTypesLifecycleStateEnum = "DELETING"
	ListConditionMetadataTypesLifecycleStateDeleted  ListConditionMetadataTypesLifecycleStateEnum = "DELETED"
	ListConditionMetadataTypesLifecycleStateFailed   ListConditionMetadataTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConditionMetadataTypesLifecycleStateEnum

func GetListConditionMetadataTypesLifecycleStateEnumValues ¶

func GetListConditionMetadataTypesLifecycleStateEnumValues() []ListConditionMetadataTypesLifecycleStateEnum

GetListConditionMetadataTypesLifecycleStateEnumValues Enumerates the set of values for ListConditionMetadataTypesLifecycleStateEnum

type ListConditionMetadataTypesRequest ¶

type ListConditionMetadataTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListConditionMetadataTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListConditionMetadataTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListConditionMetadataTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListConditionMetadataTypesRequest wrapper for the ListConditionMetadataTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypesRequest.

func (ListConditionMetadataTypesRequest) HTTPRequest ¶

func (request ListConditionMetadataTypesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConditionMetadataTypesRequest) RetryPolicy ¶

func (request ListConditionMetadataTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListConditionMetadataTypesRequest) String ¶

func (request ListConditionMetadataTypesRequest) String() string

type ListConditionMetadataTypesResponse ¶

type ListConditionMetadataTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConditionMetadataTypeCollection instances
	ConditionMetadataTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListConditionMetadataTypesResponse wrapper for the ListConditionMetadataTypes operation

func (ListConditionMetadataTypesResponse) HTTPResponse ¶

func (response ListConditionMetadataTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListConditionMetadataTypesResponse) String ¶

func (response ListConditionMetadataTypesResponse) String() string

type ListConditionMetadataTypesSortByEnum ¶

type ListConditionMetadataTypesSortByEnum string

ListConditionMetadataTypesSortByEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortByTimecreated ListConditionMetadataTypesSortByEnum = "timeCreated"
	ListConditionMetadataTypesSortByDisplayname ListConditionMetadataTypesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortByEnum

func GetListConditionMetadataTypesSortByEnumValues ¶

func GetListConditionMetadataTypesSortByEnumValues() []ListConditionMetadataTypesSortByEnum

GetListConditionMetadataTypesSortByEnumValues Enumerates the set of values for ListConditionMetadataTypesSortByEnum

type ListConditionMetadataTypesSortOrderEnum ¶

type ListConditionMetadataTypesSortOrderEnum string

ListConditionMetadataTypesSortOrderEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortOrderAsc  ListConditionMetadataTypesSortOrderEnum = "ASC"
	ListConditionMetadataTypesSortOrderDesc ListConditionMetadataTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortOrderEnum

func GetListConditionMetadataTypesSortOrderEnumValues ¶

func GetListConditionMetadataTypesSortOrderEnumValues() []ListConditionMetadataTypesSortOrderEnum

GetListConditionMetadataTypesSortOrderEnumValues Enumerates the set of values for ListConditionMetadataTypesSortOrderEnum

type ListDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListDetectorRecipeDetectorRulesLifecycleStateEnum string

ListDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesLifecycleStateCreating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRecipeDetectorRulesLifecycleStateUpdating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipeDetectorRulesLifecycleStateActive   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateInactive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleting ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleted  ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRecipeDetectorRulesLifecycleStateFailed   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListDetectorRecipeDetectorRulesLifecycleStateEnum

GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

type ListDetectorRecipeDetectorRulesRequest ¶

type ListDetectorRecipeDetectorRulesRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipeDetectorRulesRequest wrapper for the ListDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRulesRequest.

func (ListDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipeDetectorRulesRequest) String ¶

type ListDetectorRecipeDetectorRulesResponse ¶

type ListDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeDetectorRuleCollection instances
	DetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipeDetectorRulesResponse wrapper for the ListDetectorRecipeDetectorRules operation

func (ListDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipeDetectorRulesResponse) String ¶

type ListDetectorRecipeDetectorRulesSortByEnum ¶

type ListDetectorRecipeDetectorRulesSortByEnum string

ListDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortByDisplayname ListDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListDetectorRecipeDetectorRulesSortByRisklevel   ListDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortByEnum

func GetListDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortByEnumValues() []ListDetectorRecipeDetectorRulesSortByEnum

GetListDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortByEnum

type ListDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListDetectorRecipeDetectorRulesSortOrderEnum string

ListDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortOrderAsc  ListDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRecipeDetectorRulesSortOrderDesc ListDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues() []ListDetectorRecipeDetectorRulesSortOrderEnum

GetListDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortOrderEnum

type ListDetectorRecipesAccessLevelEnum ¶

type ListDetectorRecipesAccessLevelEnum string

ListDetectorRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListDetectorRecipesAccessLevelRestricted ListDetectorRecipesAccessLevelEnum = "RESTRICTED"
	ListDetectorRecipesAccessLevelAccessible ListDetectorRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDetectorRecipesAccessLevelEnum

func GetListDetectorRecipesAccessLevelEnumValues ¶

func GetListDetectorRecipesAccessLevelEnumValues() []ListDetectorRecipesAccessLevelEnum

GetListDetectorRecipesAccessLevelEnumValues Enumerates the set of values for ListDetectorRecipesAccessLevelEnum

type ListDetectorRecipesLifecycleStateEnum ¶

type ListDetectorRecipesLifecycleStateEnum string

ListDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipesLifecycleStateCreating ListDetectorRecipesLifecycleStateEnum = "CREATING"
	ListDetectorRecipesLifecycleStateUpdating ListDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipesLifecycleStateActive   ListDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipesLifecycleStateInactive ListDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipesLifecycleStateDeleting ListDetectorRecipesLifecycleStateEnum = "DELETING"
	ListDetectorRecipesLifecycleStateDeleted  ListDetectorRecipesLifecycleStateEnum = "DELETED"
	ListDetectorRecipesLifecycleStateFailed   ListDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipesLifecycleStateEnum

func GetListDetectorRecipesLifecycleStateEnumValues ¶

func GetListDetectorRecipesLifecycleStateEnumValues() []ListDetectorRecipesLifecycleStateEnum

GetListDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipesLifecycleStateEnum

type ListDetectorRecipesRequest ¶

type ListDetectorRecipesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListDetectorRecipesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipesRequest wrapper for the ListDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipesRequest.

func (ListDetectorRecipesRequest) HTTPRequest ¶

func (request ListDetectorRecipesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipesRequest) RetryPolicy ¶

func (request ListDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipesRequest) String ¶

func (request ListDetectorRecipesRequest) String() string

type ListDetectorRecipesResponse ¶

type ListDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeCollection instances
	DetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipesResponse wrapper for the ListDetectorRecipes operation

func (ListDetectorRecipesResponse) HTTPResponse ¶

func (response ListDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipesResponse) String ¶

func (response ListDetectorRecipesResponse) String() string

type ListDetectorRecipesSortByEnum ¶

type ListDetectorRecipesSortByEnum string

ListDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortByTimecreated ListDetectorRecipesSortByEnum = "timeCreated"
	ListDetectorRecipesSortByDisplayname ListDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRecipesSortByEnum

func GetListDetectorRecipesSortByEnumValues ¶

func GetListDetectorRecipesSortByEnumValues() []ListDetectorRecipesSortByEnum

GetListDetectorRecipesSortByEnumValues Enumerates the set of values for ListDetectorRecipesSortByEnum

type ListDetectorRecipesSortOrderEnum ¶

type ListDetectorRecipesSortOrderEnum string

ListDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortOrderAsc  ListDetectorRecipesSortOrderEnum = "ASC"
	ListDetectorRecipesSortOrderDesc ListDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipesSortOrderEnum

func GetListDetectorRecipesSortOrderEnumValues ¶

func GetListDetectorRecipesSortOrderEnumValues() []ListDetectorRecipesSortOrderEnum

GetListDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipesSortOrderEnum

type ListDetectorRulesLifecycleStateEnum ¶

type ListDetectorRulesLifecycleStateEnum string

ListDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRulesLifecycleStateCreating ListDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRulesLifecycleStateUpdating ListDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRulesLifecycleStateActive   ListDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRulesLifecycleStateInactive ListDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRulesLifecycleStateDeleting ListDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRulesLifecycleStateDeleted  ListDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRulesLifecycleStateFailed   ListDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRulesLifecycleStateEnum

func GetListDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRulesLifecycleStateEnumValues() []ListDetectorRulesLifecycleStateEnum

GetListDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRulesLifecycleStateEnum

type ListDetectorRulesRequest ¶

type ListDetectorRulesRequest struct {

	// The Name of Detector.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRulesRequest wrapper for the ListDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRulesRequest.

func (ListDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRulesRequest) RetryPolicy ¶

func (request ListDetectorRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRulesRequest) String ¶

func (request ListDetectorRulesRequest) String() string

type ListDetectorRulesResponse ¶

type ListDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRuleCollection instances
	DetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRulesResponse wrapper for the ListDetectorRules operation

func (ListDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRulesResponse) String ¶

func (response ListDetectorRulesResponse) String() string

type ListDetectorRulesSortByEnum ¶

type ListDetectorRulesSortByEnum string

ListDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRulesSortByTimecreated ListDetectorRulesSortByEnum = "timeCreated"
	ListDetectorRulesSortByDisplayname ListDetectorRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRulesSortByEnum

func GetListDetectorRulesSortByEnumValues ¶

func GetListDetectorRulesSortByEnumValues() []ListDetectorRulesSortByEnum

GetListDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRulesSortByEnum

type ListDetectorRulesSortOrderEnum ¶

type ListDetectorRulesSortOrderEnum string

ListDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRulesSortOrderAsc  ListDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRulesSortOrderDesc ListDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRulesSortOrderEnum

func GetListDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRulesSortOrderEnumValues() []ListDetectorRulesSortOrderEnum

GetListDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRulesSortOrderEnum

type ListDetectorsLifecycleStateEnum ¶

type ListDetectorsLifecycleStateEnum string

ListDetectorsLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorsLifecycleStateCreating ListDetectorsLifecycleStateEnum = "CREATING"
	ListDetectorsLifecycleStateUpdating ListDetectorsLifecycleStateEnum = "UPDATING"
	ListDetectorsLifecycleStateActive   ListDetectorsLifecycleStateEnum = "ACTIVE"
	ListDetectorsLifecycleStateInactive ListDetectorsLifecycleStateEnum = "INACTIVE"
	ListDetectorsLifecycleStateDeleting ListDetectorsLifecycleStateEnum = "DELETING"
	ListDetectorsLifecycleStateDeleted  ListDetectorsLifecycleStateEnum = "DELETED"
	ListDetectorsLifecycleStateFailed   ListDetectorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorsLifecycleStateEnum

func GetListDetectorsLifecycleStateEnumValues ¶

func GetListDetectorsLifecycleStateEnumValues() []ListDetectorsLifecycleStateEnum

GetListDetectorsLifecycleStateEnumValues Enumerates the set of values for ListDetectorsLifecycleStateEnum

type ListDetectorsRequest ¶

type ListDetectorsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorsRequest wrapper for the ListDetectors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectorsRequest.

func (ListDetectorsRequest) HTTPRequest ¶

func (request ListDetectorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorsRequest) RetryPolicy ¶

func (request ListDetectorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorsRequest) String ¶

func (request ListDetectorsRequest) String() string

type ListDetectorsResponse ¶

type ListDetectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorCollection instances
	DetectorCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorsResponse wrapper for the ListDetectors operation

func (ListDetectorsResponse) HTTPResponse ¶

func (response ListDetectorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorsResponse) String ¶

func (response ListDetectorsResponse) String() string

type ListDetectorsSortByEnum ¶

type ListDetectorsSortByEnum string

ListDetectorsSortByEnum Enum with underlying type: string

const (
	ListDetectorsSortByTimecreated ListDetectorsSortByEnum = "timeCreated"
	ListDetectorsSortByDisplayname ListDetectorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorsSortByEnum

func GetListDetectorsSortByEnumValues ¶

func GetListDetectorsSortByEnumValues() []ListDetectorsSortByEnum

GetListDetectorsSortByEnumValues Enumerates the set of values for ListDetectorsSortByEnum

type ListDetectorsSortOrderEnum ¶

type ListDetectorsSortOrderEnum string

ListDetectorsSortOrderEnum Enum with underlying type: string

const (
	ListDetectorsSortOrderAsc  ListDetectorsSortOrderEnum = "ASC"
	ListDetectorsSortOrderDesc ListDetectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorsSortOrderEnum

func GetListDetectorsSortOrderEnumValues ¶

func GetListDetectorsSortOrderEnumValues() []ListDetectorsSortOrderEnum

GetListDetectorsSortOrderEnumValues Enumerates the set of values for ListDetectorsSortOrderEnum

type ListImpactedResourcesRequest ¶

type ListImpactedResourcesRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListImpactedResourcesRequest wrapper for the ListImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResourcesRequest.

func (ListImpactedResourcesRequest) HTTPRequest ¶

func (request ListImpactedResourcesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListImpactedResourcesRequest) RetryPolicy ¶

func (request ListImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListImpactedResourcesRequest) String ¶

func (request ListImpactedResourcesRequest) String() string

type ListImpactedResourcesResponse ¶

type ListImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ImpactedResourceCollection instances
	ImpactedResourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListImpactedResourcesResponse wrapper for the ListImpactedResources operation

func (ListImpactedResourcesResponse) HTTPResponse ¶

func (response ListImpactedResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListImpactedResourcesResponse) String ¶

func (response ListImpactedResourcesResponse) String() string

type ListImpactedResourcesSortByEnum ¶

type ListImpactedResourcesSortByEnum string

ListImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortByTimecreated ListImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListImpactedResourcesSortByEnum

func GetListImpactedResourcesSortByEnumValues ¶

func GetListImpactedResourcesSortByEnumValues() []ListImpactedResourcesSortByEnum

GetListImpactedResourcesSortByEnumValues Enumerates the set of values for ListImpactedResourcesSortByEnum

type ListImpactedResourcesSortOrderEnum ¶

type ListImpactedResourcesSortOrderEnum string

ListImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortOrderAsc  ListImpactedResourcesSortOrderEnum = "ASC"
	ListImpactedResourcesSortOrderDesc ListImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListImpactedResourcesSortOrderEnum

func GetListImpactedResourcesSortOrderEnumValues ¶

func GetListImpactedResourcesSortOrderEnumValues() []ListImpactedResourcesSortOrderEnum

GetListImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListImpactedResourcesSortOrderEnum

type ListManagedListTypesLifecycleStateEnum ¶

type ListManagedListTypesLifecycleStateEnum string

ListManagedListTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListTypesLifecycleStateCreating ListManagedListTypesLifecycleStateEnum = "CREATING"
	ListManagedListTypesLifecycleStateUpdating ListManagedListTypesLifecycleStateEnum = "UPDATING"
	ListManagedListTypesLifecycleStateActive   ListManagedListTypesLifecycleStateEnum = "ACTIVE"
	ListManagedListTypesLifecycleStateInactive ListManagedListTypesLifecycleStateEnum = "INACTIVE"
	ListManagedListTypesLifecycleStateDeleting ListManagedListTypesLifecycleStateEnum = "DELETING"
	ListManagedListTypesLifecycleStateDeleted  ListManagedListTypesLifecycleStateEnum = "DELETED"
	ListManagedListTypesLifecycleStateFailed   ListManagedListTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListTypesLifecycleStateEnum

func GetListManagedListTypesLifecycleStateEnumValues ¶

func GetListManagedListTypesLifecycleStateEnumValues() []ListManagedListTypesLifecycleStateEnum

GetListManagedListTypesLifecycleStateEnumValues Enumerates the set of values for ListManagedListTypesLifecycleStateEnum

type ListManagedListTypesRequest ¶

type ListManagedListTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListManagedListTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedListTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListManagedListTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListTypesRequest wrapper for the ListManagedListTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypesRequest.

func (ListManagedListTypesRequest) HTTPRequest ¶

func (request ListManagedListTypesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListTypesRequest) RetryPolicy ¶

func (request ListManagedListTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListTypesRequest) String ¶

func (request ListManagedListTypesRequest) String() string

type ListManagedListTypesResponse ¶

type ListManagedListTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListTypeCollection instances
	ManagedListTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListTypesResponse wrapper for the ListManagedListTypes operation

func (ListManagedListTypesResponse) HTTPResponse ¶

func (response ListManagedListTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListTypesResponse) String ¶

func (response ListManagedListTypesResponse) String() string

type ListManagedListTypesSortByEnum ¶

type ListManagedListTypesSortByEnum string

ListManagedListTypesSortByEnum Enum with underlying type: string

const (
	ListManagedListTypesSortByDisplayname ListManagedListTypesSortByEnum = "displayName"
	ListManagedListTypesSortByRisklevel   ListManagedListTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListManagedListTypesSortByEnum

func GetListManagedListTypesSortByEnumValues ¶

func GetListManagedListTypesSortByEnumValues() []ListManagedListTypesSortByEnum

GetListManagedListTypesSortByEnumValues Enumerates the set of values for ListManagedListTypesSortByEnum

type ListManagedListTypesSortOrderEnum ¶

type ListManagedListTypesSortOrderEnum string

ListManagedListTypesSortOrderEnum Enum with underlying type: string

const (
	ListManagedListTypesSortOrderAsc  ListManagedListTypesSortOrderEnum = "ASC"
	ListManagedListTypesSortOrderDesc ListManagedListTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListTypesSortOrderEnum

func GetListManagedListTypesSortOrderEnumValues ¶

func GetListManagedListTypesSortOrderEnumValues() []ListManagedListTypesSortOrderEnum

GetListManagedListTypesSortOrderEnumValues Enumerates the set of values for ListManagedListTypesSortOrderEnum

type ListManagedListsAccessLevelEnum ¶

type ListManagedListsAccessLevelEnum string

ListManagedListsAccessLevelEnum Enum with underlying type: string

const (
	ListManagedListsAccessLevelRestricted ListManagedListsAccessLevelEnum = "RESTRICTED"
	ListManagedListsAccessLevelAccessible ListManagedListsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListManagedListsAccessLevelEnum

func GetListManagedListsAccessLevelEnumValues ¶

func GetListManagedListsAccessLevelEnumValues() []ListManagedListsAccessLevelEnum

GetListManagedListsAccessLevelEnumValues Enumerates the set of values for ListManagedListsAccessLevelEnum

type ListManagedListsLifecycleStateEnum ¶

type ListManagedListsLifecycleStateEnum string

ListManagedListsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListsLifecycleStateCreating ListManagedListsLifecycleStateEnum = "CREATING"
	ListManagedListsLifecycleStateUpdating ListManagedListsLifecycleStateEnum = "UPDATING"
	ListManagedListsLifecycleStateActive   ListManagedListsLifecycleStateEnum = "ACTIVE"
	ListManagedListsLifecycleStateInactive ListManagedListsLifecycleStateEnum = "INACTIVE"
	ListManagedListsLifecycleStateDeleting ListManagedListsLifecycleStateEnum = "DELETING"
	ListManagedListsLifecycleStateDeleted  ListManagedListsLifecycleStateEnum = "DELETED"
	ListManagedListsLifecycleStateFailed   ListManagedListsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListsLifecycleStateEnum

func GetListManagedListsLifecycleStateEnumValues ¶

func GetListManagedListsLifecycleStateEnumValues() []ListManagedListsLifecycleStateEnum

GetListManagedListsLifecycleStateEnumValues Enumerates the set of values for ListManagedListsLifecycleStateEnum

type ListManagedListsListTypeEnum ¶

type ListManagedListsListTypeEnum string

ListManagedListsListTypeEnum Enum with underlying type: string

const (
	ListManagedListsListTypeCidrBlock    ListManagedListsListTypeEnum = "CIDR_BLOCK"
	ListManagedListsListTypeUsers        ListManagedListsListTypeEnum = "USERS"
	ListManagedListsListTypeGroups       ListManagedListsListTypeEnum = "GROUPS"
	ListManagedListsListTypeIpv4address  ListManagedListsListTypeEnum = "IPV4ADDRESS"
	ListManagedListsListTypeIpv6address  ListManagedListsListTypeEnum = "IPV6ADDRESS"
	ListManagedListsListTypeResourceOcid ListManagedListsListTypeEnum = "RESOURCE_OCID"
	ListManagedListsListTypeRegion       ListManagedListsListTypeEnum = "REGION"
	ListManagedListsListTypeCountry      ListManagedListsListTypeEnum = "COUNTRY"
	ListManagedListsListTypeState        ListManagedListsListTypeEnum = "STATE"
	ListManagedListsListTypeCity         ListManagedListsListTypeEnum = "CITY"
	ListManagedListsListTypeTags         ListManagedListsListTypeEnum = "TAGS"
)

Set of constants representing the allowable values for ListManagedListsListTypeEnum

func GetListManagedListsListTypeEnumValues ¶

func GetListManagedListsListTypeEnumValues() []ListManagedListsListTypeEnum

GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum

type ListManagedListsRequest ¶

type ListManagedListsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListManagedListsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The type of the ManagedList.
	ListType ListManagedListsListTypeEnum `mandatory:"false" contributesTo:"query" name:"listType" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListManagedListsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListManagedListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListsRequest wrapper for the ListManagedLists operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedListsRequest.

func (ListManagedListsRequest) HTTPRequest ¶

func (request ListManagedListsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListsRequest) RetryPolicy ¶

func (request ListManagedListsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListsRequest) String ¶

func (request ListManagedListsRequest) String() string

type ListManagedListsResponse ¶

type ListManagedListsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListCollection instances
	ManagedListCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListsResponse wrapper for the ListManagedLists operation

func (ListManagedListsResponse) HTTPResponse ¶

func (response ListManagedListsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListsResponse) String ¶

func (response ListManagedListsResponse) String() string

type ListManagedListsSortByEnum ¶

type ListManagedListsSortByEnum string

ListManagedListsSortByEnum Enum with underlying type: string

const (
	ListManagedListsSortByTimecreated ListManagedListsSortByEnum = "timeCreated"
	ListManagedListsSortByDisplayname ListManagedListsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedListsSortByEnum

func GetListManagedListsSortByEnumValues ¶

func GetListManagedListsSortByEnumValues() []ListManagedListsSortByEnum

GetListManagedListsSortByEnumValues Enumerates the set of values for ListManagedListsSortByEnum

type ListManagedListsSortOrderEnum ¶

type ListManagedListsSortOrderEnum string

ListManagedListsSortOrderEnum Enum with underlying type: string

const (
	ListManagedListsSortOrderAsc  ListManagedListsSortOrderEnum = "ASC"
	ListManagedListsSortOrderDesc ListManagedListsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListsSortOrderEnum

func GetListManagedListsSortOrderEnumValues ¶

func GetListManagedListsSortOrderEnumValues() []ListManagedListsSortOrderEnum

GetListManagedListsSortOrderEnumValues Enumerates the set of values for ListManagedListsSortOrderEnum

type ListProblemHistoriesRequest ¶

type ListProblemHistoriesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListProblemHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListProblemHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemHistoriesRequest wrapper for the ListProblemHistories operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistoriesRequest.

func (ListProblemHistoriesRequest) HTTPRequest ¶

func (request ListProblemHistoriesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemHistoriesRequest) RetryPolicy ¶

func (request ListProblemHistoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemHistoriesRequest) String ¶

func (request ListProblemHistoriesRequest) String() string

type ListProblemHistoriesResponse ¶

type ListProblemHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemHistoryCollection instances
	ProblemHistoryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemHistoriesResponse wrapper for the ListProblemHistories operation

func (ListProblemHistoriesResponse) HTTPResponse ¶

func (response ListProblemHistoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemHistoriesResponse) String ¶

func (response ListProblemHistoriesResponse) String() string

type ListProblemHistoriesSortByEnum ¶

type ListProblemHistoriesSortByEnum string

ListProblemHistoriesSortByEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortByTimecreated ListProblemHistoriesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemHistoriesSortByEnum

func GetListProblemHistoriesSortByEnumValues ¶

func GetListProblemHistoriesSortByEnumValues() []ListProblemHistoriesSortByEnum

GetListProblemHistoriesSortByEnumValues Enumerates the set of values for ListProblemHistoriesSortByEnum

type ListProblemHistoriesSortOrderEnum ¶

type ListProblemHistoriesSortOrderEnum string

ListProblemHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortOrderAsc  ListProblemHistoriesSortOrderEnum = "ASC"
	ListProblemHistoriesSortOrderDesc ListProblemHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemHistoriesSortOrderEnum

func GetListProblemHistoriesSortOrderEnumValues ¶

func GetListProblemHistoriesSortOrderEnumValues() []ListProblemHistoriesSortOrderEnum

GetListProblemHistoriesSortOrderEnumValues Enumerates the set of values for ListProblemHistoriesSortOrderEnum

type ListProblemsAccessLevelEnum ¶

type ListProblemsAccessLevelEnum string

ListProblemsAccessLevelEnum Enum with underlying type: string

const (
	ListProblemsAccessLevelRestricted ListProblemsAccessLevelEnum = "RESTRICTED"
	ListProblemsAccessLevelAccessible ListProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListProblemsAccessLevelEnum

func GetListProblemsAccessLevelEnumValues ¶

func GetListProblemsAccessLevelEnumValues() []ListProblemsAccessLevelEnum

GetListProblemsAccessLevelEnumValues Enumerates the set of values for ListProblemsAccessLevelEnum

type ListProblemsDetectorTypeEnum ¶

type ListProblemsDetectorTypeEnum string

ListProblemsDetectorTypeEnum Enum with underlying type: string

const (
	ListProblemsDetectorTypeActivityDetector      ListProblemsDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR"
	ListProblemsDetectorTypeConfigurationDetector ListProblemsDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR"
)

Set of constants representing the allowable values for ListProblemsDetectorTypeEnum

func GetListProblemsDetectorTypeEnumValues ¶

func GetListProblemsDetectorTypeEnumValues() []ListProblemsDetectorTypeEnum

GetListProblemsDetectorTypeEnumValues Enumerates the set of values for ListProblemsDetectorTypeEnum

type ListProblemsLifecycleDetailEnum ¶

type ListProblemsLifecycleDetailEnum string

ListProblemsLifecycleDetailEnum Enum with underlying type: string

const (
	ListProblemsLifecycleDetailOpen      ListProblemsLifecycleDetailEnum = "OPEN"
	ListProblemsLifecycleDetailResolved  ListProblemsLifecycleDetailEnum = "RESOLVED"
	ListProblemsLifecycleDetailDismissed ListProblemsLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for ListProblemsLifecycleDetailEnum

func GetListProblemsLifecycleDetailEnumValues ¶

func GetListProblemsLifecycleDetailEnumValues() []ListProblemsLifecycleDetailEnum

GetListProblemsLifecycleDetailEnumValues Enumerates the set of values for ListProblemsLifecycleDetailEnum

type ListProblemsLifecycleStateEnum ¶

type ListProblemsLifecycleStateEnum string

ListProblemsLifecycleStateEnum Enum with underlying type: string

const (
	ListProblemsLifecycleStateActive   ListProblemsLifecycleStateEnum = "ACTIVE"
	ListProblemsLifecycleStateInactive ListProblemsLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ListProblemsLifecycleStateEnum

func GetListProblemsLifecycleStateEnumValues ¶

func GetListProblemsLifecycleStateEnumValues() []ListProblemsLifecycleStateEnum

GetListProblemsLifecycleStateEnumValues Enumerates the set of values for ListProblemsLifecycleStateEnum

type ListProblemsRequest ¶

type ListProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeLastDetectedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastDetectedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeLastDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastDetectedLessThanOrEqualTo"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeFirstDetectedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFirstDetectedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeFirstDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFirstDetectedLessThanOrEqualTo"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleDetail ListProblemsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListProblemsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// OCI Monitoring region.
	Region *string `mandatory:"false" contributesTo:"query" name:"region"`

	// Risk level of the Problem.
	RiskLevel *string `mandatory:"false" contributesTo:"query" name:"riskLevel"`

	// Resource Type associated with the resource.
	ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

	// City of the problem.
	City *string `mandatory:"false" contributesTo:"query" name:"city"`

	// State of the problem.
	State *string `mandatory:"false" contributesTo:"query" name:"state"`

	// Country of the problem.
	Country *string `mandatory:"false" contributesTo:"query" name:"country"`

	// Label associated with the Problem.
	Label *string `mandatory:"false" contributesTo:"query" name:"label"`

	// Comma seperated list of detector rule ids to be passed in to match against Problems.
	DetectorRuleIdList []string `contributesTo:"query" name:"detectorRuleIdList" collectionFormat:"multi"`

	// The field to list the Problems by Detector Type. Valid values are IAAS_ACTIVITY_DETECTOR and IAAS_CONFIGURATION_DETECTOR
	DetectorType ListProblemsDetectorTypeEnum `mandatory:"false" contributesTo:"query" name:"detectorType" omitEmpty:"true"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The ID of the resource associated with the problem.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListProblemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for riskLevel, timeLastDetected and resourceName is descending. Default order for riskLevel and resourceName is ascending. If no value is specified timeLastDetected is default.
	SortBy ListProblemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemsRequest wrapper for the ListProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblems.go.html to see an example of how to use ListProblemsRequest.

func (ListProblemsRequest) HTTPRequest ¶

func (request ListProblemsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemsRequest) RetryPolicy ¶

func (request ListProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemsRequest) String ¶

func (request ListProblemsRequest) String() string

type ListProblemsResponse ¶

type ListProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemCollection instances
	ProblemCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemsResponse wrapper for the ListProblems operation

func (ListProblemsResponse) HTTPResponse ¶

func (response ListProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemsResponse) String ¶

func (response ListProblemsResponse) String() string

type ListProblemsSortByEnum ¶

type ListProblemsSortByEnum string

ListProblemsSortByEnum Enum with underlying type: string

const (
	ListProblemsSortByRisklevel        ListProblemsSortByEnum = "riskLevel"
	ListProblemsSortByTimelastdetected ListProblemsSortByEnum = "timeLastDetected"
	ListProblemsSortByResourcename     ListProblemsSortByEnum = "resourceName"
)

Set of constants representing the allowable values for ListProblemsSortByEnum

func GetListProblemsSortByEnumValues ¶

func GetListProblemsSortByEnumValues() []ListProblemsSortByEnum

GetListProblemsSortByEnumValues Enumerates the set of values for ListProblemsSortByEnum

type ListProblemsSortOrderEnum ¶

type ListProblemsSortOrderEnum string

ListProblemsSortOrderEnum Enum with underlying type: string

const (
	ListProblemsSortOrderAsc  ListProblemsSortOrderEnum = "ASC"
	ListProblemsSortOrderDesc ListProblemsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemsSortOrderEnum

func GetListProblemsSortOrderEnumValues ¶

func GetListProblemsSortOrderEnumValues() []ListProblemsSortOrderEnum

GetListProblemsSortOrderEnumValues Enumerates the set of values for ListProblemsSortOrderEnum

type ListRecommendationsAccessLevelEnum ¶

type ListRecommendationsAccessLevelEnum string

ListRecommendationsAccessLevelEnum Enum with underlying type: string

const (
	ListRecommendationsAccessLevelRestricted ListRecommendationsAccessLevelEnum = "RESTRICTED"
	ListRecommendationsAccessLevelAccessible ListRecommendationsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListRecommendationsAccessLevelEnum

func GetListRecommendationsAccessLevelEnumValues ¶

func GetListRecommendationsAccessLevelEnumValues() []ListRecommendationsAccessLevelEnum

GetListRecommendationsAccessLevelEnumValues Enumerates the set of values for ListRecommendationsAccessLevelEnum

type ListRecommendationsLifecycleDetailEnum ¶

type ListRecommendationsLifecycleDetailEnum string

ListRecommendationsLifecycleDetailEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleDetailOpen      ListRecommendationsLifecycleDetailEnum = "OPEN"
	ListRecommendationsLifecycleDetailResolved  ListRecommendationsLifecycleDetailEnum = "RESOLVED"
	ListRecommendationsLifecycleDetailDismissed ListRecommendationsLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleDetailEnum

func GetListRecommendationsLifecycleDetailEnumValues ¶

func GetListRecommendationsLifecycleDetailEnumValues() []ListRecommendationsLifecycleDetailEnum

GetListRecommendationsLifecycleDetailEnumValues Enumerates the set of values for ListRecommendationsLifecycleDetailEnum

type ListRecommendationsLifecycleStateEnum ¶

type ListRecommendationsLifecycleStateEnum string

ListRecommendationsLifecycleStateEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleStateCreating ListRecommendationsLifecycleStateEnum = "CREATING"
	ListRecommendationsLifecycleStateUpdating ListRecommendationsLifecycleStateEnum = "UPDATING"
	ListRecommendationsLifecycleStateActive   ListRecommendationsLifecycleStateEnum = "ACTIVE"
	ListRecommendationsLifecycleStateInactive ListRecommendationsLifecycleStateEnum = "INACTIVE"
	ListRecommendationsLifecycleStateDeleting ListRecommendationsLifecycleStateEnum = "DELETING"
	ListRecommendationsLifecycleStateDeleted  ListRecommendationsLifecycleStateEnum = "DELETED"
	ListRecommendationsLifecycleStateFailed   ListRecommendationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleStateEnum

func GetListRecommendationsLifecycleStateEnumValues ¶

func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum

GetListRecommendationsLifecycleStateEnumValues Enumerates the set of values for ListRecommendationsLifecycleStateEnum

type ListRecommendationsRequest ¶

type ListRecommendationsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel is default.
	SortBy ListRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListRecommendationsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListRecommendationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleDetail ListRecommendationsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListRecommendationsRequest wrapper for the ListRecommendations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendationsRequest.

func (ListRecommendationsRequest) HTTPRequest ¶

func (request ListRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRecommendationsRequest) RetryPolicy ¶

func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRecommendationsRequest) String ¶

func (request ListRecommendationsRequest) String() string

type ListRecommendationsResponse ¶

type ListRecommendationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RecommendationSummaryCollection instances
	RecommendationSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListRecommendationsResponse wrapper for the ListRecommendations operation

func (ListRecommendationsResponse) HTTPResponse ¶

func (response ListRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRecommendationsResponse) String ¶

func (response ListRecommendationsResponse) String() string

type ListRecommendationsSortByEnum ¶

type ListRecommendationsSortByEnum string

ListRecommendationsSortByEnum Enum with underlying type: string

const (
	ListRecommendationsSortByRisklevel   ListRecommendationsSortByEnum = "riskLevel"
	ListRecommendationsSortByTimecreated ListRecommendationsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListRecommendationsSortByEnum

func GetListRecommendationsSortByEnumValues ¶

func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum

GetListRecommendationsSortByEnumValues Enumerates the set of values for ListRecommendationsSortByEnum

type ListRecommendationsSortOrderEnum ¶

type ListRecommendationsSortOrderEnum string

ListRecommendationsSortOrderEnum Enum with underlying type: string

const (
	ListRecommendationsSortOrderAsc  ListRecommendationsSortOrderEnum = "ASC"
	ListRecommendationsSortOrderDesc ListRecommendationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRecommendationsSortOrderEnum

func GetListRecommendationsSortOrderEnumValues ¶

func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum

GetListRecommendationsSortOrderEnumValues Enumerates the set of values for ListRecommendationsSortOrderEnum

type ListResourceTypesLifecycleStateEnum ¶

type ListResourceTypesLifecycleStateEnum string

ListResourceTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListResourceTypesLifecycleStateCreating ListResourceTypesLifecycleStateEnum = "CREATING"
	ListResourceTypesLifecycleStateUpdating ListResourceTypesLifecycleStateEnum = "UPDATING"
	ListResourceTypesLifecycleStateActive   ListResourceTypesLifecycleStateEnum = "ACTIVE"
	ListResourceTypesLifecycleStateInactive ListResourceTypesLifecycleStateEnum = "INACTIVE"
	ListResourceTypesLifecycleStateDeleting ListResourceTypesLifecycleStateEnum = "DELETING"
	ListResourceTypesLifecycleStateDeleted  ListResourceTypesLifecycleStateEnum = "DELETED"
	ListResourceTypesLifecycleStateFailed   ListResourceTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResourceTypesLifecycleStateEnum

func GetListResourceTypesLifecycleStateEnumValues ¶

func GetListResourceTypesLifecycleStateEnumValues() []ListResourceTypesLifecycleStateEnum

GetListResourceTypesLifecycleStateEnumValues Enumerates the set of values for ListResourceTypesLifecycleStateEnum

type ListResourceTypesRequest ¶

type ListResourceTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResourceTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResourceTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResourceTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceTypesRequest wrapper for the ListResourceTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypesRequest.

func (ListResourceTypesRequest) HTTPRequest ¶

func (request ListResourceTypesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceTypesRequest) RetryPolicy ¶

func (request ListResourceTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceTypesRequest) String ¶

func (request ListResourceTypesRequest) String() string

type ListResourceTypesResponse ¶

type ListResourceTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceTypeCollection instances
	ResourceTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceTypesResponse wrapper for the ListResourceTypes operation

func (ListResourceTypesResponse) HTTPResponse ¶

func (response ListResourceTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceTypesResponse) String ¶

func (response ListResourceTypesResponse) String() string

type ListResourceTypesSortByEnum ¶

type ListResourceTypesSortByEnum string

ListResourceTypesSortByEnum Enum with underlying type: string

const (
	ListResourceTypesSortByDisplayname ListResourceTypesSortByEnum = "displayName"
	ListResourceTypesSortByRisklevel   ListResourceTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResourceTypesSortByEnum

func GetListResourceTypesSortByEnumValues ¶

func GetListResourceTypesSortByEnumValues() []ListResourceTypesSortByEnum

GetListResourceTypesSortByEnumValues Enumerates the set of values for ListResourceTypesSortByEnum

type ListResourceTypesSortOrderEnum ¶

type ListResourceTypesSortOrderEnum string

ListResourceTypesSortOrderEnum Enum with underlying type: string

const (
	ListResourceTypesSortOrderAsc  ListResourceTypesSortOrderEnum = "ASC"
	ListResourceTypesSortOrderDesc ListResourceTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceTypesSortOrderEnum

func GetListResourceTypesSortOrderEnumValues ¶

func GetListResourceTypesSortOrderEnumValues() []ListResourceTypesSortOrderEnum

GetListResourceTypesSortOrderEnumValues Enumerates the set of values for ListResourceTypesSortOrderEnum

type ListResponderActivitiesRequest ¶

type ListResponderActivitiesRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderActivitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderActivitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderActivitiesRequest wrapper for the ListResponderActivities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivitiesRequest.

func (ListResponderActivitiesRequest) HTTPRequest ¶

func (request ListResponderActivitiesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderActivitiesRequest) RetryPolicy ¶

func (request ListResponderActivitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderActivitiesRequest) String ¶

func (request ListResponderActivitiesRequest) String() string

type ListResponderActivitiesResponse ¶

type ListResponderActivitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderActivityCollection instances
	ResponderActivityCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderActivitiesResponse wrapper for the ListResponderActivities operation

func (ListResponderActivitiesResponse) HTTPResponse ¶

func (response ListResponderActivitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderActivitiesResponse) String ¶

func (response ListResponderActivitiesResponse) String() string

type ListResponderActivitiesSortByEnum ¶

type ListResponderActivitiesSortByEnum string

ListResponderActivitiesSortByEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortByTimecreated       ListResponderActivitiesSortByEnum = "timeCreated"
	ListResponderActivitiesSortByResponderrulename ListResponderActivitiesSortByEnum = "responderRuleName"
)

Set of constants representing the allowable values for ListResponderActivitiesSortByEnum

func GetListResponderActivitiesSortByEnumValues ¶

func GetListResponderActivitiesSortByEnumValues() []ListResponderActivitiesSortByEnum

GetListResponderActivitiesSortByEnumValues Enumerates the set of values for ListResponderActivitiesSortByEnum

type ListResponderActivitiesSortOrderEnum ¶

type ListResponderActivitiesSortOrderEnum string

ListResponderActivitiesSortOrderEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortOrderAsc  ListResponderActivitiesSortOrderEnum = "ASC"
	ListResponderActivitiesSortOrderDesc ListResponderActivitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderActivitiesSortOrderEnum

func GetListResponderActivitiesSortOrderEnumValues ¶

func GetListResponderActivitiesSortOrderEnumValues() []ListResponderActivitiesSortOrderEnum

GetListResponderActivitiesSortOrderEnumValues Enumerates the set of values for ListResponderActivitiesSortOrderEnum

type ListResponderExecutionsAccessLevelEnum ¶

type ListResponderExecutionsAccessLevelEnum string

ListResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	ListResponderExecutionsAccessLevelRestricted ListResponderExecutionsAccessLevelEnum = "RESTRICTED"
	ListResponderExecutionsAccessLevelAccessible ListResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderExecutionsAccessLevelEnum

func GetListResponderExecutionsAccessLevelEnumValues ¶

func GetListResponderExecutionsAccessLevelEnumValues() []ListResponderExecutionsAccessLevelEnum

GetListResponderExecutionsAccessLevelEnumValues Enumerates the set of values for ListResponderExecutionsAccessLevelEnum

type ListResponderExecutionsRequest ¶

type ListResponderExecutionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// Responder Rule Ids filter for the Responder Executions.
	ResponderRuleIds []string `contributesTo:"query" name:"responderRuleIds" collectionFormat:"multi"`

	// Creation Start time for filtering
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Creation End time for filtering
	TimeCreatedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThanOrEqualTo"`

	// Completion End Time
	TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"`

	// Completion Start Time
	TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Resource Type associated with the resource.
	ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

	// The field to list the Responder Executions by Responder Type. Valid values are REMEDIATION and NOTIFICATION
	ResponderType ListResponderExecutionsResponderTypeEnum `mandatory:"false" contributesTo:"query" name:"responderType" omitEmpty:"true"`

	// The status of the responder execution in which to list responders.
	ResponderExecutionStatus ListResponderExecutionsResponderExecutionStatusEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionStatus" omitEmpty:"true"`

	// The mode of the responder execution in which to list responders.
	ResponderExecutionMode ListResponderExecutionsResponderExecutionModeEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionMode" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderExecutionsRequest wrapper for the ListResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutionsRequest.

func (ListResponderExecutionsRequest) HTTPRequest ¶

func (request ListResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderExecutionsRequest) RetryPolicy ¶

func (request ListResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderExecutionsRequest) String ¶

func (request ListResponderExecutionsRequest) String() string

type ListResponderExecutionsResponderExecutionModeEnum ¶

type ListResponderExecutionsResponderExecutionModeEnum string

ListResponderExecutionsResponderExecutionModeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionModeManual    ListResponderExecutionsResponderExecutionModeEnum = "MANUAL"
	ListResponderExecutionsResponderExecutionModeAutomated ListResponderExecutionsResponderExecutionModeEnum = "AUTOMATED"
	ListResponderExecutionsResponderExecutionModeAll       ListResponderExecutionsResponderExecutionModeEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionModeEnum

func GetListResponderExecutionsResponderExecutionModeEnumValues ¶

func GetListResponderExecutionsResponderExecutionModeEnumValues() []ListResponderExecutionsResponderExecutionModeEnum

GetListResponderExecutionsResponderExecutionModeEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionModeEnum

type ListResponderExecutionsResponderExecutionStatusEnum ¶

type ListResponderExecutionsResponderExecutionStatusEnum string

ListResponderExecutionsResponderExecutionStatusEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionStatusStarted              ListResponderExecutionsResponderExecutionStatusEnum = "STARTED"
	ListResponderExecutionsResponderExecutionStatusAwaitingConfirmation ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ListResponderExecutionsResponderExecutionStatusAwaitingInput        ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_INPUT"
	ListResponderExecutionsResponderExecutionStatusSucceeded            ListResponderExecutionsResponderExecutionStatusEnum = "SUCCEEDED"
	ListResponderExecutionsResponderExecutionStatusFailed               ListResponderExecutionsResponderExecutionStatusEnum = "FAILED"
	ListResponderExecutionsResponderExecutionStatusSkipped              ListResponderExecutionsResponderExecutionStatusEnum = "SKIPPED"
	ListResponderExecutionsResponderExecutionStatusAll                  ListResponderExecutionsResponderExecutionStatusEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionStatusEnum

func GetListResponderExecutionsResponderExecutionStatusEnumValues ¶

func GetListResponderExecutionsResponderExecutionStatusEnumValues() []ListResponderExecutionsResponderExecutionStatusEnum

GetListResponderExecutionsResponderExecutionStatusEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionStatusEnum

type ListResponderExecutionsResponderTypeEnum ¶

type ListResponderExecutionsResponderTypeEnum string

ListResponderExecutionsResponderTypeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderTypeRemediation  ListResponderExecutionsResponderTypeEnum = "REMEDIATION"
	ListResponderExecutionsResponderTypeNotification ListResponderExecutionsResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderTypeEnum

func GetListResponderExecutionsResponderTypeEnumValues ¶

func GetListResponderExecutionsResponderTypeEnumValues() []ListResponderExecutionsResponderTypeEnum

GetListResponderExecutionsResponderTypeEnumValues Enumerates the set of values for ListResponderExecutionsResponderTypeEnum

type ListResponderExecutionsResponse ¶

type ListResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionCollection instances
	ResponderExecutionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderExecutionsResponse wrapper for the ListResponderExecutions operation

func (ListResponderExecutionsResponse) HTTPResponse ¶

func (response ListResponderExecutionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderExecutionsResponse) String ¶

func (response ListResponderExecutionsResponse) String() string

type ListResponderExecutionsSortByEnum ¶

type ListResponderExecutionsSortByEnum string

ListResponderExecutionsSortByEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortByTimecreated       ListResponderExecutionsSortByEnum = "timeCreated"
	ListResponderExecutionsSortByResponderrulename ListResponderExecutionsSortByEnum = "responderRuleName"
	ListResponderExecutionsSortByResourcename      ListResponderExecutionsSortByEnum = "resourceName"
	ListResponderExecutionsSortByTimecompleted     ListResponderExecutionsSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for ListResponderExecutionsSortByEnum

func GetListResponderExecutionsSortByEnumValues ¶

func GetListResponderExecutionsSortByEnumValues() []ListResponderExecutionsSortByEnum

GetListResponderExecutionsSortByEnumValues Enumerates the set of values for ListResponderExecutionsSortByEnum

type ListResponderExecutionsSortOrderEnum ¶

type ListResponderExecutionsSortOrderEnum string

ListResponderExecutionsSortOrderEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortOrderAsc  ListResponderExecutionsSortOrderEnum = "ASC"
	ListResponderExecutionsSortOrderDesc ListResponderExecutionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderExecutionsSortOrderEnum

func GetListResponderExecutionsSortOrderEnumValues ¶

func GetListResponderExecutionsSortOrderEnumValues() []ListResponderExecutionsSortOrderEnum

GetListResponderExecutionsSortOrderEnumValues Enumerates the set of values for ListResponderExecutionsSortOrderEnum

type ListResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListResponderRecipeResponderRulesLifecycleStateEnum string

ListResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesLifecycleStateCreating ListResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRecipeResponderRulesLifecycleStateUpdating ListResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRecipeResponderRulesLifecycleStateActive   ListResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateInactive ListResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateDeleting ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRecipeResponderRulesLifecycleStateDeleted  ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRecipeResponderRulesLifecycleStateFailed   ListResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues() []ListResponderRecipeResponderRulesLifecycleStateEnum

GetListResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesLifecycleStateEnum

type ListResponderRecipeResponderRulesRequest ¶

type ListResponderRecipeResponderRulesRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipeResponderRulesRequest wrapper for the ListResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRulesRequest.

func (ListResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRecipeResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipeResponderRulesRequest) String ¶

type ListResponderRecipeResponderRulesResponse ¶

type ListResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeResponderRuleCollection instances
	ResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipeResponderRulesResponse wrapper for the ListResponderRecipeResponderRules operation

func (ListResponderRecipeResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipeResponderRulesResponse) String ¶

type ListResponderRecipeResponderRulesSortByEnum ¶

type ListResponderRecipeResponderRulesSortByEnum string

ListResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortByDisplayname ListResponderRecipeResponderRulesSortByEnum = "displayName"
	ListResponderRecipeResponderRulesSortByRisklevel   ListResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortByEnum

func GetListResponderRecipeResponderRulesSortByEnumValues ¶

func GetListResponderRecipeResponderRulesSortByEnumValues() []ListResponderRecipeResponderRulesSortByEnum

GetListResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortByEnum

type ListResponderRecipeResponderRulesSortOrderEnum ¶

type ListResponderRecipeResponderRulesSortOrderEnum string

ListResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortOrderAsc  ListResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListResponderRecipeResponderRulesSortOrderDesc ListResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortOrderEnum

func GetListResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListResponderRecipeResponderRulesSortOrderEnumValues() []ListResponderRecipeResponderRulesSortOrderEnum

GetListResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortOrderEnum

type ListResponderRecipesAccessLevelEnum ¶

type ListResponderRecipesAccessLevelEnum string

ListResponderRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListResponderRecipesAccessLevelRestricted ListResponderRecipesAccessLevelEnum = "RESTRICTED"
	ListResponderRecipesAccessLevelAccessible ListResponderRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderRecipesAccessLevelEnum

func GetListResponderRecipesAccessLevelEnumValues ¶

func GetListResponderRecipesAccessLevelEnumValues() []ListResponderRecipesAccessLevelEnum

GetListResponderRecipesAccessLevelEnumValues Enumerates the set of values for ListResponderRecipesAccessLevelEnum

type ListResponderRecipesLifecycleStateEnum ¶

type ListResponderRecipesLifecycleStateEnum string

ListResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipesLifecycleStateCreating ListResponderRecipesLifecycleStateEnum = "CREATING"
	ListResponderRecipesLifecycleStateUpdating ListResponderRecipesLifecycleStateEnum = "UPDATING"
	ListResponderRecipesLifecycleStateActive   ListResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipesLifecycleStateInactive ListResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipesLifecycleStateDeleting ListResponderRecipesLifecycleStateEnum = "DELETING"
	ListResponderRecipesLifecycleStateDeleted  ListResponderRecipesLifecycleStateEnum = "DELETED"
	ListResponderRecipesLifecycleStateFailed   ListResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipesLifecycleStateEnum

func GetListResponderRecipesLifecycleStateEnumValues ¶

func GetListResponderRecipesLifecycleStateEnumValues() []ListResponderRecipesLifecycleStateEnum

GetListResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipesLifecycleStateEnum

type ListResponderRecipesRequest ¶

type ListResponderRecipesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard is returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListResponderRecipesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipesRequest wrapper for the ListResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipesRequest.

func (ListResponderRecipesRequest) HTTPRequest ¶

func (request ListResponderRecipesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipesRequest) RetryPolicy ¶

func (request ListResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipesRequest) String ¶

func (request ListResponderRecipesRequest) String() string

type ListResponderRecipesResponse ¶

type ListResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeCollection instances
	ResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipesResponse wrapper for the ListResponderRecipes operation

func (ListResponderRecipesResponse) HTTPResponse ¶

func (response ListResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipesResponse) String ¶

func (response ListResponderRecipesResponse) String() string

type ListResponderRecipesSortByEnum ¶

type ListResponderRecipesSortByEnum string

ListResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipesSortByTimecreated ListResponderRecipesSortByEnum = "timeCreated"
	ListResponderRecipesSortByDisplayname ListResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRecipesSortByEnum

func GetListResponderRecipesSortByEnumValues ¶

func GetListResponderRecipesSortByEnumValues() []ListResponderRecipesSortByEnum

GetListResponderRecipesSortByEnumValues Enumerates the set of values for ListResponderRecipesSortByEnum

type ListResponderRecipesSortOrderEnum ¶

type ListResponderRecipesSortOrderEnum string

ListResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipesSortOrderAsc  ListResponderRecipesSortOrderEnum = "ASC"
	ListResponderRecipesSortOrderDesc ListResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipesSortOrderEnum

func GetListResponderRecipesSortOrderEnumValues ¶

func GetListResponderRecipesSortOrderEnumValues() []ListResponderRecipesSortOrderEnum

GetListResponderRecipesSortOrderEnumValues Enumerates the set of values for ListResponderRecipesSortOrderEnum

type ListResponderRulesLifecycleStateEnum ¶

type ListResponderRulesLifecycleStateEnum string

ListResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRulesLifecycleStateCreating ListResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRulesLifecycleStateUpdating ListResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRulesLifecycleStateActive   ListResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRulesLifecycleStateInactive ListResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRulesLifecycleStateDeleting ListResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRulesLifecycleStateDeleted  ListResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRulesLifecycleStateFailed   ListResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRulesLifecycleStateEnum

func GetListResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRulesLifecycleStateEnumValues() []ListResponderRulesLifecycleStateEnum

GetListResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRulesLifecycleStateEnum

type ListResponderRulesRequest ¶

type ListResponderRulesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRulesRequest wrapper for the ListResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRulesRequest.

func (ListResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRulesRequest) RetryPolicy ¶

func (request ListResponderRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRulesRequest) String ¶

func (request ListResponderRulesRequest) String() string

type ListResponderRulesResponse ¶

type ListResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRuleCollection instances
	ResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRulesResponse wrapper for the ListResponderRules operation

func (ListResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRulesResponse) String ¶

func (response ListResponderRulesResponse) String() string

type ListResponderRulesSortByEnum ¶

type ListResponderRulesSortByEnum string

ListResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRulesSortByTimecreated ListResponderRulesSortByEnum = "timeCreated"
	ListResponderRulesSortByDisplayname ListResponderRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRulesSortByEnum

func GetListResponderRulesSortByEnumValues ¶

func GetListResponderRulesSortByEnumValues() []ListResponderRulesSortByEnum

GetListResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRulesSortByEnum

type ListResponderRulesSortOrderEnum ¶

type ListResponderRulesSortOrderEnum string

ListResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRulesSortOrderAsc  ListResponderRulesSortOrderEnum = "ASC"
	ListResponderRulesSortOrderDesc ListResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRulesSortOrderEnum

func GetListResponderRulesSortOrderEnumValues ¶

func GetListResponderRulesSortOrderEnumValues() []ListResponderRulesSortOrderEnum

GetListResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRulesSortOrderEnum

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum string

ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesLifecycleStateCreating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateUpdating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateActive   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateInactive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleting ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleted  ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateFailed   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

type ListTargetDetectorRecipeDetectorRulesRequest ¶

type ListTargetDetectorRecipeDetectorRulesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipeDetectorRulesRequest wrapper for the ListTargetDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRulesRequest.

func (ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipeDetectorRulesRequest) String ¶

type ListTargetDetectorRecipeDetectorRulesResponse ¶

type ListTargetDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeDetectorRuleCollection instances
	TargetDetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipeDetectorRulesResponse wrapper for the ListTargetDetectorRecipeDetectorRules operation

func (ListTargetDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipeDetectorRulesResponse) String ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum string

ListTargetDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortByDisplayname ListTargetDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListTargetDetectorRecipeDetectorRulesSortByRisklevel   ListTargetDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues() []ListTargetDetectorRecipeDetectorRulesSortByEnum

GetListTargetDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortByEnum

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum string

ListTargetDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortOrderAsc  ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListTargetDetectorRecipeDetectorRulesSortOrderDesc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues() []ListTargetDetectorRecipeDetectorRulesSortOrderEnum

GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

type ListTargetDetectorRecipesLifecycleStateEnum ¶

type ListTargetDetectorRecipesLifecycleStateEnum string

ListTargetDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesLifecycleStateCreating ListTargetDetectorRecipesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipesLifecycleStateUpdating ListTargetDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipesLifecycleStateActive   ListTargetDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipesLifecycleStateInactive ListTargetDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipesLifecycleStateDeleting ListTargetDetectorRecipesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipesLifecycleStateDeleted  ListTargetDetectorRecipesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipesLifecycleStateFailed   ListTargetDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesLifecycleStateEnum

func GetListTargetDetectorRecipesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipesLifecycleStateEnumValues() []ListTargetDetectorRecipesLifecycleStateEnum

GetListTargetDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipesLifecycleStateEnum

type ListTargetDetectorRecipesRequest ¶

type ListTargetDetectorRecipesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetDetectorRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipesRequest wrapper for the ListTargetDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipesRequest.

func (ListTargetDetectorRecipesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipesRequest) RetryPolicy ¶

func (request ListTargetDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipesRequest) String ¶

func (request ListTargetDetectorRecipesRequest) String() string

type ListTargetDetectorRecipesResponse ¶

type ListTargetDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeCollection instances
	TargetDetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipesResponse wrapper for the ListTargetDetectorRecipes operation

func (ListTargetDetectorRecipesResponse) HTTPResponse ¶

func (response ListTargetDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipesResponse) String ¶

func (response ListTargetDetectorRecipesResponse) String() string

type ListTargetDetectorRecipesSortByEnum ¶

type ListTargetDetectorRecipesSortByEnum string

ListTargetDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortByTimecreated ListTargetDetectorRecipesSortByEnum = "timeCreated"
	ListTargetDetectorRecipesSortByDisplayname ListTargetDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortByEnum

func GetListTargetDetectorRecipesSortByEnumValues ¶

func GetListTargetDetectorRecipesSortByEnumValues() []ListTargetDetectorRecipesSortByEnum

GetListTargetDetectorRecipesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortByEnum

type ListTargetDetectorRecipesSortOrderEnum ¶

type ListTargetDetectorRecipesSortOrderEnum string

ListTargetDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortOrderAsc  ListTargetDetectorRecipesSortOrderEnum = "ASC"
	ListTargetDetectorRecipesSortOrderDesc ListTargetDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortOrderEnum

func GetListTargetDetectorRecipesSortOrderEnumValues ¶

func GetListTargetDetectorRecipesSortOrderEnumValues() []ListTargetDetectorRecipesSortOrderEnum

GetListTargetDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortOrderEnum

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum string

ListTargetResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesLifecycleStateCreating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateUpdating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateActive   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateInactive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleting ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleted  ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipeResponderRulesLifecycleStateFailed   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues() []ListTargetResponderRecipeResponderRulesLifecycleStateEnum

GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

type ListTargetResponderRecipeResponderRulesRequest ¶

type ListTargetResponderRecipeResponderRulesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipeResponderRulesRequest wrapper for the ListTargetResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRulesRequest.

func (ListTargetResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipeResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipeResponderRulesRequest) String ¶

type ListTargetResponderRecipeResponderRulesResponse ¶

type ListTargetResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeResponderRuleCollection instances
	TargetResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipeResponderRulesResponse wrapper for the ListTargetResponderRecipeResponderRules operation

func (ListTargetResponderRecipeResponderRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipeResponderRulesResponse) String ¶

type ListTargetResponderRecipeResponderRulesSortByEnum ¶

type ListTargetResponderRecipeResponderRulesSortByEnum string

ListTargetResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortByDisplayname ListTargetResponderRecipeResponderRulesSortByEnum = "displayName"
	ListTargetResponderRecipeResponderRulesSortByRisklevel   ListTargetResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortByEnum

func GetListTargetResponderRecipeResponderRulesSortByEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortByEnumValues() []ListTargetResponderRecipeResponderRulesSortByEnum

GetListTargetResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortByEnum

type ListTargetResponderRecipeResponderRulesSortOrderEnum ¶

type ListTargetResponderRecipeResponderRulesSortOrderEnum string

ListTargetResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortOrderAsc  ListTargetResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListTargetResponderRecipeResponderRulesSortOrderDesc ListTargetResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues() []ListTargetResponderRecipeResponderRulesSortOrderEnum

GetListTargetResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortOrderEnum

type ListTargetResponderRecipesLifecycleStateEnum ¶

type ListTargetResponderRecipesLifecycleStateEnum string

ListTargetResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesLifecycleStateCreating ListTargetResponderRecipesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipesLifecycleStateUpdating ListTargetResponderRecipesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipesLifecycleStateActive   ListTargetResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipesLifecycleStateInactive ListTargetResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipesLifecycleStateDeleting ListTargetResponderRecipesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipesLifecycleStateDeleted  ListTargetResponderRecipesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipesLifecycleStateFailed   ListTargetResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipesLifecycleStateEnum

func GetListTargetResponderRecipesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipesLifecycleStateEnumValues() []ListTargetResponderRecipesLifecycleStateEnum

GetListTargetResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipesLifecycleStateEnum

type ListTargetResponderRecipesRequest ¶

type ListTargetResponderRecipesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetResponderRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipesRequest wrapper for the ListTargetResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipesRequest.

func (ListTargetResponderRecipesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipesRequest) RetryPolicy ¶

func (request ListTargetResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipesRequest) String ¶

func (request ListTargetResponderRecipesRequest) String() string

type ListTargetResponderRecipesResponse ¶

type ListTargetResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeCollection instances
	TargetResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipesResponse wrapper for the ListTargetResponderRecipes operation

func (ListTargetResponderRecipesResponse) HTTPResponse ¶

func (response ListTargetResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipesResponse) String ¶

func (response ListTargetResponderRecipesResponse) String() string

type ListTargetResponderRecipesSortByEnum ¶

type ListTargetResponderRecipesSortByEnum string

ListTargetResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortByTimecreated ListTargetResponderRecipesSortByEnum = "timeCreated"
	ListTargetResponderRecipesSortByDisplayname ListTargetResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortByEnum

func GetListTargetResponderRecipesSortByEnumValues ¶

func GetListTargetResponderRecipesSortByEnumValues() []ListTargetResponderRecipesSortByEnum

GetListTargetResponderRecipesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipesSortByEnum

type ListTargetResponderRecipesSortOrderEnum ¶

type ListTargetResponderRecipesSortOrderEnum string

ListTargetResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortOrderAsc  ListTargetResponderRecipesSortOrderEnum = "ASC"
	ListTargetResponderRecipesSortOrderDesc ListTargetResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortOrderEnum

func GetListTargetResponderRecipesSortOrderEnumValues ¶

func GetListTargetResponderRecipesSortOrderEnumValues() []ListTargetResponderRecipesSortOrderEnum

GetListTargetResponderRecipesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipesSortOrderEnum

type ListTargetsAccessLevelEnum ¶

type ListTargetsAccessLevelEnum string

ListTargetsAccessLevelEnum Enum with underlying type: string

const (
	ListTargetsAccessLevelRestricted ListTargetsAccessLevelEnum = "RESTRICTED"
	ListTargetsAccessLevelAccessible ListTargetsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListTargetsAccessLevelEnum

func GetListTargetsAccessLevelEnumValues ¶

func GetListTargetsAccessLevelEnumValues() []ListTargetsAccessLevelEnum

GetListTargetsAccessLevelEnumValues Enumerates the set of values for ListTargetsAccessLevelEnum

type ListTargetsLifecycleStateEnum ¶

type ListTargetsLifecycleStateEnum string

ListTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetsLifecycleStateCreating ListTargetsLifecycleStateEnum = "CREATING"
	ListTargetsLifecycleStateUpdating ListTargetsLifecycleStateEnum = "UPDATING"
	ListTargetsLifecycleStateActive   ListTargetsLifecycleStateEnum = "ACTIVE"
	ListTargetsLifecycleStateInactive ListTargetsLifecycleStateEnum = "INACTIVE"
	ListTargetsLifecycleStateDeleting ListTargetsLifecycleStateEnum = "DELETING"
	ListTargetsLifecycleStateDeleted  ListTargetsLifecycleStateEnum = "DELETED"
	ListTargetsLifecycleStateFailed   ListTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetsLifecycleStateEnum

func GetListTargetsLifecycleStateEnumValues ¶

func GetListTargetsLifecycleStateEnumValues() []ListTargetsLifecycleStateEnum

GetListTargetsLifecycleStateEnumValues Enumerates the set of values for ListTargetsLifecycleStateEnum

type ListTargetsRequest ¶

type ListTargetsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListTargetsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetsRequest wrapper for the ListTargets operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargets.go.html to see an example of how to use ListTargetsRequest.

func (ListTargetsRequest) HTTPRequest ¶

func (request ListTargetsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetsRequest) RetryPolicy ¶

func (request ListTargetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetsRequest) String ¶

func (request ListTargetsRequest) String() string

type ListTargetsResponse ¶

type ListTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetCollection instances
	TargetCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetsResponse wrapper for the ListTargets operation

func (ListTargetsResponse) HTTPResponse ¶

func (response ListTargetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetsResponse) String ¶

func (response ListTargetsResponse) String() string

type ListTargetsSortByEnum ¶

type ListTargetsSortByEnum string

ListTargetsSortByEnum Enum with underlying type: string

const (
	ListTargetsSortByTimecreated ListTargetsSortByEnum = "timeCreated"
	ListTargetsSortByDisplayname ListTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetsSortByEnum

func GetListTargetsSortByEnumValues ¶

func GetListTargetsSortByEnumValues() []ListTargetsSortByEnum

GetListTargetsSortByEnumValues Enumerates the set of values for ListTargetsSortByEnum

type ListTargetsSortOrderEnum ¶

type ListTargetsSortOrderEnum string

ListTargetsSortOrderEnum Enum with underlying type: string

const (
	ListTargetsSortOrderAsc  ListTargetsSortOrderEnum = "ASC"
	ListTargetsSortOrderDesc ListTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetsSortOrderEnum

func GetListTargetsSortOrderEnumValues ¶

func GetListTargetsSortOrderEnumValues() []ListTargetsSortOrderEnum

GetListTargetsSortOrderEnumValues Enumerates the set of values for ListTargetsSortOrderEnum

type ManagedList ¶

type ManagedList struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// ManagedList display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// type of the list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// ManagedList description
	Description *string `mandatory:"false" json:"description"`

	// OCID of the Source ManagedList
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// List of ManagedListItem
	ListItems []string `mandatory:"false" json:"listItems"`

	// provider of the feed
	FeedProvider FeedProviderTypeEnum `mandatory:"false" json:"feedProvider,omitempty"`

	// If this list is editable or not
	IsEditable *bool `mandatory:"false" json:"isEditable"`

	// The date and time the managed list was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the managed list was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedList A cloud guard list containing one or more items of a list type

func (ManagedList) String ¶

func (m ManagedList) String() string

type ManagedListCollection ¶

type ManagedListCollection struct {

	// List of ManagedListSummary
	Items []ManagedListSummary `mandatory:"true" json:"items"`
}

ManagedListCollection Summary of the ManagedList.

func (ManagedListCollection) String ¶

func (m ManagedListCollection) String() string

type ManagedListSummary ¶

type ManagedListSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// ManagedList display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// type of the list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// provider of the feed
	FeedProvider FeedProviderTypeEnum `mandatory:"true" json:"feedProvider"`

	// List of ManagedListItem
	ListItems []string `mandatory:"true" json:"listItems"`

	// ManagedList description
	Description *string `mandatory:"false" json:"description"`

	// OCID of the Source ManagedList
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// If this list is editable or not
	IsEditable *bool `mandatory:"false" json:"isEditable"`

	// The date and time the managed list was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the managed list was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedListSummary Summary of ManagedList

func (ManagedListSummary) String ¶

func (m ManagedListSummary) String() string

type ManagedListTypeCollection ¶

type ManagedListTypeCollection struct {

	// List of ManagedListTypeSummary
	Items []ManagedListTypeSummary `mandatory:"true" json:"items"`
}

ManagedListTypeCollection Summary of the ManagedListType.

func (ManagedListTypeCollection) String ¶

func (m ManagedListTypeCollection) String() string

type ManagedListTypeEnum ¶

type ManagedListTypeEnum string

ManagedListTypeEnum Enum with underlying type: string

const (
	ManagedListTypeCidrBlock    ManagedListTypeEnum = "CIDR_BLOCK"
	ManagedListTypeUsers        ManagedListTypeEnum = "USERS"
	ManagedListTypeGroups       ManagedListTypeEnum = "GROUPS"
	ManagedListTypeIpv4Address  ManagedListTypeEnum = "IPV4ADDRESS"
	ManagedListTypeIpv6Address  ManagedListTypeEnum = "IPV6ADDRESS"
	ManagedListTypeResourceOcid ManagedListTypeEnum = "RESOURCE_OCID"
	ManagedListTypeRegion       ManagedListTypeEnum = "REGION"
	ManagedListTypeCountry      ManagedListTypeEnum = "COUNTRY"
	ManagedListTypeState        ManagedListTypeEnum = "STATE"
	ManagedListTypeCity         ManagedListTypeEnum = "CITY"
	ManagedListTypeTags         ManagedListTypeEnum = "TAGS"
)

Set of constants representing the allowable values for ManagedListTypeEnum

func GetManagedListTypeEnumValues ¶

func GetManagedListTypeEnumValues() []ManagedListTypeEnum

GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum

type ManagedListTypeSummary ¶

type ManagedListTypeSummary struct {

	// ManagedListType Identifier
	Id *string `mandatory:"true" json:"id"`

	// ManagedListType description
	Description *string `mandatory:"false" json:"description"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManagedListTypeSummary Summary of the ManagedListType.

func (ManagedListTypeSummary) String ¶

func (m ManagedListTypeSummary) String() string

type OperatorSummary ¶

type OperatorSummary struct {

	// name of the operand
	Name *string `mandatory:"true" json:"name"`

	// display name of the operand
	DisplayName *string `mandatory:"true" json:"displayName"`

	// data type of operand
	Datatype *string `mandatory:"true" json:"datatype"`

	// operand list type
	ManagedListtype *string `mandatory:"true" json:"managedListtype"`

	// Filter type can be config filter or condition filter
	FilterType ConditionFilterTypeEnum `mandatory:"true" json:"filterType"`

	// List of parameters
	Operators []ConditionOperator `mandatory:"true" json:"operators"`

	// configuration value type list for multilist data type
	MultiListTypes []string `mandatory:"false" json:"multiListTypes"`
}

OperatorSummary Summary of Operator

func (OperatorSummary) String ¶

func (m OperatorSummary) String() string

type OperatorTypeEnum ¶

type OperatorTypeEnum string

OperatorTypeEnum Enum with underlying type: string

const (
	OperatorTypeIn        OperatorTypeEnum = "IN"
	OperatorTypeNotIn     OperatorTypeEnum = "NOT_IN"
	OperatorTypeEquals    OperatorTypeEnum = "EQUALS"
	OperatorTypeNotEquals OperatorTypeEnum = "NOT_EQUALS"
)

Set of constants representing the allowable values for OperatorTypeEnum

func GetOperatorTypeEnumValues ¶

func GetOperatorTypeEnumValues() []OperatorTypeEnum

GetOperatorTypeEnumValues Enumerates the set of values for OperatorTypeEnum

type OwnerTypeEnum ¶

type OwnerTypeEnum string

OwnerTypeEnum Enum with underlying type: string

const (
	OwnerTypeCustomer OwnerTypeEnum = "CUSTOMER"
	OwnerTypeOracle   OwnerTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for OwnerTypeEnum

func GetOwnerTypeEnumValues ¶

func GetOwnerTypeEnumValues() []OwnerTypeEnum

GetOwnerTypeEnumValues Enumerates the set of values for OwnerTypeEnum

type PoliticalLocation ¶

type PoliticalLocation struct {

	// City
	City *string `mandatory:"true" json:"city"`

	// State
	State *string `mandatory:"true" json:"state"`

	// Country
	Country *string `mandatory:"true" json:"country"`
}

PoliticalLocation Political location of a problem

func (PoliticalLocation) String ¶

func (m PoliticalLocation) String() string

type Problem ¶

type Problem struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Identifier of the rule
	DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"`

	// DEPRECATED
	Region *string `mandatory:"false" json:"region"`

	// Regions where the problem is found
	Regions []string `mandatory:"false" json:"regions"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Identifier of the Resource
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// DisplayName of the Resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Type of the Resource
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// user defined labels on the problem
	Labels []string `mandatory:"false" json:"labels"`

	// The date and time the problem was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// The date and time the problem was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// The current state of the Problem.
	LifecycleState ProblemLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The lifecycleDetail will give more detail on the substate of the lifecycleState.
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"false" json:"lifecycleDetail,omitempty"`

	// Id of the detector associated with the Problem.
	DetectorId DetectorEnumEnum `mandatory:"false" json:"detectorId,omitempty"`

	// targetId of the problem
	TargetId *string `mandatory:"false" json:"targetId"`

	// User Comments
	Comment *string `mandatory:"false" json:"comment"`
}

Problem Problem Definition.

func (Problem) String ¶

func (m Problem) String() string

type ProblemAggregation ¶

type ProblemAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurences with given dimension/s
	Count *int `mandatory:"true" json:"count"`
}

ProblemAggregation Provides the dimensions and their corresponding count value.

func (ProblemAggregation) String ¶

func (m ProblemAggregation) String() string

type ProblemAggregationCollection ¶

type ProblemAggregationCollection struct {

	// The items consist of all the ProblemAggregation objects.
	Items []ProblemAggregation `mandatory:"true" json:"items"`
}

ProblemAggregationCollection Problem Analytics data.

func (ProblemAggregationCollection) String ¶

type ProblemCollection ¶

type ProblemCollection struct {

	// List of ProblemSummary
	Items []ProblemSummary `mandatory:"true" json:"items"`
}

ProblemCollection Collection of Problem

func (ProblemCollection) String ¶

func (m ProblemCollection) String() string

type ProblemDimensionEnum ¶

type ProblemDimensionEnum string

ProblemDimensionEnum Enum with underlying type: string

const (
	ProblemDimensionResourceType  ProblemDimensionEnum = "RESOURCE_TYPE"
	ProblemDimensionRegion        ProblemDimensionEnum = "REGION"
	ProblemDimensionCompartmentId ProblemDimensionEnum = "COMPARTMENT_ID"
	ProblemDimensionRiskLevel     ProblemDimensionEnum = "RISK_LEVEL"
)

Set of constants representing the allowable values for ProblemDimensionEnum

func GetProblemDimensionEnumValues ¶

func GetProblemDimensionEnumValues() []ProblemDimensionEnum

GetProblemDimensionEnumValues Enumerates the set of values for ProblemDimensionEnum

type ProblemHistoryCollection ¶

type ProblemHistoryCollection struct {

	// List of ProblemHistorySummary
	Items []ProblemHistorySummary `mandatory:"true" json:"items"`
}

ProblemHistoryCollection Collection of Problem History

func (ProblemHistoryCollection) String ¶

func (m ProblemHistoryCollection) String() string

type ProblemHistorySummary ¶

type ProblemHistorySummary struct {

	// Unique identifier for the history record
	Id *string `mandatory:"true" json:"id"`

	// problemId for which history is associated to.
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Actor type who performed the operation
	ActorType ActorTypeEnum `mandatory:"true" json:"actorType"`

	// Resource Name who performed activity
	ActorName *string `mandatory:"true" json:"actorName"`

	// Activity explanation details
	Explanation *string `mandatory:"true" json:"explanation"`

	// Problem Lifecycle Detail Status
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// Type of the Entity
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Impacted Resource Names in a comma-separated string.
	Delta *string `mandatory:"true" json:"delta"`

	// Event status
	EventStatus EventStatusEnum `mandatory:"false" json:"eventStatus,omitempty"`

	// User Defined Comments
	Comment *string `mandatory:"false" json:"comment"`
}

ProblemHistorySummary Problem History Definition.

func (ProblemHistorySummary) String ¶

func (m ProblemHistorySummary) String() string

type ProblemLifecycleDetailEnum ¶

type ProblemLifecycleDetailEnum string

ProblemLifecycleDetailEnum Enum with underlying type: string

const (
	ProblemLifecycleDetailOpen      ProblemLifecycleDetailEnum = "OPEN"
	ProblemLifecycleDetailResolved  ProblemLifecycleDetailEnum = "RESOLVED"
	ProblemLifecycleDetailDismissed ProblemLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for ProblemLifecycleDetailEnum

func GetProblemLifecycleDetailEnumValues ¶

func GetProblemLifecycleDetailEnumValues() []ProblemLifecycleDetailEnum

GetProblemLifecycleDetailEnumValues Enumerates the set of values for ProblemLifecycleDetailEnum

type ProblemLifecycleStateEnum ¶

type ProblemLifecycleStateEnum string

ProblemLifecycleStateEnum Enum with underlying type: string

const (
	ProblemLifecycleStateActive   ProblemLifecycleStateEnum = "ACTIVE"
	ProblemLifecycleStateInactive ProblemLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ProblemLifecycleStateEnum

func GetProblemLifecycleStateEnumValues ¶

func GetProblemLifecycleStateEnumValues() []ProblemLifecycleStateEnum

GetProblemLifecycleStateEnumValues Enumerates the set of values for ProblemLifecycleStateEnum

type ProblemSummary ¶

type ProblemSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Identifier of the rule
	DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Identifier of the Resource
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// DisplayName of the Resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Type of the Resource
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// user defined labels on the problem
	Labels []string `mandatory:"false" json:"labels"`

	// The date and time the problem was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// The date and time the problem was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// The current state of the Problem.
	LifecycleState ProblemLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The lifecycleDetail will give more detail on the substate of the lifecycleState.
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"false" json:"lifecycleDetail,omitempty"`

	// Id of detector associated with the Problem.
	DetectorId DetectorEnumEnum `mandatory:"false" json:"detectorId,omitempty"`

	// DEPRECATED
	Region *string `mandatory:"false" json:"region"`

	// Regions where the problem is found
	Regions []string `mandatory:"false" json:"regions"`

	// targetId associated with the problem.
	TargetId *string `mandatory:"false" json:"targetId"`
}

ProblemSummary Summary of the Problem.

func (ProblemSummary) String ¶

func (m ProblemSummary) String() string

type ProblemTrendAggregation ¶

type ProblemTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of occurences with for the corresponding time range and dimensions.
	Count *int `mandatory:"true" json:"count"`
}

ProblemTrendAggregation Provides the dimensions and their corresponding time and count.

func (ProblemTrendAggregation) String ¶

func (m ProblemTrendAggregation) String() string

type ProblemTrendAggregationCollection ¶

type ProblemTrendAggregationCollection struct {

	// The items consist of all the ProblemTrendAggregation objects.
	Items []ProblemTrendAggregation `mandatory:"true" json:"items"`
}

ProblemTrendAggregationCollection Problem Trend Aggregation Collection.

func (ProblemTrendAggregationCollection) String ¶

type RecommendationLifecycleDetailEnum ¶

type RecommendationLifecycleDetailEnum string

RecommendationLifecycleDetailEnum Enum with underlying type: string

const (
	RecommendationLifecycleDetailOpen      RecommendationLifecycleDetailEnum = "OPEN"
	RecommendationLifecycleDetailResolved  RecommendationLifecycleDetailEnum = "RESOLVED"
	RecommendationLifecycleDetailDismissed RecommendationLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for RecommendationLifecycleDetailEnum

func GetRecommendationLifecycleDetailEnumValues ¶

func GetRecommendationLifecycleDetailEnumValues() []RecommendationLifecycleDetailEnum

GetRecommendationLifecycleDetailEnumValues Enumerates the set of values for RecommendationLifecycleDetailEnum

type RecommendationSummary ¶

type RecommendationSummary struct {

	// Unique identifier for Recommendation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// targetId associated with the problem
	TargetId *string `mandatory:"true" json:"targetId"`

	// Recommendation details
	Details map[string]string `mandatory:"true" json:"details"`

	// Count number of the problem
	ProblemCount *int64 `mandatory:"true" json:"problemCount"`

	// The current state of the Recommendation.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The lifecycleDetail will give more detail on the substate of the lifecycleState.
	LifecycleDetail RecommendationLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// recommendation string showing on UX
	Name *string `mandatory:"true" json:"name"`

	// description of the recommendation
	Description *string `mandatory:"true" json:"description"`

	// Recommendation type
	Type RecommendationTypeEnum `mandatory:"false" json:"type,omitempty"`

	// Tenant Identifier
	TenantId *string `mandatory:"false" json:"tenantId"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// problem creating time
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// problem updating time
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

RecommendationSummary Recommendation Definition.

func (RecommendationSummary) String ¶

func (m RecommendationSummary) String() string

type RecommendationSummaryCollection ¶

type RecommendationSummaryCollection struct {

	// List of Recommendation
	Items []RecommendationSummary `mandatory:"true" json:"items"`
}

RecommendationSummaryCollection Collection of the RecommendationSummary

func (RecommendationSummaryCollection) String ¶

type RecommendationTypeEnum ¶

type RecommendationTypeEnum string

RecommendationTypeEnum Enum with underlying type: string

const (
	RecommendationTypeDetectorProblems RecommendationTypeEnum = "DETECTOR_PROBLEMS"
	RecommendationTypeResolvedProblems RecommendationTypeEnum = "RESOLVED_PROBLEMS"
)

Set of constants representing the allowable values for RecommendationTypeEnum

func GetRecommendationTypeEnumValues ¶

func GetRecommendationTypeEnumValues() []RecommendationTypeEnum

GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum

type RequestRiskScoresRequest ¶

type RequestRiskScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestRiskScoresRequest wrapper for the RequestRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScoresRequest.

func (RequestRiskScoresRequest) HTTPRequest ¶

func (request RequestRiskScoresRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestRiskScoresRequest) RetryPolicy ¶

func (request RequestRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestRiskScoresRequest) String ¶

func (request RequestRiskScoresRequest) String() string

type RequestRiskScoresResponse ¶

type RequestRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestRiskScoresResponse wrapper for the RequestRiskScores operation

func (RequestRiskScoresResponse) HTTPResponse ¶

func (response RequestRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestRiskScoresResponse) String ¶

func (response RequestRiskScoresResponse) String() string

type RequestSecurityScoreSummarizedTrendRequest ¶

type RequestSecurityScoreSummarizedTrendRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoreSummarizedTrendRequest wrapper for the RequestSecurityScoreSummarizedTrend operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrendRequest.

func (RequestSecurityScoreSummarizedTrendRequest) HTTPRequest ¶

func (request RequestSecurityScoreSummarizedTrendRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoreSummarizedTrendRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoreSummarizedTrendRequest) String ¶

type RequestSecurityScoreSummarizedTrendResponse ¶

type RequestSecurityScoreSummarizedTrendResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoreSummarizedTrendResponse wrapper for the RequestSecurityScoreSummarizedTrend operation

func (RequestSecurityScoreSummarizedTrendResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoreSummarizedTrendResponse) String ¶

type RequestSecurityScoresRequest ¶

type RequestSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoresRequest wrapper for the RequestSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScoresRequest.

func (RequestSecurityScoresRequest) HTTPRequest ¶

func (request RequestSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoresRequest) RetryPolicy ¶

func (request RequestSecurityScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoresRequest) String ¶

func (request RequestSecurityScoresRequest) String() string

type RequestSecurityScoresResponse ¶

type RequestSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoresResponse wrapper for the RequestSecurityScores operation

func (RequestSecurityScoresResponse) HTTPResponse ¶

func (response RequestSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoresResponse) String ¶

func (response RequestSecurityScoresResponse) String() string

type RequestSummarizedActivityProblemsAccessLevelEnum ¶

type RequestSummarizedActivityProblemsAccessLevelEnum string

RequestSummarizedActivityProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedActivityProblemsAccessLevelRestricted RequestSummarizedActivityProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedActivityProblemsAccessLevelAccessible RequestSummarizedActivityProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedActivityProblemsAccessLevelEnum

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues() []RequestSummarizedActivityProblemsAccessLevelEnum

GetRequestSummarizedActivityProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedActivityProblemsAccessLevelEnum

type RequestSummarizedActivityProblemsRequest ¶

type RequestSummarizedActivityProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedActivityProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Default is false.
	// When set to true, the summary of activity problems that has unknown values for
	// city, state or country will be included.
	IncludeUnknownLocations *bool `mandatory:"false" contributesTo:"query" name:"includeUnknownLocations"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedActivityProblemsRequest wrapper for the RequestSummarizedActivityProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblemsRequest.

func (RequestSummarizedActivityProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedActivityProblemsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedActivityProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedActivityProblemsRequest) String ¶

type RequestSummarizedActivityProblemsResponse ¶

type RequestSummarizedActivityProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ActivityProblemAggregationCollection instances
	ActivityProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedActivityProblemsResponse wrapper for the RequestSummarizedActivityProblems operation

func (RequestSummarizedActivityProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedActivityProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedActivityProblemsResponse) String ¶

type RequestSummarizedProblemsAccessLevelEnum ¶

type RequestSummarizedProblemsAccessLevelEnum string

RequestSummarizedProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedProblemsAccessLevelRestricted RequestSummarizedProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedProblemsAccessLevelAccessible RequestSummarizedProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedProblemsAccessLevelEnum

func GetRequestSummarizedProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedProblemsAccessLevelEnumValues() []RequestSummarizedProblemsAccessLevelEnum

GetRequestSummarizedProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedProblemsAccessLevelEnum

type RequestSummarizedProblemsListDimensionsEnum ¶

type RequestSummarizedProblemsListDimensionsEnum string

RequestSummarizedProblemsListDimensionsEnum Enum with underlying type: string

const (
	RequestSummarizedProblemsListDimensionsResourceType  RequestSummarizedProblemsListDimensionsEnum = "RESOURCE_TYPE"
	RequestSummarizedProblemsListDimensionsRegion        RequestSummarizedProblemsListDimensionsEnum = "REGION"
	RequestSummarizedProblemsListDimensionsCompartmentId RequestSummarizedProblemsListDimensionsEnum = "COMPARTMENT_ID"
	RequestSummarizedProblemsListDimensionsRiskLevel     RequestSummarizedProblemsListDimensionsEnum = "RISK_LEVEL"
)

Set of constants representing the allowable values for RequestSummarizedProblemsListDimensionsEnum

func GetRequestSummarizedProblemsListDimensionsEnumValues ¶

func GetRequestSummarizedProblemsListDimensionsEnumValues() []RequestSummarizedProblemsListDimensionsEnum

GetRequestSummarizedProblemsListDimensionsEnumValues Enumerates the set of values for RequestSummarizedProblemsListDimensionsEnum

type RequestSummarizedProblemsRequest ¶

type RequestSummarizedProblemsRequest struct {

	// The possible attributes based on which the problems can be distinguished.
	ListDimensions []RequestSummarizedProblemsListDimensionsEnum `contributesTo:"query" name:"listDimensions" omitEmpty:"true" collectionFormat:"multi"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedProblemsRequest wrapper for the RequestSummarizedProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblemsRequest.

func (RequestSummarizedProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedProblemsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedProblemsRequest) RetryPolicy ¶

func (request RequestSummarizedProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedProblemsRequest) String ¶

func (request RequestSummarizedProblemsRequest) String() string

type RequestSummarizedProblemsResponse ¶

type RequestSummarizedProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemAggregationCollection instances
	ProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedProblemsResponse wrapper for the RequestSummarizedProblems operation

func (RequestSummarizedProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedProblemsResponse) String ¶

func (response RequestSummarizedProblemsResponse) String() string

type RequestSummarizedResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedResponderExecutionsAccessLevelEnum string

RequestSummarizedResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsAccessLevelRestricted RequestSummarizedResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedResponderExecutionsAccessLevelAccessible RequestSummarizedResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsAccessLevelEnum

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues() []RequestSummarizedResponderExecutionsAccessLevelEnum

GetRequestSummarizedResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsAccessLevelEnum

type RequestSummarizedResponderExecutionsRequest ¶

type RequestSummarizedResponderExecutionsRequest struct {

	// The possible attributes based on which the responder executions can be distinguished
	ResponderExecutionsDimensions []RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum `contributesTo:"query" name:"responderExecutionsDimensions" omitEmpty:"true" collectionFormat:"multi"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The possible filters for Responder Type Dimension to distinguish Responder Executions.
	// If no values are passed, the metric for responder executions of all reponder types are returned
	ResponderTypeFilter []RequestSummarizedResponderExecutionsResponderTypeFilterEnum `contributesTo:"query" name:"responderTypeFilter" omitEmpty:"true" collectionFormat:"multi"`

	// The possible filters for Responder Type Dimension to distinguish Responder Executions.
	// If no values are passed, the metric for responder executions of all status are returned
	ResponderExecutionStatusFilter []RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum `contributesTo:"query" name:"responderExecutionStatusFilter" omitEmpty:"true" collectionFormat:"multi"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedResponderExecutionsRequest wrapper for the RequestSummarizedResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutionsRequest.

func (RequestSummarizedResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedResponderExecutionsRequest) String ¶

type RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum ¶

type RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum string

RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsResponderExecutionStatusFilterStarted              RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "STARTED"
	RequestSummarizedResponderExecutionsResponderExecutionStatusFilterAwaitingConfirmation RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "AWAITING_CONFIRMATION"
	RequestSummarizedResponderExecutionsResponderExecutionStatusFilterSucceeded            RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "SUCCEEDED"
	RequestSummarizedResponderExecutionsResponderExecutionStatusFilterFailed               RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "FAILED"
	RequestSummarizedResponderExecutionsResponderExecutionStatusFilterSkipped              RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "SKIPPED"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum

func GetRequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnumValues ¶

func GetRequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnumValues() []RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum

GetRequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum

type RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum ¶

type RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum string

RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsResponderExecutionsDimensionsRuleType        RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum = "RESPONDER_RULE_TYPE"
	RequestSummarizedResponderExecutionsResponderExecutionsDimensionsExecutionStatus RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum = "RESPONDER_EXECUTION_STATUS"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum

func GetRequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnumValues ¶

func GetRequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnumValues() []RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum

GetRequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum

type RequestSummarizedResponderExecutionsResponderTypeFilterEnum ¶

type RequestSummarizedResponderExecutionsResponderTypeFilterEnum string

RequestSummarizedResponderExecutionsResponderTypeFilterEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsResponderTypeFilterRemediation  RequestSummarizedResponderExecutionsResponderTypeFilterEnum = "REMEDIATION"
	RequestSummarizedResponderExecutionsResponderTypeFilterNotification RequestSummarizedResponderExecutionsResponderTypeFilterEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderTypeFilterEnum

func GetRequestSummarizedResponderExecutionsResponderTypeFilterEnumValues ¶

func GetRequestSummarizedResponderExecutionsResponderTypeFilterEnumValues() []RequestSummarizedResponderExecutionsResponderTypeFilterEnum

GetRequestSummarizedResponderExecutionsResponderTypeFilterEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderTypeFilterEnum

type RequestSummarizedResponderExecutionsResponse ¶

type RequestSummarizedResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionAggregationCollection instances
	ResponderExecutionAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedResponderExecutionsResponse wrapper for the RequestSummarizedResponderExecutions operation

func (RequestSummarizedResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedResponderExecutionsResponse) String ¶

type RequestSummarizedRiskScoresRequest ¶

type RequestSummarizedRiskScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedRiskScoresRequest wrapper for the RequestSummarizedRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScoresRequest.

func (RequestSummarizedRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedRiskScoresRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedRiskScoresRequest) RetryPolicy ¶

func (request RequestSummarizedRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedRiskScoresRequest) String ¶

func (request RequestSummarizedRiskScoresRequest) String() string

type RequestSummarizedRiskScoresResponse ¶

type RequestSummarizedRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedRiskScoresResponse wrapper for the RequestSummarizedRiskScores operation

func (RequestSummarizedRiskScoresResponse) HTTPResponse ¶

func (response RequestSummarizedRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedRiskScoresResponse) String ¶

func (response RequestSummarizedRiskScoresResponse) String() string

type RequestSummarizedSecurityScoresRequest ¶

type RequestSummarizedSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedSecurityScoresRequest wrapper for the RequestSummarizedSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScoresRequest.

func (RequestSummarizedSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedSecurityScoresRequest) String ¶

type RequestSummarizedSecurityScoresResponse ¶

type RequestSummarizedSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedSecurityScoresResponse wrapper for the RequestSummarizedSecurityScores operation

func (RequestSummarizedSecurityScoresResponse) HTTPResponse ¶

func (response RequestSummarizedSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedSecurityScoresResponse) String ¶

type RequestSummarizedTrendProblemsAccessLevelEnum ¶

type RequestSummarizedTrendProblemsAccessLevelEnum string

RequestSummarizedTrendProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendProblemsAccessLevelRestricted RequestSummarizedTrendProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendProblemsAccessLevelAccessible RequestSummarizedTrendProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendProblemsAccessLevelEnum

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues() []RequestSummarizedTrendProblemsAccessLevelEnum

GetRequestSummarizedTrendProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendProblemsAccessLevelEnum

type RequestSummarizedTrendProblemsRequest ¶

type RequestSummarizedTrendProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeFirstDetectedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFirstDetectedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeFirstDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFirstDetectedLessThanOrEqualTo"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendProblemsRequest wrapper for the RequestSummarizedTrendProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblemsRequest.

func (RequestSummarizedTrendProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendProblemsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendProblemsRequest) String ¶

type RequestSummarizedTrendProblemsResponse ¶

type RequestSummarizedTrendProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemTrendAggregationCollection instances
	ProblemTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendProblemsResponse wrapper for the RequestSummarizedTrendProblems operation

func (RequestSummarizedTrendProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedTrendProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendProblemsResponse) String ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum string

RequestSummarizedTrendResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendResponderExecutionsAccessLevelRestricted RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendResponderExecutionsAccessLevelAccessible RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues() []RequestSummarizedTrendResponderExecutionsAccessLevelEnum

GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

type RequestSummarizedTrendResponderExecutionsRequest ¶

type RequestSummarizedTrendResponderExecutionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Completion End Time
	TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"`

	// Completion Start Time
	TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendResponderExecutionsRequest wrapper for the RequestSummarizedTrendResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutionsRequest.

func (RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendResponderExecutionsRequest) String ¶

type RequestSummarizedTrendResponderExecutionsResponse ¶

type RequestSummarizedTrendResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionTrendAggregationCollection instances
	ResponderExecutionTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendResponderExecutionsResponse wrapper for the RequestSummarizedTrendResponderExecutions operation

func (RequestSummarizedTrendResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendResponderExecutionsResponse) String ¶

type RequestSummarizedTrendSecurityScoresRequest ¶

type RequestSummarizedTrendSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendSecurityScoresRequest wrapper for the RequestSummarizedTrendSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScoresRequest.

func (RequestSummarizedTrendSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTrendSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendSecurityScoresRequest) String ¶

type RequestSummarizedTrendSecurityScoresResponse ¶

type RequestSummarizedTrendSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendSecurityScoresResponse wrapper for the RequestSummarizedTrendSecurityScores operation

func (RequestSummarizedTrendSecurityScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendSecurityScoresResponse) String ¶

type ResourceTypeCollection ¶

type ResourceTypeCollection struct {

	// collection of resource types
	Items []ResourceTypeSummary `mandatory:"true" json:"items"`
}

ResourceTypeCollection resource type provided by cloud guard

func (ResourceTypeCollection) String ¶

func (m ResourceTypeCollection) String() string

type ResourceTypeSummary ¶

type ResourceTypeSummary struct {

	// name of the resource
	Name *string `mandatory:"true" json:"name"`

	// display name of the resource
	DisplayName *string `mandatory:"true" json:"displayName"`

	// List of rules
	Rules []RuleSummary `mandatory:"false" json:"rules"`
}

ResourceTypeSummary Summary of ResourceType

func (ResourceTypeSummary) String ¶

func (m ResourceTypeSummary) String() string

type ResponderActivityCollection ¶

type ResponderActivityCollection struct {

	// List of ResponderActivitySummary
	Items []ResponderActivitySummary `mandatory:"true" json:"items"`
}

ResponderActivityCollection Provides the summary of responder activities and their corresponding count value.

func (ResponderActivityCollection) String ¶

type ResponderActivitySummary ¶

type ResponderActivitySummary struct {

	// Unique id for Responder activity.
	Id *string `mandatory:"true" json:"id"`

	// problemId for which Responder activity is associated to.
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Id of the responder rule for the problem
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// responder rule type for performing the operation
	ResponderType ResponderTypeEnum `mandatory:"true" json:"responderType"`

	// responder rule name
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Responder activity types
	ResponderActivityType ResponderActivityTypeEnum `mandatory:"true" json:"responderActivityType"`

	// the responder execution status
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// responder activity starting time
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// additional message related to this operation
	Message *string `mandatory:"true" json:"message"`
}

ResponderActivitySummary Responder Activity summary Definition.

func (ResponderActivitySummary) String ¶

func (m ResponderActivitySummary) String() string

type ResponderActivityTypeEnum ¶

type ResponderActivityTypeEnum string

ResponderActivityTypeEnum Enum with underlying type: string

const (
	ResponderActivityTypeStarted   ResponderActivityTypeEnum = "STARTED"
	ResponderActivityTypeCompleted ResponderActivityTypeEnum = "COMPLETED"
)

Set of constants representing the allowable values for ResponderActivityTypeEnum

func GetResponderActivityTypeEnumValues ¶

func GetResponderActivityTypeEnumValues() []ResponderActivityTypeEnum

GetResponderActivityTypeEnumValues Enumerates the set of values for ResponderActivityTypeEnum

type ResponderConfiguration ¶

type ResponderConfiguration struct {

	// Unique name of the configuration
	ConfigKey *string `mandatory:"true" json:"configKey"`

	// configuration name
	Name *string `mandatory:"true" json:"name"`

	// configuration value
	Value *string `mandatory:"true" json:"value"`
}

ResponderConfiguration A single configuration applied to a responder

func (ResponderConfiguration) String ¶

func (m ResponderConfiguration) String() string

type ResponderDimensionEnum ¶

type ResponderDimensionEnum string

ResponderDimensionEnum Enum with underlying type: string

const (
	ResponderDimensionResponderRuleType        ResponderDimensionEnum = "RESPONDER_RULE_TYPE"
	ResponderDimensionResponderExecutionStatus ResponderDimensionEnum = "RESPONDER_EXECUTION_STATUS"
)

Set of constants representing the allowable values for ResponderDimensionEnum

func GetResponderDimensionEnumValues ¶

func GetResponderDimensionEnumValues() []ResponderDimensionEnum

GetResponderDimensionEnumValues Enumerates the set of values for ResponderDimensionEnum

type ResponderExecution ¶

type ResponderExecution struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder Rule id for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Rule Type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Rule name for the responder execution
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Problem id associated with the responder execution
	ProblemId *string `mandatory:"true" json:"problemId"`

	// region where the problem is found
	Region *string `mandatory:"true" json:"region"`

	// targetId of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// compartment id of the responder execution for the problem
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// resource type of the problem for the responder execution
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// resource name of the problem for the responder execution. TODO-DOC link to resource definition doc
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The date and time the responder execution was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// current execution status of the responder
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// execution mode of the responder
	ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"`

	// The date and time the responder execution was updated. Format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// Message about the responder execution.
	Message *string `mandatory:"false" json:"message"`

	ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"`
}

ResponderExecution Responder Execution Object.

func (ResponderExecution) String ¶

func (m ResponderExecution) String() string

type ResponderExecutionAggregation ¶

type ResponderExecutionAggregation struct {

	// The key-value pairs of dimensions and their names. The key corresponds to the Analytic Dimension(s) chosen, and the value corresponds to the value of the dimension from the data. E.g. if the Analytic Dimension chosen is "RISK_LEVEL", then the value will be like "CRITICAL". If the Analytic Dimensions chosen are "RISK_LEVEL" and "RESOURCE_TYPE", then the map will have two key-value pairs of form {"RISK_LEVEL" : "CRITICAL, "RESOURCE_TYPE" : "LOAD_BALANCER"}
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurences with given dimension(s)
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionAggregation Provides the dimensions and their corresponding count value.

func (ResponderExecutionAggregation) String ¶

type ResponderExecutionAggregationCollection ¶

type ResponderExecutionAggregationCollection struct {

	// The items consist of all the ResponderExecutionAggregation objects.
	Items []ResponderExecutionAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionAggregationCollection Collection of ResponderExecutionAggregation objects

func (ResponderExecutionAggregationCollection) String ¶

type ResponderExecutionCollection ¶

type ResponderExecutionCollection struct {

	// List of ResponderExecutionSummary
	Items []ResponderExecutionSummary `mandatory:"true" json:"items"`
}

ResponderExecutionCollection Provides the summary of responder executions and their corresponding count value.

func (ResponderExecutionCollection) String ¶

type ResponderExecutionModesEnum ¶

type ResponderExecutionModesEnum string

ResponderExecutionModesEnum Enum with underlying type: string

const (
	ResponderExecutionModesManual    ResponderExecutionModesEnum = "MANUAL"
	ResponderExecutionModesAutomated ResponderExecutionModesEnum = "AUTOMATED"
	ResponderExecutionModesAll       ResponderExecutionModesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionModesEnum

func GetResponderExecutionModesEnumValues ¶

func GetResponderExecutionModesEnumValues() []ResponderExecutionModesEnum

GetResponderExecutionModesEnumValues Enumerates the set of values for ResponderExecutionModesEnum

type ResponderExecutionStatesEnum ¶

type ResponderExecutionStatesEnum string

ResponderExecutionStatesEnum Enum with underlying type: string

const (
	ResponderExecutionStatesStarted              ResponderExecutionStatesEnum = "STARTED"
	ResponderExecutionStatesAwaitingConfirmation ResponderExecutionStatesEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatesAwaitingInput        ResponderExecutionStatesEnum = "AWAITING_INPUT"
	ResponderExecutionStatesSucceeded            ResponderExecutionStatesEnum = "SUCCEEDED"
	ResponderExecutionStatesFailed               ResponderExecutionStatesEnum = "FAILED"
	ResponderExecutionStatesSkipped              ResponderExecutionStatesEnum = "SKIPPED"
	ResponderExecutionStatesAll                  ResponderExecutionStatesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionStatesEnum

func GetResponderExecutionStatesEnumValues ¶

func GetResponderExecutionStatesEnumValues() []ResponderExecutionStatesEnum

GetResponderExecutionStatesEnumValues Enumerates the set of values for ResponderExecutionStatesEnum

type ResponderExecutionStatusEnum ¶

type ResponderExecutionStatusEnum string

ResponderExecutionStatusEnum Enum with underlying type: string

const (
	ResponderExecutionStatusStarted              ResponderExecutionStatusEnum = "STARTED"
	ResponderExecutionStatusAwaitingConfirmation ResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatusSucceeded            ResponderExecutionStatusEnum = "SUCCEEDED"
	ResponderExecutionStatusFailed               ResponderExecutionStatusEnum = "FAILED"
	ResponderExecutionStatusSkipped              ResponderExecutionStatusEnum = "SKIPPED"
)

Set of constants representing the allowable values for ResponderExecutionStatusEnum

func GetResponderExecutionStatusEnumValues ¶

func GetResponderExecutionStatusEnumValues() []ResponderExecutionStatusEnum

GetResponderExecutionStatusEnumValues Enumerates the set of values for ResponderExecutionStatusEnum

type ResponderExecutionSummary ¶

type ResponderExecutionSummary struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder Rule id for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Rule Type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Rule name for the responder execution
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Problem id associated with the responder execution
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Problem name associated with the responder execution
	ProblemName *string `mandatory:"true" json:"problemName"`

	// Region where the problem is found
	Region *string `mandatory:"true" json:"region"`

	// Target Id of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// compartment id of the problem for the responder execution
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// resource type of the problem for the responder execution
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// resource name of the problem for the responder execution. TODO-DOC link to resource definition doc
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The date and time the responder execution was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// current execution status of the responder
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// possible type of responder execution modes
	ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"`

	// The date and time the responder execution was updated. Format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// Message about the responder execution.
	Message *string `mandatory:"false" json:"message"`

	ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"`
}

ResponderExecutionSummary Summary of the Responder Execution.

func (ResponderExecutionSummary) String ¶

func (m ResponderExecutionSummary) String() string

type ResponderExecutionTrendAggregation ¶

type ResponderExecutionTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of remediations for a given time.
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionTrendAggregation Provides the timestamps and their corresponding number of remediations.

func (ResponderExecutionTrendAggregation) String ¶

type ResponderExecutionTrendAggregationCollection ¶

type ResponderExecutionTrendAggregationCollection struct {

	// The items consist of all the ResponderExecutionTrendAggregation objects.
	Items []ResponderExecutionTrendAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionTrendAggregationCollection Responder Execution Trend Collection

func (ResponderExecutionTrendAggregationCollection) String ¶

type ResponderModeTypesEnum ¶

type ResponderModeTypesEnum string

ResponderModeTypesEnum Enum with underlying type: string

const (
	ResponderModeTypesAutoaction ResponderModeTypesEnum = "AUTOACTION"
	ResponderModeTypesUseraction ResponderModeTypesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderModeTypesEnum

func GetResponderModeTypesEnumValues ¶

func GetResponderModeTypesEnumValues() []ResponderModeTypesEnum

GetResponderModeTypesEnumValues Enumerates the set of values for ResponderModeTypesEnum

type ResponderRecipe ¶

type ResponderRecipe struct {

	// Identifier for ResponderRecipe.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"false" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// List of responder rules associated with the recipe
	EffectiveResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`

	// The id of the source responder recipe.
	SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"`

	// The date and time the responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipe Details of ResponderRecipe.

func (ResponderRecipe) String ¶

func (m ResponderRecipe) String() string

type ResponderRecipeCollection ¶

type ResponderRecipeCollection struct {

	// List of ResponderRecipeSummary
	Items []ResponderRecipeSummary `mandatory:"true" json:"items"`
}

ResponderRecipeCollection Summary of the ResponderRecipe.

func (ResponderRecipeCollection) String ¶

func (m ResponderRecipeCollection) String() string

type ResponderRecipeResponderRule ¶

type ResponderRecipeResponderRule struct {

	// Identifier for ResponderRule.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRecipeResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRecipeResponderRule Details of ResponderRule.

func (ResponderRecipeResponderRule) String ¶

type ResponderRecipeResponderRuleCollection ¶

type ResponderRecipeResponderRuleCollection struct {

	// List of ResponderRecipeResponderRuleSummary
	Items []ResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

ResponderRecipeResponderRuleCollection Summary of the ResponderRule within ResponderRecipe.

func (ResponderRecipeResponderRuleCollection) String ¶

type ResponderRecipeResponderRuleSummary ¶

type ResponderRecipeResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRecipeResponderRuleSummary Details of ResponderRule.

func (ResponderRecipeResponderRuleSummary) String ¶

type ResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type ResponderRecipeResponderRuleSummarySupportedModesEnum string

ResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSummarySupportedModesAutoaction ResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSummarySupportedModesUseraction ResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSummarySupportedModesEnum

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []ResponderRecipeResponderRuleSummarySupportedModesEnum

GetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSummarySupportedModesEnum

type ResponderRecipeResponderRuleSupportedModesEnum ¶

type ResponderRecipeResponderRuleSupportedModesEnum string

ResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSupportedModesAutoaction ResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSupportedModesUseraction ResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSupportedModesEnum

func GetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSupportedModesEnumValues() []ResponderRecipeResponderRuleSupportedModesEnum

GetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSupportedModesEnum

type ResponderRecipeSummary ¶

type ResponderRecipeSummary struct {

	// Identifier for ResponderRecipe.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"false" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// The id of the source responder recipe.
	SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"`

	// The date and time the responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipeSummary Summary of the ResponderRecipe.

func (ResponderRecipeSummary) String ¶

func (m ResponderRecipeSummary) String() string

type ResponderRule ¶

type ResponderRule struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"true" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRule Definition of ResponderRule.

func (ResponderRule) String ¶

func (m ResponderRule) String() string

type ResponderRuleCollection ¶

type ResponderRuleCollection struct {

	// List of ResponderRuleSummary
	Items []ResponderRuleSummary `mandatory:"true" json:"items"`
}

ResponderRuleCollection Summary of the ResponderRule.

func (ResponderRuleCollection) String ¶

func (m ResponderRuleCollection) String() string

type ResponderRuleDetails ¶

type ResponderRuleDetails struct {

	// Identifies state for ResponderRule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	Condition Condition `mandatory:"false" json:"condition"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution Mode for ResponderRule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

ResponderRuleDetails Details of ResponderRule.

func (ResponderRuleDetails) String ¶

func (m ResponderRuleDetails) String() string

func (*ResponderRuleDetails) UnmarshalJSON ¶

func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ResponderRuleExecutionDetails ¶

type ResponderRuleExecutionDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

ResponderRuleExecutionDetails Details of ResponderRuleExecution. A Responder Rule Execution is the entity that captures the execution of a Responder Rule for a given Problem.

func (ResponderRuleExecutionDetails) String ¶

func (*ResponderRuleExecutionDetails) UnmarshalJSON ¶

func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ResponderRuleSummary ¶

type ResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"true" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRuleSummary Summary of the ResponderRule.

func (ResponderRuleSummary) String ¶

func (m ResponderRuleSummary) String() string

type ResponderRuleSummarySupportedModesEnum ¶

type ResponderRuleSummarySupportedModesEnum string

ResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSummarySupportedModesAutoaction ResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRuleSummarySupportedModesUseraction ResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSummarySupportedModesEnum

func GetResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRuleSummarySupportedModesEnumValues() []ResponderRuleSummarySupportedModesEnum

GetResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRuleSummarySupportedModesEnum

type ResponderRuleSupportedModesEnum ¶

type ResponderRuleSupportedModesEnum string

ResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSupportedModesAutoaction ResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRuleSupportedModesUseraction ResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSupportedModesEnum

func GetResponderRuleSupportedModesEnumValues ¶

func GetResponderRuleSupportedModesEnumValues() []ResponderRuleSupportedModesEnum

GetResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRuleSupportedModesEnum

type ResponderTypeEnum ¶

type ResponderTypeEnum string

ResponderTypeEnum Enum with underlying type: string

const (
	ResponderTypeRemediation  ResponderTypeEnum = "REMEDIATION"
	ResponderTypeNotification ResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ResponderTypeEnum

func GetResponderTypeEnumValues ¶

func GetResponderTypeEnumValues() []ResponderTypeEnum

GetResponderTypeEnumValues Enumerates the set of values for ResponderTypeEnum

type RiskLevelEnum ¶

type RiskLevelEnum string

RiskLevelEnum Enum with underlying type: string

const (
	RiskLevelCritical RiskLevelEnum = "CRITICAL"
	RiskLevelHigh     RiskLevelEnum = "HIGH"
	RiskLevelMedium   RiskLevelEnum = "MEDIUM"
	RiskLevelLow      RiskLevelEnum = "LOW"
	RiskLevelMinor    RiskLevelEnum = "MINOR"
)

Set of constants representing the allowable values for RiskLevelEnum

func GetRiskLevelEnumValues ¶

func GetRiskLevelEnumValues() []RiskLevelEnum

GetRiskLevelEnumValues Enumerates the set of values for RiskLevelEnum

type RiskScoreAggregation ¶

type RiskScoreAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The risk score with given dimensions
	RiskScore *int `mandatory:"true" json:"riskScore"`
}

RiskScoreAggregation Provides the dimensions and their corresponding risk score.

func (RiskScoreAggregation) String ¶

func (m RiskScoreAggregation) String() string

type RiskScoreAggregationCollection ¶

type RiskScoreAggregationCollection struct {

	// The items consist of all the RiskScoreAggregation objects.
	Items []RiskScoreAggregation `mandatory:"true" json:"items"`
}

RiskScoreAggregationCollection Risk Score Aggregation Collection.

func (RiskScoreAggregationCollection) String ¶

type RuleSummary ¶

type RuleSummary struct {

	// id of the rule
	Id *string `mandatory:"true" json:"id"`

	// description of the rule
	Description *string `mandatory:"true" json:"description"`

	// List of parameters applicable for rule
	Parameters []OperatorSummary `mandatory:"true" json:"parameters"`
}

RuleSummary Summary of rules

func (RuleSummary) String ¶

func (m RuleSummary) String() string

type SecurityRatingEnum ¶

type SecurityRatingEnum string

SecurityRatingEnum Enum with underlying type: string

const (
	SecurityRatingExcellent SecurityRatingEnum = "EXCELLENT"
	SecurityRatingGood      SecurityRatingEnum = "GOOD"
	SecurityRatingFair      SecurityRatingEnum = "FAIR"
	SecurityRatingPoor      SecurityRatingEnum = "POOR"
)

Set of constants representing the allowable values for SecurityRatingEnum

func GetSecurityRatingEnumValues ¶

func GetSecurityRatingEnumValues() []SecurityRatingEnum

GetSecurityRatingEnumValues Enumerates the set of values for SecurityRatingEnum

type SecurityScoreAggregation ¶

type SecurityScoreAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The security rating with given dimension/s
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given dimension/s
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreAggregation Provides the dimensions and their corresponding count value.

func (SecurityScoreAggregation) String ¶

func (m SecurityScoreAggregation) String() string

type SecurityScoreAggregationCollection ¶

type SecurityScoreAggregationCollection struct {

	// The items consist of all the SecurityScoreAggregation objects.
	Items []SecurityScoreAggregation `mandatory:"true" json:"items"`
}

SecurityScoreAggregationCollection Security Score Aggregation Collection.

func (SecurityScoreAggregationCollection) String ¶

type SecurityScoreTrendAggregation ¶

type SecurityScoreTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The security rating with given dimensions and time range
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given dimensions and time range
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreTrendAggregation Provides the dimensions and their corresponding time and security score.

func (SecurityScoreTrendAggregation) String ¶

type SecurityScoreTrendAggregationCollection ¶

type SecurityScoreTrendAggregationCollection struct {

	// The items consist of all the SecurityScoreTrendAggregation objects.
	Items []SecurityScoreTrendAggregation `mandatory:"true" json:"items"`
}

SecurityScoreTrendAggregationCollection Security Score Trend Aggregation Collection.

func (SecurityScoreTrendAggregationCollection) String ¶

type ServiceTypeSummary ¶

type ServiceTypeSummary struct {

	// name of the service type
	Name *string `mandatory:"true" json:"name"`

	// List of Resource
	ResourceTypes []ResourceTypeSummary `mandatory:"true" json:"resourceTypes"`
}

ServiceTypeSummary Summary of Service type

func (ServiceTypeSummary) String ¶

func (m ServiceTypeSummary) String() string

type SimpleCondition ¶

type SimpleCondition struct {

	// parameter Key
	Parameter *string `mandatory:"false" json:"parameter"`

	// type of operator
	Value *string `mandatory:"false" json:"value"`

	// type of operator
	Operator OperatorTypeEnum `mandatory:"false" json:"operator,omitempty"`

	// type of value
	ValueType ConditionValueTypeEnum `mandatory:"false" json:"valueType,omitempty"`
}

SimpleCondition Simple Condition object.

func (SimpleCondition) MarshalJSON ¶

func (m SimpleCondition) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SimpleCondition) String ¶

func (m SimpleCondition) String() string

type SkipBulkResponderExecutionDetails ¶

type SkipBulkResponderExecutionDetails struct {

	// List of responder execution ids to skip the execution
	ResponderExecutionIds []string `mandatory:"true" json:"responderExecutionIds"`
}

SkipBulkResponderExecutionDetails List of responder execution ids to skip the execution

func (SkipBulkResponderExecutionDetails) String ¶

type SkipBulkResponderExecutionRequest ¶

type SkipBulkResponderExecutionRequest struct {

	// A list of responder execution ids to skip the execution
	SkipBulkResponderExecutionDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipBulkResponderExecutionRequest wrapper for the SkipBulkResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecutionRequest.

func (SkipBulkResponderExecutionRequest) HTTPRequest ¶

func (request SkipBulkResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipBulkResponderExecutionRequest) RetryPolicy ¶

func (request SkipBulkResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipBulkResponderExecutionRequest) String ¶

func (request SkipBulkResponderExecutionRequest) String() string

type SkipBulkResponderExecutionResponse ¶

type SkipBulkResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipBulkResponderExecutionResponse wrapper for the SkipBulkResponderExecution operation

func (SkipBulkResponderExecutionResponse) HTTPResponse ¶

func (response SkipBulkResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipBulkResponderExecutionResponse) String ¶

func (response SkipBulkResponderExecutionResponse) String() string

type SkipResponderExecutionRequest ¶

type SkipResponderExecutionRequest struct {

	// The identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipResponderExecutionRequest wrapper for the SkipResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecutionRequest.

func (SkipResponderExecutionRequest) HTTPRequest ¶

func (request SkipResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipResponderExecutionRequest) RetryPolicy ¶

func (request SkipResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipResponderExecutionRequest) String ¶

func (request SkipResponderExecutionRequest) String() string

type SkipResponderExecutionResponse ¶

type SkipResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipResponderExecutionResponse wrapper for the SkipResponderExecution operation

func (SkipResponderExecutionResponse) HTTPResponse ¶

func (response SkipResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipResponderExecutionResponse) String ¶

func (response SkipResponderExecutionResponse) String() string

type SortOrdersEnum ¶

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetSortOrdersEnumValues ¶

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type Target ¶

type Target struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// possible type of targets
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

	// Resource ID which the target uses to monitor
	TargetResourceId *string `mandatory:"true" json:"targetResourceId"`

	// Total number of recipes attached to target
	RecipeCount *int `mandatory:"true" json:"recipeCount"`

	// Target Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The target description.
	Description *string `mandatory:"false" json:"description"`

	// List of detector recipes associated with target
	TargetDetectorRecipes []TargetDetectorRecipe `mandatory:"false" json:"targetDetectorRecipes"`

	// List of responder recipes associated with target
	TargetResponderRecipes []TargetResponderRecipe `mandatory:"false" json:"targetResponderRecipes"`

	// List of inherited compartments
	InheritedByCompartments []string `mandatory:"false" json:"inheritedByCompartments"`

	// The date and time the target was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Target.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Target Description of Target.

func (Target) String ¶

func (m Target) String() string

type TargetCollection ¶

type TargetCollection struct {

	// List of TargetSummary
	Items []TargetSummary `mandatory:"true" json:"items"`
}

TargetCollection Collection of Target

func (TargetCollection) String ¶

func (m TargetCollection) String() string

type TargetDetectorDetails ¶

type TargetDetectorDetails struct {

	// Enables the control
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"true" json:"riskLevel"`

	// Configuration details
	Configurations []DetectorConfiguration `mandatory:"false" json:"configurations"`

	// Condition group corresponding to each compartment
	ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"`

	// user defined labels for a detector rule
	Labels []string `mandatory:"false" json:"labels"`

	// configuration allowed or not
	IsConfigurationAllowed *bool `mandatory:"false" json:"isConfigurationAllowed"`
}

TargetDetectorDetails Overriden settings of a Detector Rule applied on target

func (TargetDetectorDetails) String ¶

func (m TargetDetectorDetails) String() string

type TargetDetectorRecipe ¶

type TargetDetectorRecipe struct {

	// Ocid for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// DisplayName of detector recipe
	DisplayName *string `mandatory:"true" json:"displayName"`

	// compartmentId of detector recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier for Detector Recipe of which this is an extension
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Owner of detector recipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// Detector recipe description
	Description *string `mandatory:"false" json:"description"`

	// List of detector rules for the detector type for recipe - user input
	DetectorRules []TargetDetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// List of effective detector rules for the detector type for recipe after applying defaults
	EffectiveDetectorRules []TargetDetectorRecipeDetectorRule `mandatory:"false" json:"effectiveDetectorRules"`

	// The date and time the target detector recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

TargetDetectorRecipe Target Detector recipe

func (TargetDetectorRecipe) String ¶

func (m TargetDetectorRecipe) String() string

type TargetDetectorRecipeCollection ¶

type TargetDetectorRecipeCollection struct {

	// List of TargetDetectorRecipeSummary
	Items []TargetDetectorRecipeSummary `mandatory:"true" json:"items"`
}

TargetDetectorRecipeCollection Summary of the Target DetectorRecipe.

func (TargetDetectorRecipeCollection) String ¶

type TargetDetectorRecipeDetectorRule ¶

type TargetDetectorRecipeDetectorRule struct {

	// The unique identifier of the detector rule
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// detector for the rule
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"true" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// displayName
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for TargetDetectorRecipeDetectorRule
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for TargetDetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	Details *TargetDetectorDetails `mandatory:"false" json:"details"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []TargetDetectorRecipeDetectorRuleManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	// The date and time the target detector recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the DetectorRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetDetectorRecipeDetectorRule Detector Recipe Rule

func (TargetDetectorRecipeDetectorRule) String ¶

type TargetDetectorRecipeDetectorRuleCollection ¶

type TargetDetectorRecipeDetectorRuleCollection struct {

	// List of TargetDetectorRecipeDetectorRuleSummary
	Items []TargetDetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"`
}

TargetDetectorRecipeDetectorRuleCollection Summary of the DetectorRule within Target.

func (TargetDetectorRecipeDetectorRuleCollection) String ¶

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock    TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleManagedListTypesUsers        TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleManagedListTypesGroups       TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address  TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address  TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleManagedListTypesRegion       TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleManagedListTypesCountry      TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleManagedListTypesState        TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleManagedListTypesCity         TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleManagedListTypesTags         TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

type TargetDetectorRecipeDetectorRuleSummary ¶

type TargetDetectorRecipeDetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// possible type of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// DetectorTemplate Identifier, can be renamed
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for TargetDetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"false" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	DetectorDetails *TargetDetectorDetails `mandatory:"false" json:"detectorDetails"`

	// The date and time the target detector recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the target detector recipe rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetDetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.

func (TargetDetectorRecipeDetectorRuleSummary) String ¶

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock    TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers        TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups       TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address  TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address  TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion       TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry      TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState        TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity         TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags         TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

type TargetDetectorRecipeSummary ¶

type TargetDetectorRecipeSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// DetectorRecipe Identifier Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// DetectorRecipe Description
	Description *string `mandatory:"true" json:"description"`

	// Owner of DetectorRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// Unique identifier for Detector Recipe of which this is an extension
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"false" json:"detector,omitempty"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the target detector recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetDetectorRecipeSummary Summary of DetectorRecipe

func (TargetDetectorRecipeSummary) String ¶

type TargetResourceTypeEnum ¶

type TargetResourceTypeEnum string

TargetResourceTypeEnum Enum with underlying type: string

const (
	TargetResourceTypeCompartment TargetResourceTypeEnum = "COMPARTMENT"
	TargetResourceTypeErpcloud    TargetResourceTypeEnum = "ERPCLOUD"
	TargetResourceTypeHcmcloud    TargetResourceTypeEnum = "HCMCLOUD"
)

Set of constants representing the allowable values for TargetResourceTypeEnum

func GetTargetResourceTypeEnumValues ¶

func GetTargetResourceTypeEnumValues() []TargetResourceTypeEnum

GetTargetResourceTypeEnumValues Enumerates the set of values for TargetResourceTypeEnum

type TargetResponderRecipe ¶

type TargetResponderRecipe struct {

	// Unique identifier of TargetResponderRecipe that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for Responder Recipe of which this is an extension
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe Identifier Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"true" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// List of responder rules associated with the recipe - user input
	ResponderRules []TargetResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// List of responder rules associated with the recipe after applying all defaults
	EffectiveResponderRules []TargetResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`
}

TargetResponderRecipe Details of Target ResponderRecipe

func (TargetResponderRecipe) String ¶

func (m TargetResponderRecipe) String() string

type TargetResponderRecipeCollection ¶

type TargetResponderRecipeCollection struct {

	// List of TargetResponderRecipeSummary
	Items []TargetResponderRecipeSummary `mandatory:"true" json:"items"`
}

TargetResponderRecipeCollection Collection of TargetResponderRecipe

func (TargetResponderRecipeCollection) String ¶

type TargetResponderRecipeResponderRule ¶

type TargetResponderRecipeResponderRule struct {

	// Identifier for ResponderRule.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []TargetResponderRecipeResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeResponderRule Details of ResponderRule.

func (TargetResponderRecipeResponderRule) String ¶

type TargetResponderRecipeResponderRuleCollection ¶

type TargetResponderRecipeResponderRuleCollection struct {

	// List of TargetResponderRecipeResponderRuleSummary
	Items []TargetResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

TargetResponderRecipeResponderRuleCollection Summary of the ResponderRule within Target.

func (TargetResponderRecipeResponderRuleCollection) String ¶

type TargetResponderRecipeResponderRuleSummary ¶

type TargetResponderRecipeResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []TargetResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeResponderRuleSummary Summary of ResponderRule.

func (TargetResponderRecipeResponderRuleSummary) String ¶

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum string

TargetResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSummarySupportedModesAutoaction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSummarySupportedModesUseraction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []TargetResponderRecipeResponderRuleSummarySupportedModesEnum

GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

type TargetResponderRecipeResponderRuleSupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSupportedModesEnum string

TargetResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSupportedModesAutoaction TargetResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSupportedModesUseraction TargetResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSupportedModesEnum

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues() []TargetResponderRecipeResponderRuleSupportedModesEnum

GetTargetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSupportedModesEnum

type TargetResponderRecipeSummary ¶

type TargetResponderRecipeSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier for Responder Recipe of which this is an extension
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// ResponderRecipe Identifier Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"true" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The date and time the target responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeSummary Summary of ResponderRecipe

func (TargetResponderRecipeSummary) String ¶

type TargetSummary ¶

type TargetSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// possible type of targets(compartment/HCMCloud/ERPCloud)
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

	// Resource ID which the target uses to monitor
	TargetResourceId *string `mandatory:"true" json:"targetResourceId"`

	// Total number of recipes attached to target
	RecipeCount *int `mandatory:"true" json:"recipeCount"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The date and time the target was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TargetSummary Summary of the Target.

func (TargetSummary) String ¶

func (m TargetSummary) String() string

type TriggerResponderDetails ¶

type TriggerResponderDetails struct {

	// ResponderRule ID
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

TriggerResponderDetails The Responder details to be pushed to responder

func (TriggerResponderDetails) String ¶

func (m TriggerResponderDetails) String() string

type TriggerResponderRequest ¶

type TriggerResponderRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The responder may update the problem.
	TriggerResponderDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

TriggerResponderRequest wrapper for the TriggerResponder operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponderRequest.

func (TriggerResponderRequest) HTTPRequest ¶

func (request TriggerResponderRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TriggerResponderRequest) RetryPolicy ¶

func (request TriggerResponderRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TriggerResponderRequest) String ¶

func (request TriggerResponderRequest) String() string

type TriggerResponderResponse ¶

type TriggerResponderResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

TriggerResponderResponse wrapper for the TriggerResponder operation

func (TriggerResponderResponse) HTTPResponse ¶

func (response TriggerResponderResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TriggerResponderResponse) String ¶

func (response TriggerResponderResponse) String() string

type UpdateBulkProblemStatusDetails ¶

type UpdateBulkProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// List of ProblemIds to be passed in to update the Problem status.
	ProblemIds []string `mandatory:"true" json:"problemIds"`
}

UpdateBulkProblemStatusDetails List of problem ids to be passed in to update the Problem status.

func (UpdateBulkProblemStatusDetails) String ¶

type UpdateBulkProblemStatusRequest ¶

type UpdateBulkProblemStatusRequest struct {

	// A list of problem ids to be passed in to update the Problem status
	UpdateBulkProblemStatusDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateBulkProblemStatusRequest wrapper for the UpdateBulkProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatusRequest.

func (UpdateBulkProblemStatusRequest) HTTPRequest ¶

func (request UpdateBulkProblemStatusRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBulkProblemStatusRequest) RetryPolicy ¶

func (request UpdateBulkProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBulkProblemStatusRequest) String ¶

func (request UpdateBulkProblemStatusRequest) String() string

type UpdateBulkProblemStatusResponse ¶

type UpdateBulkProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateBulkProblemStatusResponse wrapper for the UpdateBulkProblemStatus operation

func (UpdateBulkProblemStatusResponse) HTTPResponse ¶

func (response UpdateBulkProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBulkProblemStatusResponse) String ¶

func (response UpdateBulkProblemStatusResponse) String() string

type UpdateConfigurationDetails ¶

type UpdateConfigurationDetails struct {

	// The reporting region value
	ReportingRegion *string `mandatory:"true" json:"reportingRegion"`

	// Status of Cloud Guard Tenant
	Status CloudGuardStatusEnum `mandatory:"true" json:"status"`

	// Identifies if Oracle managed resources will be created by customers.
	// If no value is specified false is the default.
	SelfManageResources *bool `mandatory:"false" json:"selfManageResources"`
}

UpdateConfigurationDetails Update cloud guard configuration details for a tenancy.

func (UpdateConfigurationDetails) String ¶

type UpdateConfigurationRequest ¶

type UpdateConfigurationRequest struct {

	// Update Configuration Details of Cloud Guard for a Tenancy.
	UpdateConfigurationDetails `contributesTo:"body"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateConfigurationRequest wrapper for the UpdateConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.

func (UpdateConfigurationRequest) HTTPRequest ¶

func (request UpdateConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConfigurationRequest) RetryPolicy ¶

func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConfigurationRequest) String ¶

func (request UpdateConfigurationRequest) String() string

type UpdateConfigurationResponse ¶

type UpdateConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Configuration instance
	Configuration `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateConfigurationResponse wrapper for the UpdateConfiguration operation

func (UpdateConfigurationResponse) HTTPResponse ¶

func (response UpdateConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConfigurationResponse) String ¶

func (response UpdateConfigurationResponse) String() string

type UpdateDetectorRecipeDetails ¶

type UpdateDetectorRecipeDetails struct {

	// DisplayName of detector recipe
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Detector recipe description
	Description *string `mandatory:"false" json:"description"`

	// Detector Rules to update
	DetectorRules []UpdateDetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDetectorRecipeDetails Update of detector recipe

func (UpdateDetectorRecipeDetails) String ¶

type UpdateDetectorRecipeDetectorRule ¶

type UpdateDetectorRecipeDetectorRule struct {

	// DetectorRecipeRule Identifier
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateDetectorRecipeDetectorRule The details to be updated in DetectorRule

func (UpdateDetectorRecipeDetectorRule) String ¶

type UpdateDetectorRecipeDetectorRuleDetails ¶

type UpdateDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateDetectorRuleDetails `mandatory:"false" json:"details"`
}

UpdateDetectorRecipeDetectorRuleDetails Update of detector rule of a detector recipe

func (UpdateDetectorRecipeDetectorRuleDetails) String ¶

type UpdateDetectorRecipeDetectorRuleRequest ¶

type UpdateDetectorRecipeDetectorRuleRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The key of Detector Rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for DetectorRule.
	UpdateDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeDetectorRuleRequest wrapper for the UpdateDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRuleRequest.

func (UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeDetectorRuleRequest) String ¶

type UpdateDetectorRecipeDetectorRuleResponse ¶

type UpdateDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipeDetectorRule instance
	DetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeDetectorRuleResponse wrapper for the UpdateDetectorRecipeDetectorRule operation

func (UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeDetectorRuleResponse) String ¶

type UpdateDetectorRecipeRequest ¶

type UpdateDetectorRecipeRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// Details for the DetectorRecipe to be updated
	UpdateDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeRequest wrapper for the UpdateDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipeRequest.

func (UpdateDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeRequest) String ¶

func (request UpdateDetectorRecipeRequest) String() string

type UpdateDetectorRecipeResponse ¶

type UpdateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeResponse wrapper for the UpdateDetectorRecipe operation

func (UpdateDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeResponse) String ¶

func (response UpdateDetectorRecipeResponse) String() string

type UpdateDetectorRuleDetails ¶

type UpdateDetectorRuleDetails struct {

	// Enables the control
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"true" json:"riskLevel"`

	// Configuration details
	Configurations []DetectorConfiguration `mandatory:"false" json:"configurations"`

	Condition Condition `mandatory:"false" json:"condition"`

	// user defined labels for a detector rule
	Labels []string `mandatory:"false" json:"labels"`
}

UpdateDetectorRuleDetails Details of a Detector Rule to be overriden in Detector Recipe

func (UpdateDetectorRuleDetails) String ¶

func (m UpdateDetectorRuleDetails) String() string

func (*UpdateDetectorRuleDetails) UnmarshalJSON ¶

func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateManagedListDetails ¶

type UpdateManagedListDetails struct {

	// ManagedList display name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ManagedList description
	Description *string `mandatory:"false" json:"description"`

	// List of ManagedListItem
	ListItems []string `mandatory:"false" json:"listItems"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateManagedListDetails Update ManagedList

func (UpdateManagedListDetails) String ¶

func (m UpdateManagedListDetails) String() string

type UpdateManagedListRequest ¶

type UpdateManagedListRequest struct {

	// The cloudguard list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// Details for the ManagedList to be updated
	UpdateManagedListDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateManagedListRequest wrapper for the UpdateManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedListRequest.

func (UpdateManagedListRequest) HTTPRequest ¶

func (request UpdateManagedListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedListRequest) RetryPolicy ¶

func (request UpdateManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagedListRequest) String ¶

func (request UpdateManagedListRequest) String() string

type UpdateManagedListResponse ¶

type UpdateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateManagedListResponse wrapper for the UpdateManagedList operation

func (UpdateManagedListResponse) HTTPResponse ¶

func (response UpdateManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagedListResponse) String ¶

func (response UpdateManagedListResponse) String() string

type UpdateProblemStatusDetails ¶

type UpdateProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// User Comments
	Comment *string `mandatory:"false" json:"comment"`
}

UpdateProblemStatusDetails The additional details for the problem

func (UpdateProblemStatusDetails) String ¶

type UpdateProblemStatusRequest ¶

type UpdateProblemStatusRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The additional details for the problem.
	UpdateProblemStatusDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateProblemStatusRequest wrapper for the UpdateProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatusRequest.

func (UpdateProblemStatusRequest) HTTPRequest ¶

func (request UpdateProblemStatusRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProblemStatusRequest) RetryPolicy ¶

func (request UpdateProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateProblemStatusRequest) String ¶

func (request UpdateProblemStatusRequest) String() string

type UpdateProblemStatusResponse ¶

type UpdateProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Problem instance
	Problem `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateProblemStatusResponse wrapper for the UpdateProblemStatus operation

func (UpdateProblemStatusResponse) HTTPResponse ¶

func (response UpdateProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateProblemStatusResponse) String ¶

func (response UpdateProblemStatusResponse) String() string

type UpdateResponderRecipeDetails ¶

type UpdateResponderRecipeDetails struct {

	// ResponderRecipe Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"false" json:"description"`

	// Responder Rules to Update
	ResponderRules []UpdateResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateResponderRecipeDetails The details to be updated in ResponderRecipe

func (UpdateResponderRecipeDetails) String ¶

type UpdateResponderRecipeRequest ¶

type UpdateResponderRecipeRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The details to be updated.
	UpdateResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeRequest wrapper for the UpdateResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipeRequest.

func (UpdateResponderRecipeRequest) HTTPRequest ¶

func (request UpdateResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeRequest) RetryPolicy ¶

func (request UpdateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeRequest) String ¶

func (request UpdateResponderRecipeRequest) String() string

type UpdateResponderRecipeResponderRule ¶

type UpdateResponderRecipeResponderRule struct {

	// ResponderRecipeRule Identifier
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRule The details to be updated in ResponderRule

func (UpdateResponderRecipeResponderRule) String ¶

type UpdateResponderRecipeResponderRuleDetails ¶

type UpdateResponderRecipeResponderRuleDetails struct {
	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRuleDetails The details to be updated in ResponderRule

func (UpdateResponderRecipeResponderRuleDetails) String ¶

type UpdateResponderRecipeResponderRuleRequest ¶

type UpdateResponderRecipeResponderRuleRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for ResponderRule.
	UpdateResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeResponderRuleRequest wrapper for the UpdateResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRuleRequest.

func (UpdateResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeResponderRuleRequest) String ¶

type UpdateResponderRecipeResponderRuleResponse ¶

type UpdateResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipeResponderRule instance
	ResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponderRuleResponse wrapper for the UpdateResponderRecipeResponderRule operation

func (UpdateResponderRecipeResponderRuleResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponderRuleResponse) String ¶

type UpdateResponderRecipeResponse ¶

type UpdateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponse wrapper for the UpdateResponderRecipe operation

func (UpdateResponderRecipeResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponse) String ¶

func (response UpdateResponderRecipeResponse) String() string

type UpdateResponderRuleDetails ¶

type UpdateResponderRuleDetails struct {

	// Identifies state for ResponderRule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`
}

UpdateResponderRuleDetails Details of UpdateResponderRuleDetails.

func (UpdateResponderRuleDetails) String ¶

type UpdateTargetDetails ¶

type UpdateTargetDetails struct {

	// DetectorTemplate Identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The current state of the Target.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The details of target detector recipes to be updated.
	TargetDetectorRecipes []UpdateTargetDetectorRecipe `mandatory:"false" json:"targetDetectorRecipes"`

	// The details of target responder recipes to be updated.
	TargetResponderRecipes []UpdateTargetResponderRecipe `mandatory:"false" json:"targetResponderRecipes"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTargetDetails The information to be updated.

func (UpdateTargetDetails) String ¶

func (m UpdateTargetDetails) String() string

type UpdateTargetDetectorRecipe ¶

type UpdateTargetDetectorRecipe struct {

	// Identifier for DetectorRecipe.
	TargetDetectorRecipeId *string `mandatory:"true" json:"targetDetectorRecipeId"`

	// Updates to be applied to Detector Rule associated with the target
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"`
}

UpdateTargetDetectorRecipe The information to be updated in attached Target DetectorRecipe

func (UpdateTargetDetectorRecipe) String ¶

type UpdateTargetDetectorRecipeDetails ¶

type UpdateTargetDetectorRecipeDetails struct {

	// Update detector rules associated with detector recipe in a target.
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"`
}

UpdateTargetDetectorRecipeDetails The information to be updated in DetectorRecipe

func (UpdateTargetDetectorRecipeDetails) String ¶

type UpdateTargetDetectorRecipeDetectorRuleDetails ¶

type UpdateTargetDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetDetectorRecipeDetectorRuleDetails The details to be updated in DetectorRule

func (UpdateTargetDetectorRecipeDetectorRuleDetails) String ¶

type UpdateTargetDetectorRecipeDetectorRuleRequest ¶

type UpdateTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The id of DetectorRule
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for DetectorRule.
	UpdateTargetDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeDetectorRuleRequest wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRuleRequest.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) String ¶

type UpdateTargetDetectorRecipeDetectorRuleResponse ¶

type UpdateTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeDetectorRuleResponse wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

func (UpdateTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeDetectorRuleResponse) String ¶

type UpdateTargetDetectorRecipeRequest ¶

type UpdateTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The details to be updated.
	UpdateTargetDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeRequest wrapper for the UpdateTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipeRequest.

func (UpdateTargetDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeRequest) String ¶

func (request UpdateTargetDetectorRecipeRequest) String() string

type UpdateTargetDetectorRecipeResponse ¶

type UpdateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeResponse wrapper for the UpdateTargetDetectorRecipe operation

func (UpdateTargetDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeResponse) String ¶

func (response UpdateTargetDetectorRecipeResponse) String() string

type UpdateTargetDetectorRuleDetails ¶

type UpdateTargetDetectorRuleDetails struct {

	// Condition group corresponding to each compartment
	ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"`
}

UpdateTargetDetectorRuleDetails Overriden settings of a Detector Rule applied on target

func (UpdateTargetDetectorRuleDetails) String ¶

type UpdateTargetRecipeDetectorRuleDetails ¶

type UpdateTargetRecipeDetectorRuleDetails struct {

	// Identifier for DetectorRule.
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeDetectorRuleDetails The details to be updated in TargetDetectorRecipeDetectorRule

func (UpdateTargetRecipeDetectorRuleDetails) String ¶

type UpdateTargetRecipeResponderRuleDetails ¶

type UpdateTargetRecipeResponderRuleDetails struct {

	// Identifier for ResponderRule.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeResponderRuleDetails The details to be updated in TargetResponderRecipeResponderRule

func (UpdateTargetRecipeResponderRuleDetails) String ¶

type UpdateTargetRequest ¶

type UpdateTargetRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The information to be updated.
	UpdateTargetDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetRequest wrapper for the UpdateTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTargetRequest.

func (UpdateTargetRequest) HTTPRequest ¶

func (request UpdateTargetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetRequest) RetryPolicy ¶

func (request UpdateTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetRequest) String ¶

func (request UpdateTargetRequest) String() string

type UpdateTargetResponderRecipe ¶

type UpdateTargetResponderRecipe struct {

	// Identifier for ResponderRecipe.
	TargetResponderRecipeId *string `mandatory:"true" json:"targetResponderRecipeId"`

	// Update responder rules associated with reponder recipe in a target.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipe The information to be updated in attached Target ResponderRecipe

func (UpdateTargetResponderRecipe) String ¶

type UpdateTargetResponderRecipeDetails ¶

type UpdateTargetResponderRecipeDetails struct {

	// Update responder rules associated with responder recipe in a target.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipeDetails The information to be updated in ResponderRecipe.

func (UpdateTargetResponderRecipeDetails) String ¶

type UpdateTargetResponderRecipeRequest ¶

type UpdateTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The details to be updated.
	UpdateTargetResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeRequest wrapper for the UpdateTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipeRequest.

func (UpdateTargetResponderRecipeRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeRequest) RetryPolicy ¶

func (request UpdateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeRequest) String ¶

func (request UpdateTargetResponderRecipeRequest) String() string

type UpdateTargetResponderRecipeResponderRuleDetails ¶

type UpdateTargetResponderRecipeResponderRuleDetails struct {
	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetResponderRecipeResponderRuleDetails The details to be updated in ResponderRule

func (UpdateTargetResponderRecipeResponderRuleDetails) String ¶

type UpdateTargetResponderRecipeResponderRuleRequest ¶

type UpdateTargetResponderRecipeResponderRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for ResponderRule.
	UpdateTargetResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeResponderRuleRequest wrapper for the UpdateTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRuleRequest.

func (UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeResponderRuleRequest) String ¶

type UpdateTargetResponderRecipeResponderRuleResponse ¶

type UpdateTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponderRuleResponse wrapper for the UpdateTargetResponderRecipeResponderRule operation

func (UpdateTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponderRuleResponse) String ¶

type UpdateTargetResponderRecipeResponse ¶

type UpdateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponse wrapper for the UpdateTargetResponderRecipe operation

func (UpdateTargetResponderRecipeResponse) HTTPResponse ¶

func (response UpdateTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponse) String ¶

func (response UpdateTargetResponderRecipeResponse) String() string

type UpdateTargetResponderRuleDetails ¶

type UpdateTargetResponderRuleDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// Configurations associated with the ResponderRule
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution Mode for ResponderRule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

UpdateTargetResponderRuleDetails Details of ResponderRule.

func (UpdateTargetResponderRuleDetails) String ¶

func (*UpdateTargetResponderRuleDetails) UnmarshalJSON ¶

func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateTargetResponse ¶

type UpdateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponse wrapper for the UpdateTarget operation

func (UpdateTargetResponse) HTTPResponse ¶

func (response UpdateTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponse) String ¶

func (response UpdateTargetResponse) String() string

Source Files ¶

Jump to

Keyboard shortcuts

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