ActivityProblemAggregation Provides the dimensions and their corresponding count.
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"` }
func (m ActivityProblemAggregation) String() string
ActivityProblemAggregationCollection Activity Problem Aggregation Collection.
type ActivityProblemAggregationCollection struct { // The items consists of all the ActivityProblemAggregation objects. Items []ActivityProblemAggregation `mandatory:"true" json:"items"` }
func (m ActivityProblemAggregationCollection) String() string
ActorTypeEnum Enum with underlying type: string
type ActorTypeEnum string
Set of constants representing the allowable values for ActorTypeEnum
const ( ActorTypeCloudGuardService ActorTypeEnum = "CLOUD_GUARD_SERVICE" ActorTypeCorrelation ActorTypeEnum = "CORRELATION" ActorTypeResponder ActorTypeEnum = "RESPONDER" ActorTypeUser ActorTypeEnum = "USER" )
func GetActorTypeEnumValues() []ActorTypeEnum
GetActorTypeEnumValues Enumerates the set of values for ActorTypeEnum
AttachTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe
type AttachTargetDetectorRecipeDetails struct { // DetectorRecipe Identifier DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"` }
func (m AttachTargetDetectorRecipeDetails) String() string
AttachTargetResponderRecipeDetails The information required to create TargetResponderRecipe
type AttachTargetResponderRecipeDetails struct { // ResponderRecipe Identifier ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"` }
func (m AttachTargetResponderRecipeDetails) String() string
CandidateResponderRule Candidate Responder Rule list in Detector rule
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"` }
func (m CandidateResponderRule) String() string
ChangeDetectorRecipeCompartmentDetails Changing compartmentId for DetectorRecipe
type ChangeDetectorRecipeCompartmentDetails struct { // The OCID of the compartment into which the DetectorRecipe should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDetectorRecipeCompartmentDetails) String() string
ChangeDetectorRecipeCompartmentRequest wrapper for the ChangeDetectorRecipeCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use 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 }
func (request ChangeDetectorRecipeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDetectorRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDetectorRecipeCompartmentRequest) String() string
ChangeDetectorRecipeCompartmentResponse wrapper for the ChangeDetectorRecipeCompartment operation
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"` }
func (response ChangeDetectorRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDetectorRecipeCompartmentResponse) String() string
ChangeManagedListCompartmentDetails Changing compartmentId for ManagedList
type ChangeManagedListCompartmentDetails struct { // The OCID of the compartment into which the ManagedList should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagedListCompartmentDetails) String() string
ChangeManagedListCompartmentRequest wrapper for the ChangeManagedListCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use 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 }
func (request ChangeManagedListCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedListCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedListCompartmentRequest) String() string
ChangeManagedListCompartmentResponse wrapper for the ChangeManagedListCompartment operation
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"` }
func (response ChangeManagedListCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedListCompartmentResponse) String() string
ChangeResponderRecipeCompartmentDetails Changing compartmentId for ResponderRecipe
type ChangeResponderRecipeCompartmentDetails struct { // The OCID of the compartment into which the ResponderRecipe should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeResponderRecipeCompartmentDetails) String() string
ChangeResponderRecipeCompartmentRequest wrapper for the ChangeResponderRecipeCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use 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 }
func (request ChangeResponderRecipeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeResponderRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeResponderRecipeCompartmentRequest) String() string
ChangeResponderRecipeCompartmentResponse wrapper for the ChangeResponderRecipeCompartment operation
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"` }
func (response ChangeResponderRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeResponderRecipeCompartmentResponse) String() string
CloudGuardClient a client for CloudGuard
type CloudGuardClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client CloudGuardClient) ChangeDetectorRecipeCompartment(ctx context.Context, request ChangeDetectorRecipeCompartmentRequest) (response ChangeDetectorRecipeCompartmentResponse, err error)
ChangeDetectorRecipeCompartment Moves the DetectorRecipe from current compartment to another.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use ChangeDetectorRecipeCompartment API.
func (client CloudGuardClient) ChangeManagedListCompartment(ctx context.Context, request ChangeManagedListCompartmentRequest) (response ChangeManagedListCompartmentResponse, err error)
ChangeManagedListCompartment Moves the ManagedList from current compartment to another.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartment API.
func (client CloudGuardClient) ChangeResponderRecipeCompartment(ctx context.Context, request ChangeResponderRecipeCompartmentRequest) (response ChangeResponderRecipeCompartmentResponse, err error)
ChangeResponderRecipeCompartment Moves the ResponderRecipe from current compartment to another.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use ChangeResponderRecipeCompartment API.
func (client *CloudGuardClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client CloudGuardClient) CreateDetectorRecipe(ctx context.Context, request CreateDetectorRecipeRequest) (response CreateDetectorRecipeResponse, err error)
CreateDetectorRecipe Creates a DetectorRecipe
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use CreateDetectorRecipe API.
func (client CloudGuardClient) CreateManagedList(ctx context.Context, request CreateManagedListRequest) (response CreateManagedListResponse, err error)
CreateManagedList Creates a new ManagedList.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateManagedList.go.html to see an example of how to use CreateManagedList API.
func (client CloudGuardClient) CreateResponderRecipe(ctx context.Context, request CreateResponderRecipeRequest) (response CreateResponderRecipeResponse, err error)
CreateResponderRecipe Create a ResponderRecipe.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateResponderRecipe.go.html to see an example of how to use CreateResponderRecipe API.
func (client CloudGuardClient) CreateTarget(ctx context.Context, request CreateTargetRequest) (response CreateTargetResponse, err error)
CreateTarget Creates a new Target
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTarget.go.html to see an example of how to use CreateTarget API.
func (client CloudGuardClient) CreateTargetDetectorRecipe(ctx context.Context, request CreateTargetDetectorRecipeRequest) (response CreateTargetDetectorRecipeResponse, err error)
CreateTargetDetectorRecipe Attach a DetectorRecipe with the Target
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use CreateTargetDetectorRecipe API.
func (client CloudGuardClient) CreateTargetResponderRecipe(ctx context.Context, request CreateTargetResponderRecipeRequest) (response CreateTargetResponderRecipeResponse, err error)
CreateTargetResponderRecipe Attach a ResponderRecipe with the Target
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use CreateTargetResponderRecipe API.
func (client CloudGuardClient) DeleteDetectorRecipe(ctx context.Context, request DeleteDetectorRecipeRequest) (response DeleteDetectorRecipeResponse, err error)
DeleteDetectorRecipe Deletes a DetectorRecipe identified by detectorRecipeId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipe API.
func (client CloudGuardClient) DeleteManagedList(ctx context.Context, request DeleteManagedListRequest) (response DeleteManagedListResponse, err error)
DeleteManagedList Deletes a managed list identified by managedListId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedList API.
func (client CloudGuardClient) DeleteResponderRecipe(ctx context.Context, request DeleteResponderRecipeRequest) (response DeleteResponderRecipeResponse, err error)
DeleteResponderRecipe Delete the ResponderRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipe API.
func (client CloudGuardClient) DeleteTarget(ctx context.Context, request DeleteTargetRequest) (response DeleteTargetResponse, err error)
DeleteTarget Deletes a Target identified by targetId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTarget API.
func (client CloudGuardClient) DeleteTargetDetectorRecipe(ctx context.Context, request DeleteTargetDetectorRecipeRequest) (response DeleteTargetDetectorRecipeResponse, err error)
DeleteTargetDetectorRecipe Delete the TargetDetectorRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipe API.
func (client CloudGuardClient) DeleteTargetResponderRecipe(ctx context.Context, request DeleteTargetResponderRecipeRequest) (response DeleteTargetResponderRecipeResponse, err error)
DeleteTargetResponderRecipe Delete the TargetResponderRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipe API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecution API.
func (client CloudGuardClient) GetConditionMetadataType(ctx context.Context, request GetConditionMetadataTypeRequest) (response GetConditionMetadataTypeResponse, err error)
GetConditionMetadataType Returns ConditionType with its details.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataType API.
func (client CloudGuardClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
GetConfiguration GET Cloud Guard Configuration Details for a Tenancy.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfiguration API.
func (client CloudGuardClient) GetDetector(ctx context.Context, request GetDetectorRequest) (response GetDetectorResponse, err error)
GetDetector Returns a Detector identified by detectorId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetector.go.html to see an example of how to use GetDetector API.
func (client CloudGuardClient) GetDetectorRecipe(ctx context.Context, request GetDetectorRecipeRequest) (response GetDetectorRecipeResponse, err error)
GetDetectorRecipe Returns a DetectorRecipe identified by detectorRecipeId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipe API.
func (client CloudGuardClient) GetDetectorRecipeDetectorRule(ctx context.Context, request GetDetectorRecipeDetectorRuleRequest) (response GetDetectorRecipeDetectorRuleResponse, err error)
GetDetectorRecipeDetectorRule Get DetectorRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) GetDetectorRule(ctx context.Context, request GetDetectorRuleRequest) (response GetDetectorRuleResponse, err error)
GetDetectorRule Returns a Detector Rule identified by detectorRuleId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRule API.
func (client CloudGuardClient) GetManagedList(ctx context.Context, request GetManagedListRequest) (response GetManagedListResponse, err error)
GetManagedList Returns a managed list identified by managedListId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedList API.
func (client CloudGuardClient) GetProblem(ctx context.Context, request GetProblemRequest) (response GetProblemResponse, err error)
GetProblem Returns a Problems response
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetProblem.go.html to see an example of how to use GetProblem API.
func (client CloudGuardClient) GetResponderExecution(ctx context.Context, request GetResponderExecutionRequest) (response GetResponderExecutionResponse, err error)
GetResponderExecution Returns a Responder Execution identified by responderExecutionId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecution API.
func (client CloudGuardClient) GetResponderRecipe(ctx context.Context, request GetResponderRecipeRequest) (response GetResponderRecipeResponse, err error)
GetResponderRecipe Get a ResponderRecipe by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipe API.
func (client CloudGuardClient) GetResponderRecipeResponderRule(ctx context.Context, request GetResponderRecipeResponderRuleRequest) (response GetResponderRecipeResponderRuleResponse, err error)
GetResponderRecipeResponderRule Get ResponderRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRule API.
func (client CloudGuardClient) GetResponderRule(ctx context.Context, request GetResponderRuleRequest) (response GetResponderRuleResponse, err error)
GetResponderRule Get a ResponderRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRule API.
func (client CloudGuardClient) GetTarget(ctx context.Context, request GetTargetRequest) (response GetTargetResponse, err error)
GetTarget Returns a Target identified by targetId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTarget.go.html to see an example of how to use GetTarget API.
func (client CloudGuardClient) GetTargetDetectorRecipe(ctx context.Context, request GetTargetDetectorRecipeRequest) (response GetTargetDetectorRecipeResponse, err error)
GetTargetDetectorRecipe Get a TargetDetectorRecipe by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipe API.
func (client CloudGuardClient) GetTargetDetectorRecipeDetectorRule(ctx context.Context, request GetTargetDetectorRecipeDetectorRuleRequest) (response GetTargetDetectorRecipeDetectorRuleResponse, err error)
GetTargetDetectorRecipeDetectorRule Get DetectorRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) GetTargetResponderRecipe(ctx context.Context, request GetTargetResponderRecipeRequest) (response GetTargetResponderRecipeResponse, err error)
GetTargetResponderRecipe Get a TargetResponderRecipe by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipe API.
func (client CloudGuardClient) GetTargetResponderRecipeResponderRule(ctx context.Context, request GetTargetResponderRecipeResponderRuleRequest) (response GetTargetResponderRecipeResponderRuleResponse, err error)
GetTargetResponderRecipeResponderRule Get ResponderRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRule API.
func (client CloudGuardClient) ListConditionMetadataTypes(ctx context.Context, request ListConditionMetadataTypesRequest) (response ListConditionMetadataTypesResponse, err error)
ListConditionMetadataTypes Returns a list of condition types.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypes API.
func (client CloudGuardClient) ListDetectorRecipeDetectorRules(ctx context.Context, request ListDetectorRecipeDetectorRulesRequest) (response ListDetectorRecipeDetectorRulesResponse, err error)
ListDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRules API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipes API.
func (client CloudGuardClient) ListDetectorRules(ctx context.Context, request ListDetectorRulesRequest) (response ListDetectorRulesResponse, err error)
ListDetectorRules Returns a list of detector rules for the detectorId passed.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRules API.
func (client CloudGuardClient) ListDetectors(ctx context.Context, request ListDetectorsRequest) (response ListDetectorsResponse, err error)
ListDetectors Returns detector catalog - list of detectors supported by Cloud Guard
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectors API.
func (client CloudGuardClient) ListImpactedResources(ctx context.Context, request ListImpactedResourcesRequest) (response ListImpactedResourcesResponse, err error)
ListImpactedResources Returns a list of Impacted Resources for a CloudGuard Problem
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResources API.
func (client CloudGuardClient) ListManagedListTypes(ctx context.Context, request ListManagedListTypesRequest) (response ListManagedListTypesResponse, err error)
ListManagedListTypes Returns all ManagedList types supported by Cloud Guard
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypes API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedLists API.
func (client CloudGuardClient) ListProblemHistories(ctx context.Context, request ListProblemHistoriesRequest) (response ListProblemHistoriesResponse, err error)
ListProblemHistories Returns a list of Actions done on CloudGuard Problem
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistories API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListProblems.go.html to see an example of how to use ListProblems API.
func (client CloudGuardClient) ListRecommendations(ctx context.Context, request ListRecommendationsRequest) (response ListRecommendationsResponse, err error)
ListRecommendations Returns a list of all Recommendations.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendations API.
func (client CloudGuardClient) ListResourceTypes(ctx context.Context, request ListResourceTypesRequest) (response ListResourceTypesResponse, err error)
ListResourceTypes Returns a list of resource types.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypes API.
func (client CloudGuardClient) ListResponderActivities(ctx context.Context, request ListResponderActivitiesRequest) (response ListResponderActivitiesResponse, err error)
ListResponderActivities Returns a list of Responder activities done on CloudGuard Problem
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivities API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutions API.
func (client CloudGuardClient) ListResponderRecipeResponderRules(ctx context.Context, request ListResponderRecipeResponderRulesRequest) (response ListResponderRecipeResponderRulesResponse, err error)
ListResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRules API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipes API.
func (client CloudGuardClient) ListResponderRules(ctx context.Context, request ListResponderRulesRequest) (response ListResponderRulesResponse, err error)
ListResponderRules Returns a list of ResponderRule.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRules API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRules API.
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
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipes API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRules API.
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
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipes API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargets.go.html to see an example of how to use ListTargets API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScores API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrend API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScores API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblems API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblems API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutions API.
func (client CloudGuardClient) RequestSummarizedRiskScores(ctx context.Context, request RequestSummarizedRiskScoresRequest) (response RequestSummarizedRiskScoresResponse, err error)
RequestSummarizedRiskScores DEPRECATED
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScores API.
func (client CloudGuardClient) RequestSummarizedSecurityScores(ctx context.Context, request RequestSummarizedSecurityScoresRequest) (response RequestSummarizedSecurityScoresResponse, err error)
RequestSummarizedSecurityScores DEPRECATED
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScores API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblems API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutions API.
func (client CloudGuardClient) RequestSummarizedTrendSecurityScores(ctx context.Context, request RequestSummarizedTrendSecurityScoresRequest) (response RequestSummarizedTrendSecurityScoresResponse, err error)
RequestSummarizedTrendSecurityScores DEPRECATED
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScores API.
func (client *CloudGuardClient) SetRegion(region string)
SetRegion overrides the region of this client.
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
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecution API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecution API.
func (client CloudGuardClient) TriggerResponder(ctx context.Context, request TriggerResponderRequest) (response TriggerResponderResponse, err error)
TriggerResponder push the problem to responder
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponder API.
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
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatus API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfiguration API.
func (client CloudGuardClient) UpdateDetectorRecipe(ctx context.Context, request UpdateDetectorRecipeRequest) (response UpdateDetectorRecipeResponse, err error)
UpdateDetectorRecipe Updates a detector recipe identified by detectorRecipeId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipe API.
func (client CloudGuardClient) UpdateDetectorRecipeDetectorRule(ctx context.Context, request UpdateDetectorRecipeDetectorRuleRequest) (response UpdateDetectorRecipeDetectorRuleResponse, err error)
UpdateDetectorRecipeDetectorRule Update the DetectorRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRule API.
func (client CloudGuardClient) UpdateManagedList(ctx context.Context, request UpdateManagedListRequest) (response UpdateManagedListResponse, err error)
UpdateManagedList Updates a managed list identified by managedListId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedList API.
func (client CloudGuardClient) UpdateProblemStatus(ctx context.Context, request UpdateProblemStatusRequest) (response UpdateProblemStatusResponse, err error)
UpdateProblemStatus updates the problem details
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatus API.
func (client CloudGuardClient) UpdateResponderRecipe(ctx context.Context, request UpdateResponderRecipeRequest) (response UpdateResponderRecipeResponse, err error)
UpdateResponderRecipe Update the ResponderRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipe API.
func (client CloudGuardClient) UpdateResponderRecipeResponderRule(ctx context.Context, request UpdateResponderRecipeResponderRuleRequest) (response UpdateResponderRecipeResponderRuleResponse, err error)
UpdateResponderRecipeResponderRule Update the ResponderRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRule API.
func (client CloudGuardClient) UpdateTarget(ctx context.Context, request UpdateTargetRequest) (response UpdateTargetResponse, err error)
UpdateTarget Updates a Target identified by targetId
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTarget API.
func (client CloudGuardClient) UpdateTargetDetectorRecipe(ctx context.Context, request UpdateTargetDetectorRecipeRequest) (response UpdateTargetDetectorRecipeResponse, err error)
UpdateTargetDetectorRecipe Update the TargetDetectorRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipe API.
func (client CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule(ctx context.Context, request UpdateTargetDetectorRecipeDetectorRuleRequest) (response UpdateTargetDetectorRecipeDetectorRuleResponse, err error)
UpdateTargetDetectorRecipeDetectorRule Update the DetectorRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) UpdateTargetResponderRecipe(ctx context.Context, request UpdateTargetResponderRecipeRequest) (response UpdateTargetResponderRecipeResponse, err error)
UpdateTargetResponderRecipe Update the TargetResponderRecipe resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipe API.
func (client CloudGuardClient) UpdateTargetResponderRecipeResponderRule(ctx context.Context, request UpdateTargetResponderRecipeResponderRuleRequest) (response UpdateTargetResponderRecipeResponderRuleResponse, err error)
UpdateTargetResponderRecipeResponderRule Update the ResponderRule by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRule API.
CloudGuardStatusEnum Enum with underlying type: string
type CloudGuardStatusEnum string
Set of constants representing the allowable values for CloudGuardStatusEnum
const ( CloudGuardStatusEnabled CloudGuardStatusEnum = "ENABLED" CloudGuardStatusDisabled CloudGuardStatusEnum = "DISABLED" )
func GetCloudGuardStatusEnumValues() []CloudGuardStatusEnum
GetCloudGuardStatusEnumValues Enumerates the set of values for CloudGuardStatusEnum
CompositeCondition Composite Condition object with nested Condition
type CompositeCondition struct { LeftOperand Condition `mandatory:"false" json:"leftOperand"` RightOperand Condition `mandatory:"false" json:"rightOperand"` CompositeOperator CompositeConditionCompositeOperatorEnum `mandatory:"false" json:"compositeOperator,omitempty"` }
func (m CompositeCondition) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CompositeCondition) String() string
func (m *CompositeCondition) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CompositeConditionCompositeOperatorEnum Enum with underlying type: string
type CompositeConditionCompositeOperatorEnum string
Set of constants representing the allowable values for CompositeConditionCompositeOperatorEnum
const ( CompositeConditionCompositeOperatorAnd CompositeConditionCompositeOperatorEnum = "AND" CompositeConditionCompositeOperatorOr CompositeConditionCompositeOperatorEnum = "OR" )
func GetCompositeConditionCompositeOperatorEnumValues() []CompositeConditionCompositeOperatorEnum
GetCompositeConditionCompositeOperatorEnumValues Enumerates the set of values for CompositeConditionCompositeOperatorEnum
Condition Base condition object
type Condition interface { }
ConditionFilterTypeEnum Enum with underlying type: string
type ConditionFilterTypeEnum string
Set of constants representing the allowable values for ConditionFilterTypeEnum
const ( ConditionFilterTypeCondition ConditionFilterTypeEnum = "CONDITION" ConditionFilterTypeConfig ConditionFilterTypeEnum = "CONFIG" )
func GetConditionFilterTypeEnumValues() []ConditionFilterTypeEnum
GetConditionFilterTypeEnumValues Enumerates the set of values for ConditionFilterTypeEnum
ConditionGroup Condition configured on a target
type ConditionGroup struct { // compartment associated with condition CompartmentId *string `mandatory:"true" json:"compartmentId"` Condition Condition `mandatory:"true" json:"condition"` }
func (m ConditionGroup) String() string
func (m *ConditionGroup) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ConditionKindEnum Enum with underlying type: string
type ConditionKindEnum string
Set of constants representing the allowable values for ConditionKindEnum
const ( ConditionKindComposite ConditionKindEnum = "COMPOSITE" ConditionKindSimple ConditionKindEnum = "SIMPLE" )
func GetConditionKindEnumValues() []ConditionKindEnum
GetConditionKindEnumValues Enumerates the set of values for ConditionKindEnum
ConditionMetadataType condition type provided by cloud guard
type ConditionMetadataType struct { // Name used to identify Name *string `mandatory:"true" json:"name"` // collection of Service type ServiceTypes []ServiceTypeSummary `mandatory:"true" json:"serviceTypes"` }
func (m ConditionMetadataType) String() string
ConditionMetadataTypeCollection condition type provided by cloud guard
type ConditionMetadataTypeCollection struct { // collection of condition types Items []ConditionMetadataTypeSummary `mandatory:"true" json:"items"` }
func (m ConditionMetadataTypeCollection) String() string
ConditionMetadataTypeSummary condition type provided by cloud guard
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"` }
func (m ConditionMetadataTypeSummary) String() string
ConditionOperator Conditions related to the parameter data type
type ConditionOperator struct { // operator name Name ConditionOperatorNameEnum `mandatory:"true" json:"name"` // display name of the operator DisplayName *string `mandatory:"true" json:"displayName"` }
func (m ConditionOperator) String() string
ConditionOperatorNameEnum Enum with underlying type: string
type ConditionOperatorNameEnum string
Set of constants representing the allowable values for ConditionOperatorNameEnum
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" )
func GetConditionOperatorNameEnumValues() []ConditionOperatorNameEnum
GetConditionOperatorNameEnumValues Enumerates the set of values for ConditionOperatorNameEnum
ConditionTypeEnumEnum Enum with underlying type: string
type ConditionTypeEnumEnum string
Set of constants representing the allowable values for ConditionTypeEnumEnum
const ( ConditionTypeEnumActivityCondition ConditionTypeEnumEnum = "ActivityCondition" ConditionTypeEnumSecurityCondition ConditionTypeEnumEnum = "SecurityCondition" ConditionTypeEnumCloudGuardCondition ConditionTypeEnumEnum = "CloudGuardCondition" )
func GetConditionTypeEnumEnumValues() []ConditionTypeEnumEnum
GetConditionTypeEnumEnumValues Enumerates the set of values for ConditionTypeEnumEnum
ConditionValueTypeEnum Enum with underlying type: string
type ConditionValueTypeEnum string
Set of constants representing the allowable values for ConditionValueTypeEnum
const ( ConditionValueTypeManaged ConditionValueTypeEnum = "MANAGED" ConditionValueTypeCustom ConditionValueTypeEnum = "CUSTOM" )
func GetConditionValueTypeEnumValues() []ConditionValueTypeEnum
GetConditionValueTypeEnumValues Enumerates the set of values for ConditionValueTypeEnum
ConfigValue configuration item for multi list data type
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"` }
func (m ConfigValue) String() string
Configuration Cloud Guard configuration details of a tenancy.
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"` }
func (m Configuration) String() string
ConfigurationListItemTypeEnum Enum with underlying type: string
type ConfigurationListItemTypeEnum string
Set of constants representing the allowable values for ConfigurationListItemTypeEnum
const ( ConfigurationListItemTypeManaged ConfigurationListItemTypeEnum = "MANAGED" ConfigurationListItemTypeCustom ConfigurationListItemTypeEnum = "CUSTOM" )
func GetConfigurationListItemTypeEnumValues() []ConfigurationListItemTypeEnum
GetConfigurationListItemTypeEnumValues Enumerates the set of values for ConfigurationListItemTypeEnum
CreateDetectorRecipeDetails Create of Detector recipe.
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"` }
func (m CreateDetectorRecipeDetails) String() string
CreateDetectorRecipeRequest wrapper for the CreateDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use 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 }
func (request CreateDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDetectorRecipeRequest) String() string
CreateDetectorRecipeResponse wrapper for the CreateDetectorRecipe operation
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"` }
func (response CreateDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDetectorRecipeResponse) String() string
CreateManagedListDetails Create ManagedList
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"` }
func (m CreateManagedListDetails) String() string
CreateManagedListRequest wrapper for the CreateManagedList operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateManagedList.go.html to see an example of how to use 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 }
func (request CreateManagedListRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedListRequest) String() string
CreateManagedListResponse wrapper for the CreateManagedList operation
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"` }
func (response CreateManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedListResponse) String() string
CreateResponderRecipeDetails Details of ResponderRecipe.
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"` }
func (m CreateResponderRecipeDetails) String() string
CreateResponderRecipeRequest wrapper for the CreateResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateResponderRecipe.go.html to see an example of how to use 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 }
func (request CreateResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateResponderRecipeRequest) String() string
CreateResponderRecipeResponse wrapper for the CreateResponderRecipe operation
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"` }
func (response CreateResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateResponderRecipeResponse) String() string
CreateTargetDetails The information about new Target.
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"` }
func (m CreateTargetDetails) String() string
CreateTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe
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"` }
func (m CreateTargetDetectorRecipeDetails) String() string
CreateTargetDetectorRecipeRequest wrapper for the CreateTargetDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use 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 }
func (request CreateTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetDetectorRecipeRequest) String() string
CreateTargetDetectorRecipeResponse wrapper for the CreateTargetDetectorRecipe operation
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"` }
func (response CreateTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetDetectorRecipeResponse) String() string
CreateTargetRequest wrapper for the CreateTarget operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTarget.go.html to see an example of how to use 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 }
func (request CreateTargetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetRequest) String() string
CreateTargetResponderRecipeDetails The information required to create TargetResponderRecipe
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"` }
func (m CreateTargetResponderRecipeDetails) String() string
CreateTargetResponderRecipeRequest wrapper for the CreateTargetResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use 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 }
func (request CreateTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetResponderRecipeRequest) String() string
CreateTargetResponderRecipeResponse wrapper for the CreateTargetResponderRecipe operation
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"` }
func (response CreateTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetResponderRecipeResponse) String() string
CreateTargetResponse wrapper for the CreateTarget operation
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"` }
func (response CreateTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetResponse) String() string
DeleteDetectorRecipeRequest wrapper for the DeleteDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use 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 }
func (request DeleteDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDetectorRecipeRequest) String() string
DeleteDetectorRecipeResponse wrapper for the DeleteDetectorRecipe operation
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"` }
func (response DeleteDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDetectorRecipeResponse) String() string
DeleteManagedListRequest wrapper for the DeleteManagedList operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteManagedList.go.html to see an example of how to use 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 }
func (request DeleteManagedListRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedListRequest) String() string
DeleteManagedListResponse wrapper for the DeleteManagedList operation
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"` }
func (response DeleteManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedListResponse) String() string
DeleteResponderRecipeRequest wrapper for the DeleteResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use 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 }
func (request DeleteResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteResponderRecipeRequest) String() string
DeleteResponderRecipeResponse wrapper for the DeleteResponderRecipe operation
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"` }
func (response DeleteResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteResponderRecipeResponse) String() string
DeleteTargetDetectorRecipeRequest wrapper for the DeleteTargetDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use 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 }
func (request DeleteTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetDetectorRecipeRequest) String() string
DeleteTargetDetectorRecipeResponse wrapper for the DeleteTargetDetectorRecipe operation
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"` }
func (response DeleteTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetDetectorRecipeResponse) String() string
DeleteTargetRequest wrapper for the DeleteTarget operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTarget.go.html to see an example of how to use 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 }
func (request DeleteTargetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetRequest) String() string
DeleteTargetResponderRecipeRequest wrapper for the DeleteTargetResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use 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 }
func (request DeleteTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetResponderRecipeRequest) String() string
DeleteTargetResponderRecipeResponse wrapper for the DeleteTargetResponderRecipe operation
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"` }
func (response DeleteTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetResponderRecipeResponse) String() string
DeleteTargetResponse wrapper for the DeleteTarget operation
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"` }
func (response DeleteTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetResponse) String() string
Detector A single 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"` }
func (m Detector) String() string
DetectorCollection Summary of the Detector.
type DetectorCollection struct { // List of DetectorSummary Items []DetectorSummary `mandatory:"true" json:"items"` }
func (m DetectorCollection) String() string
DetectorConfiguration A single configuration applied to a detector
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"` }
func (m DetectorConfiguration) String() string
DetectorDetails Details of a Detector Rule
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"` }
func (m DetectorDetails) String() string
func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DetectorEnumEnum Enum with underlying type: string
type DetectorEnumEnum string
Set of constants representing the allowable values for DetectorEnumEnum
const ( DetectorEnumIaasActivityDetector DetectorEnumEnum = "IAAS_ACTIVITY_DETECTOR" DetectorEnumIaasConfigurationDetector DetectorEnumEnum = "IAAS_CONFIGURATION_DETECTOR" )
func GetDetectorEnumEnumValues() []DetectorEnumEnum
GetDetectorEnumEnumValues Enumerates the set of values for DetectorEnumEnum
DetectorRecipe Details of Detector recipe
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"` }
func (m DetectorRecipe) String() string
DetectorRecipeCollection Summary of the DetectorRecipe.
type DetectorRecipeCollection struct { // List of DetectorRecipeSummary Items []DetectorRecipeSummary `mandatory:"true" json:"items"` }
func (m DetectorRecipeCollection) String() string
DetectorRecipeDetectorRule Detector Recipe Rule
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"` }
func (m DetectorRecipeDetectorRule) String() string
DetectorRecipeDetectorRuleCollection Summary of the DetectorRule.
type DetectorRecipeDetectorRuleCollection struct { // List of DetectorRecipeDetectorRuleSummary Items []DetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"` }
func (m DetectorRecipeDetectorRuleCollection) String() string
DetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string
type DetectorRecipeDetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum
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" )
func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []DetectorRecipeDetectorRuleManagedListTypesEnum
GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum
DetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.
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"` }
func (m DetectorRecipeDetectorRuleSummary) String() string
DetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
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" )
func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
DetectorRecipeSummary Summary of Detector recipe
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"` }
func (m DetectorRecipeSummary) String() string
DetectorRule Detector
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"` }
func (m DetectorRule) String() string
DetectorRuleCollection Summary of the DetectorRule.
type DetectorRuleCollection struct { // List of DetectorRuleSummary Items []DetectorRuleSummary `mandatory:"true" json:"items"` }
func (m DetectorRuleCollection) String() string
DetectorRuleManagedListTypesEnum Enum with underlying type: string
type DetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum
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" )
func GetDetectorRuleManagedListTypesEnumValues() []DetectorRuleManagedListTypesEnum
GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum
DetectorRuleSummary Summary of the Detector Rules.
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"` }
func (m DetectorRuleSummary) String() string
DetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type DetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum
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" )
func GetDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRuleSummaryManagedListTypesEnum
GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum
DetectorSummary Summary of the Detector.
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"` }
func (m DetectorSummary) String() string
EventStatusEnum Enum with underlying type: string
type EventStatusEnum string
Set of constants representing the allowable values for EventStatusEnum
const ( EventStatusReopen EventStatusEnum = "REOPEN" EventStatusOpen EventStatusEnum = "OPEN" EventStatusUpdate EventStatusEnum = "UPDATE" EventStatusResolve EventStatusEnum = "RESOLVE" EventStatusDismiss EventStatusEnum = "DISMISS" )
func GetEventStatusEnumValues() []EventStatusEnum
GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum
ExecuteResponderExecutionDetails The details for Responder Configuration
type ExecuteResponderExecutionDetails struct { // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m ExecuteResponderExecutionDetails) String() string
ExecuteResponderExecutionRequest wrapper for the ExecuteResponderExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use 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 }
func (request ExecuteResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExecuteResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExecuteResponderExecutionRequest) String() string
ExecuteResponderExecutionResponse wrapper for the ExecuteResponderExecution operation
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"` }
func (response ExecuteResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExecuteResponderExecutionResponse) String() string
FeedProviderTypeEnum Enum with underlying type: string
type FeedProviderTypeEnum string
Set of constants representing the allowable values for FeedProviderTypeEnum
const ( FeedProviderTypeCustomer FeedProviderTypeEnum = "CUSTOMER" FeedProviderTypeOracle FeedProviderTypeEnum = "ORACLE" )
func GetFeedProviderTypeEnumValues() []FeedProviderTypeEnum
GetFeedProviderTypeEnumValues Enumerates the set of values for FeedProviderTypeEnum
GeographicalLocation Geographical Location of a problem
type GeographicalLocation struct { // Latitude Latitude *float64 `mandatory:"true" json:"latitude"` // Longitude Longitude *float64 `mandatory:"true" json:"longitude"` }
func (m GeographicalLocation) String() string
GetConditionMetadataTypeConditionMetadataTypeIdEnum Enum with underlying type: string
type GetConditionMetadataTypeConditionMetadataTypeIdEnum string
Set of constants representing the allowable values for GetConditionMetadataTypeConditionMetadataTypeIdEnum
const ( GetConditionMetadataTypeConditionMetadataTypeIdActivitycondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ActivityCondition" GetConditionMetadataTypeConditionMetadataTypeIdSecuritycondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "SecurityCondition" GetConditionMetadataTypeConditionMetadataTypeIdCloudguardcondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "CloudGuardCondition" )
func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues() []GetConditionMetadataTypeConditionMetadataTypeIdEnum
GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues Enumerates the set of values for GetConditionMetadataTypeConditionMetadataTypeIdEnum
GetConditionMetadataTypeRequest wrapper for the GetConditionMetadataType operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetConditionMetadataType.go.html to see an example of how to use 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 }
func (request GetConditionMetadataTypeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConditionMetadataTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConditionMetadataTypeRequest) String() string
GetConditionMetadataTypeResponse wrapper for the GetConditionMetadataType operation
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"` }
func (response GetConditionMetadataTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConditionMetadataTypeResponse) String() string
GetConfigurationRequest wrapper for the GetConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetConfiguration.go.html to see an example of how to use 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 }
func (request GetConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConfigurationRequest) String() string
GetConfigurationResponse wrapper for the GetConfiguration operation
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"` }
func (response GetConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConfigurationResponse) String() string
GetDetectorRecipeDetectorRuleRequest wrapper for the GetDetectorRecipeDetectorRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use 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 }
func (request GetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRecipeDetectorRuleRequest) String() string
GetDetectorRecipeDetectorRuleResponse wrapper for the GetDetectorRecipeDetectorRule operation
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"` }
func (response GetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRecipeDetectorRuleResponse) String() string
GetDetectorRecipeRequest wrapper for the GetDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRecipe.go.html to see an example of how to use 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 }
func (request GetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRecipeRequest) String() string
GetDetectorRecipeResponse wrapper for the GetDetectorRecipe operation
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"` }
func (response GetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRecipeResponse) String() string
GetDetectorRequest wrapper for the GetDetector operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetector.go.html to see an example of how to use 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 }
func (request GetDetectorRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRequest) String() string
GetDetectorResponse wrapper for the GetDetector operation
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"` }
func (response GetDetectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorResponse) String() string
GetDetectorRuleRequest wrapper for the GetDetectorRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetDetectorRule.go.html to see an example of how to use 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 }
func (request GetDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRuleRequest) String() string
GetDetectorRuleResponse wrapper for the GetDetectorRule operation
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"` }
func (response GetDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRuleResponse) String() string
GetManagedListRequest wrapper for the GetManagedList operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetManagedList.go.html to see an example of how to use 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 }
func (request GetManagedListRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedListRequest) String() string
GetManagedListResponse wrapper for the GetManagedList operation
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"` }
func (response GetManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedListResponse) String() string
GetProblemRequest wrapper for the GetProblem operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetProblem.go.html to see an example of how to use 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 }
func (request GetProblemRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProblemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProblemRequest) String() string
GetProblemResponse wrapper for the GetProblem operation
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"` }
func (response GetProblemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProblemResponse) String() string
GetResponderExecutionRequest wrapper for the GetResponderExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderExecution.go.html to see an example of how to use 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 }
func (request GetResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderExecutionRequest) String() string
GetResponderExecutionResponse wrapper for the GetResponderExecution operation
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"` }
func (response GetResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderExecutionResponse) String() string
GetResponderRecipeRequest wrapper for the GetResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRecipe.go.html to see an example of how to use 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 }
func (request GetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRecipeRequest) String() string
GetResponderRecipeResponderRuleRequest wrapper for the GetResponderRecipeResponderRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use 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 }
func (request GetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRecipeResponderRuleRequest) String() string
GetResponderRecipeResponderRuleResponse wrapper for the GetResponderRecipeResponderRule operation
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"` }
func (response GetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRecipeResponderRuleResponse) String() string
GetResponderRecipeResponse wrapper for the GetResponderRecipe operation
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"` }
func (response GetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRecipeResponse) String() string
GetResponderRuleRequest wrapper for the GetResponderRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetResponderRule.go.html to see an example of how to use 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 }
func (request GetResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRuleRequest) String() string
GetResponderRuleResponse wrapper for the GetResponderRule operation
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"` }
func (response GetResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRuleResponse) String() string
GetTargetDetectorRecipeDetectorRuleRequest wrapper for the GetTargetDetectorRecipeDetectorRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use 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 }
func (request GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetDetectorRecipeDetectorRuleRequest) String() string
GetTargetDetectorRecipeDetectorRuleResponse wrapper for the GetTargetDetectorRecipeDetectorRule operation
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"` }
func (response GetTargetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetDetectorRecipeDetectorRuleResponse) String() string
GetTargetDetectorRecipeRequest wrapper for the GetTargetDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use 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 }
func (request GetTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetDetectorRecipeRequest) String() string
GetTargetDetectorRecipeResponse wrapper for the GetTargetDetectorRecipe operation
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"` }
func (response GetTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetDetectorRecipeResponse) String() string
GetTargetRequest wrapper for the GetTarget operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTarget.go.html to see an example of how to use 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 }
func (request GetTargetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetRequest) String() string
GetTargetResponderRecipeRequest wrapper for the GetTargetResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use 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 }
func (request GetTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetResponderRecipeRequest) String() string
GetTargetResponderRecipeResponderRuleRequest wrapper for the GetTargetResponderRecipeResponderRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use 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 }
func (request GetTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetResponderRecipeResponderRuleRequest) String() string
GetTargetResponderRecipeResponderRuleResponse wrapper for the GetTargetResponderRecipeResponderRule operation
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"` }
func (response GetTargetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponderRecipeResponderRuleResponse) String() string
GetTargetResponderRecipeResponse wrapper for the GetTargetResponderRecipe operation
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"` }
func (response GetTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponderRecipeResponse) String() string
GetTargetResponse wrapper for the GetTarget operation
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"` }
func (response GetTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponse) String() string
ImpactedResourceCollection Provides the summary of impacted resources
type ImpactedResourceCollection struct { // List of ImpactedResourceSummary Items []ImpactedResourceSummary `mandatory:"true" json:"items"` }
func (m ImpactedResourceCollection) String() string
ImpactedResourceSummary Impacted Resource summary Definition.
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"` }
func (m ImpactedResourceSummary) String() string
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateInactive LifecycleStateEnum = "INACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListConditionMetadataTypesLifecycleStateEnum Enum with underlying type: string
type ListConditionMetadataTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesLifecycleStateEnum
const ( ListConditionMetadataTypesLifecycleStateCreating ListConditionMetadataTypesLifecycleStateEnum = "CREATING" ListConditionMetadataTypesLifecycleStateUpdating ListConditionMetadataTypesLifecycleStateEnum = "UPDATING" ListConditionMetadataTypesLifecycleStateActive ListConditionMetadataTypesLifecycleStateEnum = "ACTIVE" ListConditionMetadataTypesLifecycleStateInactive ListConditionMetadataTypesLifecycleStateEnum = "INACTIVE" ListConditionMetadataTypesLifecycleStateDeleting ListConditionMetadataTypesLifecycleStateEnum = "DELETING" ListConditionMetadataTypesLifecycleStateDeleted ListConditionMetadataTypesLifecycleStateEnum = "DELETED" ListConditionMetadataTypesLifecycleStateFailed ListConditionMetadataTypesLifecycleStateEnum = "FAILED" )
func GetListConditionMetadataTypesLifecycleStateEnumValues() []ListConditionMetadataTypesLifecycleStateEnum
GetListConditionMetadataTypesLifecycleStateEnumValues Enumerates the set of values for ListConditionMetadataTypesLifecycleStateEnum
ListConditionMetadataTypesRequest wrapper for the ListConditionMetadataTypes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use 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 }
func (request ListConditionMetadataTypesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConditionMetadataTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConditionMetadataTypesRequest) String() string
ListConditionMetadataTypesResponse wrapper for the ListConditionMetadataTypes operation
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"` }
func (response ListConditionMetadataTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConditionMetadataTypesResponse) String() string
ListConditionMetadataTypesSortByEnum Enum with underlying type: string
type ListConditionMetadataTypesSortByEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesSortByEnum
const ( ListConditionMetadataTypesSortByTimecreated ListConditionMetadataTypesSortByEnum = "timeCreated" ListConditionMetadataTypesSortByDisplayname ListConditionMetadataTypesSortByEnum = "displayName" )
func GetListConditionMetadataTypesSortByEnumValues() []ListConditionMetadataTypesSortByEnum
GetListConditionMetadataTypesSortByEnumValues Enumerates the set of values for ListConditionMetadataTypesSortByEnum
ListConditionMetadataTypesSortOrderEnum Enum with underlying type: string
type ListConditionMetadataTypesSortOrderEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesSortOrderEnum
const ( ListConditionMetadataTypesSortOrderAsc ListConditionMetadataTypesSortOrderEnum = "ASC" ListConditionMetadataTypesSortOrderDesc ListConditionMetadataTypesSortOrderEnum = "DESC" )
func GetListConditionMetadataTypesSortOrderEnumValues() []ListConditionMetadataTypesSortOrderEnum
GetListConditionMetadataTypesSortOrderEnumValues Enumerates the set of values for ListConditionMetadataTypesSortOrderEnum
ListDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesLifecycleStateEnum
const ( ListDetectorRecipeDetectorRulesLifecycleStateCreating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING" ListDetectorRecipeDetectorRulesLifecycleStateUpdating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING" ListDetectorRecipeDetectorRulesLifecycleStateActive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE" ListDetectorRecipeDetectorRulesLifecycleStateInactive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE" ListDetectorRecipeDetectorRulesLifecycleStateDeleting ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING" ListDetectorRecipeDetectorRulesLifecycleStateDeleted ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED" ListDetectorRecipeDetectorRulesLifecycleStateFailed ListDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListDetectorRecipeDetectorRulesLifecycleStateEnum
GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesLifecycleStateEnum
ListDetectorRecipeDetectorRulesRequest wrapper for the ListDetectorRecipeDetectorRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use 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 }
func (request ListDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRecipeDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRecipeDetectorRulesRequest) String() string
ListDetectorRecipeDetectorRulesResponse wrapper for the ListDetectorRecipeDetectorRules operation
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"` }
func (response ListDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRecipeDetectorRulesResponse) String() string
ListDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortByEnum
const ( ListDetectorRecipeDetectorRulesSortByDisplayname ListDetectorRecipeDetectorRulesSortByEnum = "displayName" ListDetectorRecipeDetectorRulesSortByRisklevel ListDetectorRecipeDetectorRulesSortByEnum = "riskLevel" )
func GetListDetectorRecipeDetectorRulesSortByEnumValues() []ListDetectorRecipeDetectorRulesSortByEnum
GetListDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortByEnum
ListDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortOrderEnum
const ( ListDetectorRecipeDetectorRulesSortOrderAsc ListDetectorRecipeDetectorRulesSortOrderEnum = "ASC" ListDetectorRecipeDetectorRulesSortOrderDesc ListDetectorRecipeDetectorRulesSortOrderEnum = "DESC" )
func GetListDetectorRecipeDetectorRulesSortOrderEnumValues() []ListDetectorRecipeDetectorRulesSortOrderEnum
GetListDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortOrderEnum
ListDetectorRecipesAccessLevelEnum Enum with underlying type: string
type ListDetectorRecipesAccessLevelEnum string
Set of constants representing the allowable values for ListDetectorRecipesAccessLevelEnum
const ( ListDetectorRecipesAccessLevelRestricted ListDetectorRecipesAccessLevelEnum = "RESTRICTED" ListDetectorRecipesAccessLevelAccessible ListDetectorRecipesAccessLevelEnum = "ACCESSIBLE" )
func GetListDetectorRecipesAccessLevelEnumValues() []ListDetectorRecipesAccessLevelEnum
GetListDetectorRecipesAccessLevelEnumValues Enumerates the set of values for ListDetectorRecipesAccessLevelEnum
ListDetectorRecipesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRecipesLifecycleStateEnum
const ( ListDetectorRecipesLifecycleStateCreating ListDetectorRecipesLifecycleStateEnum = "CREATING" ListDetectorRecipesLifecycleStateUpdating ListDetectorRecipesLifecycleStateEnum = "UPDATING" ListDetectorRecipesLifecycleStateActive ListDetectorRecipesLifecycleStateEnum = "ACTIVE" ListDetectorRecipesLifecycleStateInactive ListDetectorRecipesLifecycleStateEnum = "INACTIVE" ListDetectorRecipesLifecycleStateDeleting ListDetectorRecipesLifecycleStateEnum = "DELETING" ListDetectorRecipesLifecycleStateDeleted ListDetectorRecipesLifecycleStateEnum = "DELETED" ListDetectorRecipesLifecycleStateFailed ListDetectorRecipesLifecycleStateEnum = "FAILED" )
func GetListDetectorRecipesLifecycleStateEnumValues() []ListDetectorRecipesLifecycleStateEnum
GetListDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipesLifecycleStateEnum
ListDetectorRecipesRequest wrapper for the ListDetectorRecipes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRecipes.go.html to see an example of how to use 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 }
func (request ListDetectorRecipesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRecipesRequest) String() string
ListDetectorRecipesResponse wrapper for the ListDetectorRecipes operation
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"` }
func (response ListDetectorRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRecipesResponse) String() string
ListDetectorRecipesSortByEnum Enum with underlying type: string
type ListDetectorRecipesSortByEnum string
Set of constants representing the allowable values for ListDetectorRecipesSortByEnum
const ( ListDetectorRecipesSortByTimecreated ListDetectorRecipesSortByEnum = "timeCreated" ListDetectorRecipesSortByDisplayname ListDetectorRecipesSortByEnum = "displayName" )
func GetListDetectorRecipesSortByEnumValues() []ListDetectorRecipesSortByEnum
GetListDetectorRecipesSortByEnumValues Enumerates the set of values for ListDetectorRecipesSortByEnum
ListDetectorRecipesSortOrderEnum Enum with underlying type: string
type ListDetectorRecipesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRecipesSortOrderEnum
const ( ListDetectorRecipesSortOrderAsc ListDetectorRecipesSortOrderEnum = "ASC" ListDetectorRecipesSortOrderDesc ListDetectorRecipesSortOrderEnum = "DESC" )
func GetListDetectorRecipesSortOrderEnumValues() []ListDetectorRecipesSortOrderEnum
GetListDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipesSortOrderEnum
ListDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRulesLifecycleStateEnum
const ( ListDetectorRulesLifecycleStateCreating ListDetectorRulesLifecycleStateEnum = "CREATING" ListDetectorRulesLifecycleStateUpdating ListDetectorRulesLifecycleStateEnum = "UPDATING" ListDetectorRulesLifecycleStateActive ListDetectorRulesLifecycleStateEnum = "ACTIVE" ListDetectorRulesLifecycleStateInactive ListDetectorRulesLifecycleStateEnum = "INACTIVE" ListDetectorRulesLifecycleStateDeleting ListDetectorRulesLifecycleStateEnum = "DELETING" ListDetectorRulesLifecycleStateDeleted ListDetectorRulesLifecycleStateEnum = "DELETED" ListDetectorRulesLifecycleStateFailed ListDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListDetectorRulesLifecycleStateEnumValues() []ListDetectorRulesLifecycleStateEnum
GetListDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRulesLifecycleStateEnum
ListDetectorRulesRequest wrapper for the ListDetectorRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectorRules.go.html to see an example of how to use 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 }
func (request ListDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRulesRequest) String() string
ListDetectorRulesResponse wrapper for the ListDetectorRules operation
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"` }
func (response ListDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRulesResponse) String() string
ListDetectorRulesSortByEnum Enum with underlying type: string
type ListDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListDetectorRulesSortByEnum
const ( ListDetectorRulesSortByTimecreated ListDetectorRulesSortByEnum = "timeCreated" ListDetectorRulesSortByDisplayname ListDetectorRulesSortByEnum = "displayName" )
func GetListDetectorRulesSortByEnumValues() []ListDetectorRulesSortByEnum
GetListDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRulesSortByEnum
ListDetectorRulesSortOrderEnum Enum with underlying type: string
type ListDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRulesSortOrderEnum
const ( ListDetectorRulesSortOrderAsc ListDetectorRulesSortOrderEnum = "ASC" ListDetectorRulesSortOrderDesc ListDetectorRulesSortOrderEnum = "DESC" )
func GetListDetectorRulesSortOrderEnumValues() []ListDetectorRulesSortOrderEnum
GetListDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRulesSortOrderEnum
ListDetectorsLifecycleStateEnum Enum with underlying type: string
type ListDetectorsLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorsLifecycleStateEnum
const ( ListDetectorsLifecycleStateCreating ListDetectorsLifecycleStateEnum = "CREATING" ListDetectorsLifecycleStateUpdating ListDetectorsLifecycleStateEnum = "UPDATING" ListDetectorsLifecycleStateActive ListDetectorsLifecycleStateEnum = "ACTIVE" ListDetectorsLifecycleStateInactive ListDetectorsLifecycleStateEnum = "INACTIVE" ListDetectorsLifecycleStateDeleting ListDetectorsLifecycleStateEnum = "DELETING" ListDetectorsLifecycleStateDeleted ListDetectorsLifecycleStateEnum = "DELETED" ListDetectorsLifecycleStateFailed ListDetectorsLifecycleStateEnum = "FAILED" )
func GetListDetectorsLifecycleStateEnumValues() []ListDetectorsLifecycleStateEnum
GetListDetectorsLifecycleStateEnumValues Enumerates the set of values for ListDetectorsLifecycleStateEnum
ListDetectorsRequest wrapper for the ListDetectors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListDetectors.go.html to see an example of how to use 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 }
func (request ListDetectorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorsRequest) String() string
ListDetectorsResponse wrapper for the ListDetectors operation
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"` }
func (response ListDetectorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorsResponse) String() string
ListDetectorsSortByEnum Enum with underlying type: string
type ListDetectorsSortByEnum string
Set of constants representing the allowable values for ListDetectorsSortByEnum
const ( ListDetectorsSortByTimecreated ListDetectorsSortByEnum = "timeCreated" ListDetectorsSortByDisplayname ListDetectorsSortByEnum = "displayName" )
func GetListDetectorsSortByEnumValues() []ListDetectorsSortByEnum
GetListDetectorsSortByEnumValues Enumerates the set of values for ListDetectorsSortByEnum
ListDetectorsSortOrderEnum Enum with underlying type: string
type ListDetectorsSortOrderEnum string
Set of constants representing the allowable values for ListDetectorsSortOrderEnum
const ( ListDetectorsSortOrderAsc ListDetectorsSortOrderEnum = "ASC" ListDetectorsSortOrderDesc ListDetectorsSortOrderEnum = "DESC" )
func GetListDetectorsSortOrderEnumValues() []ListDetectorsSortOrderEnum
GetListDetectorsSortOrderEnumValues Enumerates the set of values for ListDetectorsSortOrderEnum
ListImpactedResourcesRequest wrapper for the ListImpactedResources operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListImpactedResources.go.html to see an example of how to use 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 }
func (request ListImpactedResourcesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImpactedResourcesRequest) String() string
ListImpactedResourcesResponse wrapper for the ListImpactedResources operation
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"` }
func (response ListImpactedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImpactedResourcesResponse) String() string
ListImpactedResourcesSortByEnum Enum with underlying type: string
type ListImpactedResourcesSortByEnum string
Set of constants representing the allowable values for ListImpactedResourcesSortByEnum
const ( ListImpactedResourcesSortByTimecreated ListImpactedResourcesSortByEnum = "timeCreated" )
func GetListImpactedResourcesSortByEnumValues() []ListImpactedResourcesSortByEnum
GetListImpactedResourcesSortByEnumValues Enumerates the set of values for ListImpactedResourcesSortByEnum
ListImpactedResourcesSortOrderEnum Enum with underlying type: string
type ListImpactedResourcesSortOrderEnum string
Set of constants representing the allowable values for ListImpactedResourcesSortOrderEnum
const ( ListImpactedResourcesSortOrderAsc ListImpactedResourcesSortOrderEnum = "ASC" ListImpactedResourcesSortOrderDesc ListImpactedResourcesSortOrderEnum = "DESC" )
func GetListImpactedResourcesSortOrderEnumValues() []ListImpactedResourcesSortOrderEnum
GetListImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListImpactedResourcesSortOrderEnum
ListManagedListTypesLifecycleStateEnum Enum with underlying type: string
type ListManagedListTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedListTypesLifecycleStateEnum
const ( ListManagedListTypesLifecycleStateCreating ListManagedListTypesLifecycleStateEnum = "CREATING" ListManagedListTypesLifecycleStateUpdating ListManagedListTypesLifecycleStateEnum = "UPDATING" ListManagedListTypesLifecycleStateActive ListManagedListTypesLifecycleStateEnum = "ACTIVE" ListManagedListTypesLifecycleStateInactive ListManagedListTypesLifecycleStateEnum = "INACTIVE" ListManagedListTypesLifecycleStateDeleting ListManagedListTypesLifecycleStateEnum = "DELETING" ListManagedListTypesLifecycleStateDeleted ListManagedListTypesLifecycleStateEnum = "DELETED" ListManagedListTypesLifecycleStateFailed ListManagedListTypesLifecycleStateEnum = "FAILED" )
func GetListManagedListTypesLifecycleStateEnumValues() []ListManagedListTypesLifecycleStateEnum
GetListManagedListTypesLifecycleStateEnumValues Enumerates the set of values for ListManagedListTypesLifecycleStateEnum
ListManagedListTypesRequest wrapper for the ListManagedListTypes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListManagedListTypes.go.html to see an example of how to use 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 }
func (request ListManagedListTypesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedListTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedListTypesRequest) String() string
ListManagedListTypesResponse wrapper for the ListManagedListTypes operation
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"` }
func (response ListManagedListTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedListTypesResponse) String() string
ListManagedListTypesSortByEnum Enum with underlying type: string
type ListManagedListTypesSortByEnum string
Set of constants representing the allowable values for ListManagedListTypesSortByEnum
const ( ListManagedListTypesSortByDisplayname ListManagedListTypesSortByEnum = "displayName" ListManagedListTypesSortByRisklevel ListManagedListTypesSortByEnum = "riskLevel" )
func GetListManagedListTypesSortByEnumValues() []ListManagedListTypesSortByEnum
GetListManagedListTypesSortByEnumValues Enumerates the set of values for ListManagedListTypesSortByEnum
ListManagedListTypesSortOrderEnum Enum with underlying type: string
type ListManagedListTypesSortOrderEnum string
Set of constants representing the allowable values for ListManagedListTypesSortOrderEnum
const ( ListManagedListTypesSortOrderAsc ListManagedListTypesSortOrderEnum = "ASC" ListManagedListTypesSortOrderDesc ListManagedListTypesSortOrderEnum = "DESC" )
func GetListManagedListTypesSortOrderEnumValues() []ListManagedListTypesSortOrderEnum
GetListManagedListTypesSortOrderEnumValues Enumerates the set of values for ListManagedListTypesSortOrderEnum
ListManagedListsAccessLevelEnum Enum with underlying type: string
type ListManagedListsAccessLevelEnum string
Set of constants representing the allowable values for ListManagedListsAccessLevelEnum
const ( ListManagedListsAccessLevelRestricted ListManagedListsAccessLevelEnum = "RESTRICTED" ListManagedListsAccessLevelAccessible ListManagedListsAccessLevelEnum = "ACCESSIBLE" )
func GetListManagedListsAccessLevelEnumValues() []ListManagedListsAccessLevelEnum
GetListManagedListsAccessLevelEnumValues Enumerates the set of values for ListManagedListsAccessLevelEnum
ListManagedListsLifecycleStateEnum Enum with underlying type: string
type ListManagedListsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedListsLifecycleStateEnum
const ( ListManagedListsLifecycleStateCreating ListManagedListsLifecycleStateEnum = "CREATING" ListManagedListsLifecycleStateUpdating ListManagedListsLifecycleStateEnum = "UPDATING" ListManagedListsLifecycleStateActive ListManagedListsLifecycleStateEnum = "ACTIVE" ListManagedListsLifecycleStateInactive ListManagedListsLifecycleStateEnum = "INACTIVE" ListManagedListsLifecycleStateDeleting ListManagedListsLifecycleStateEnum = "DELETING" ListManagedListsLifecycleStateDeleted ListManagedListsLifecycleStateEnum = "DELETED" ListManagedListsLifecycleStateFailed ListManagedListsLifecycleStateEnum = "FAILED" )
func GetListManagedListsLifecycleStateEnumValues() []ListManagedListsLifecycleStateEnum
GetListManagedListsLifecycleStateEnumValues Enumerates the set of values for ListManagedListsLifecycleStateEnum
ListManagedListsListTypeEnum Enum with underlying type: string
type ListManagedListsListTypeEnum string
Set of constants representing the allowable values for ListManagedListsListTypeEnum
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" )
func GetListManagedListsListTypeEnumValues() []ListManagedListsListTypeEnum
GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum
ListManagedListsRequest wrapper for the ListManagedLists operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListManagedLists.go.html to see an example of how to use 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 }
func (request ListManagedListsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedListsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedListsRequest) String() string
ListManagedListsResponse wrapper for the ListManagedLists operation
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"` }
func (response ListManagedListsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedListsResponse) String() string
ListManagedListsSortByEnum Enum with underlying type: string
type ListManagedListsSortByEnum string
Set of constants representing the allowable values for ListManagedListsSortByEnum
const ( ListManagedListsSortByTimecreated ListManagedListsSortByEnum = "timeCreated" ListManagedListsSortByDisplayname ListManagedListsSortByEnum = "displayName" )
func GetListManagedListsSortByEnumValues() []ListManagedListsSortByEnum
GetListManagedListsSortByEnumValues Enumerates the set of values for ListManagedListsSortByEnum
ListManagedListsSortOrderEnum Enum with underlying type: string
type ListManagedListsSortOrderEnum string
Set of constants representing the allowable values for ListManagedListsSortOrderEnum
const ( ListManagedListsSortOrderAsc ListManagedListsSortOrderEnum = "ASC" ListManagedListsSortOrderDesc ListManagedListsSortOrderEnum = "DESC" )
func GetListManagedListsSortOrderEnumValues() []ListManagedListsSortOrderEnum
GetListManagedListsSortOrderEnumValues Enumerates the set of values for ListManagedListsSortOrderEnum
ListProblemHistoriesRequest wrapper for the ListProblemHistories operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListProblemHistories.go.html to see an example of how to use 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 }
func (request ListProblemHistoriesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemHistoriesRequest) String() string
ListProblemHistoriesResponse wrapper for the ListProblemHistories operation
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"` }
func (response ListProblemHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemHistoriesResponse) String() string
ListProblemHistoriesSortByEnum Enum with underlying type: string
type ListProblemHistoriesSortByEnum string
Set of constants representing the allowable values for ListProblemHistoriesSortByEnum
const ( ListProblemHistoriesSortByTimecreated ListProblemHistoriesSortByEnum = "timeCreated" )
func GetListProblemHistoriesSortByEnumValues() []ListProblemHistoriesSortByEnum
GetListProblemHistoriesSortByEnumValues Enumerates the set of values for ListProblemHistoriesSortByEnum
ListProblemHistoriesSortOrderEnum Enum with underlying type: string
type ListProblemHistoriesSortOrderEnum string
Set of constants representing the allowable values for ListProblemHistoriesSortOrderEnum
const ( ListProblemHistoriesSortOrderAsc ListProblemHistoriesSortOrderEnum = "ASC" ListProblemHistoriesSortOrderDesc ListProblemHistoriesSortOrderEnum = "DESC" )
func GetListProblemHistoriesSortOrderEnumValues() []ListProblemHistoriesSortOrderEnum
GetListProblemHistoriesSortOrderEnumValues Enumerates the set of values for ListProblemHistoriesSortOrderEnum
ListProblemsAccessLevelEnum Enum with underlying type: string
type ListProblemsAccessLevelEnum string
Set of constants representing the allowable values for ListProblemsAccessLevelEnum
const ( ListProblemsAccessLevelRestricted ListProblemsAccessLevelEnum = "RESTRICTED" ListProblemsAccessLevelAccessible ListProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetListProblemsAccessLevelEnumValues() []ListProblemsAccessLevelEnum
GetListProblemsAccessLevelEnumValues Enumerates the set of values for ListProblemsAccessLevelEnum
ListProblemsDetectorTypeEnum Enum with underlying type: string
type ListProblemsDetectorTypeEnum string
Set of constants representing the allowable values for ListProblemsDetectorTypeEnum
const ( ListProblemsDetectorTypeActivityDetector ListProblemsDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR" ListProblemsDetectorTypeConfigurationDetector ListProblemsDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR" )
func GetListProblemsDetectorTypeEnumValues() []ListProblemsDetectorTypeEnum
GetListProblemsDetectorTypeEnumValues Enumerates the set of values for ListProblemsDetectorTypeEnum
ListProblemsLifecycleDetailEnum Enum with underlying type: string
type ListProblemsLifecycleDetailEnum string
Set of constants representing the allowable values for ListProblemsLifecycleDetailEnum
const ( ListProblemsLifecycleDetailOpen ListProblemsLifecycleDetailEnum = "OPEN" ListProblemsLifecycleDetailResolved ListProblemsLifecycleDetailEnum = "RESOLVED" ListProblemsLifecycleDetailDismissed ListProblemsLifecycleDetailEnum = "DISMISSED" )
func GetListProblemsLifecycleDetailEnumValues() []ListProblemsLifecycleDetailEnum
GetListProblemsLifecycleDetailEnumValues Enumerates the set of values for ListProblemsLifecycleDetailEnum
ListProblemsLifecycleStateEnum Enum with underlying type: string
type ListProblemsLifecycleStateEnum string
Set of constants representing the allowable values for ListProblemsLifecycleStateEnum
const ( ListProblemsLifecycleStateActive ListProblemsLifecycleStateEnum = "ACTIVE" ListProblemsLifecycleStateInactive ListProblemsLifecycleStateEnum = "INACTIVE" )
func GetListProblemsLifecycleStateEnumValues() []ListProblemsLifecycleStateEnum
GetListProblemsLifecycleStateEnumValues Enumerates the set of values for ListProblemsLifecycleStateEnum
ListProblemsRequest wrapper for the ListProblems operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListProblems.go.html to see an example of how to use 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 }
func (request ListProblemsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemsRequest) String() string
ListProblemsResponse wrapper for the ListProblems operation
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"` }
func (response ListProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemsResponse) String() string
ListProblemsSortByEnum Enum with underlying type: string
type ListProblemsSortByEnum string
Set of constants representing the allowable values for ListProblemsSortByEnum
const ( ListProblemsSortByRisklevel ListProblemsSortByEnum = "riskLevel" ListProblemsSortByTimelastdetected ListProblemsSortByEnum = "timeLastDetected" ListProblemsSortByResourcename ListProblemsSortByEnum = "resourceName" )
func GetListProblemsSortByEnumValues() []ListProblemsSortByEnum
GetListProblemsSortByEnumValues Enumerates the set of values for ListProblemsSortByEnum
ListProblemsSortOrderEnum Enum with underlying type: string
type ListProblemsSortOrderEnum string
Set of constants representing the allowable values for ListProblemsSortOrderEnum
const ( ListProblemsSortOrderAsc ListProblemsSortOrderEnum = "ASC" ListProblemsSortOrderDesc ListProblemsSortOrderEnum = "DESC" )
func GetListProblemsSortOrderEnumValues() []ListProblemsSortOrderEnum
GetListProblemsSortOrderEnumValues Enumerates the set of values for ListProblemsSortOrderEnum
ListRecommendationsAccessLevelEnum Enum with underlying type: string
type ListRecommendationsAccessLevelEnum string
Set of constants representing the allowable values for ListRecommendationsAccessLevelEnum
const ( ListRecommendationsAccessLevelRestricted ListRecommendationsAccessLevelEnum = "RESTRICTED" ListRecommendationsAccessLevelAccessible ListRecommendationsAccessLevelEnum = "ACCESSIBLE" )
func GetListRecommendationsAccessLevelEnumValues() []ListRecommendationsAccessLevelEnum
GetListRecommendationsAccessLevelEnumValues Enumerates the set of values for ListRecommendationsAccessLevelEnum
ListRecommendationsLifecycleDetailEnum Enum with underlying type: string
type ListRecommendationsLifecycleDetailEnum string
Set of constants representing the allowable values for ListRecommendationsLifecycleDetailEnum
const ( ListRecommendationsLifecycleDetailOpen ListRecommendationsLifecycleDetailEnum = "OPEN" ListRecommendationsLifecycleDetailResolved ListRecommendationsLifecycleDetailEnum = "RESOLVED" ListRecommendationsLifecycleDetailDismissed ListRecommendationsLifecycleDetailEnum = "DISMISSED" )
func GetListRecommendationsLifecycleDetailEnumValues() []ListRecommendationsLifecycleDetailEnum
GetListRecommendationsLifecycleDetailEnumValues Enumerates the set of values for ListRecommendationsLifecycleDetailEnum
ListRecommendationsLifecycleStateEnum Enum with underlying type: string
type ListRecommendationsLifecycleStateEnum string
Set of constants representing the allowable values for ListRecommendationsLifecycleStateEnum
const ( ListRecommendationsLifecycleStateCreating ListRecommendationsLifecycleStateEnum = "CREATING" ListRecommendationsLifecycleStateUpdating ListRecommendationsLifecycleStateEnum = "UPDATING" ListRecommendationsLifecycleStateActive ListRecommendationsLifecycleStateEnum = "ACTIVE" ListRecommendationsLifecycleStateInactive ListRecommendationsLifecycleStateEnum = "INACTIVE" ListRecommendationsLifecycleStateDeleting ListRecommendationsLifecycleStateEnum = "DELETING" ListRecommendationsLifecycleStateDeleted ListRecommendationsLifecycleStateEnum = "DELETED" ListRecommendationsLifecycleStateFailed ListRecommendationsLifecycleStateEnum = "FAILED" )
func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum
GetListRecommendationsLifecycleStateEnumValues Enumerates the set of values for ListRecommendationsLifecycleStateEnum
ListRecommendationsRequest wrapper for the ListRecommendations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListRecommendations.go.html to see an example of how to use 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 }
func (request ListRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRecommendationsRequest) String() string
ListRecommendationsResponse wrapper for the ListRecommendations operation
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"` }
func (response ListRecommendationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRecommendationsResponse) String() string
ListRecommendationsSortByEnum Enum with underlying type: string
type ListRecommendationsSortByEnum string
Set of constants representing the allowable values for ListRecommendationsSortByEnum
const ( ListRecommendationsSortByRisklevel ListRecommendationsSortByEnum = "riskLevel" ListRecommendationsSortByTimecreated ListRecommendationsSortByEnum = "timeCreated" )
func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum
GetListRecommendationsSortByEnumValues Enumerates the set of values for ListRecommendationsSortByEnum
ListRecommendationsSortOrderEnum Enum with underlying type: string
type ListRecommendationsSortOrderEnum string
Set of constants representing the allowable values for ListRecommendationsSortOrderEnum
const ( ListRecommendationsSortOrderAsc ListRecommendationsSortOrderEnum = "ASC" ListRecommendationsSortOrderDesc ListRecommendationsSortOrderEnum = "DESC" )
func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum
GetListRecommendationsSortOrderEnumValues Enumerates the set of values for ListRecommendationsSortOrderEnum
ListResourceTypesLifecycleStateEnum Enum with underlying type: string
type ListResourceTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListResourceTypesLifecycleStateEnum
const ( ListResourceTypesLifecycleStateCreating ListResourceTypesLifecycleStateEnum = "CREATING" ListResourceTypesLifecycleStateUpdating ListResourceTypesLifecycleStateEnum = "UPDATING" ListResourceTypesLifecycleStateActive ListResourceTypesLifecycleStateEnum = "ACTIVE" ListResourceTypesLifecycleStateInactive ListResourceTypesLifecycleStateEnum = "INACTIVE" ListResourceTypesLifecycleStateDeleting ListResourceTypesLifecycleStateEnum = "DELETING" ListResourceTypesLifecycleStateDeleted ListResourceTypesLifecycleStateEnum = "DELETED" ListResourceTypesLifecycleStateFailed ListResourceTypesLifecycleStateEnum = "FAILED" )
func GetListResourceTypesLifecycleStateEnumValues() []ListResourceTypesLifecycleStateEnum
GetListResourceTypesLifecycleStateEnumValues Enumerates the set of values for ListResourceTypesLifecycleStateEnum
ListResourceTypesRequest wrapper for the ListResourceTypes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResourceTypes.go.html to see an example of how to use 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 }
func (request ListResourceTypesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceTypesRequest) String() string
ListResourceTypesResponse wrapper for the ListResourceTypes operation
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"` }
func (response ListResourceTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceTypesResponse) String() string
ListResourceTypesSortByEnum Enum with underlying type: string
type ListResourceTypesSortByEnum string
Set of constants representing the allowable values for ListResourceTypesSortByEnum
const ( ListResourceTypesSortByDisplayname ListResourceTypesSortByEnum = "displayName" ListResourceTypesSortByRisklevel ListResourceTypesSortByEnum = "riskLevel" )
func GetListResourceTypesSortByEnumValues() []ListResourceTypesSortByEnum
GetListResourceTypesSortByEnumValues Enumerates the set of values for ListResourceTypesSortByEnum
ListResourceTypesSortOrderEnum Enum with underlying type: string
type ListResourceTypesSortOrderEnum string
Set of constants representing the allowable values for ListResourceTypesSortOrderEnum
const ( ListResourceTypesSortOrderAsc ListResourceTypesSortOrderEnum = "ASC" ListResourceTypesSortOrderDesc ListResourceTypesSortOrderEnum = "DESC" )
func GetListResourceTypesSortOrderEnumValues() []ListResourceTypesSortOrderEnum
GetListResourceTypesSortOrderEnumValues Enumerates the set of values for ListResourceTypesSortOrderEnum
ListResponderActivitiesRequest wrapper for the ListResponderActivities operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderActivities.go.html to see an example of how to use 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 }
func (request ListResponderActivitiesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderActivitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderActivitiesRequest) String() string
ListResponderActivitiesResponse wrapper for the ListResponderActivities operation
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"` }
func (response ListResponderActivitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderActivitiesResponse) String() string
ListResponderActivitiesSortByEnum Enum with underlying type: string
type ListResponderActivitiesSortByEnum string
Set of constants representing the allowable values for ListResponderActivitiesSortByEnum
const ( ListResponderActivitiesSortByTimecreated ListResponderActivitiesSortByEnum = "timeCreated" ListResponderActivitiesSortByResponderrulename ListResponderActivitiesSortByEnum = "responderRuleName" )
func GetListResponderActivitiesSortByEnumValues() []ListResponderActivitiesSortByEnum
GetListResponderActivitiesSortByEnumValues Enumerates the set of values for ListResponderActivitiesSortByEnum
ListResponderActivitiesSortOrderEnum Enum with underlying type: string
type ListResponderActivitiesSortOrderEnum string
Set of constants representing the allowable values for ListResponderActivitiesSortOrderEnum
const ( ListResponderActivitiesSortOrderAsc ListResponderActivitiesSortOrderEnum = "ASC" ListResponderActivitiesSortOrderDesc ListResponderActivitiesSortOrderEnum = "DESC" )
func GetListResponderActivitiesSortOrderEnumValues() []ListResponderActivitiesSortOrderEnum
GetListResponderActivitiesSortOrderEnumValues Enumerates the set of values for ListResponderActivitiesSortOrderEnum
ListResponderExecutionsAccessLevelEnum Enum with underlying type: string
type ListResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for ListResponderExecutionsAccessLevelEnum
const ( ListResponderExecutionsAccessLevelRestricted ListResponderExecutionsAccessLevelEnum = "RESTRICTED" ListResponderExecutionsAccessLevelAccessible ListResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetListResponderExecutionsAccessLevelEnumValues() []ListResponderExecutionsAccessLevelEnum
GetListResponderExecutionsAccessLevelEnumValues Enumerates the set of values for ListResponderExecutionsAccessLevelEnum
ListResponderExecutionsRequest wrapper for the ListResponderExecutions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderExecutions.go.html to see an example of how to use 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 }
func (request ListResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderExecutionsRequest) String() string
ListResponderExecutionsResponderExecutionModeEnum Enum with underlying type: string
type ListResponderExecutionsResponderExecutionModeEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionModeEnum
const ( ListResponderExecutionsResponderExecutionModeManual ListResponderExecutionsResponderExecutionModeEnum = "MANUAL" ListResponderExecutionsResponderExecutionModeAutomated ListResponderExecutionsResponderExecutionModeEnum = "AUTOMATED" ListResponderExecutionsResponderExecutionModeAll ListResponderExecutionsResponderExecutionModeEnum = "ALL" )
func GetListResponderExecutionsResponderExecutionModeEnumValues() []ListResponderExecutionsResponderExecutionModeEnum
GetListResponderExecutionsResponderExecutionModeEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionModeEnum
ListResponderExecutionsResponderExecutionStatusEnum Enum with underlying type: string
type ListResponderExecutionsResponderExecutionStatusEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionStatusEnum
const ( ListResponderExecutionsResponderExecutionStatusStarted ListResponderExecutionsResponderExecutionStatusEnum = "STARTED" ListResponderExecutionsResponderExecutionStatusAwaitingConfirmation ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_CONFIRMATION" ListResponderExecutionsResponderExecutionStatusAwaitingInput ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_INPUT" ListResponderExecutionsResponderExecutionStatusSucceeded ListResponderExecutionsResponderExecutionStatusEnum = "SUCCEEDED" ListResponderExecutionsResponderExecutionStatusFailed ListResponderExecutionsResponderExecutionStatusEnum = "FAILED" ListResponderExecutionsResponderExecutionStatusSkipped ListResponderExecutionsResponderExecutionStatusEnum = "SKIPPED" ListResponderExecutionsResponderExecutionStatusAll ListResponderExecutionsResponderExecutionStatusEnum = "ALL" )
func GetListResponderExecutionsResponderExecutionStatusEnumValues() []ListResponderExecutionsResponderExecutionStatusEnum
GetListResponderExecutionsResponderExecutionStatusEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionStatusEnum
ListResponderExecutionsResponderTypeEnum Enum with underlying type: string
type ListResponderExecutionsResponderTypeEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderTypeEnum
const ( ListResponderExecutionsResponderTypeRemediation ListResponderExecutionsResponderTypeEnum = "REMEDIATION" ListResponderExecutionsResponderTypeNotification ListResponderExecutionsResponderTypeEnum = "NOTIFICATION" )
func GetListResponderExecutionsResponderTypeEnumValues() []ListResponderExecutionsResponderTypeEnum
GetListResponderExecutionsResponderTypeEnumValues Enumerates the set of values for ListResponderExecutionsResponderTypeEnum
ListResponderExecutionsResponse wrapper for the ListResponderExecutions operation
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"` }
func (response ListResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderExecutionsResponse) String() string
ListResponderExecutionsSortByEnum Enum with underlying type: string
type ListResponderExecutionsSortByEnum string
Set of constants representing the allowable values for ListResponderExecutionsSortByEnum
const ( ListResponderExecutionsSortByTimecreated ListResponderExecutionsSortByEnum = "timeCreated" ListResponderExecutionsSortByResponderrulename ListResponderExecutionsSortByEnum = "responderRuleName" ListResponderExecutionsSortByResourcename ListResponderExecutionsSortByEnum = "resourceName" ListResponderExecutionsSortByTimecompleted ListResponderExecutionsSortByEnum = "timeCompleted" )
func GetListResponderExecutionsSortByEnumValues() []ListResponderExecutionsSortByEnum
GetListResponderExecutionsSortByEnumValues Enumerates the set of values for ListResponderExecutionsSortByEnum
ListResponderExecutionsSortOrderEnum Enum with underlying type: string
type ListResponderExecutionsSortOrderEnum string
Set of constants representing the allowable values for ListResponderExecutionsSortOrderEnum
const ( ListResponderExecutionsSortOrderAsc ListResponderExecutionsSortOrderEnum = "ASC" ListResponderExecutionsSortOrderDesc ListResponderExecutionsSortOrderEnum = "DESC" )
func GetListResponderExecutionsSortOrderEnumValues() []ListResponderExecutionsSortOrderEnum
GetListResponderExecutionsSortOrderEnumValues Enumerates the set of values for ListResponderExecutionsSortOrderEnum
ListResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesLifecycleStateEnum
const ( ListResponderRecipeResponderRulesLifecycleStateCreating ListResponderRecipeResponderRulesLifecycleStateEnum = "CREATING" ListResponderRecipeResponderRulesLifecycleStateUpdating ListResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING" ListResponderRecipeResponderRulesLifecycleStateActive ListResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE" ListResponderRecipeResponderRulesLifecycleStateInactive ListResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE" ListResponderRecipeResponderRulesLifecycleStateDeleting ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETING" ListResponderRecipeResponderRulesLifecycleStateDeleted ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETED" ListResponderRecipeResponderRulesLifecycleStateFailed ListResponderRecipeResponderRulesLifecycleStateEnum = "FAILED" )
func GetListResponderRecipeResponderRulesLifecycleStateEnumValues() []ListResponderRecipeResponderRulesLifecycleStateEnum
GetListResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesLifecycleStateEnum
ListResponderRecipeResponderRulesRequest wrapper for the ListResponderRecipeResponderRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use 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 }
func (request ListResponderRecipeResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRecipeResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRecipeResponderRulesRequest) String() string
ListResponderRecipeResponderRulesResponse wrapper for the ListResponderRecipeResponderRules operation
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"` }
func (response ListResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRecipeResponderRulesResponse) String() string
ListResponderRecipeResponderRulesSortByEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesSortByEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortByEnum
const ( ListResponderRecipeResponderRulesSortByDisplayname ListResponderRecipeResponderRulesSortByEnum = "displayName" ListResponderRecipeResponderRulesSortByRisklevel ListResponderRecipeResponderRulesSortByEnum = "riskLevel" )
func GetListResponderRecipeResponderRulesSortByEnumValues() []ListResponderRecipeResponderRulesSortByEnum
GetListResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortByEnum
ListResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortOrderEnum
const ( ListResponderRecipeResponderRulesSortOrderAsc ListResponderRecipeResponderRulesSortOrderEnum = "ASC" ListResponderRecipeResponderRulesSortOrderDesc ListResponderRecipeResponderRulesSortOrderEnum = "DESC" )
func GetListResponderRecipeResponderRulesSortOrderEnumValues() []ListResponderRecipeResponderRulesSortOrderEnum
GetListResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortOrderEnum
ListResponderRecipesAccessLevelEnum Enum with underlying type: string
type ListResponderRecipesAccessLevelEnum string
Set of constants representing the allowable values for ListResponderRecipesAccessLevelEnum
const ( ListResponderRecipesAccessLevelRestricted ListResponderRecipesAccessLevelEnum = "RESTRICTED" ListResponderRecipesAccessLevelAccessible ListResponderRecipesAccessLevelEnum = "ACCESSIBLE" )
func GetListResponderRecipesAccessLevelEnumValues() []ListResponderRecipesAccessLevelEnum
GetListResponderRecipesAccessLevelEnumValues Enumerates the set of values for ListResponderRecipesAccessLevelEnum
ListResponderRecipesLifecycleStateEnum Enum with underlying type: string
type ListResponderRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRecipesLifecycleStateEnum
const ( ListResponderRecipesLifecycleStateCreating ListResponderRecipesLifecycleStateEnum = "CREATING" ListResponderRecipesLifecycleStateUpdating ListResponderRecipesLifecycleStateEnum = "UPDATING" ListResponderRecipesLifecycleStateActive ListResponderRecipesLifecycleStateEnum = "ACTIVE" ListResponderRecipesLifecycleStateInactive ListResponderRecipesLifecycleStateEnum = "INACTIVE" ListResponderRecipesLifecycleStateDeleting ListResponderRecipesLifecycleStateEnum = "DELETING" ListResponderRecipesLifecycleStateDeleted ListResponderRecipesLifecycleStateEnum = "DELETED" ListResponderRecipesLifecycleStateFailed ListResponderRecipesLifecycleStateEnum = "FAILED" )
func GetListResponderRecipesLifecycleStateEnumValues() []ListResponderRecipesLifecycleStateEnum
GetListResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipesLifecycleStateEnum
ListResponderRecipesRequest wrapper for the ListResponderRecipes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRecipes.go.html to see an example of how to use 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 }
func (request ListResponderRecipesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRecipesRequest) String() string
ListResponderRecipesResponse wrapper for the ListResponderRecipes operation
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"` }
func (response ListResponderRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRecipesResponse) String() string
ListResponderRecipesSortByEnum Enum with underlying type: string
type ListResponderRecipesSortByEnum string
Set of constants representing the allowable values for ListResponderRecipesSortByEnum
const ( ListResponderRecipesSortByTimecreated ListResponderRecipesSortByEnum = "timeCreated" ListResponderRecipesSortByDisplayname ListResponderRecipesSortByEnum = "displayName" )
func GetListResponderRecipesSortByEnumValues() []ListResponderRecipesSortByEnum
GetListResponderRecipesSortByEnumValues Enumerates the set of values for ListResponderRecipesSortByEnum
ListResponderRecipesSortOrderEnum Enum with underlying type: string
type ListResponderRecipesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRecipesSortOrderEnum
const ( ListResponderRecipesSortOrderAsc ListResponderRecipesSortOrderEnum = "ASC" ListResponderRecipesSortOrderDesc ListResponderRecipesSortOrderEnum = "DESC" )
func GetListResponderRecipesSortOrderEnumValues() []ListResponderRecipesSortOrderEnum
GetListResponderRecipesSortOrderEnumValues Enumerates the set of values for ListResponderRecipesSortOrderEnum
ListResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRulesLifecycleStateEnum
const ( ListResponderRulesLifecycleStateCreating ListResponderRulesLifecycleStateEnum = "CREATING" ListResponderRulesLifecycleStateUpdating ListResponderRulesLifecycleStateEnum = "UPDATING" ListResponderRulesLifecycleStateActive ListResponderRulesLifecycleStateEnum = "ACTIVE" ListResponderRulesLifecycleStateInactive ListResponderRulesLifecycleStateEnum = "INACTIVE" ListResponderRulesLifecycleStateDeleting ListResponderRulesLifecycleStateEnum = "DELETING" ListResponderRulesLifecycleStateDeleted ListResponderRulesLifecycleStateEnum = "DELETED" ListResponderRulesLifecycleStateFailed ListResponderRulesLifecycleStateEnum = "FAILED" )
func GetListResponderRulesLifecycleStateEnumValues() []ListResponderRulesLifecycleStateEnum
GetListResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRulesLifecycleStateEnum
ListResponderRulesRequest wrapper for the ListResponderRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListResponderRules.go.html to see an example of how to use 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 }
func (request ListResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRulesRequest) String() string
ListResponderRulesResponse wrapper for the ListResponderRules operation
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"` }
func (response ListResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRulesResponse) String() string
ListResponderRulesSortByEnum Enum with underlying type: string
type ListResponderRulesSortByEnum string
Set of constants representing the allowable values for ListResponderRulesSortByEnum
const ( ListResponderRulesSortByTimecreated ListResponderRulesSortByEnum = "timeCreated" ListResponderRulesSortByDisplayname ListResponderRulesSortByEnum = "displayName" )
func GetListResponderRulesSortByEnumValues() []ListResponderRulesSortByEnum
GetListResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRulesSortByEnum
ListResponderRulesSortOrderEnum Enum with underlying type: string
type ListResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRulesSortOrderEnum
const ( ListResponderRulesSortOrderAsc ListResponderRulesSortOrderEnum = "ASC" ListResponderRulesSortOrderDesc ListResponderRulesSortOrderEnum = "DESC" )
func GetListResponderRulesSortOrderEnumValues() []ListResponderRulesSortOrderEnum
GetListResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRulesSortOrderEnum
ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
const ( ListTargetDetectorRecipeDetectorRulesLifecycleStateCreating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING" ListTargetDetectorRecipeDetectorRulesLifecycleStateUpdating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING" ListTargetDetectorRecipeDetectorRulesLifecycleStateActive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE" ListTargetDetectorRecipeDetectorRulesLifecycleStateInactive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE" ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleting ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING" ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleted ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED" ListTargetDetectorRecipeDetectorRulesLifecycleStateFailed ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
ListTargetDetectorRecipeDetectorRulesRequest wrapper for the ListTargetDetectorRecipeDetectorRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use 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 }
func (request ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetDetectorRecipeDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetDetectorRecipeDetectorRulesRequest) String() string
ListTargetDetectorRecipeDetectorRulesResponse wrapper for the ListTargetDetectorRecipeDetectorRules operation
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"` }
func (response ListTargetDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetDetectorRecipeDetectorRulesResponse) String() string
ListTargetDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortByEnum
const ( ListTargetDetectorRecipeDetectorRulesSortByDisplayname ListTargetDetectorRecipeDetectorRulesSortByEnum = "displayName" ListTargetDetectorRecipeDetectorRulesSortByRisklevel ListTargetDetectorRecipeDetectorRulesSortByEnum = "riskLevel" )
func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues() []ListTargetDetectorRecipeDetectorRulesSortByEnum
GetListTargetDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortByEnum
ListTargetDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum
const ( ListTargetDetectorRecipeDetectorRulesSortOrderAsc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "ASC" ListTargetDetectorRecipeDetectorRulesSortOrderDesc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "DESC" )
func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues() []ListTargetDetectorRecipeDetectorRulesSortOrderEnum
GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum
ListTargetDetectorRecipesLifecycleStateEnum Enum with underlying type: string
type ListTargetDetectorRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesLifecycleStateEnum
const ( ListTargetDetectorRecipesLifecycleStateCreating ListTargetDetectorRecipesLifecycleStateEnum = "CREATING" ListTargetDetectorRecipesLifecycleStateUpdating ListTargetDetectorRecipesLifecycleStateEnum = "UPDATING" ListTargetDetectorRecipesLifecycleStateActive ListTargetDetectorRecipesLifecycleStateEnum = "ACTIVE" ListTargetDetectorRecipesLifecycleStateInactive ListTargetDetectorRecipesLifecycleStateEnum = "INACTIVE" ListTargetDetectorRecipesLifecycleStateDeleting ListTargetDetectorRecipesLifecycleStateEnum = "DELETING" ListTargetDetectorRecipesLifecycleStateDeleted ListTargetDetectorRecipesLifecycleStateEnum = "DELETED" ListTargetDetectorRecipesLifecycleStateFailed ListTargetDetectorRecipesLifecycleStateEnum = "FAILED" )
func GetListTargetDetectorRecipesLifecycleStateEnumValues() []ListTargetDetectorRecipesLifecycleStateEnum
GetListTargetDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipesLifecycleStateEnum
ListTargetDetectorRecipesRequest wrapper for the ListTargetDetectorRecipes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use 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 }
func (request ListTargetDetectorRecipesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetDetectorRecipesRequest) String() string
ListTargetDetectorRecipesResponse wrapper for the ListTargetDetectorRecipes operation
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"` }
func (response ListTargetDetectorRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetDetectorRecipesResponse) String() string
ListTargetDetectorRecipesSortByEnum Enum with underlying type: string
type ListTargetDetectorRecipesSortByEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesSortByEnum
const ( ListTargetDetectorRecipesSortByTimecreated ListTargetDetectorRecipesSortByEnum = "timeCreated" ListTargetDetectorRecipesSortByDisplayname ListTargetDetectorRecipesSortByEnum = "displayName" )
func GetListTargetDetectorRecipesSortByEnumValues() []ListTargetDetectorRecipesSortByEnum
GetListTargetDetectorRecipesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortByEnum
ListTargetDetectorRecipesSortOrderEnum Enum with underlying type: string
type ListTargetDetectorRecipesSortOrderEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesSortOrderEnum
const ( ListTargetDetectorRecipesSortOrderAsc ListTargetDetectorRecipesSortOrderEnum = "ASC" ListTargetDetectorRecipesSortOrderDesc ListTargetDetectorRecipesSortOrderEnum = "DESC" )
func GetListTargetDetectorRecipesSortOrderEnumValues() []ListTargetDetectorRecipesSortOrderEnum
GetListTargetDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortOrderEnum
ListTargetResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum
const ( ListTargetResponderRecipeResponderRulesLifecycleStateCreating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "CREATING" ListTargetResponderRecipeResponderRulesLifecycleStateUpdating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING" ListTargetResponderRecipeResponderRulesLifecycleStateActive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE" ListTargetResponderRecipeResponderRulesLifecycleStateInactive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE" ListTargetResponderRecipeResponderRulesLifecycleStateDeleting ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETING" ListTargetResponderRecipeResponderRulesLifecycleStateDeleted ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETED" ListTargetResponderRecipeResponderRulesLifecycleStateFailed ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "FAILED" )
func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues() []ListTargetResponderRecipeResponderRulesLifecycleStateEnum
GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum
ListTargetResponderRecipeResponderRulesRequest wrapper for the ListTargetResponderRecipeResponderRules operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use 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 }
func (request ListTargetResponderRecipeResponderRulesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetResponderRecipeResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetResponderRecipeResponderRulesRequest) String() string
ListTargetResponderRecipeResponderRulesResponse wrapper for the ListTargetResponderRecipeResponderRules operation
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"` }
func (response ListTargetResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetResponderRecipeResponderRulesResponse) String() string
ListTargetResponderRecipeResponderRulesSortByEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesSortByEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortByEnum
const ( ListTargetResponderRecipeResponderRulesSortByDisplayname ListTargetResponderRecipeResponderRulesSortByEnum = "displayName" ListTargetResponderRecipeResponderRulesSortByRisklevel ListTargetResponderRecipeResponderRulesSortByEnum = "riskLevel" )
func GetListTargetResponderRecipeResponderRulesSortByEnumValues() []ListTargetResponderRecipeResponderRulesSortByEnum
GetListTargetResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortByEnum
ListTargetResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortOrderEnum
const ( ListTargetResponderRecipeResponderRulesSortOrderAsc ListTargetResponderRecipeResponderRulesSortOrderEnum = "ASC" ListTargetResponderRecipeResponderRulesSortOrderDesc ListTargetResponderRecipeResponderRulesSortOrderEnum = "DESC" )
func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues() []ListTargetResponderRecipeResponderRulesSortOrderEnum
GetListTargetResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortOrderEnum
ListTargetResponderRecipesLifecycleStateEnum Enum with underlying type: string
type ListTargetResponderRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesLifecycleStateEnum
const ( ListTargetResponderRecipesLifecycleStateCreating ListTargetResponderRecipesLifecycleStateEnum = "CREATING" ListTargetResponderRecipesLifecycleStateUpdating ListTargetResponderRecipesLifecycleStateEnum = "UPDATING" ListTargetResponderRecipesLifecycleStateActive ListTargetResponderRecipesLifecycleStateEnum = "ACTIVE" ListTargetResponderRecipesLifecycleStateInactive ListTargetResponderRecipesLifecycleStateEnum = "INACTIVE" ListTargetResponderRecipesLifecycleStateDeleting ListTargetResponderRecipesLifecycleStateEnum = "DELETING" ListTargetResponderRecipesLifecycleStateDeleted ListTargetResponderRecipesLifecycleStateEnum = "DELETED" ListTargetResponderRecipesLifecycleStateFailed ListTargetResponderRecipesLifecycleStateEnum = "FAILED" )
func GetListTargetResponderRecipesLifecycleStateEnumValues() []ListTargetResponderRecipesLifecycleStateEnum
GetListTargetResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipesLifecycleStateEnum
ListTargetResponderRecipesRequest wrapper for the ListTargetResponderRecipes operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use 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 }
func (request ListTargetResponderRecipesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetResponderRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetResponderRecipesRequest) String() string
ListTargetResponderRecipesResponse wrapper for the ListTargetResponderRecipes operation
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"` }
func (response ListTargetResponderRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetResponderRecipesResponse) String() string
ListTargetResponderRecipesSortByEnum Enum with underlying type: string
type ListTargetResponderRecipesSortByEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesSortByEnum
const ( ListTargetResponderRecipesSortByTimecreated ListTargetResponderRecipesSortByEnum = "timeCreated" ListTargetResponderRecipesSortByDisplayname ListTargetResponderRecipesSortByEnum = "displayName" )
func GetListTargetResponderRecipesSortByEnumValues() []ListTargetResponderRecipesSortByEnum
GetListTargetResponderRecipesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipesSortByEnum
ListTargetResponderRecipesSortOrderEnum Enum with underlying type: string
type ListTargetResponderRecipesSortOrderEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesSortOrderEnum
const ( ListTargetResponderRecipesSortOrderAsc ListTargetResponderRecipesSortOrderEnum = "ASC" ListTargetResponderRecipesSortOrderDesc ListTargetResponderRecipesSortOrderEnum = "DESC" )
func GetListTargetResponderRecipesSortOrderEnumValues() []ListTargetResponderRecipesSortOrderEnum
GetListTargetResponderRecipesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipesSortOrderEnum
ListTargetsAccessLevelEnum Enum with underlying type: string
type ListTargetsAccessLevelEnum string
Set of constants representing the allowable values for ListTargetsAccessLevelEnum
const ( ListTargetsAccessLevelRestricted ListTargetsAccessLevelEnum = "RESTRICTED" ListTargetsAccessLevelAccessible ListTargetsAccessLevelEnum = "ACCESSIBLE" )
func GetListTargetsAccessLevelEnumValues() []ListTargetsAccessLevelEnum
GetListTargetsAccessLevelEnumValues Enumerates the set of values for ListTargetsAccessLevelEnum
ListTargetsLifecycleStateEnum Enum with underlying type: string
type ListTargetsLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetsLifecycleStateEnum
const ( ListTargetsLifecycleStateCreating ListTargetsLifecycleStateEnum = "CREATING" ListTargetsLifecycleStateUpdating ListTargetsLifecycleStateEnum = "UPDATING" ListTargetsLifecycleStateActive ListTargetsLifecycleStateEnum = "ACTIVE" ListTargetsLifecycleStateInactive ListTargetsLifecycleStateEnum = "INACTIVE" ListTargetsLifecycleStateDeleting ListTargetsLifecycleStateEnum = "DELETING" ListTargetsLifecycleStateDeleted ListTargetsLifecycleStateEnum = "DELETED" ListTargetsLifecycleStateFailed ListTargetsLifecycleStateEnum = "FAILED" )
func GetListTargetsLifecycleStateEnumValues() []ListTargetsLifecycleStateEnum
GetListTargetsLifecycleStateEnumValues Enumerates the set of values for ListTargetsLifecycleStateEnum
ListTargetsRequest wrapper for the ListTargets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/ListTargets.go.html to see an example of how to use 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 }
func (request ListTargetsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetsRequest) String() string
ListTargetsResponse wrapper for the ListTargets operation
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"` }
func (response ListTargetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetsResponse) String() string
ListTargetsSortByEnum Enum with underlying type: string
type ListTargetsSortByEnum string
Set of constants representing the allowable values for ListTargetsSortByEnum
const ( ListTargetsSortByTimecreated ListTargetsSortByEnum = "timeCreated" ListTargetsSortByDisplayname ListTargetsSortByEnum = "displayName" )
func GetListTargetsSortByEnumValues() []ListTargetsSortByEnum
GetListTargetsSortByEnumValues Enumerates the set of values for ListTargetsSortByEnum
ListTargetsSortOrderEnum Enum with underlying type: string
type ListTargetsSortOrderEnum string
Set of constants representing the allowable values for ListTargetsSortOrderEnum
const ( ListTargetsSortOrderAsc ListTargetsSortOrderEnum = "ASC" ListTargetsSortOrderDesc ListTargetsSortOrderEnum = "DESC" )
func GetListTargetsSortOrderEnumValues() []ListTargetsSortOrderEnum
GetListTargetsSortOrderEnumValues Enumerates the set of values for ListTargetsSortOrderEnum
ManagedList A cloud guard list containing one or more items of a list type
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"` }
func (m ManagedList) String() string
ManagedListCollection Summary of the ManagedList.
type ManagedListCollection struct { // List of ManagedListSummary Items []ManagedListSummary `mandatory:"true" json:"items"` }
func (m ManagedListCollection) String() string
ManagedListSummary Summary of ManagedList
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"` }
func (m ManagedListSummary) String() string
ManagedListTypeCollection Summary of the ManagedListType.
type ManagedListTypeCollection struct { // List of ManagedListTypeSummary Items []ManagedListTypeSummary `mandatory:"true" json:"items"` }
func (m ManagedListTypeCollection) String() string
ManagedListTypeEnum Enum with underlying type: string
type ManagedListTypeEnum string
Set of constants representing the allowable values for ManagedListTypeEnum
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" )
func GetManagedListTypeEnumValues() []ManagedListTypeEnum
GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum
ManagedListTypeSummary Summary of the ManagedListType.
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"` }
func (m ManagedListTypeSummary) String() string
OperatorSummary Summary of Operator
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"` }
func (m OperatorSummary) String() string
OperatorTypeEnum Enum with underlying type: string
type OperatorTypeEnum string
Set of constants representing the allowable values for OperatorTypeEnum
const ( OperatorTypeIn OperatorTypeEnum = "IN" OperatorTypeNotIn OperatorTypeEnum = "NOT_IN" OperatorTypeEquals OperatorTypeEnum = "EQUALS" OperatorTypeNotEquals OperatorTypeEnum = "NOT_EQUALS" )
func GetOperatorTypeEnumValues() []OperatorTypeEnum
GetOperatorTypeEnumValues Enumerates the set of values for OperatorTypeEnum
OwnerTypeEnum Enum with underlying type: string
type OwnerTypeEnum string
Set of constants representing the allowable values for OwnerTypeEnum
const ( OwnerTypeCustomer OwnerTypeEnum = "CUSTOMER" OwnerTypeOracle OwnerTypeEnum = "ORACLE" )
func GetOwnerTypeEnumValues() []OwnerTypeEnum
GetOwnerTypeEnumValues Enumerates the set of values for OwnerTypeEnum
PoliticalLocation Political location of a problem
type PoliticalLocation struct { // City City *string `mandatory:"true" json:"city"` // State State *string `mandatory:"true" json:"state"` // Country Country *string `mandatory:"true" json:"country"` }
func (m PoliticalLocation) String() string
Problem Problem Definition.
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"` }
func (m Problem) String() string
ProblemAggregation Provides the dimensions and their corresponding count value.
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"` }
func (m ProblemAggregation) String() string
ProblemAggregationCollection Problem Analytics data.
type ProblemAggregationCollection struct { // The items consist of all the ProblemAggregation objects. Items []ProblemAggregation `mandatory:"true" json:"items"` }
func (m ProblemAggregationCollection) String() string
ProblemCollection Collection of Problem
type ProblemCollection struct { // List of ProblemSummary Items []ProblemSummary `mandatory:"true" json:"items"` }
func (m ProblemCollection) String() string
ProblemDimensionEnum Enum with underlying type: string
type ProblemDimensionEnum string
Set of constants representing the allowable values for ProblemDimensionEnum
const ( ProblemDimensionResourceType ProblemDimensionEnum = "RESOURCE_TYPE" ProblemDimensionRegion ProblemDimensionEnum = "REGION" ProblemDimensionCompartmentId ProblemDimensionEnum = "COMPARTMENT_ID" ProblemDimensionRiskLevel ProblemDimensionEnum = "RISK_LEVEL" )
func GetProblemDimensionEnumValues() []ProblemDimensionEnum
GetProblemDimensionEnumValues Enumerates the set of values for ProblemDimensionEnum
ProblemHistoryCollection Collection of Problem History
type ProblemHistoryCollection struct { // List of ProblemHistorySummary Items []ProblemHistorySummary `mandatory:"true" json:"items"` }
func (m ProblemHistoryCollection) String() string
ProblemHistorySummary Problem History Definition.
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"` }
func (m ProblemHistorySummary) String() string
ProblemLifecycleDetailEnum Enum with underlying type: string
type ProblemLifecycleDetailEnum string
Set of constants representing the allowable values for ProblemLifecycleDetailEnum
const ( ProblemLifecycleDetailOpen ProblemLifecycleDetailEnum = "OPEN" ProblemLifecycleDetailResolved ProblemLifecycleDetailEnum = "RESOLVED" ProblemLifecycleDetailDismissed ProblemLifecycleDetailEnum = "DISMISSED" )
func GetProblemLifecycleDetailEnumValues() []ProblemLifecycleDetailEnum
GetProblemLifecycleDetailEnumValues Enumerates the set of values for ProblemLifecycleDetailEnum
ProblemLifecycleStateEnum Enum with underlying type: string
type ProblemLifecycleStateEnum string
Set of constants representing the allowable values for ProblemLifecycleStateEnum
const ( ProblemLifecycleStateActive ProblemLifecycleStateEnum = "ACTIVE" ProblemLifecycleStateInactive ProblemLifecycleStateEnum = "INACTIVE" )
func GetProblemLifecycleStateEnumValues() []ProblemLifecycleStateEnum
GetProblemLifecycleStateEnumValues Enumerates the set of values for ProblemLifecycleStateEnum
ProblemSummary Summary of the Problem.
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"` }
func (m ProblemSummary) String() string
ProblemTrendAggregation Provides the dimensions and their corresponding time and count.
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"` }
func (m ProblemTrendAggregation) String() string
ProblemTrendAggregationCollection Problem Trend Aggregation Collection.
type ProblemTrendAggregationCollection struct { // The items consist of all the ProblemTrendAggregation objects. Items []ProblemTrendAggregation `mandatory:"true" json:"items"` }
func (m ProblemTrendAggregationCollection) String() string
RecommendationLifecycleDetailEnum Enum with underlying type: string
type RecommendationLifecycleDetailEnum string
Set of constants representing the allowable values for RecommendationLifecycleDetailEnum
const ( RecommendationLifecycleDetailOpen RecommendationLifecycleDetailEnum = "OPEN" RecommendationLifecycleDetailResolved RecommendationLifecycleDetailEnum = "RESOLVED" RecommendationLifecycleDetailDismissed RecommendationLifecycleDetailEnum = "DISMISSED" )
func GetRecommendationLifecycleDetailEnumValues() []RecommendationLifecycleDetailEnum
GetRecommendationLifecycleDetailEnumValues Enumerates the set of values for RecommendationLifecycleDetailEnum
RecommendationSummary Recommendation Definition.
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"` }
func (m RecommendationSummary) String() string
RecommendationSummaryCollection Collection of the RecommendationSummary
type RecommendationSummaryCollection struct { // List of Recommendation Items []RecommendationSummary `mandatory:"true" json:"items"` }
func (m RecommendationSummaryCollection) String() string
RecommendationTypeEnum Enum with underlying type: string
type RecommendationTypeEnum string
Set of constants representing the allowable values for RecommendationTypeEnum
const ( RecommendationTypeDetectorProblems RecommendationTypeEnum = "DETECTOR_PROBLEMS" RecommendationTypeResolvedProblems RecommendationTypeEnum = "RESOLVED_PROBLEMS" )
func GetRecommendationTypeEnumValues() []RecommendationTypeEnum
GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum
RequestRiskScoresRequest wrapper for the RequestRiskScores operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestRiskScores.go.html to see an example of how to use 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 }
func (request RequestRiskScoresRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestRiskScoresRequest) String() string
RequestRiskScoresResponse wrapper for the RequestRiskScores operation
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"` }
func (response RequestRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestRiskScoresResponse) String() string
RequestSecurityScoreSummarizedTrendRequest wrapper for the RequestSecurityScoreSummarizedTrend operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use 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 }
func (request RequestSecurityScoreSummarizedTrendRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSecurityScoreSummarizedTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSecurityScoreSummarizedTrendRequest) String() string
RequestSecurityScoreSummarizedTrendResponse wrapper for the RequestSecurityScoreSummarizedTrend operation
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"` }
func (response RequestSecurityScoreSummarizedTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSecurityScoreSummarizedTrendResponse) String() string
RequestSecurityScoresRequest wrapper for the RequestSecurityScores operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSecurityScores.go.html to see an example of how to use 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 }
func (request RequestSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSecurityScoresRequest) String() string
RequestSecurityScoresResponse wrapper for the RequestSecurityScores operation
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"` }
func (response RequestSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSecurityScoresResponse) String() string
RequestSummarizedActivityProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedActivityProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedActivityProblemsAccessLevelEnum
const ( RequestSummarizedActivityProblemsAccessLevelRestricted RequestSummarizedActivityProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedActivityProblemsAccessLevelAccessible RequestSummarizedActivityProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetRequestSummarizedActivityProblemsAccessLevelEnumValues() []RequestSummarizedActivityProblemsAccessLevelEnum
GetRequestSummarizedActivityProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedActivityProblemsAccessLevelEnum
RequestSummarizedActivityProblemsRequest wrapper for the RequestSummarizedActivityProblems operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use 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 }
func (request RequestSummarizedActivityProblemsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedActivityProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedActivityProblemsRequest) String() string
RequestSummarizedActivityProblemsResponse wrapper for the RequestSummarizedActivityProblems operation
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"` }
func (response RequestSummarizedActivityProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedActivityProblemsResponse) String() string
RequestSummarizedProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedProblemsAccessLevelEnum
const ( RequestSummarizedProblemsAccessLevelRestricted RequestSummarizedProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedProblemsAccessLevelAccessible RequestSummarizedProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetRequestSummarizedProblemsAccessLevelEnumValues() []RequestSummarizedProblemsAccessLevelEnum
GetRequestSummarizedProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedProblemsAccessLevelEnum
RequestSummarizedProblemsListDimensionsEnum Enum with underlying type: string
type RequestSummarizedProblemsListDimensionsEnum string
Set of constants representing the allowable values for RequestSummarizedProblemsListDimensionsEnum
const ( RequestSummarizedProblemsListDimensionsResourceType RequestSummarizedProblemsListDimensionsEnum = "RESOURCE_TYPE" RequestSummarizedProblemsListDimensionsRegion RequestSummarizedProblemsListDimensionsEnum = "REGION" RequestSummarizedProblemsListDimensionsCompartmentId RequestSummarizedProblemsListDimensionsEnum = "COMPARTMENT_ID" RequestSummarizedProblemsListDimensionsRiskLevel RequestSummarizedProblemsListDimensionsEnum = "RISK_LEVEL" )
func GetRequestSummarizedProblemsListDimensionsEnumValues() []RequestSummarizedProblemsListDimensionsEnum
GetRequestSummarizedProblemsListDimensionsEnumValues Enumerates the set of values for RequestSummarizedProblemsListDimensionsEnum
RequestSummarizedProblemsRequest wrapper for the RequestSummarizedProblems operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use 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 }
func (request RequestSummarizedProblemsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedProblemsRequest) String() string
RequestSummarizedProblemsResponse wrapper for the RequestSummarizedProblems operation
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"` }
func (response RequestSummarizedProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedProblemsResponse) String() string
RequestSummarizedResponderExecutionsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedResponderExecutionsAccessLevelEnum
const ( RequestSummarizedResponderExecutionsAccessLevelRestricted RequestSummarizedResponderExecutionsAccessLevelEnum = "RESTRICTED" RequestSummarizedResponderExecutionsAccessLevelAccessible RequestSummarizedResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues() []RequestSummarizedResponderExecutionsAccessLevelEnum
GetRequestSummarizedResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsAccessLevelEnum
RequestSummarizedResponderExecutionsRequest wrapper for the RequestSummarizedResponderExecutions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use 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 }
func (request RequestSummarizedResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedResponderExecutionsRequest) String() string
RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum Enum with underlying type: string
type RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum string
Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum
const ( RequestSummarizedResponderExecutionsResponderExecutionStatusFilterStarted RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "STARTED" RequestSummarizedResponderExecutionsResponderExecutionStatusFilterAwaitingConfirmation RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "AWAITING_CONFIRMATION" RequestSummarizedResponderExecutionsResponderExecutionStatusFilterSucceeded RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "SUCCEEDED" RequestSummarizedResponderExecutionsResponderExecutionStatusFilterFailed RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "FAILED" RequestSummarizedResponderExecutionsResponderExecutionStatusFilterSkipped RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum = "SKIPPED" )
func GetRequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnumValues() []RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum
GetRequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderExecutionStatusFilterEnum
RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum Enum with underlying type: string
type RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum string
Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum
const ( RequestSummarizedResponderExecutionsResponderExecutionsDimensionsRuleType RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum = "RESPONDER_RULE_TYPE" RequestSummarizedResponderExecutionsResponderExecutionsDimensionsExecutionStatus RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum = "RESPONDER_EXECUTION_STATUS" )
func GetRequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnumValues() []RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum
GetRequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderExecutionsDimensionsEnum
RequestSummarizedResponderExecutionsResponderTypeFilterEnum Enum with underlying type: string
type RequestSummarizedResponderExecutionsResponderTypeFilterEnum string
Set of constants representing the allowable values for RequestSummarizedResponderExecutionsResponderTypeFilterEnum
const ( RequestSummarizedResponderExecutionsResponderTypeFilterRemediation RequestSummarizedResponderExecutionsResponderTypeFilterEnum = "REMEDIATION" RequestSummarizedResponderExecutionsResponderTypeFilterNotification RequestSummarizedResponderExecutionsResponderTypeFilterEnum = "NOTIFICATION" )
func GetRequestSummarizedResponderExecutionsResponderTypeFilterEnumValues() []RequestSummarizedResponderExecutionsResponderTypeFilterEnum
GetRequestSummarizedResponderExecutionsResponderTypeFilterEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsResponderTypeFilterEnum
RequestSummarizedResponderExecutionsResponse wrapper for the RequestSummarizedResponderExecutions operation
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"` }
func (response RequestSummarizedResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedResponderExecutionsResponse) String() string
RequestSummarizedRiskScoresRequest wrapper for the RequestSummarizedRiskScores operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use 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 }
func (request RequestSummarizedRiskScoresRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedRiskScoresRequest) String() string
RequestSummarizedRiskScoresResponse wrapper for the RequestSummarizedRiskScores operation
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"` }
func (response RequestSummarizedRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedRiskScoresResponse) String() string
RequestSummarizedSecurityScoresRequest wrapper for the RequestSummarizedSecurityScores operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use 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 }
func (request RequestSummarizedSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedSecurityScoresRequest) String() string
RequestSummarizedSecurityScoresResponse wrapper for the RequestSummarizedSecurityScores operation
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"` }
func (response RequestSummarizedSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedSecurityScoresResponse) String() string
RequestSummarizedTrendProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTrendProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTrendProblemsAccessLevelEnum
const ( RequestSummarizedTrendProblemsAccessLevelRestricted RequestSummarizedTrendProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedTrendProblemsAccessLevelAccessible RequestSummarizedTrendProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetRequestSummarizedTrendProblemsAccessLevelEnumValues() []RequestSummarizedTrendProblemsAccessLevelEnum
GetRequestSummarizedTrendProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendProblemsAccessLevelEnum
RequestSummarizedTrendProblemsRequest wrapper for the RequestSummarizedTrendProblems operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use 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 }
func (request RequestSummarizedTrendProblemsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendProblemsRequest) String() string
RequestSummarizedTrendProblemsResponse wrapper for the RequestSummarizedTrendProblems operation
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"` }
func (response RequestSummarizedTrendProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendProblemsResponse) String() string
RequestSummarizedTrendResponderExecutionsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTrendResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum
const ( RequestSummarizedTrendResponderExecutionsAccessLevelRestricted RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "RESTRICTED" RequestSummarizedTrendResponderExecutionsAccessLevelAccessible RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues() []RequestSummarizedTrendResponderExecutionsAccessLevelEnum
GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum
RequestSummarizedTrendResponderExecutionsRequest wrapper for the RequestSummarizedTrendResponderExecutions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use 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 }
func (request RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendResponderExecutionsRequest) String() string
RequestSummarizedTrendResponderExecutionsResponse wrapper for the RequestSummarizedTrendResponderExecutions operation
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"` }
func (response RequestSummarizedTrendResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendResponderExecutionsResponse) String() string
RequestSummarizedTrendSecurityScoresRequest wrapper for the RequestSummarizedTrendSecurityScores operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use 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 }
func (request RequestSummarizedTrendSecurityScoresRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendSecurityScoresRequest) String() string
RequestSummarizedTrendSecurityScoresResponse wrapper for the RequestSummarizedTrendSecurityScores operation
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"` }
func (response RequestSummarizedTrendSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendSecurityScoresResponse) String() string
ResourceTypeCollection resource type provided by cloud guard
type ResourceTypeCollection struct { // collection of resource types Items []ResourceTypeSummary `mandatory:"true" json:"items"` }
func (m ResourceTypeCollection) String() string
ResourceTypeSummary Summary of ResourceType
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"` }
func (m ResourceTypeSummary) String() string
ResponderActivityCollection Provides the summary of responder activities and their corresponding count value.
type ResponderActivityCollection struct { // List of ResponderActivitySummary Items []ResponderActivitySummary `mandatory:"true" json:"items"` }
func (m ResponderActivityCollection) String() string
ResponderActivitySummary Responder Activity summary Definition.
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"` }
func (m ResponderActivitySummary) String() string
ResponderActivityTypeEnum Enum with underlying type: string
type ResponderActivityTypeEnum string
Set of constants representing the allowable values for ResponderActivityTypeEnum
const ( ResponderActivityTypeStarted ResponderActivityTypeEnum = "STARTED" ResponderActivityTypeCompleted ResponderActivityTypeEnum = "COMPLETED" )
func GetResponderActivityTypeEnumValues() []ResponderActivityTypeEnum
GetResponderActivityTypeEnumValues Enumerates the set of values for ResponderActivityTypeEnum
ResponderConfiguration A single configuration applied to a responder
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"` }
func (m ResponderConfiguration) String() string
ResponderDimensionEnum Enum with underlying type: string
type ResponderDimensionEnum string
Set of constants representing the allowable values for ResponderDimensionEnum
const ( ResponderDimensionResponderRuleType ResponderDimensionEnum = "RESPONDER_RULE_TYPE" ResponderDimensionResponderExecutionStatus ResponderDimensionEnum = "RESPONDER_EXECUTION_STATUS" )
func GetResponderDimensionEnumValues() []ResponderDimensionEnum
GetResponderDimensionEnumValues Enumerates the set of values for ResponderDimensionEnum
ResponderExecution Responder Execution Object.
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"` }
func (m ResponderExecution) String() string
ResponderExecutionAggregation Provides the dimensions and their corresponding count value.
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"` }
func (m ResponderExecutionAggregation) String() string
ResponderExecutionAggregationCollection Collection of ResponderExecutionAggregation objects
type ResponderExecutionAggregationCollection struct { // The items consist of all the ResponderExecutionAggregation objects. Items []ResponderExecutionAggregation `mandatory:"true" json:"items"` }
func (m ResponderExecutionAggregationCollection) String() string
ResponderExecutionCollection Provides the summary of responder executions and their corresponding count value.
type ResponderExecutionCollection struct { // List of ResponderExecutionSummary Items []ResponderExecutionSummary `mandatory:"true" json:"items"` }
func (m ResponderExecutionCollection) String() string
ResponderExecutionModesEnum Enum with underlying type: string
type ResponderExecutionModesEnum string
Set of constants representing the allowable values for ResponderExecutionModesEnum
const ( ResponderExecutionModesManual ResponderExecutionModesEnum = "MANUAL" ResponderExecutionModesAutomated ResponderExecutionModesEnum = "AUTOMATED" ResponderExecutionModesAll ResponderExecutionModesEnum = "ALL" )
func GetResponderExecutionModesEnumValues() []ResponderExecutionModesEnum
GetResponderExecutionModesEnumValues Enumerates the set of values for ResponderExecutionModesEnum
ResponderExecutionStatesEnum Enum with underlying type: string
type ResponderExecutionStatesEnum string
Set of constants representing the allowable values for ResponderExecutionStatesEnum
const ( ResponderExecutionStatesStarted ResponderExecutionStatesEnum = "STARTED" ResponderExecutionStatesAwaitingConfirmation ResponderExecutionStatesEnum = "AWAITING_CONFIRMATION" ResponderExecutionStatesAwaitingInput ResponderExecutionStatesEnum = "AWAITING_INPUT" ResponderExecutionStatesSucceeded ResponderExecutionStatesEnum = "SUCCEEDED" ResponderExecutionStatesFailed ResponderExecutionStatesEnum = "FAILED" ResponderExecutionStatesSkipped ResponderExecutionStatesEnum = "SKIPPED" ResponderExecutionStatesAll ResponderExecutionStatesEnum = "ALL" )
func GetResponderExecutionStatesEnumValues() []ResponderExecutionStatesEnum
GetResponderExecutionStatesEnumValues Enumerates the set of values for ResponderExecutionStatesEnum
ResponderExecutionStatusEnum Enum with underlying type: string
type ResponderExecutionStatusEnum string
Set of constants representing the allowable values for ResponderExecutionStatusEnum
const ( ResponderExecutionStatusStarted ResponderExecutionStatusEnum = "STARTED" ResponderExecutionStatusAwaitingConfirmation ResponderExecutionStatusEnum = "AWAITING_CONFIRMATION" ResponderExecutionStatusSucceeded ResponderExecutionStatusEnum = "SUCCEEDED" ResponderExecutionStatusFailed ResponderExecutionStatusEnum = "FAILED" ResponderExecutionStatusSkipped ResponderExecutionStatusEnum = "SKIPPED" )
func GetResponderExecutionStatusEnumValues() []ResponderExecutionStatusEnum
GetResponderExecutionStatusEnumValues Enumerates the set of values for ResponderExecutionStatusEnum
ResponderExecutionSummary Summary of the Responder Execution.
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"` }
func (m ResponderExecutionSummary) String() string
ResponderExecutionTrendAggregation Provides the timestamps and their corresponding number of remediations.
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"` }
func (m ResponderExecutionTrendAggregation) String() string
ResponderExecutionTrendAggregationCollection Responder Execution Trend Collection
type ResponderExecutionTrendAggregationCollection struct { // The items consist of all the ResponderExecutionTrendAggregation objects. Items []ResponderExecutionTrendAggregation `mandatory:"true" json:"items"` }
func (m ResponderExecutionTrendAggregationCollection) String() string
ResponderModeTypesEnum Enum with underlying type: string
type ResponderModeTypesEnum string
Set of constants representing the allowable values for ResponderModeTypesEnum
const ( ResponderModeTypesAutoaction ResponderModeTypesEnum = "AUTOACTION" ResponderModeTypesUseraction ResponderModeTypesEnum = "USERACTION" )
func GetResponderModeTypesEnumValues() []ResponderModeTypesEnum
GetResponderModeTypesEnumValues Enumerates the set of values for ResponderModeTypesEnum
ResponderRecipe Details of 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"` }
func (m ResponderRecipe) String() string
ResponderRecipeCollection Summary of the ResponderRecipe.
type ResponderRecipeCollection struct { // List of ResponderRecipeSummary Items []ResponderRecipeSummary `mandatory:"true" json:"items"` }
func (m ResponderRecipeCollection) String() string
ResponderRecipeResponderRule Details of ResponderRule.
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"` }
func (m ResponderRecipeResponderRule) String() string
ResponderRecipeResponderRuleCollection Summary of the ResponderRule within ResponderRecipe.
type ResponderRecipeResponderRuleCollection struct { // List of ResponderRecipeResponderRuleSummary Items []ResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"` }
func (m ResponderRecipeResponderRuleCollection) String() string
ResponderRecipeResponderRuleSummary Details of ResponderRule.
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"` }
func (m ResponderRecipeResponderRuleSummary) String() string
ResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type ResponderRecipeResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for ResponderRecipeResponderRuleSummarySupportedModesEnum
const ( ResponderRecipeResponderRuleSummarySupportedModesAutoaction ResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION" ResponderRecipeResponderRuleSummarySupportedModesUseraction ResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []ResponderRecipeResponderRuleSummarySupportedModesEnum
GetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSummarySupportedModesEnum
ResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string
type ResponderRecipeResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for ResponderRecipeResponderRuleSupportedModesEnum
const ( ResponderRecipeResponderRuleSupportedModesAutoaction ResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION" ResponderRecipeResponderRuleSupportedModesUseraction ResponderRecipeResponderRuleSupportedModesEnum = "USERACTION" )
func GetResponderRecipeResponderRuleSupportedModesEnumValues() []ResponderRecipeResponderRuleSupportedModesEnum
GetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSupportedModesEnum
ResponderRecipeSummary Summary of the ResponderRecipe.
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"` }
func (m ResponderRecipeSummary) String() string
ResponderRule Definition of 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"` }
func (m ResponderRule) String() string
ResponderRuleCollection Summary of the ResponderRule.
type ResponderRuleCollection struct { // List of ResponderRuleSummary Items []ResponderRuleSummary `mandatory:"true" json:"items"` }
func (m ResponderRuleCollection) String() string
ResponderRuleDetails Details of ResponderRule.
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"` }
func (m ResponderRuleDetails) String() string
func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ResponderRuleExecutionDetails Details of ResponderRuleExecution. A Responder Rule Execution is the entity that captures the execution of a Responder Rule for a given Problem.
type ResponderRuleExecutionDetails struct { Condition Condition `mandatory:"false" json:"condition"` // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m ResponderRuleExecutionDetails) String() string
func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ResponderRuleSummary Summary of the ResponderRule.
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"` }
func (m ResponderRuleSummary) String() string
ResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type ResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for ResponderRuleSummarySupportedModesEnum
const ( ResponderRuleSummarySupportedModesAutoaction ResponderRuleSummarySupportedModesEnum = "AUTOACTION" ResponderRuleSummarySupportedModesUseraction ResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetResponderRuleSummarySupportedModesEnumValues() []ResponderRuleSummarySupportedModesEnum
GetResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRuleSummarySupportedModesEnum
ResponderRuleSupportedModesEnum Enum with underlying type: string
type ResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for ResponderRuleSupportedModesEnum
const ( ResponderRuleSupportedModesAutoaction ResponderRuleSupportedModesEnum = "AUTOACTION" ResponderRuleSupportedModesUseraction ResponderRuleSupportedModesEnum = "USERACTION" )
func GetResponderRuleSupportedModesEnumValues() []ResponderRuleSupportedModesEnum
GetResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRuleSupportedModesEnum
ResponderTypeEnum Enum with underlying type: string
type ResponderTypeEnum string
Set of constants representing the allowable values for ResponderTypeEnum
const ( ResponderTypeRemediation ResponderTypeEnum = "REMEDIATION" ResponderTypeNotification ResponderTypeEnum = "NOTIFICATION" )
func GetResponderTypeEnumValues() []ResponderTypeEnum
GetResponderTypeEnumValues Enumerates the set of values for ResponderTypeEnum
RiskLevelEnum Enum with underlying type: string
type RiskLevelEnum string
Set of constants representing the allowable values for RiskLevelEnum
const ( RiskLevelCritical RiskLevelEnum = "CRITICAL" RiskLevelHigh RiskLevelEnum = "HIGH" RiskLevelMedium RiskLevelEnum = "MEDIUM" RiskLevelLow RiskLevelEnum = "LOW" RiskLevelMinor RiskLevelEnum = "MINOR" )
func GetRiskLevelEnumValues() []RiskLevelEnum
GetRiskLevelEnumValues Enumerates the set of values for RiskLevelEnum
RiskScoreAggregation Provides the dimensions and their corresponding risk score.
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"` }
func (m RiskScoreAggregation) String() string
RiskScoreAggregationCollection Risk Score Aggregation Collection.
type RiskScoreAggregationCollection struct { // The items consist of all the RiskScoreAggregation objects. Items []RiskScoreAggregation `mandatory:"true" json:"items"` }
func (m RiskScoreAggregationCollection) String() string
RuleSummary Summary of rules
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"` }
func (m RuleSummary) String() string
SecurityRatingEnum Enum with underlying type: string
type SecurityRatingEnum string
Set of constants representing the allowable values for SecurityRatingEnum
const ( SecurityRatingExcellent SecurityRatingEnum = "EXCELLENT" SecurityRatingGood SecurityRatingEnum = "GOOD" SecurityRatingFair SecurityRatingEnum = "FAIR" SecurityRatingPoor SecurityRatingEnum = "POOR" )
func GetSecurityRatingEnumValues() []SecurityRatingEnum
GetSecurityRatingEnumValues Enumerates the set of values for SecurityRatingEnum
SecurityScoreAggregation Provides the dimensions and their corresponding count value.
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"` }
func (m SecurityScoreAggregation) String() string
SecurityScoreAggregationCollection Security Score Aggregation Collection.
type SecurityScoreAggregationCollection struct { // The items consist of all the SecurityScoreAggregation objects. Items []SecurityScoreAggregation `mandatory:"true" json:"items"` }
func (m SecurityScoreAggregationCollection) String() string
SecurityScoreTrendAggregation Provides the dimensions and their corresponding time and security score.
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"` }
func (m SecurityScoreTrendAggregation) String() string
SecurityScoreTrendAggregationCollection Security Score Trend Aggregation Collection.
type SecurityScoreTrendAggregationCollection struct { // The items consist of all the SecurityScoreTrendAggregation objects. Items []SecurityScoreTrendAggregation `mandatory:"true" json:"items"` }
func (m SecurityScoreTrendAggregationCollection) String() string
ServiceTypeSummary Summary of Service type
type ServiceTypeSummary struct { // name of the service type Name *string `mandatory:"true" json:"name"` // List of Resource ResourceTypes []ResourceTypeSummary `mandatory:"true" json:"resourceTypes"` }
func (m ServiceTypeSummary) String() string
SimpleCondition Simple Condition object.
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"` }
func (m SimpleCondition) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SimpleCondition) String() string
SkipBulkResponderExecutionDetails List of responder execution ids to skip the execution
type SkipBulkResponderExecutionDetails struct { // List of responder execution ids to skip the execution ResponderExecutionIds []string `mandatory:"true" json:"responderExecutionIds"` }
func (m SkipBulkResponderExecutionDetails) String() string
SkipBulkResponderExecutionRequest wrapper for the SkipBulkResponderExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use 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 }
func (request SkipBulkResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipBulkResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipBulkResponderExecutionRequest) String() string
SkipBulkResponderExecutionResponse wrapper for the SkipBulkResponderExecution operation
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"` }
func (response SkipBulkResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipBulkResponderExecutionResponse) String() string
SkipResponderExecutionRequest wrapper for the SkipResponderExecution operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/SkipResponderExecution.go.html to see an example of how to use 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 }
func (request SkipResponderExecutionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipResponderExecutionRequest) String() string
SkipResponderExecutionResponse wrapper for the SkipResponderExecution operation
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"` }
func (response SkipResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipResponderExecutionResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
Target Description of 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"` }
func (m Target) String() string
TargetCollection Collection of Target
type TargetCollection struct { // List of TargetSummary Items []TargetSummary `mandatory:"true" json:"items"` }
func (m TargetCollection) String() string
TargetDetectorDetails Overriden settings of a Detector Rule applied on target
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"` }
func (m TargetDetectorDetails) String() string
TargetDetectorRecipe Target Detector recipe
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"` }
func (m TargetDetectorRecipe) String() string
TargetDetectorRecipeCollection Summary of the Target DetectorRecipe.
type TargetDetectorRecipeCollection struct { // List of TargetDetectorRecipeSummary Items []TargetDetectorRecipeSummary `mandatory:"true" json:"items"` }
func (m TargetDetectorRecipeCollection) String() string
TargetDetectorRecipeDetectorRule Detector Recipe Rule
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"` }
func (m TargetDetectorRecipeDetectorRule) String() string
TargetDetectorRecipeDetectorRuleCollection Summary of the DetectorRule within Target.
type TargetDetectorRecipeDetectorRuleCollection struct { // List of TargetDetectorRecipeDetectorRuleSummary Items []TargetDetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"` }
func (m TargetDetectorRecipeDetectorRuleCollection) String() string
TargetDetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string
type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum
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" )
func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleManagedListTypesEnum
GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum
TargetDetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.
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"` }
func (m TargetDetectorRecipeDetectorRuleSummary) String() string
TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
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" )
func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
TargetDetectorRecipeSummary Summary of DetectorRecipe
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"` }
func (m TargetDetectorRecipeSummary) String() string
TargetResourceTypeEnum Enum with underlying type: string
type TargetResourceTypeEnum string
Set of constants representing the allowable values for TargetResourceTypeEnum
const ( TargetResourceTypeCompartment TargetResourceTypeEnum = "COMPARTMENT" TargetResourceTypeErpcloud TargetResourceTypeEnum = "ERPCLOUD" TargetResourceTypeHcmcloud TargetResourceTypeEnum = "HCMCLOUD" )
func GetTargetResourceTypeEnumValues() []TargetResourceTypeEnum
GetTargetResourceTypeEnumValues Enumerates the set of values for TargetResourceTypeEnum
TargetResponderRecipe Details of Target ResponderRecipe
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"` }
func (m TargetResponderRecipe) String() string
TargetResponderRecipeCollection Collection of TargetResponderRecipe
type TargetResponderRecipeCollection struct { // List of TargetResponderRecipeSummary Items []TargetResponderRecipeSummary `mandatory:"true" json:"items"` }
func (m TargetResponderRecipeCollection) String() string
TargetResponderRecipeResponderRule Details of ResponderRule.
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"` }
func (m TargetResponderRecipeResponderRule) String() string
TargetResponderRecipeResponderRuleCollection Summary of the ResponderRule within Target.
type TargetResponderRecipeResponderRuleCollection struct { // List of TargetResponderRecipeResponderRuleSummary Items []TargetResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"` }
func (m TargetResponderRecipeResponderRuleCollection) String() string
TargetResponderRecipeResponderRuleSummary Summary of ResponderRule.
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"` }
func (m TargetResponderRecipeResponderRuleSummary) String() string
TargetResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type TargetResponderRecipeResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum
const ( TargetResponderRecipeResponderRuleSummarySupportedModesAutoaction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION" TargetResponderRecipeResponderRuleSummarySupportedModesUseraction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []TargetResponderRecipeResponderRuleSummarySupportedModesEnum
GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum
TargetResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string
type TargetResponderRecipeResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSupportedModesEnum
const ( TargetResponderRecipeResponderRuleSupportedModesAutoaction TargetResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION" TargetResponderRecipeResponderRuleSupportedModesUseraction TargetResponderRecipeResponderRuleSupportedModesEnum = "USERACTION" )
func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues() []TargetResponderRecipeResponderRuleSupportedModesEnum
GetTargetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSupportedModesEnum
TargetResponderRecipeSummary Summary of ResponderRecipe
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"` }
func (m TargetResponderRecipeSummary) String() string
TargetSummary Summary of the Target.
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"` }
func (m TargetSummary) String() string
TriggerResponderDetails The Responder details to be pushed to responder
type TriggerResponderDetails struct { // ResponderRule ID ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m TriggerResponderDetails) String() string
TriggerResponderRequest wrapper for the TriggerResponder operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/TriggerResponder.go.html to see an example of how to use 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 }
func (request TriggerResponderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request TriggerResponderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request TriggerResponderRequest) String() string
TriggerResponderResponse wrapper for the TriggerResponder operation
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"` }
func (response TriggerResponderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response TriggerResponderResponse) String() string
UpdateBulkProblemStatusDetails List of problem ids to be passed in to update the Problem status.
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"` }
func (m UpdateBulkProblemStatusDetails) String() string
UpdateBulkProblemStatusRequest wrapper for the UpdateBulkProblemStatus operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use 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 }
func (request UpdateBulkProblemStatusRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBulkProblemStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBulkProblemStatusRequest) String() string
UpdateBulkProblemStatusResponse wrapper for the UpdateBulkProblemStatus operation
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"` }
func (response UpdateBulkProblemStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBulkProblemStatusResponse) String() string
UpdateConfigurationDetails Update cloud guard configuration details for a tenancy.
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"` }
func (m UpdateConfigurationDetails) String() string
UpdateConfigurationRequest wrapper for the UpdateConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateConfiguration.go.html to see an example of how to use 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 }
func (request UpdateConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConfigurationRequest) String() string
UpdateConfigurationResponse wrapper for the UpdateConfiguration operation
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"` }
func (response UpdateConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConfigurationResponse) String() string
UpdateDetectorRecipeDetails Update of detector recipe
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"` }
func (m UpdateDetectorRecipeDetails) String() string
UpdateDetectorRecipeDetectorRule The details to be updated in DetectorRule
type UpdateDetectorRecipeDetectorRule struct { // DetectorRecipeRule Identifier DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"` Details *UpdateDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateDetectorRecipeDetectorRule) String() string
UpdateDetectorRecipeDetectorRuleDetails Update of detector rule of a detector recipe
type UpdateDetectorRecipeDetectorRuleDetails struct { Details *UpdateDetectorRuleDetails `mandatory:"false" json:"details"` }
func (m UpdateDetectorRecipeDetectorRuleDetails) String() string
UpdateDetectorRecipeDetectorRuleRequest wrapper for the UpdateDetectorRecipeDetectorRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use 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 }
func (request UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDetectorRecipeDetectorRuleRequest) String() string
UpdateDetectorRecipeDetectorRuleResponse wrapper for the UpdateDetectorRecipeDetectorRule operation
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"` }
func (response UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDetectorRecipeDetectorRuleResponse) String() string
UpdateDetectorRecipeRequest wrapper for the UpdateDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use 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 }
func (request UpdateDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDetectorRecipeRequest) String() string
UpdateDetectorRecipeResponse wrapper for the UpdateDetectorRecipe operation
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"` }
func (response UpdateDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDetectorRecipeResponse) String() string
UpdateDetectorRuleDetails Details of a Detector Rule to be overriden in Detector Recipe
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"` }
func (m UpdateDetectorRuleDetails) String() string
func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateManagedListDetails Update ManagedList
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"` }
func (m UpdateManagedListDetails) String() string
UpdateManagedListRequest wrapper for the UpdateManagedList operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateManagedList.go.html to see an example of how to use 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 }
func (request UpdateManagedListRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedListRequest) String() string
UpdateManagedListResponse wrapper for the UpdateManagedList operation
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"` }
func (response UpdateManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedListResponse) String() string
UpdateProblemStatusDetails The additional details for the problem
type UpdateProblemStatusDetails struct { // Action taken by user Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"` // User Comments Comment *string `mandatory:"false" json:"comment"` }
func (m UpdateProblemStatusDetails) String() string
UpdateProblemStatusRequest wrapper for the UpdateProblemStatus operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateProblemStatus.go.html to see an example of how to use 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 }
func (request UpdateProblemStatusRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProblemStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProblemStatusRequest) String() string
UpdateProblemStatusResponse wrapper for the UpdateProblemStatus operation
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"` }
func (response UpdateProblemStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProblemStatusResponse) String() string
UpdateResponderRecipeDetails The details to be updated in ResponderRecipe
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"` }
func (m UpdateResponderRecipeDetails) String() string
UpdateResponderRecipeRequest wrapper for the UpdateResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use 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 }
func (request UpdateResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateResponderRecipeRequest) String() string
UpdateResponderRecipeResponderRule The details to be updated in ResponderRule
type UpdateResponderRecipeResponderRule struct { // ResponderRecipeRule Identifier ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateResponderRecipeResponderRule) String() string
UpdateResponderRecipeResponderRuleDetails The details to be updated in ResponderRule
type UpdateResponderRecipeResponderRuleDetails struct { Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateResponderRecipeResponderRuleDetails) String() string
UpdateResponderRecipeResponderRuleRequest wrapper for the UpdateResponderRecipeResponderRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use 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 }
func (request UpdateResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateResponderRecipeResponderRuleRequest) String() string
UpdateResponderRecipeResponderRuleResponse wrapper for the UpdateResponderRecipeResponderRule operation
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"` }
func (response UpdateResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateResponderRecipeResponderRuleResponse) String() string
UpdateResponderRecipeResponse wrapper for the UpdateResponderRecipe operation
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"` }
func (response UpdateResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateResponderRecipeResponse) String() string
UpdateResponderRuleDetails Details of UpdateResponderRuleDetails.
type UpdateResponderRuleDetails struct { // Identifies state for ResponderRule IsEnabled *bool `mandatory:"true" json:"isEnabled"` }
func (m UpdateResponderRuleDetails) String() string
UpdateTargetDetails The information to be updated.
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"` }
func (m UpdateTargetDetails) String() string
UpdateTargetDetectorRecipe The information to be updated in attached Target DetectorRecipe
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"` }
func (m UpdateTargetDetectorRecipe) String() string
UpdateTargetDetectorRecipeDetails The information to be updated in DetectorRecipe
type UpdateTargetDetectorRecipeDetails struct { // Update detector rules associated with detector recipe in a target. DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"` }
func (m UpdateTargetDetectorRecipeDetails) String() string
UpdateTargetDetectorRecipeDetectorRuleDetails The details to be updated in DetectorRule
type UpdateTargetDetectorRecipeDetectorRuleDetails struct { Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetDetectorRecipeDetectorRuleDetails) String() string
UpdateTargetDetectorRecipeDetectorRuleRequest wrapper for the UpdateTargetDetectorRecipeDetectorRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use 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 }
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) String() string
UpdateTargetDetectorRecipeDetectorRuleResponse wrapper for the UpdateTargetDetectorRecipeDetectorRule operation
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"` }
func (response UpdateTargetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetDetectorRecipeDetectorRuleResponse) String() string
UpdateTargetDetectorRecipeRequest wrapper for the UpdateTargetDetectorRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use 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 }
func (request UpdateTargetDetectorRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetDetectorRecipeRequest) String() string
UpdateTargetDetectorRecipeResponse wrapper for the UpdateTargetDetectorRecipe operation
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"` }
func (response UpdateTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetDetectorRecipeResponse) String() string
UpdateTargetDetectorRuleDetails Overriden settings of a Detector Rule applied on target
type UpdateTargetDetectorRuleDetails struct { // Condition group corresponding to each compartment ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"` }
func (m UpdateTargetDetectorRuleDetails) String() string
UpdateTargetRecipeDetectorRuleDetails The details to be updated in TargetDetectorRecipeDetectorRule
type UpdateTargetRecipeDetectorRuleDetails struct { // Identifier for DetectorRule. DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"` Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetRecipeDetectorRuleDetails) String() string
UpdateTargetRecipeResponderRuleDetails The details to be updated in TargetResponderRecipeResponderRule
type UpdateTargetRecipeResponderRuleDetails struct { // Identifier for ResponderRule. ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetRecipeResponderRuleDetails) String() string
UpdateTargetRequest wrapper for the UpdateTarget operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTarget.go.html to see an example of how to use 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 }
func (request UpdateTargetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetRequest) String() string
UpdateTargetResponderRecipe The information to be updated in attached Target ResponderRecipe
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"` }
func (m UpdateTargetResponderRecipe) String() string
UpdateTargetResponderRecipeDetails The information to be updated in ResponderRecipe.
type UpdateTargetResponderRecipeDetails struct { // Update responder rules associated with responder recipe in a target. ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"` }
func (m UpdateTargetResponderRecipeDetails) String() string
UpdateTargetResponderRecipeRequest wrapper for the UpdateTargetResponderRecipe operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use 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 }
func (request UpdateTargetResponderRecipeRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetResponderRecipeRequest) String() string
UpdateTargetResponderRecipeResponderRuleDetails The details to be updated in ResponderRule
type UpdateTargetResponderRecipeResponderRuleDetails struct { Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetResponderRecipeResponderRuleDetails) String() string
UpdateTargetResponderRecipeResponderRuleRequest wrapper for the UpdateTargetResponderRecipeResponderRule operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use 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 }
func (request UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetResponderRecipeResponderRuleRequest) String() string
UpdateTargetResponderRecipeResponderRuleResponse wrapper for the UpdateTargetResponderRecipeResponderRule operation
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"` }
func (response UpdateTargetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponderRecipeResponderRuleResponse) String() string
UpdateTargetResponderRecipeResponse wrapper for the UpdateTargetResponderRecipe operation
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"` }
func (response UpdateTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponderRecipeResponse) String() string
UpdateTargetResponderRuleDetails Details of ResponderRule.
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"` }
func (m UpdateTargetResponderRuleDetails) String() string
func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateTargetResponse wrapper for the UpdateTarget operation
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"` }
func (response UpdateTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponse) String() string