cloudguard

package
v65.39.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetActionTypeEnumStringValues ¶ added in v65.17.0

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetActorTypeEnumStringValues ¶

func GetActorTypeEnumStringValues() []string

GetActorTypeEnumStringValues Enumerates the set of values in String for ActorTypeEnum

func GetClassificationStatusEnumStringValues ¶

func GetClassificationStatusEnumStringValues() []string

GetClassificationStatusEnumStringValues Enumerates the set of values in String for ClassificationStatusEnum

func GetCloudGuardStatusEnumStringValues ¶

func GetCloudGuardStatusEnumStringValues() []string

GetCloudGuardStatusEnumStringValues Enumerates the set of values in String for CloudGuardStatusEnum

func GetCompositeConditionCompositeOperatorEnumStringValues ¶

func GetCompositeConditionCompositeOperatorEnumStringValues() []string

GetCompositeConditionCompositeOperatorEnumStringValues Enumerates the set of values in String for CompositeConditionCompositeOperatorEnum

func GetConditionFilterTypeEnumStringValues ¶

func GetConditionFilterTypeEnumStringValues() []string

GetConditionFilterTypeEnumStringValues Enumerates the set of values in String for ConditionFilterTypeEnum

func GetConditionKindEnumStringValues ¶

func GetConditionKindEnumStringValues() []string

GetConditionKindEnumStringValues Enumerates the set of values in String for ConditionKindEnum

func GetConditionOperatorNameEnumStringValues ¶

func GetConditionOperatorNameEnumStringValues() []string

GetConditionOperatorNameEnumStringValues Enumerates the set of values in String for ConditionOperatorNameEnum

func GetConditionTypeEnumEnumStringValues ¶

func GetConditionTypeEnumEnumStringValues() []string

GetConditionTypeEnumEnumStringValues Enumerates the set of values in String for ConditionTypeEnumEnum

func GetConditionValueTypeEnumStringValues ¶

func GetConditionValueTypeEnumStringValues() []string

GetConditionValueTypeEnumStringValues Enumerates the set of values in String for ConditionValueTypeEnum

func GetConfidenceEnumStringValues ¶

func GetConfidenceEnumStringValues() []string

GetConfidenceEnumStringValues Enumerates the set of values in String for ConfidenceEnum

func GetConfigurationListItemTypeEnumStringValues ¶

func GetConfigurationListItemTypeEnumStringValues() []string

GetConfigurationListItemTypeEnumStringValues Enumerates the set of values in String for ConfigurationListItemTypeEnum

func GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues ¶ added in v65.17.0

func GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues() []string

GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues Enumerates the set of values in String for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetDataMaskCategoryEnumStringValues ¶

func GetDataMaskCategoryEnumStringValues() []string

GetDataMaskCategoryEnumStringValues Enumerates the set of values in String for DataMaskCategoryEnum

func GetDataMaskRuleStatusEnumStringValues ¶

func GetDataMaskRuleStatusEnumStringValues() []string

GetDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for DataMaskRuleStatusEnum

func GetDataSourceEventInfoStatusEnumStringValues ¶ added in v65.17.0

func GetDataSourceEventInfoStatusEnumStringValues() []string

GetDataSourceEventInfoStatusEnumStringValues Enumerates the set of values in String for DataSourceEventInfoStatusEnum

func GetDataSourceFeedProviderEnumStringValues ¶ added in v65.17.0

func GetDataSourceFeedProviderEnumStringValues() []string

GetDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for DataSourceFeedProviderEnum

func GetDataSourceStatusEnumStringValues ¶ added in v65.17.0

func GetDataSourceStatusEnumStringValues() []string

GetDataSourceStatusEnumStringValues Enumerates the set of values in String for DataSourceStatusEnum

func GetDetectorEnumEnumStringValues ¶

func GetDetectorEnumEnumStringValues() []string

GetDetectorEnumEnumStringValues Enumerates the set of values in String for DetectorEnumEnum

func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues ¶

func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string

GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetDetectorRuleManagedListTypesEnumStringValues ¶

func GetDetectorRuleManagedListTypesEnumStringValues() []string

GetDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleManagedListTypesEnum

func GetDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleSummaryManagedListTypesEnum

func GetEntityTypeEnumStringValues ¶ added in v65.17.0

func GetEntityTypeEnumStringValues() []string

GetEntityTypeEnumStringValues Enumerates the set of values in String for EntityTypeEnum

func GetEventStatusEnumStringValues ¶

func GetEventStatusEnumStringValues() []string

GetEventStatusEnumStringValues Enumerates the set of values in String for EventStatusEnum

func GetFeedProviderTypeEnumStringValues ¶

func GetFeedProviderTypeEnumStringValues() []string

GetFeedProviderTypeEnumStringValues Enumerates the set of values in String for FeedProviderTypeEnum

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues ¶

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues() []string

GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues Enumerates the set of values in String for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetLifecycleStateEnumStringValues ¶

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListConditionMetadataTypesLifecycleStateEnumStringValues ¶

func GetListConditionMetadataTypesLifecycleStateEnumStringValues() []string

GetListConditionMetadataTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesLifecycleStateEnum

func GetListConditionMetadataTypesSortByEnumStringValues ¶

func GetListConditionMetadataTypesSortByEnumStringValues() []string

GetListConditionMetadataTypesSortByEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortByEnum

func GetListConditionMetadataTypesSortOrderEnumStringValues ¶

func GetListConditionMetadataTypesSortOrderEnumStringValues() []string

GetListConditionMetadataTypesSortOrderEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortOrderEnum

func GetListDataMaskRulesAccessLevelEnumStringValues ¶

func GetListDataMaskRulesAccessLevelEnumStringValues() []string

GetListDataMaskRulesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataMaskRulesAccessLevelEnum

func GetListDataMaskRulesDataMaskRuleStatusEnumStringValues ¶

func GetListDataMaskRulesDataMaskRuleStatusEnumStringValues() []string

GetListDataMaskRulesDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for ListDataMaskRulesDataMaskRuleStatusEnum

func GetListDataMaskRulesLifecycleStateEnumStringValues ¶

func GetListDataMaskRulesLifecycleStateEnumStringValues() []string

GetListDataMaskRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataMaskRulesLifecycleStateEnum

func GetListDataMaskRulesSortByEnumStringValues ¶

func GetListDataMaskRulesSortByEnumStringValues() []string

GetListDataMaskRulesSortByEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortByEnum

func GetListDataMaskRulesSortOrderEnumStringValues ¶

func GetListDataMaskRulesSortOrderEnumStringValues() []string

GetListDataMaskRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortOrderEnum

func GetListDataSourceEventsSortByEnumStringValues ¶ added in v65.17.0

func GetListDataSourceEventsSortByEnumStringValues() []string

GetListDataSourceEventsSortByEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortByEnum

func GetListDataSourceEventsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListDataSourceEventsSortOrderEnumStringValues() []string

GetListDataSourceEventsSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortOrderEnum

func GetListDataSourcesAccessLevelEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesAccessLevelEnumStringValues() []string

GetListDataSourcesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataSourcesAccessLevelEnum

func GetListDataSourcesDataSourceFeedProviderEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesDataSourceFeedProviderEnumStringValues() []string

GetListDataSourcesDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for ListDataSourcesDataSourceFeedProviderEnum

func GetListDataSourcesLifecycleStateEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesLifecycleStateEnumStringValues() []string

GetListDataSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataSourcesLifecycleStateEnum

func GetListDataSourcesLoggingQueryTypeEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesLoggingQueryTypeEnumStringValues() []string

GetListDataSourcesLoggingQueryTypeEnumStringValues Enumerates the set of values in String for ListDataSourcesLoggingQueryTypeEnum

func GetListDataSourcesSortByEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesSortByEnumStringValues() []string

GetListDataSourcesSortByEnumStringValues Enumerates the set of values in String for ListDataSourcesSortByEnum

func GetListDataSourcesSortOrderEnumStringValues ¶ added in v65.17.0

func GetListDataSourcesSortOrderEnumStringValues() []string

GetListDataSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourcesSortOrderEnum

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string

GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListDetectorRecipeDetectorRulesSortByEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesSortByEnumStringValues() []string

GetListDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortByEnum

func GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues ¶

func GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string

GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetListDetectorRecipesAccessLevelEnumStringValues ¶

func GetListDetectorRecipesAccessLevelEnumStringValues() []string

GetListDetectorRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListDetectorRecipesAccessLevelEnum

func GetListDetectorRecipesLifecycleStateEnumStringValues ¶

func GetListDetectorRecipesLifecycleStateEnumStringValues() []string

GetListDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipesLifecycleStateEnum

func GetListDetectorRecipesSortByEnumStringValues ¶

func GetListDetectorRecipesSortByEnumStringValues() []string

GetListDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortByEnum

func GetListDetectorRecipesSortOrderEnumStringValues ¶

func GetListDetectorRecipesSortOrderEnumStringValues() []string

GetListDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortOrderEnum

func GetListDetectorRulesLifecycleStateEnumStringValues ¶

func GetListDetectorRulesLifecycleStateEnumStringValues() []string

GetListDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRulesLifecycleStateEnum

func GetListDetectorRulesSortByEnumStringValues ¶

func GetListDetectorRulesSortByEnumStringValues() []string

GetListDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortByEnum

func GetListDetectorRulesSortOrderEnumStringValues ¶

func GetListDetectorRulesSortOrderEnumStringValues() []string

GetListDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortOrderEnum

func GetListDetectorsLifecycleStateEnumStringValues ¶

func GetListDetectorsLifecycleStateEnumStringValues() []string

GetListDetectorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorsLifecycleStateEnum

func GetListDetectorsSortByEnumStringValues ¶

func GetListDetectorsSortByEnumStringValues() []string

GetListDetectorsSortByEnumStringValues Enumerates the set of values in String for ListDetectorsSortByEnum

func GetListDetectorsSortOrderEnumStringValues ¶

func GetListDetectorsSortOrderEnumStringValues() []string

GetListDetectorsSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorsSortOrderEnum

func GetListImpactedResourcesSortByEnumStringValues ¶

func GetListImpactedResourcesSortByEnumStringValues() []string

GetListImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortByEnum

func GetListImpactedResourcesSortOrderEnumStringValues ¶

func GetListImpactedResourcesSortOrderEnumStringValues() []string

GetListImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortOrderEnum

func GetListManagedListTypesLifecycleStateEnumStringValues ¶

func GetListManagedListTypesLifecycleStateEnumStringValues() []string

GetListManagedListTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListTypesLifecycleStateEnum

func GetListManagedListTypesSortByEnumStringValues ¶

func GetListManagedListTypesSortByEnumStringValues() []string

GetListManagedListTypesSortByEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortByEnum

func GetListManagedListTypesSortOrderEnumStringValues ¶

func GetListManagedListTypesSortOrderEnumStringValues() []string

GetListManagedListTypesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortOrderEnum

func GetListManagedListsAccessLevelEnumStringValues ¶

func GetListManagedListsAccessLevelEnumStringValues() []string

GetListManagedListsAccessLevelEnumStringValues Enumerates the set of values in String for ListManagedListsAccessLevelEnum

func GetListManagedListsLifecycleStateEnumStringValues ¶

func GetListManagedListsLifecycleStateEnumStringValues() []string

GetListManagedListsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListsLifecycleStateEnum

func GetListManagedListsListTypeEnumStringValues ¶

func GetListManagedListsListTypeEnumStringValues() []string

GetListManagedListsListTypeEnumStringValues Enumerates the set of values in String for ListManagedListsListTypeEnum

func GetListManagedListsSortByEnumStringValues ¶

func GetListManagedListsSortByEnumStringValues() []string

GetListManagedListsSortByEnumStringValues Enumerates the set of values in String for ListManagedListsSortByEnum

func GetListManagedListsSortOrderEnumStringValues ¶

func GetListManagedListsSortOrderEnumStringValues() []string

GetListManagedListsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListsSortOrderEnum

func GetListPoliciesSortByEnumStringValues ¶

func GetListPoliciesSortByEnumStringValues() []string

GetListPoliciesSortByEnumStringValues Enumerates the set of values in String for ListPoliciesSortByEnum

func GetListPoliciesSortOrderEnumStringValues ¶

func GetListPoliciesSortOrderEnumStringValues() []string

GetListPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListPoliciesSortOrderEnum

func GetListProblemEndpointsSortByEnumStringValues ¶

func GetListProblemEndpointsSortByEnumStringValues() []string

GetListProblemEndpointsSortByEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortByEnum

func GetListProblemEndpointsSortOrderEnumStringValues ¶

func GetListProblemEndpointsSortOrderEnumStringValues() []string

GetListProblemEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortOrderEnum

func GetListProblemEntitiesSortByEnumStringValues ¶ added in v65.17.0

func GetListProblemEntitiesSortByEnumStringValues() []string

GetListProblemEntitiesSortByEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortByEnum

func GetListProblemEntitiesSortOrderEnumStringValues ¶ added in v65.17.0

func GetListProblemEntitiesSortOrderEnumStringValues() []string

GetListProblemEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortOrderEnum

func GetListProblemHistoriesSortByEnumStringValues ¶

func GetListProblemHistoriesSortByEnumStringValues() []string

GetListProblemHistoriesSortByEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortByEnum

func GetListProblemHistoriesSortOrderEnumStringValues ¶

func GetListProblemHistoriesSortOrderEnumStringValues() []string

GetListProblemHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortOrderEnum

func GetListProblemsAccessLevelEnumStringValues ¶

func GetListProblemsAccessLevelEnumStringValues() []string

GetListProblemsAccessLevelEnumStringValues Enumerates the set of values in String for ListProblemsAccessLevelEnum

func GetListProblemsDetectorTypeEnumStringValues ¶

func GetListProblemsDetectorTypeEnumStringValues() []string

GetListProblemsDetectorTypeEnumStringValues Enumerates the set of values in String for ListProblemsDetectorTypeEnum

func GetListProblemsLifecycleDetailEnumStringValues ¶

func GetListProblemsLifecycleDetailEnumStringValues() []string

GetListProblemsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleDetailEnum

func GetListProblemsLifecycleStateEnumStringValues ¶

func GetListProblemsLifecycleStateEnumStringValues() []string

GetListProblemsLifecycleStateEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleStateEnum

func GetListProblemsProblemCategoryEnumStringValues ¶ added in v65.3.0

func GetListProblemsProblemCategoryEnumStringValues() []string

GetListProblemsProblemCategoryEnumStringValues Enumerates the set of values in String for ListProblemsProblemCategoryEnum

func GetListProblemsSortByEnumStringValues ¶

func GetListProblemsSortByEnumStringValues() []string

GetListProblemsSortByEnumStringValues Enumerates the set of values in String for ListProblemsSortByEnum

func GetListProblemsSortOrderEnumStringValues ¶

func GetListProblemsSortOrderEnumStringValues() []string

GetListProblemsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemsSortOrderEnum

func GetListRecommendationsAccessLevelEnumStringValues ¶

func GetListRecommendationsAccessLevelEnumStringValues() []string

GetListRecommendationsAccessLevelEnumStringValues Enumerates the set of values in String for ListRecommendationsAccessLevelEnum

func GetListRecommendationsLifecycleDetailEnumStringValues ¶

func GetListRecommendationsLifecycleDetailEnumStringValues() []string

GetListRecommendationsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleDetailEnum

func GetListRecommendationsLifecycleStateEnumStringValues ¶

func GetListRecommendationsLifecycleStateEnumStringValues() []string

GetListRecommendationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleStateEnum

func GetListRecommendationsSortByEnumStringValues ¶

func GetListRecommendationsSortByEnumStringValues() []string

GetListRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListRecommendationsSortByEnum

func GetListRecommendationsSortOrderEnumStringValues ¶

func GetListRecommendationsSortOrderEnumStringValues() []string

GetListRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListRecommendationsSortOrderEnum

func GetListResourceProfileEndpointsSortByEnumStringValues ¶

func GetListResourceProfileEndpointsSortByEnumStringValues() []string

GetListResourceProfileEndpointsSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortByEnum

func GetListResourceProfileEndpointsSortOrderEnumStringValues ¶

func GetListResourceProfileEndpointsSortOrderEnumStringValues() []string

GetListResourceProfileEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortOrderEnum

func GetListResourceProfileImpactedResourcesSortByEnumStringValues ¶

func GetListResourceProfileImpactedResourcesSortByEnumStringValues() []string

GetListResourceProfileImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortByEnum

func GetListResourceProfileImpactedResourcesSortOrderEnumStringValues ¶

func GetListResourceProfileImpactedResourcesSortOrderEnumStringValues() []string

GetListResourceProfileImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortOrderEnum

func GetListResourceProfilesAccessLevelEnumStringValues ¶

func GetListResourceProfilesAccessLevelEnumStringValues() []string

GetListResourceProfilesAccessLevelEnumStringValues Enumerates the set of values in String for ListResourceProfilesAccessLevelEnum

func GetListResourceProfilesSortByEnumStringValues ¶

func GetListResourceProfilesSortByEnumStringValues() []string

GetListResourceProfilesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortByEnum

func GetListResourceProfilesSortOrderEnumStringValues ¶

func GetListResourceProfilesSortOrderEnumStringValues() []string

GetListResourceProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortOrderEnum

func GetListResourceTypesDetectorIdEnumStringValues ¶

func GetListResourceTypesDetectorIdEnumStringValues() []string

GetListResourceTypesDetectorIdEnumStringValues Enumerates the set of values in String for ListResourceTypesDetectorIdEnum

func GetListResourceTypesLifecycleStateEnumStringValues ¶

func GetListResourceTypesLifecycleStateEnumStringValues() []string

GetListResourceTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResourceTypesLifecycleStateEnum

func GetListResourceTypesSortByEnumStringValues ¶

func GetListResourceTypesSortByEnumStringValues() []string

GetListResourceTypesSortByEnumStringValues Enumerates the set of values in String for ListResourceTypesSortByEnum

func GetListResourceTypesSortOrderEnumStringValues ¶

func GetListResourceTypesSortOrderEnumStringValues() []string

GetListResourceTypesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceTypesSortOrderEnum

func GetListResponderActivitiesSortByEnumStringValues ¶

func GetListResponderActivitiesSortByEnumStringValues() []string

GetListResponderActivitiesSortByEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortByEnum

func GetListResponderActivitiesSortOrderEnumStringValues ¶

func GetListResponderActivitiesSortOrderEnumStringValues() []string

GetListResponderActivitiesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortOrderEnum

func GetListResponderExecutionsAccessLevelEnumStringValues ¶

func GetListResponderExecutionsAccessLevelEnumStringValues() []string

GetListResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderExecutionsAccessLevelEnum

func GetListResponderExecutionsResponderExecutionModeEnumStringValues ¶

func GetListResponderExecutionsResponderExecutionModeEnumStringValues() []string

GetListResponderExecutionsResponderExecutionModeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionModeEnum

func GetListResponderExecutionsResponderExecutionStatusEnumStringValues ¶

func GetListResponderExecutionsResponderExecutionStatusEnumStringValues() []string

GetListResponderExecutionsResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionStatusEnum

func GetListResponderExecutionsResponderTypeEnumStringValues ¶

func GetListResponderExecutionsResponderTypeEnumStringValues() []string

GetListResponderExecutionsResponderTypeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderTypeEnum

func GetListResponderExecutionsSortByEnumStringValues ¶

func GetListResponderExecutionsSortByEnumStringValues() []string

GetListResponderExecutionsSortByEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortByEnum

func GetListResponderExecutionsSortOrderEnumStringValues ¶

func GetListResponderExecutionsSortOrderEnumStringValues() []string

GetListResponderExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortOrderEnum

func GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues ¶

func GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string

GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetListResponderRecipeResponderRulesSortByEnumStringValues ¶

func GetListResponderRecipeResponderRulesSortByEnumStringValues() []string

GetListResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortByEnum

func GetListResponderRecipeResponderRulesSortOrderEnumStringValues ¶

func GetListResponderRecipeResponderRulesSortOrderEnumStringValues() []string

GetListResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortOrderEnum

func GetListResponderRecipesAccessLevelEnumStringValues ¶

func GetListResponderRecipesAccessLevelEnumStringValues() []string

GetListResponderRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderRecipesAccessLevelEnum

func GetListResponderRecipesLifecycleStateEnumStringValues ¶

func GetListResponderRecipesLifecycleStateEnumStringValues() []string

GetListResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipesLifecycleStateEnum

func GetListResponderRecipesSortByEnumStringValues ¶

func GetListResponderRecipesSortByEnumStringValues() []string

GetListResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortByEnum

func GetListResponderRecipesSortOrderEnumStringValues ¶

func GetListResponderRecipesSortOrderEnumStringValues() []string

GetListResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortOrderEnum

func GetListResponderRulesLifecycleStateEnumStringValues ¶

func GetListResponderRulesLifecycleStateEnumStringValues() []string

GetListResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRulesLifecycleStateEnum

func GetListResponderRulesSortByEnumStringValues ¶

func GetListResponderRulesSortByEnumStringValues() []string

GetListResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRulesSortByEnum

func GetListResponderRulesSortOrderEnumStringValues ¶

func GetListResponderRulesSortOrderEnumStringValues() []string

GetListResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRulesSortOrderEnum

func GetListSecurityPoliciesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesLifecycleStateEnumStringValues() []string

GetListSecurityPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesLifecycleStateEnum

func GetListSecurityPoliciesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortByEnumStringValues() []string

GetListSecurityPoliciesSortByEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortByEnum

func GetListSecurityPoliciesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortOrderEnumStringValues() []string

GetListSecurityPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortOrderEnum

func GetListSecurityRecipesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesLifecycleStateEnumStringValues() []string

GetListSecurityRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityRecipesLifecycleStateEnum

func GetListSecurityRecipesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesSortByEnumStringValues() []string

GetListSecurityRecipesSortByEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortByEnum

func GetListSecurityRecipesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityRecipesSortOrderEnumStringValues() []string

GetListSecurityRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortOrderEnum

func GetListSecurityZonesLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesLifecycleStateEnumStringValues() []string

GetListSecurityZonesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityZonesLifecycleStateEnum

func GetListSecurityZonesSortByEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesSortByEnumStringValues() []string

GetListSecurityZonesSortByEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortByEnum

func GetListSecurityZonesSortOrderEnumStringValues ¶ added in v65.3.0

func GetListSecurityZonesSortOrderEnumStringValues() []string

GetListSecurityZonesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortOrderEnum

func GetListSightingEndpointsSortByEnumStringValues ¶

func GetListSightingEndpointsSortByEnumStringValues() []string

GetListSightingEndpointsSortByEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortByEnum

func GetListSightingEndpointsSortOrderEnumStringValues ¶

func GetListSightingEndpointsSortOrderEnumStringValues() []string

GetListSightingEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortOrderEnum

func GetListSightingImpactedResourcesSortByEnumStringValues ¶

func GetListSightingImpactedResourcesSortByEnumStringValues() []string

GetListSightingImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortByEnum

func GetListSightingImpactedResourcesSortOrderEnumStringValues ¶

func GetListSightingImpactedResourcesSortOrderEnumStringValues() []string

GetListSightingImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortOrderEnum

func GetListSightingsAccessLevelEnumStringValues ¶

func GetListSightingsAccessLevelEnumStringValues() []string

GetListSightingsAccessLevelEnumStringValues Enumerates the set of values in String for ListSightingsAccessLevelEnum

func GetListSightingsSortByEnumStringValues ¶

func GetListSightingsSortByEnumStringValues() []string

GetListSightingsSortByEnumStringValues Enumerates the set of values in String for ListSightingsSortByEnum

func GetListSightingsSortOrderEnumStringValues ¶

func GetListSightingsSortOrderEnumStringValues() []string

GetListSightingsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingsSortOrderEnum

func GetListTacticsLifecycleStateEnumStringValues ¶

func GetListTacticsLifecycleStateEnumStringValues() []string

GetListTacticsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTacticsLifecycleStateEnum

func GetListTacticsSortByEnumStringValues ¶

func GetListTacticsSortByEnumStringValues() []string

GetListTacticsSortByEnumStringValues Enumerates the set of values in String for ListTacticsSortByEnum

func GetListTacticsSortOrderEnumStringValues ¶

func GetListTacticsSortOrderEnumStringValues() []string

GetListTacticsSortOrderEnumStringValues Enumerates the set of values in String for ListTacticsSortOrderEnum

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string

GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetListTargetDetectorRecipesLifecycleStateEnumStringValues ¶

func GetListTargetDetectorRecipesLifecycleStateEnumStringValues() []string

GetListTargetDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesLifecycleStateEnum

func GetListTargetDetectorRecipesSortByEnumStringValues ¶

func GetListTargetDetectorRecipesSortByEnumStringValues() []string

GetListTargetDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortByEnum

func GetListTargetDetectorRecipesSortOrderEnumStringValues ¶

func GetListTargetDetectorRecipesSortOrderEnumStringValues() []string

GetListTargetDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortOrderEnum

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetListTargetResponderRecipeResponderRulesSortByEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesSortByEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortByEnum

func GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues ¶

func GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues() []string

GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetListTargetResponderRecipesLifecycleStateEnumStringValues ¶

func GetListTargetResponderRecipesLifecycleStateEnumStringValues() []string

GetListTargetResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesLifecycleStateEnum

func GetListTargetResponderRecipesSortByEnumStringValues ¶

func GetListTargetResponderRecipesSortByEnumStringValues() []string

GetListTargetResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortByEnum

func GetListTargetResponderRecipesSortOrderEnumStringValues ¶

func GetListTargetResponderRecipesSortOrderEnumStringValues() []string

GetListTargetResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortOrderEnum

func GetListTargetsAccessLevelEnumStringValues ¶

func GetListTargetsAccessLevelEnumStringValues() []string

GetListTargetsAccessLevelEnumStringValues Enumerates the set of values in String for ListTargetsAccessLevelEnum

func GetListTargetsLifecycleStateEnumStringValues ¶

func GetListTargetsLifecycleStateEnumStringValues() []string

GetListTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetsLifecycleStateEnum

func GetListTargetsSortByEnumStringValues ¶

func GetListTargetsSortByEnumStringValues() []string

GetListTargetsSortByEnumStringValues Enumerates the set of values in String for ListTargetsSortByEnum

func GetListTargetsSortOrderEnumStringValues ¶

func GetListTargetsSortOrderEnumStringValues() []string

GetListTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListTargetsSortOrderEnum

func GetListTechniquesLifecycleStateEnumStringValues ¶

func GetListTechniquesLifecycleStateEnumStringValues() []string

GetListTechniquesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTechniquesLifecycleStateEnum

func GetListTechniquesSortByEnumStringValues ¶

func GetListTechniquesSortByEnumStringValues() []string

GetListTechniquesSortByEnumStringValues Enumerates the set of values in String for ListTechniquesSortByEnum

func GetListTechniquesSortOrderEnumStringValues ¶

func GetListTechniquesSortOrderEnumStringValues() []string

GetListTechniquesSortOrderEnumStringValues Enumerates the set of values in String for ListTechniquesSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues ¶ added in v65.17.0

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetLoggingQueryOperatorTypeEnumStringValues ¶ added in v65.17.0

func GetLoggingQueryOperatorTypeEnumStringValues() []string

GetLoggingQueryOperatorTypeEnumStringValues Enumerates the set of values in String for LoggingQueryOperatorTypeEnum

func GetLoggingQueryTypeEnumStringValues ¶ added in v65.17.0

func GetLoggingQueryTypeEnumStringValues() []string

GetLoggingQueryTypeEnumStringValues Enumerates the set of values in String for LoggingQueryTypeEnum

func GetManagedListTypeEnumStringValues ¶

func GetManagedListTypeEnumStringValues() []string

GetManagedListTypeEnumStringValues Enumerates the set of values in String for ManagedListTypeEnum

func GetOperationStatusEnumStringValues ¶ added in v65.17.0

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues ¶ added in v65.17.0

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetOperatorTypeEnumStringValues ¶

func GetOperatorTypeEnumStringValues() []string

GetOperatorTypeEnumStringValues Enumerates the set of values in String for OperatorTypeEnum

func GetOwnerTypeEnumStringValues ¶

func GetOwnerTypeEnumStringValues() []string

GetOwnerTypeEnumStringValues Enumerates the set of values in String for OwnerTypeEnum

func GetProblemCategoryEnumEnumStringValues ¶ added in v65.3.0

func GetProblemCategoryEnumEnumStringValues() []string

GetProblemCategoryEnumEnumStringValues Enumerates the set of values in String for ProblemCategoryEnumEnum

func GetProblemDimensionEnumStringValues ¶

func GetProblemDimensionEnumStringValues() []string

GetProblemDimensionEnumStringValues Enumerates the set of values in String for ProblemDimensionEnum

func GetProblemLifecycleDetailEnumStringValues ¶

func GetProblemLifecycleDetailEnumStringValues() []string

GetProblemLifecycleDetailEnumStringValues Enumerates the set of values in String for ProblemLifecycleDetailEnum

func GetProblemLifecycleStateEnumStringValues ¶

func GetProblemLifecycleStateEnumStringValues() []string

GetProblemLifecycleStateEnumStringValues Enumerates the set of values in String for ProblemLifecycleStateEnum

func GetQueryReplicationStatusEnumStringValues ¶ added in v65.17.0

func GetQueryReplicationStatusEnumStringValues() []string

GetQueryReplicationStatusEnumStringValues Enumerates the set of values in String for QueryReplicationStatusEnum

func GetRecommendationLifecycleDetailEnumStringValues ¶

func GetRecommendationLifecycleDetailEnumStringValues() []string

GetRecommendationLifecycleDetailEnumStringValues Enumerates the set of values in String for RecommendationLifecycleDetailEnum

func GetRecommendationTypeEnumStringValues ¶

func GetRecommendationTypeEnumStringValues() []string

GetRecommendationTypeEnumStringValues Enumerates the set of values in String for RecommendationTypeEnum

func GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedActivityProblemsAccessLevelEnum

func GetRequestSummarizedProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedProblemsAccessLevelEnum

func GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues ¶

func GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues() []string

GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedResponderExecutionsAccessLevelEnum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues() []string

GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues() []string

GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

func GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendProblemsAccessLevelEnum

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues ¶

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues() []string

GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

func GetResourceRiskScoreDimensionEnumStringValues ¶

func GetResourceRiskScoreDimensionEnumStringValues() []string

GetResourceRiskScoreDimensionEnumStringValues Enumerates the set of values in String for ResourceRiskScoreDimensionEnum

func GetResponderActivityTypeEnumStringValues ¶

func GetResponderActivityTypeEnumStringValues() []string

GetResponderActivityTypeEnumStringValues Enumerates the set of values in String for ResponderActivityTypeEnum

func GetResponderDimensionEnumStringValues ¶

func GetResponderDimensionEnumStringValues() []string

GetResponderDimensionEnumStringValues Enumerates the set of values in String for ResponderDimensionEnum

func GetResponderExecutionModesEnumStringValues ¶

func GetResponderExecutionModesEnumStringValues() []string

GetResponderExecutionModesEnumStringValues Enumerates the set of values in String for ResponderExecutionModesEnum

func GetResponderExecutionStatesEnumStringValues ¶

func GetResponderExecutionStatesEnumStringValues() []string

GetResponderExecutionStatesEnumStringValues Enumerates the set of values in String for ResponderExecutionStatesEnum

func GetResponderExecutionStatusEnumStringValues ¶

func GetResponderExecutionStatusEnumStringValues() []string

GetResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ResponderExecutionStatusEnum

func GetResponderModeTypesEnumStringValues ¶

func GetResponderModeTypesEnumStringValues() []string

GetResponderModeTypesEnumStringValues Enumerates the set of values in String for ResponderModeTypesEnum

func GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues ¶

func GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string

GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSummarySupportedModesEnum

func GetResponderRecipeResponderRuleSupportedModesEnumStringValues ¶

func GetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string

GetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSupportedModesEnum

func GetResponderRuleSummarySupportedModesEnumStringValues ¶

func GetResponderRuleSummarySupportedModesEnumStringValues() []string

GetResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSummarySupportedModesEnum

func GetResponderRuleSupportedModesEnumStringValues ¶

func GetResponderRuleSupportedModesEnumStringValues() []string

GetResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSupportedModesEnum

func GetResponderTypeEnumStringValues ¶

func GetResponderTypeEnumStringValues() []string

GetResponderTypeEnumStringValues Enumerates the set of values in String for ResponderTypeEnum

func GetRiskLevelEnumStringValues ¶

func GetRiskLevelEnumStringValues() []string

GetRiskLevelEnumStringValues Enumerates the set of values in String for RiskLevelEnum

func GetSecurityRatingEnumStringValues ¶

func GetSecurityRatingEnumStringValues() []string

GetSecurityRatingEnumStringValues Enumerates the set of values in String for SecurityRatingEnum

func GetSeverityEnumStringValues ¶

func GetSeverityEnumStringValues() []string

GetSeverityEnumStringValues Enumerates the set of values in String for SeverityEnum

func GetSortOrdersEnumStringValues ¶

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues ¶

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string

GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues ¶

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string

GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetTargetResourceTypeEnumStringValues ¶

func GetTargetResourceTypeEnumStringValues() []string

GetTargetResourceTypeEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnum

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues ¶

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string

GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

func GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues ¶

func GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string

GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSupportedModesEnum

func GetTargetSelectedKindEnumStringValues ¶

func GetTargetSelectedKindEnumStringValues() []string

GetTargetSelectedKindEnumStringValues Enumerates the set of values in String for TargetSelectedKindEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues ¶ added in v65.17.0

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types ¶

type AbsoluteTimeStartPolicy ¶ added in v65.17.0

type AbsoluteTimeStartPolicy struct {

	// Time when the query can start, if not specified it can start immediately.
	QueryStartTime *common.SDKTime `mandatory:"false" json:"queryStartTime"`
}

AbsoluteTimeStartPolicy Policy that defines the exact start time.

func (AbsoluteTimeStartPolicy) MarshalJSON ¶ added in v65.17.0

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

MarshalJSON marshals to json representation

func (AbsoluteTimeStartPolicy) String ¶ added in v65.17.0

func (m AbsoluteTimeStartPolicy) String() string

func (AbsoluteTimeStartPolicy) ValidateEnumValue ¶ added in v65.17.0

func (m AbsoluteTimeStartPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ActionTypeEnum ¶ added in v65.17.0

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues ¶ added in v65.17.0

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum ¶ added in v65.17.0

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ActivityProblemAggregation ¶

type ActivityProblemAggregation struct {

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

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

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

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

ActivityProblemAggregation Provides the dimensions and their corresponding count.

func (ActivityProblemAggregation) String ¶

func (ActivityProblemAggregation) ValidateEnumValue ¶

func (m ActivityProblemAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ActivityProblemAggregationCollection ¶

type ActivityProblemAggregationCollection struct {

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

ActivityProblemAggregationCollection Activity Problem Aggregation Collection.

func (ActivityProblemAggregationCollection) String ¶

func (ActivityProblemAggregationCollection) ValidateEnumValue ¶

func (m ActivityProblemAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ActorTypeEnum ¶

type ActorTypeEnum string

ActorTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActorTypeEnum

func GetActorTypeEnumValues ¶

func GetActorTypeEnumValues() []ActorTypeEnum

GetActorTypeEnumValues Enumerates the set of values for ActorTypeEnum

func GetMappingActorTypeEnum ¶

func GetMappingActorTypeEnum(val string) (ActorTypeEnum, bool)

GetMappingActorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AddCompartmentDetails ¶ added in v65.3.0

type AddCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to be added to the security zone.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

AddCompartmentDetails An existing compartment to add to a security zone

func (AddCompartmentDetails) String ¶ added in v65.3.0

func (m AddCompartmentDetails) String() string

func (AddCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m AddCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AddCompartmentRequest ¶ added in v65.3.0

type AddCompartmentRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The compartment to add to the security zone.
	AddCompartmentDetails `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"`

	// 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
}

AddCompartmentRequest wrapper for the AddCompartment operation

See also ¶

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

func (AddCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

func (request AddCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AddCompartmentRequest) HTTPRequest ¶ added in v65.3.0

func (request AddCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AddCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (AddCompartmentRequest) String ¶ added in v65.3.0

func (request AddCompartmentRequest) String() string

func (AddCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request AddCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AddCompartmentResponse ¶ added in v65.3.0

type AddCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `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"`
}

AddCompartmentResponse wrapper for the AddCompartment operation

func (AddCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (AddCompartmentResponse) String ¶ added in v65.3.0

func (response AddCompartmentResponse) String() string

type AllTargetsSelected ¶

type AllTargetsSelected struct {
}

AllTargetsSelected All Targets selected.

func (AllTargetsSelected) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AllTargetsSelected) String ¶

func (m AllTargetsSelected) String() string

func (AllTargetsSelected) ValidateEnumValue ¶

func (m AllTargetsSelected) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachTargetDetectorRecipeDetails ¶

type AttachTargetDetectorRecipeDetails struct {

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

AttachTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe

func (AttachTargetDetectorRecipeDetails) String ¶

func (AttachTargetDetectorRecipeDetails) ValidateEnumValue ¶

func (m AttachTargetDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AttachTargetResponderRecipeDetails ¶

type AttachTargetResponderRecipeDetails struct {

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

AttachTargetResponderRecipeDetails The information required to create TargetResponderRecipe

func (AttachTargetResponderRecipeDetails) String ¶

func (AttachTargetResponderRecipeDetails) ValidateEnumValue ¶

func (m AttachTargetResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestRequest ¶ added in v65.17.0

type CancelWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// 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
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also ¶

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

func (CancelWorkRequestRequest) BinaryRequestBody ¶ added in v65.17.0

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest ¶ added in v65.17.0

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (CancelWorkRequestRequest) String ¶ added in v65.17.0

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue ¶ added in v65.17.0

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse ¶ added in v65.17.0

type CancelWorkRequestResponse 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"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String ¶ added in v65.17.0

func (response CancelWorkRequestResponse) String() string

type CandidateResponderRule ¶

type CandidateResponderRule struct {

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

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

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

CandidateResponderRule Candidate Responder Rule list in Detector rule

func (CandidateResponderRule) String ¶

func (m CandidateResponderRule) String() string

func (CandidateResponderRule) ValidateEnumValue ¶

func (m CandidateResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDataSourceCompartmentDetails ¶ added in v65.17.0

type ChangeDataSourceCompartmentDetails struct {

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

ChangeDataSourceCompartmentDetails Changing compartmentId for DataSource

func (ChangeDataSourceCompartmentDetails) String ¶ added in v65.17.0

func (ChangeDataSourceCompartmentDetails) ValidateEnumValue ¶ added in v65.17.0

func (m ChangeDataSourceCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDataSourceCompartmentRequest ¶ added in v65.17.0

type ChangeDataSourceCompartmentRequest struct {

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// The compartment id of the DataSource
	ChangeDataSourceCompartmentDetails `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
}

ChangeDataSourceCompartmentRequest wrapper for the ChangeDataSourceCompartment operation

See also ¶

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

func (ChangeDataSourceCompartmentRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ChangeDataSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeDataSourceCompartmentRequest) HTTPRequest ¶ added in v65.17.0

func (request ChangeDataSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDataSourceCompartmentRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (ChangeDataSourceCompartmentRequest) String ¶ added in v65.17.0

func (request ChangeDataSourceCompartmentRequest) String() string

func (ChangeDataSourceCompartmentRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ChangeDataSourceCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDataSourceCompartmentResponse ¶ added in v65.17.0

type ChangeDataSourceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

ChangeDataSourceCompartmentResponse wrapper for the ChangeDataSourceCompartment operation

func (ChangeDataSourceCompartmentResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeDataSourceCompartmentResponse) String ¶ added in v65.17.0

func (response ChangeDataSourceCompartmentResponse) String() string

type ChangeDetectorRecipeCompartmentDetails ¶

type ChangeDetectorRecipeCompartmentDetails struct {

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

ChangeDetectorRecipeCompartmentDetails Changing compartmentId for DetectorRecipe

func (ChangeDetectorRecipeCompartmentDetails) String ¶

func (ChangeDetectorRecipeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeDetectorRecipeCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDetectorRecipeCompartmentRequest ¶

type ChangeDetectorRecipeCompartmentRequest struct {

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

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

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

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

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

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

ChangeDetectorRecipeCompartmentRequest wrapper for the ChangeDetectorRecipeCompartment operation

See also ¶

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

func (ChangeDetectorRecipeCompartmentRequest) BinaryRequestBody ¶

func (request ChangeDetectorRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeDetectorRecipeCompartmentRequest) HTTPRequest ¶

func (request ChangeDetectorRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeDetectorRecipeCompartmentRequest) RetryPolicy ¶

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

func (ChangeDetectorRecipeCompartmentRequest) String ¶

func (ChangeDetectorRecipeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDetectorRecipeCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDetectorRecipeCompartmentResponse ¶

type ChangeDetectorRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeDetectorRecipeCompartmentResponse wrapper for the ChangeDetectorRecipeCompartment operation

func (ChangeDetectorRecipeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDetectorRecipeCompartmentResponse) String ¶

type ChangeManagedListCompartmentDetails ¶

type ChangeManagedListCompartmentDetails struct {

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

ChangeManagedListCompartmentDetails Changing compartmentId for ManagedList

func (ChangeManagedListCompartmentDetails) String ¶

func (ChangeManagedListCompartmentDetails) ValidateEnumValue ¶

func (m ChangeManagedListCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeManagedListCompartmentRequest ¶

type ChangeManagedListCompartmentRequest struct {

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

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

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

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

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

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

ChangeManagedListCompartmentRequest wrapper for the ChangeManagedListCompartment operation

See also ¶

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

func (ChangeManagedListCompartmentRequest) BinaryRequestBody ¶

func (request ChangeManagedListCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeManagedListCompartmentRequest) HTTPRequest ¶

func (request ChangeManagedListCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeManagedListCompartmentRequest) RetryPolicy ¶

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

func (ChangeManagedListCompartmentRequest) String ¶

func (ChangeManagedListCompartmentRequest) ValidateEnumValue ¶

func (request ChangeManagedListCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeManagedListCompartmentResponse ¶

type ChangeManagedListCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeManagedListCompartmentResponse wrapper for the ChangeManagedListCompartment operation

func (ChangeManagedListCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeManagedListCompartmentResponse) String ¶

func (response ChangeManagedListCompartmentResponse) String() string

type ChangeResponderRecipeCompartmentDetails ¶

type ChangeResponderRecipeCompartmentDetails struct {

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

ChangeResponderRecipeCompartmentDetails Changing compartmentId for ResponderRecipe

func (ChangeResponderRecipeCompartmentDetails) String ¶

func (ChangeResponderRecipeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeResponderRecipeCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeResponderRecipeCompartmentRequest ¶

type ChangeResponderRecipeCompartmentRequest struct {

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

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

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

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

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

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

ChangeResponderRecipeCompartmentRequest wrapper for the ChangeResponderRecipeCompartment operation

See also ¶

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

func (ChangeResponderRecipeCompartmentRequest) BinaryRequestBody ¶

func (request ChangeResponderRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeResponderRecipeCompartmentRequest) HTTPRequest ¶

func (request ChangeResponderRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeResponderRecipeCompartmentRequest) RetryPolicy ¶

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

func (ChangeResponderRecipeCompartmentRequest) String ¶

func (ChangeResponderRecipeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeResponderRecipeCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeResponderRecipeCompartmentResponse ¶

type ChangeResponderRecipeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeResponderRecipeCompartmentResponse wrapper for the ChangeResponderRecipeCompartment operation

func (ChangeResponderRecipeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeResponderRecipeCompartmentResponse) String ¶

type ChangeSecurityPolicyCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityPolicyCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSecurityPolicyCompartmentDetails The information to be updated.

func (ChangeSecurityPolicyCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityPolicyCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m ChangeSecurityPolicyCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSecurityRecipeCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSecurityRecipeCompartmentDetails The compartment for the security zone recipe

func (ChangeSecurityRecipeCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityRecipeCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m ChangeSecurityRecipeCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSecurityRecipeCompartmentRequest ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentRequest struct {

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// The compartment to which you want to move the recipe.
	ChangeSecurityRecipeCompartmentDetails `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
}

ChangeSecurityRecipeCompartmentRequest wrapper for the ChangeSecurityRecipeCompartment operation

See also ¶

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

func (ChangeSecurityRecipeCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ChangeSecurityRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityRecipeCompartmentRequest) HTTPRequest ¶ added in v65.3.0

func (request ChangeSecurityRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityRecipeCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

func (ChangeSecurityRecipeCompartmentRequest) String ¶ added in v65.3.0

func (ChangeSecurityRecipeCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ChangeSecurityRecipeCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSecurityRecipeCompartmentResponse ¶ added in v65.3.0

type ChangeSecurityRecipeCompartmentResponse 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"`
}

ChangeSecurityRecipeCompartmentResponse wrapper for the ChangeSecurityRecipeCompartment operation

func (ChangeSecurityRecipeCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityRecipeCompartmentResponse) String ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentDetails ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSecurityZoneCompartmentDetails The compartment for the security zone

func (ChangeSecurityZoneCompartmentDetails) String ¶ added in v65.3.0

func (ChangeSecurityZoneCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m ChangeSecurityZoneCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSecurityZoneCompartmentRequest ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The compartment to which you want to move the security zone.
	ChangeSecurityZoneCompartmentDetails `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
}

ChangeSecurityZoneCompartmentRequest wrapper for the ChangeSecurityZoneCompartment operation

See also ¶

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

func (ChangeSecurityZoneCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ChangeSecurityZoneCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityZoneCompartmentRequest) HTTPRequest ¶ added in v65.3.0

func (request ChangeSecurityZoneCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityZoneCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

func (ChangeSecurityZoneCompartmentRequest) String ¶ added in v65.3.0

func (ChangeSecurityZoneCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ChangeSecurityZoneCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeSecurityZoneCompartmentResponse ¶ added in v65.3.0

type ChangeSecurityZoneCompartmentResponse 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"`
}

ChangeSecurityZoneCompartmentResponse wrapper for the ChangeSecurityZoneCompartment operation

func (ChangeSecurityZoneCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityZoneCompartmentResponse) String ¶ added in v65.3.0

type ClassificationStatusEnum ¶

type ClassificationStatusEnum string

ClassificationStatusEnum Enum with underlying type: string

const (
	ClassificationStatusFalseNegative ClassificationStatusEnum = "FALSE_NEGATIVE"
	ClassificationStatusTrueNegative  ClassificationStatusEnum = "TRUE_NEGATIVE"
	ClassificationStatusFalsePositive ClassificationStatusEnum = "FALSE_POSITIVE"
	ClassificationStatusTruePositive  ClassificationStatusEnum = "TRUE_POSITIVE"
	ClassificationStatusNotClassified ClassificationStatusEnum = "NOT_CLASSIFIED"
)

Set of constants representing the allowable values for ClassificationStatusEnum

func GetClassificationStatusEnumValues ¶

func GetClassificationStatusEnumValues() []ClassificationStatusEnum

GetClassificationStatusEnumValues Enumerates the set of values for ClassificationStatusEnum

func GetMappingClassificationStatusEnum ¶

func GetMappingClassificationStatusEnum(val string) (ClassificationStatusEnum, bool)

GetMappingClassificationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type CloudGuardClient ¶

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

CloudGuardClient a client for CloudGuard

func NewCloudGuardClientWithConfigurationProvider ¶

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

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

func NewCloudGuardClientWithOboToken ¶

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

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

as well as reading the region

func (CloudGuardClient) AddCompartment ¶ added in v65.3.0

func (client CloudGuardClient) AddCompartment(ctx context.Context, request AddCompartmentRequest) (response AddCompartmentResponse, err error)

AddCompartment Add an existing compartment to a security zone. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone's policies.

See also ¶

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

func (CloudGuardClient) CancelWorkRequest ¶ added in v65.17.0

func (client CloudGuardClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels the work request with the given ID.

See also ¶

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

func (CloudGuardClient) ChangeDataSourceCompartment ¶ added in v65.17.0

func (client CloudGuardClient) ChangeDataSourceCompartment(ctx context.Context, request ChangeDataSourceCompartmentRequest) (response ChangeDataSourceCompartmentResponse, err error)

ChangeDataSourceCompartment Moves the DataSource from current compartment to another.

See also ¶

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

func (CloudGuardClient) ChangeDetectorRecipeCompartment ¶

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

ChangeDetectorRecipeCompartment Moves the DetectorRecipe from current compartment to another.

See also ¶

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

func (CloudGuardClient) ChangeManagedListCompartment ¶

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

ChangeManagedListCompartment Moves the ManagedList from current compartment to another.

See also ¶

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

func (CloudGuardClient) ChangeResponderRecipeCompartment ¶

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

ChangeResponderRecipeCompartment Moves the ResponderRecipe from current compartment to another.

See also ¶

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

func (CloudGuardClient) ChangeSecurityRecipeCompartment ¶ added in v65.3.0

func (client CloudGuardClient) ChangeSecurityRecipeCompartment(ctx context.Context, request ChangeSecurityRecipeCompartmentRequest) (response ChangeSecurityRecipeCompartmentResponse, err error)

ChangeSecurityRecipeCompartment Moves a security zone recipe to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.

See also ¶

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

func (CloudGuardClient) ChangeSecurityZoneCompartment ¶ added in v65.3.0

func (client CloudGuardClient) ChangeSecurityZoneCompartment(ctx context.Context, request ChangeSecurityZoneCompartmentRequest) (response ChangeSecurityZoneCompartmentResponse, err error)

ChangeSecurityZoneCompartment Moves a security zone to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.

See also ¶

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

func (*CloudGuardClient) ConfigurationProvider ¶

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

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

func (CloudGuardClient) CreateDataMaskRule ¶

func (client CloudGuardClient) CreateDataMaskRule(ctx context.Context, request CreateDataMaskRuleRequest) (response CreateDataMaskRuleResponse, err error)

CreateDataMaskRule Creates a new Data Mask Rule Definition

See also ¶

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

func (CloudGuardClient) CreateDataSource ¶ added in v65.17.0

func (client CloudGuardClient) CreateDataSource(ctx context.Context, request CreateDataSourceRequest) (response CreateDataSourceResponse, err error)

CreateDataSource Creates a DataSource

See also ¶

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

func (CloudGuardClient) CreateDetectorRecipe ¶

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

CreateDetectorRecipe Creates a DetectorRecipe

See also ¶

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

func (CloudGuardClient) CreateDetectorRecipeDetectorRule ¶ added in v65.17.0

func (client CloudGuardClient) CreateDetectorRecipeDetectorRule(ctx context.Context, request CreateDetectorRecipeDetectorRuleRequest) (response CreateDetectorRecipeDetectorRuleResponse, err error)

CreateDetectorRecipeDetectorRule Create the DetectorRule

See also ¶

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

func (CloudGuardClient) CreateManagedList ¶

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

CreateManagedList Creates a new ManagedList.

See also ¶

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

func (CloudGuardClient) CreateResponderRecipe ¶

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

CreateResponderRecipe Create a ResponderRecipe.

See also ¶

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

func (CloudGuardClient) CreateSecurityRecipe ¶ added in v65.3.0

func (client CloudGuardClient) CreateSecurityRecipe(ctx context.Context, request CreateSecurityRecipeRequest) (response CreateSecurityRecipeResponse, err error)

CreateSecurityRecipe Creates a security zone recipe. A security zone recipe is a collection of security zone policies.

See also ¶

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

func (CloudGuardClient) CreateSecurityZone ¶ added in v65.3.0

func (client CloudGuardClient) CreateSecurityZone(ctx context.Context, request CreateSecurityZoneRequest) (response CreateSecurityZoneResponse, err error)

CreateSecurityZone Creates a security zone for a compartment. A security zone enforces all security zone policies in a given security zone recipe. Any actions that violate a policy are denied. By default, any subcompartments are also in the same security zone.

See also ¶

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

func (CloudGuardClient) CreateTarget ¶

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

CreateTarget Creates a new Target

See also ¶

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

func (CloudGuardClient) CreateTargetDetectorRecipe ¶

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

CreateTargetDetectorRecipe Attach a DetectorRecipe with the Target

See also ¶

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

func (CloudGuardClient) CreateTargetResponderRecipe ¶

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

CreateTargetResponderRecipe Attach a ResponderRecipe with the Target

See also ¶

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

func (CloudGuardClient) DeleteDataMaskRule ¶

func (client CloudGuardClient) DeleteDataMaskRule(ctx context.Context, request DeleteDataMaskRuleRequest) (response DeleteDataMaskRuleResponse, err error)

DeleteDataMaskRule Deletes a DataMaskRule identified by dataMaskRuleId

See also ¶

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

func (CloudGuardClient) DeleteDataSource ¶ added in v65.17.0

func (client CloudGuardClient) DeleteDataSource(ctx context.Context, request DeleteDataSourceRequest) (response DeleteDataSourceResponse, err error)

DeleteDataSource Deletes a DataSource identified by dataSourceId

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipe ¶

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

DeleteDetectorRecipe Deletes a DetectorRecipe identified by detectorRecipeId

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipeDetectorRule ¶ added in v65.17.0

func (client CloudGuardClient) DeleteDetectorRecipeDetectorRule(ctx context.Context, request DeleteDetectorRecipeDetectorRuleRequest) (response DeleteDetectorRecipeDetectorRuleResponse, err error)

DeleteDetectorRecipeDetectorRule Deletes DetectorRecipeDetectorRule

See also ¶

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

func (CloudGuardClient) DeleteDetectorRecipeDetectorRuleDataSource ¶ added in v65.17.0

func (client CloudGuardClient) DeleteDetectorRecipeDetectorRuleDataSource(ctx context.Context, request DeleteDetectorRecipeDetectorRuleDataSourceRequest) (response DeleteDetectorRecipeDetectorRuleDataSourceResponse, err error)

DeleteDetectorRecipeDetectorRuleDataSource Delete the DetectorRecipeDetectorRuleDataSource resource by identifier

See also ¶

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

func (CloudGuardClient) DeleteManagedList ¶

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

DeleteManagedList Deletes a managed list identified by managedListId

See also ¶

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

func (CloudGuardClient) DeleteResponderRecipe ¶

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

DeleteResponderRecipe Delete the ResponderRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) DeleteSecurityRecipe ¶ added in v65.3.0

func (client CloudGuardClient) DeleteSecurityRecipe(ctx context.Context, request DeleteSecurityRecipeRequest) (response DeleteSecurityRecipeResponse, err error)

DeleteSecurityRecipe Deletes a security zone recipe. The recipe can't be associated with an existing security zone.

See also ¶

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

func (CloudGuardClient) DeleteSecurityZone ¶ added in v65.3.0

func (client CloudGuardClient) DeleteSecurityZone(ctx context.Context, request DeleteSecurityZoneRequest) (response DeleteSecurityZoneResponse, err error)

DeleteSecurityZone Deletes an existing security zone with a given identifier.

See also ¶

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

func (CloudGuardClient) DeleteTarget ¶

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

DeleteTarget Deletes a Target identified by targetId

See also ¶

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

func (CloudGuardClient) DeleteTargetDetectorRecipe ¶

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

DeleteTargetDetectorRecipe Delete the TargetDetectorRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) DeleteTargetResponderRecipe ¶

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

DeleteTargetResponderRecipe Delete the TargetResponderRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) ExecuteResponderExecution ¶

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

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

See also ¶

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

func (CloudGuardClient) GetConditionMetadataType ¶

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

GetConditionMetadataType Returns ConditionType with its details.

See also ¶

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

func (CloudGuardClient) GetConfiguration ¶

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

GetConfiguration GET Cloud Guard Configuration Details for a Tenancy.

See also ¶

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

func (CloudGuardClient) GetDataMaskRule ¶

func (client CloudGuardClient) GetDataMaskRule(ctx context.Context, request GetDataMaskRuleRequest) (response GetDataMaskRuleResponse, err error)

GetDataMaskRule Returns a DataMaskRule identified by DataMaskRuleId

See also ¶

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

func (CloudGuardClient) GetDataSource ¶ added in v65.17.0

func (client CloudGuardClient) GetDataSource(ctx context.Context, request GetDataSourceRequest) (response GetDataSourceResponse, err error)

GetDataSource Returns a DataSource identified by dataSourceId

See also ¶

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

func (CloudGuardClient) GetDetector ¶

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

GetDetector Returns a Detector identified by detectorId.

See also ¶

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

func (CloudGuardClient) GetDetectorRecipe ¶

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

GetDetectorRecipe Returns a DetectorRecipe identified by detectorRecipeId

See also ¶

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

func (CloudGuardClient) GetDetectorRecipeDetectorRule ¶

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

GetDetectorRecipeDetectorRule Get DetectorRule by identifier

See also ¶

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

func (CloudGuardClient) GetDetectorRule ¶

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

GetDetectorRule Returns a Detector Rule identified by detectorRuleId

See also ¶

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

func (CloudGuardClient) GetManagedList ¶

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

GetManagedList Returns a managed list identified by managedListId

See also ¶

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

func (CloudGuardClient) GetProblem ¶

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

GetProblem Returns a Problems response

See also ¶

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

func (CloudGuardClient) GetResourceProfile ¶

func (client CloudGuardClient) GetResourceProfile(ctx context.Context, request GetResourceProfileRequest) (response GetResourceProfileResponse, err error)

GetResourceProfile Returns resource profile details

See also ¶

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

func (CloudGuardClient) GetResponderExecution ¶

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

GetResponderExecution Returns a Responder Execution identified by responderExecutionId

See also ¶

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

func (CloudGuardClient) GetResponderRecipe ¶

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

GetResponderRecipe Get a ResponderRecipe by identifier

See also ¶

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

func (CloudGuardClient) GetResponderRecipeResponderRule ¶

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

GetResponderRecipeResponderRule Get ResponderRule by identifier

See also ¶

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

func (CloudGuardClient) GetResponderRule ¶

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

GetResponderRule Get a ResponderRule by identifier

See also ¶

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

func (CloudGuardClient) GetSecurityPolicy ¶ added in v65.3.0

func (client CloudGuardClient) GetSecurityPolicy(ctx context.Context, request GetSecurityPolicyRequest) (response GetSecurityPolicyResponse, err error)

GetSecurityPolicy Gets a security zone policy using its identifier. When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is denied.

See also ¶

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

func (CloudGuardClient) GetSecurityRecipe ¶ added in v65.3.0

func (client CloudGuardClient) GetSecurityRecipe(ctx context.Context, request GetSecurityRecipeRequest) (response GetSecurityRecipeResponse, err error)

GetSecurityRecipe Gets a security zone recipe by identifier. A security zone recipe is a collection of security zone policies.

See also ¶

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

func (CloudGuardClient) GetSecurityZone ¶ added in v65.3.0

func (client CloudGuardClient) GetSecurityZone(ctx context.Context, request GetSecurityZoneRequest) (response GetSecurityZoneResponse, err error)

GetSecurityZone Gets a security zone by its identifier. A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartments that violate a policy are denied.

See also ¶

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

func (CloudGuardClient) GetSighting ¶

func (client CloudGuardClient) GetSighting(ctx context.Context, request GetSightingRequest) (response GetSightingResponse, err error)

GetSighting Returns Sighting details

See also ¶

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

func (CloudGuardClient) GetTarget ¶

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

GetTarget Returns a Target identified by targetId

See also ¶

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

func (CloudGuardClient) GetTargetDetectorRecipe ¶

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

GetTargetDetectorRecipe Get a TargetDetectorRecipe by identifier

See also ¶

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

func (CloudGuardClient) GetTargetDetectorRecipeDetectorRule ¶

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

GetTargetDetectorRecipeDetectorRule Get DetectorRule by identifier

See also ¶

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

func (CloudGuardClient) GetTargetResponderRecipe ¶

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

GetTargetResponderRecipe Get a TargetResponderRecipe by identifier

See also ¶

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

func (CloudGuardClient) GetTargetResponderRecipeResponderRule ¶

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

GetTargetResponderRecipeResponderRule Get ResponderRule by identifier

See also ¶

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

func (CloudGuardClient) GetWorkRequest ¶ added in v65.17.0

func (client CloudGuardClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets details of the work request with the given ID.

See also ¶

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

func (CloudGuardClient) ListConditionMetadataTypes ¶

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

ListConditionMetadataTypes Returns a list of condition types.

See also ¶

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

func (CloudGuardClient) ListDataMaskRules ¶

func (client CloudGuardClient) ListDataMaskRules(ctx context.Context, request ListDataMaskRulesRequest) (response ListDataMaskRulesResponse, err error)

ListDataMaskRules Returns a list of all Data Mask Rules in the root 'compartmentId' passed.

See also ¶

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

func (CloudGuardClient) ListDataSourceEvents ¶ added in v65.17.0

func (client CloudGuardClient) ListDataSourceEvents(ctx context.Context, request ListDataSourceEventsRequest) (response ListDataSourceEventsResponse, err error)

ListDataSourceEvents Returns a list of events from CloudGuard DataSource

See also ¶

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

func (CloudGuardClient) ListDataSources ¶ added in v65.17.0

func (client CloudGuardClient) ListDataSources(ctx context.Context, request ListDataSourcesRequest) (response ListDataSourcesResponse, err error)

ListDataSources Returns a list of all Data Sources in a compartment The ListDataSources operation returns only the data Sources 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 ListdataSources on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListDetectorRecipeDetectorRules ¶

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

ListDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe.

See also ¶

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

func (CloudGuardClient) ListDetectorRecipes ¶

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

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

See also ¶

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

func (CloudGuardClient) ListDetectorRules ¶

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

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

See also ¶

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

func (CloudGuardClient) ListDetectors ¶

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

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

See also ¶

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

func (CloudGuardClient) ListImpactedResources ¶

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

ListImpactedResources Returns a list of Impacted Resources for a CloudGuard Problem

See also ¶

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

func (CloudGuardClient) ListManagedListTypes ¶

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

ListManagedListTypes Returns all ManagedList types supported by Cloud Guard

See also ¶

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

func (CloudGuardClient) ListManagedLists ¶

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

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

See also ¶

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

func (CloudGuardClient) ListPolicies ¶

func (client CloudGuardClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)

ListPolicies Returns the list of global policy statements needed by Cloud Guard when enabling

See also ¶

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

func (CloudGuardClient) ListProblemEndpoints ¶

func (client CloudGuardClient) ListProblemEndpoints(ctx context.Context, request ListProblemEndpointsRequest) (response ListProblemEndpointsResponse, err error)

ListProblemEndpoints Returns a list of endpoints associated with a cloud guard problem

See also ¶

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

func (CloudGuardClient) ListProblemEntities ¶ added in v65.17.0

func (client CloudGuardClient) ListProblemEntities(ctx context.Context, request ListProblemEntitiesRequest) (response ListProblemEntitiesResponse, err error)

ListProblemEntities Returns a list of entities for a CloudGuard Problem

See also ¶

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

func (CloudGuardClient) ListProblemHistories ¶

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

ListProblemHistories Returns a list of Actions done on CloudGuard Problem

See also ¶

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

func (CloudGuardClient) ListProblems ¶

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

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

See also ¶

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

func (CloudGuardClient) ListRecommendations ¶

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

ListRecommendations Returns a list of all Recommendations.

See also ¶

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

func (CloudGuardClient) ListResourceProfileEndpoints ¶

func (client CloudGuardClient) ListResourceProfileEndpoints(ctx context.Context, request ListResourceProfileEndpointsRequest) (response ListResourceProfileEndpointsResponse, err error)

ListResourceProfileEndpoints Returns a list of endpoints for Cloud Guard resource profile

See also ¶

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

func (CloudGuardClient) ListResourceProfileImpactedResources ¶

func (client CloudGuardClient) ListResourceProfileImpactedResources(ctx context.Context, request ListResourceProfileImpactedResourcesRequest) (response ListResourceProfileImpactedResourcesResponse, err error)

ListResourceProfileImpactedResources Returns a list of impacted resources for Cloud Guard resource profile

See also ¶

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

func (CloudGuardClient) ListResourceProfiles ¶

func (client CloudGuardClient) ListResourceProfiles(ctx context.Context, request ListResourceProfilesRequest) (response ListResourceProfilesResponse, err error)

ListResourceProfiles Returns a list of all resource profiles identified by the Cloud Guard The ListResourceProfiles operation returns only resource profiles that match the passed filters. The ListResourceProfiles operation returns only the resource profiles in `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 ListResourceProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListResourceTypes ¶

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

ListResourceTypes Returns a list of resource types.

See also ¶

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

func (CloudGuardClient) ListResponderActivities ¶

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

ListResponderActivities Returns a list of Responder activities done on CloudGuard Problem

See also ¶

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

func (CloudGuardClient) ListResponderExecutions ¶

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

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

See also ¶

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

func (CloudGuardClient) ListResponderRecipeResponderRules ¶

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

ListResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe.

See also ¶

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

func (CloudGuardClient) ListResponderRecipes ¶

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

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

See also ¶

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

func (CloudGuardClient) ListResponderRules ¶

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

ListResponderRules Returns a list of ResponderRule.

See also ¶

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

func (CloudGuardClient) ListSecurityPolicies ¶ added in v65.3.0

func (client CloudGuardClient) ListSecurityPolicies(ctx context.Context, request ListSecurityPoliciesRequest) (response ListSecurityPoliciesResponse, err error)

ListSecurityPolicies Returns a list of security zone policies. Specify any compartment.

See also ¶

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

func (CloudGuardClient) ListSecurityRecipes ¶ added in v65.3.0

func (client CloudGuardClient) ListSecurityRecipes(ctx context.Context, request ListSecurityRecipesRequest) (response ListSecurityRecipesResponse, err error)

ListSecurityRecipes Gets a list of all security zone recipes in a compartment.

See also ¶

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

func (CloudGuardClient) ListSecurityZones ¶ added in v65.3.0

func (client CloudGuardClient) ListSecurityZones(ctx context.Context, request ListSecurityZonesRequest) (response ListSecurityZonesResponse, err error)

ListSecurityZones Gets a list of all security zones in a compartment.

See also ¶

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

func (CloudGuardClient) ListSightingEndpoints ¶

func (client CloudGuardClient) ListSightingEndpoints(ctx context.Context, request ListSightingEndpointsRequest) (response ListSightingEndpointsResponse, err error)

ListSightingEndpoints Returns Sighting endpoints details

See also ¶

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

func (CloudGuardClient) ListSightingImpactedResources ¶

func (client CloudGuardClient) ListSightingImpactedResources(ctx context.Context, request ListSightingImpactedResourcesRequest) (response ListSightingImpactedResourcesResponse, err error)

ListSightingImpactedResources Return a list of Impacted Resources for a CloudGuard Sighting

See also ¶

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

func (CloudGuardClient) ListSightings ¶

func (client CloudGuardClient) ListSightings(ctx context.Context, request ListSightingsRequest) (response ListSightingsResponse, err error)

ListSightings Returns a list of all Sightings identified by the Cloud Guard The ListSightings operation returns only sightings that match the passed filters. 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 ListSightings on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.

See also ¶

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

func (CloudGuardClient) ListTactics ¶

func (client CloudGuardClient) ListTactics(ctx context.Context, request ListTacticsRequest) (response ListTacticsResponse, err error)

ListTactics Returns a list of tactics associated with detector rules.

See also ¶

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

func (CloudGuardClient) ListTargetDetectorRecipeDetectorRules ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTargetDetectorRecipes ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTargetResponderRecipeResponderRules ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTargetResponderRecipes ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTargets ¶

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

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

See also ¶

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

func (CloudGuardClient) ListTechniques ¶

func (client CloudGuardClient) ListTechniques(ctx context.Context, request ListTechniquesRequest) (response ListTechniquesResponse, err error)

ListTechniques Returns a list of techniques associated with detector rules.

See also ¶

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

func (CloudGuardClient) ListWorkRequestErrors ¶ added in v65.17.0

func (client CloudGuardClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

See also ¶

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

func (CloudGuardClient) ListWorkRequestLogs ¶ added in v65.17.0

func (client CloudGuardClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

See also ¶

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

func (CloudGuardClient) ListWorkRequests ¶ added in v65.17.0

func (client CloudGuardClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also ¶

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

func (CloudGuardClient) RemoveCompartment ¶ added in v65.3.0

func (client CloudGuardClient) RemoveCompartment(ctx context.Context, request RemoveCompartmentRequest) (response RemoveCompartmentResponse, err error)

RemoveCompartment Removes an existing compartment from a security zone. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can't remove the primary compartment that was used to create the security zone.

See also ¶

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

func (CloudGuardClient) RequestRiskScores ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSecurityScoreSummarizedTrend ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSecurityScores ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedActivityProblems ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedProblems ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedResponderExecutions ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedRiskScores ¶

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

RequestSummarizedRiskScores DEPRECATED

See also ¶

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

func (CloudGuardClient) RequestSummarizedSecurityScores ¶

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

RequestSummarizedSecurityScores DEPRECATED

See also ¶

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

func (CloudGuardClient) RequestSummarizedTopTrendResourceProfileRiskScores ¶

func (client CloudGuardClient) RequestSummarizedTopTrendResourceProfileRiskScores(ctx context.Context, request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) (response RequestSummarizedTopTrendResourceProfileRiskScoresResponse, err error)

RequestSummarizedTopTrendResourceProfileRiskScores Summarizes the resource profile risk score top trends for the given time range based on the search filters.

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendProblems ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendResourceRiskScores ¶

func (client CloudGuardClient) RequestSummarizedTrendResourceRiskScores(ctx context.Context, request RequestSummarizedTrendResourceRiskScoresRequest) (response RequestSummarizedTrendResourceRiskScoresResponse, err error)

RequestSummarizedTrendResourceRiskScores Summarizes the resource risk score trend for the given time range based on the search filters.

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendResponderExecutions ¶

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

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

See also ¶

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

func (CloudGuardClient) RequestSummarizedTrendSecurityScores ¶

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

RequestSummarizedTrendSecurityScores DEPRECATED

See also ¶

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

func (*CloudGuardClient) SetRegion ¶

func (client *CloudGuardClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CloudGuardClient) SkipBulkResponderExecution ¶

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

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

See also ¶

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

func (CloudGuardClient) SkipResponderExecution ¶

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

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

See also ¶

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

func (CloudGuardClient) TriggerResponder ¶

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

TriggerResponder push the problem to responder

See also ¶

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

func (CloudGuardClient) UpdateBulkProblemStatus ¶

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

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

See also ¶

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

func (CloudGuardClient) UpdateConfiguration ¶

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

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

See also ¶

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

func (CloudGuardClient) UpdateDataMaskRule ¶

func (client CloudGuardClient) UpdateDataMaskRule(ctx context.Context, request UpdateDataMaskRuleRequest) (response UpdateDataMaskRuleResponse, err error)

UpdateDataMaskRule Updates a DataMaskRule identified by dataMaskRuleId

See also ¶

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

func (CloudGuardClient) UpdateDataSource ¶ added in v65.17.0

func (client CloudGuardClient) UpdateDataSource(ctx context.Context, request UpdateDataSourceRequest) (response UpdateDataSourceResponse, err error)

UpdateDataSource Updates a data source identified by dataSourceId

See also ¶

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

func (CloudGuardClient) UpdateDetectorRecipe ¶

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

UpdateDetectorRecipe Updates a detector recipe identified by detectorRecipeId

See also ¶

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

func (CloudGuardClient) UpdateDetectorRecipeDetectorRule ¶

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

UpdateDetectorRecipeDetectorRule Update the DetectorRule by identifier

See also ¶

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

func (CloudGuardClient) UpdateManagedList ¶

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

UpdateManagedList Updates a managed list identified by managedListId

See also ¶

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

func (CloudGuardClient) UpdateProblemStatus ¶

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

UpdateProblemStatus updates the problem details

See also ¶

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

func (CloudGuardClient) UpdateResponderRecipe ¶

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

UpdateResponderRecipe Update the ResponderRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) UpdateResponderRecipeResponderRule ¶

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

UpdateResponderRecipeResponderRule Update the ResponderRule by identifier

See also ¶

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

func (CloudGuardClient) UpdateSecurityRecipe ¶ added in v65.3.0

func (client CloudGuardClient) UpdateSecurityRecipe(ctx context.Context, request UpdateSecurityRecipeRequest) (response UpdateSecurityRecipeResponse, err error)

UpdateSecurityRecipe Updates a security zone recipe. A security zone recipe is a collection of security zone policies.

See also ¶

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

func (CloudGuardClient) UpdateSecurityZone ¶ added in v65.3.0

func (client CloudGuardClient) UpdateSecurityZone(ctx context.Context, request UpdateSecurityZoneRequest) (response UpdateSecurityZoneResponse, err error)

UpdateSecurityZone Updates the security zone identified by its id

See also ¶

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

func (CloudGuardClient) UpdateTarget ¶

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

UpdateTarget Updates a Target identified by targetId

See also ¶

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

func (CloudGuardClient) UpdateTargetDetectorRecipe ¶

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

UpdateTargetDetectorRecipe Update the TargetDetectorRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule ¶

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

UpdateTargetDetectorRecipeDetectorRule Update the DetectorRule by identifier

See also ¶

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

func (CloudGuardClient) UpdateTargetResponderRecipe ¶

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

UpdateTargetResponderRecipe Update the TargetResponderRecipe resource by identifier

See also ¶

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

func (CloudGuardClient) UpdateTargetResponderRecipeResponderRule ¶

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

UpdateTargetResponderRecipeResponderRule Update the ResponderRule by identifier

See also ¶

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

type CloudGuardStatusEnum ¶

type CloudGuardStatusEnum string

CloudGuardStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CloudGuardStatusEnum

func GetCloudGuardStatusEnumValues ¶

func GetCloudGuardStatusEnumValues() []CloudGuardStatusEnum

GetCloudGuardStatusEnumValues Enumerates the set of values for CloudGuardStatusEnum

func GetMappingCloudGuardStatusEnum ¶

func GetMappingCloudGuardStatusEnum(val string) (CloudGuardStatusEnum, bool)

GetMappingCloudGuardStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type CompositeCondition ¶

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

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

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

CompositeCondition Composite Condition object with nested Condition

func (CompositeCondition) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (CompositeCondition) String ¶

func (m CompositeCondition) String() string

func (*CompositeCondition) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CompositeCondition) ValidateEnumValue ¶

func (m CompositeCondition) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CompositeConditionCompositeOperatorEnum ¶

type CompositeConditionCompositeOperatorEnum string

CompositeConditionCompositeOperatorEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CompositeConditionCompositeOperatorEnum

func GetCompositeConditionCompositeOperatorEnumValues ¶

func GetCompositeConditionCompositeOperatorEnumValues() []CompositeConditionCompositeOperatorEnum

GetCompositeConditionCompositeOperatorEnumValues Enumerates the set of values for CompositeConditionCompositeOperatorEnum

func GetMappingCompositeConditionCompositeOperatorEnum ¶

func GetMappingCompositeConditionCompositeOperatorEnum(val string) (CompositeConditionCompositeOperatorEnum, bool)

GetMappingCompositeConditionCompositeOperatorEnum performs case Insensitive comparison on enum value and return the desired enum

type Condition ¶

type Condition interface {
}

Condition Base condition object

type ConditionFilterTypeEnum ¶

type ConditionFilterTypeEnum string

ConditionFilterTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionFilterTypeEnum

func GetConditionFilterTypeEnumValues ¶

func GetConditionFilterTypeEnumValues() []ConditionFilterTypeEnum

GetConditionFilterTypeEnumValues Enumerates the set of values for ConditionFilterTypeEnum

func GetMappingConditionFilterTypeEnum ¶

func GetMappingConditionFilterTypeEnum(val string) (ConditionFilterTypeEnum, bool)

GetMappingConditionFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ConditionGroup ¶

type ConditionGroup struct {

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

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

ConditionGroup Condition configured on a target

func (ConditionGroup) String ¶

func (m ConditionGroup) String() string

func (*ConditionGroup) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (ConditionGroup) ValidateEnumValue ¶

func (m ConditionGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConditionKindEnum ¶

type ConditionKindEnum string

ConditionKindEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionKindEnum

func GetConditionKindEnumValues ¶

func GetConditionKindEnumValues() []ConditionKindEnum

GetConditionKindEnumValues Enumerates the set of values for ConditionKindEnum

func GetMappingConditionKindEnum ¶

func GetMappingConditionKindEnum(val string) (ConditionKindEnum, bool)

GetMappingConditionKindEnum performs case Insensitive comparison on enum value and return the desired enum

type ConditionMetadataType ¶

type ConditionMetadataType struct {

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

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

ConditionMetadataType condition type provided by cloud guard

func (ConditionMetadataType) String ¶

func (m ConditionMetadataType) String() string

func (ConditionMetadataType) ValidateEnumValue ¶

func (m ConditionMetadataType) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConditionMetadataTypeCollection ¶

type ConditionMetadataTypeCollection struct {

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

ConditionMetadataTypeCollection condition type provided by cloud guard

func (ConditionMetadataTypeCollection) String ¶

func (ConditionMetadataTypeCollection) ValidateEnumValue ¶

func (m ConditionMetadataTypeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConditionMetadataTypeSummary ¶

type ConditionMetadataTypeSummary struct {

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

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

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

ConditionMetadataTypeSummary condition type provided by cloud guard

func (ConditionMetadataTypeSummary) String ¶

func (ConditionMetadataTypeSummary) ValidateEnumValue ¶

func (m ConditionMetadataTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConditionOperator ¶

type ConditionOperator struct {

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

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

ConditionOperator Conditions related to the parameter data type

func (ConditionOperator) String ¶

func (m ConditionOperator) String() string

func (ConditionOperator) ValidateEnumValue ¶

func (m ConditionOperator) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConditionOperatorNameEnum ¶

type ConditionOperatorNameEnum string

ConditionOperatorNameEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionOperatorNameEnum

func GetConditionOperatorNameEnumValues ¶

func GetConditionOperatorNameEnumValues() []ConditionOperatorNameEnum

GetConditionOperatorNameEnumValues Enumerates the set of values for ConditionOperatorNameEnum

func GetMappingConditionOperatorNameEnum ¶

func GetMappingConditionOperatorNameEnum(val string) (ConditionOperatorNameEnum, bool)

GetMappingConditionOperatorNameEnum performs case Insensitive comparison on enum value and return the desired enum

type ConditionTypeEnumEnum ¶

type ConditionTypeEnumEnum string

ConditionTypeEnumEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionTypeEnumEnum

func GetConditionTypeEnumEnumValues ¶

func GetConditionTypeEnumEnumValues() []ConditionTypeEnumEnum

GetConditionTypeEnumEnumValues Enumerates the set of values for ConditionTypeEnumEnum

func GetMappingConditionTypeEnumEnum ¶

func GetMappingConditionTypeEnumEnum(val string) (ConditionTypeEnumEnum, bool)

GetMappingConditionTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum

type ConditionValueTypeEnum ¶

type ConditionValueTypeEnum string

ConditionValueTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConditionValueTypeEnum

func GetConditionValueTypeEnumValues ¶

func GetConditionValueTypeEnumValues() []ConditionValueTypeEnum

GetConditionValueTypeEnumValues Enumerates the set of values for ConditionValueTypeEnum

func GetMappingConditionValueTypeEnum ¶

func GetMappingConditionValueTypeEnum(val string) (ConditionValueTypeEnum, bool)

GetMappingConditionValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ConfidenceEnum ¶

type ConfidenceEnum string

ConfidenceEnum Enum with underlying type: string

const (
	ConfidenceCritical ConfidenceEnum = "CRITICAL"
	ConfidenceHigh     ConfidenceEnum = "HIGH"
	ConfidenceMedium   ConfidenceEnum = "MEDIUM"
	ConfidenceLow      ConfidenceEnum = "LOW"
	ConfidenceMinor    ConfidenceEnum = "MINOR"
)

Set of constants representing the allowable values for ConfidenceEnum

func GetConfidenceEnumValues ¶

func GetConfidenceEnumValues() []ConfidenceEnum

GetConfidenceEnumValues Enumerates the set of values for ConfidenceEnum

func GetMappingConfidenceEnum ¶

func GetMappingConfidenceEnum(val string) (ConfidenceEnum, bool)

GetMappingConfidenceEnum performs case Insensitive comparison on enum value and return the desired enum

type ConfigValue ¶

type ConfigValue struct {

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

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

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

ConfigValue configuration item for multi list data type

func (ConfigValue) String ¶

func (m ConfigValue) String() string

func (ConfigValue) ValidateEnumValue ¶

func (m ConfigValue) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Configuration ¶

type Configuration struct {

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

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

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

Configuration Cloud Guard configuration details of a tenancy.

func (Configuration) String ¶

func (m Configuration) String() string

func (Configuration) ValidateEnumValue ¶

func (m Configuration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ConfigurationListItemTypeEnum ¶

type ConfigurationListItemTypeEnum string

ConfigurationListItemTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ConfigurationListItemTypeEnum

func GetConfigurationListItemTypeEnumValues ¶

func GetConfigurationListItemTypeEnumValues() []ConfigurationListItemTypeEnum

GetConfigurationListItemTypeEnumValues Enumerates the set of values for ConfigurationListItemTypeEnum

func GetMappingConfigurationListItemTypeEnum ¶

func GetMappingConfigurationListItemTypeEnum(val string) (ConfigurationListItemTypeEnum, bool)

GetMappingConfigurationListItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ContinuousQueryStartPolicy ¶ added in v65.17.0

type ContinuousQueryStartPolicy interface {
}

ContinuousQueryStartPolicy Continuous query start policy object

type ContinuousQueryStartPolicyStartPolicyTypeEnum ¶ added in v65.17.0

type ContinuousQueryStartPolicyStartPolicyTypeEnum string

ContinuousQueryStartPolicyStartPolicyTypeEnum Enum with underlying type: string

const (
	ContinuousQueryStartPolicyStartPolicyTypeNoDelayStartPolicy      ContinuousQueryStartPolicyStartPolicyTypeEnum = "NO_DELAY_START_POLICY"
	ContinuousQueryStartPolicyStartPolicyTypeAbsoluteTimeStartPolicy ContinuousQueryStartPolicyStartPolicyTypeEnum = "ABSOLUTE_TIME_START_POLICY"
)

Set of constants representing the allowable values for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetContinuousQueryStartPolicyStartPolicyTypeEnumValues ¶ added in v65.17.0

func GetContinuousQueryStartPolicyStartPolicyTypeEnumValues() []ContinuousQueryStartPolicyStartPolicyTypeEnum

GetContinuousQueryStartPolicyStartPolicyTypeEnumValues Enumerates the set of values for ContinuousQueryStartPolicyStartPolicyTypeEnum

func GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum ¶ added in v65.17.0

func GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum(val string) (ContinuousQueryStartPolicyStartPolicyTypeEnum, bool)

GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateDataMaskRuleDetails ¶

type CreateDataMaskRuleDetails struct {

	// Data mask rule name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// IAM Group id associated with the data mask rule
	IamGroupId *string `mandatory:"true" json:"iamGroupId"`

	TargetSelected TargetSelected `mandatory:"true" json:"targetSelected"`

	// Data Mask Categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"true" json:"dataMaskCategories"`

	// The data mask rule description.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The status of the dataMaskRule.
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// The current state of the DataMaskRule.
	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"}`
	// Avoid entering confidential information.
	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"`
}

CreateDataMaskRuleDetails The information about new Data Mask Rule.

func (CreateDataMaskRuleDetails) String ¶

func (m CreateDataMaskRuleDetails) String() string

func (*CreateDataMaskRuleDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateDataMaskRuleDetails) ValidateEnumValue ¶

func (m CreateDataMaskRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataMaskRuleRequest ¶

type CreateDataMaskRuleRequest struct {

	// Definition for the new Data Mask Rule.
	CreateDataMaskRuleDetails `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
}

CreateDataMaskRuleRequest wrapper for the CreateDataMaskRule operation

See also ¶

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

func (CreateDataMaskRuleRequest) BinaryRequestBody ¶

func (request CreateDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDataMaskRuleRequest) HTTPRequest ¶

func (request CreateDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDataMaskRuleRequest) RetryPolicy ¶

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

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

func (CreateDataMaskRuleRequest) String ¶

func (request CreateDataMaskRuleRequest) String() string

func (CreateDataMaskRuleRequest) ValidateEnumValue ¶

func (request CreateDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataMaskRuleResponse ¶

type CreateDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataMaskRule instance
	DataMaskRule `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"`
}

CreateDataMaskRuleResponse wrapper for the CreateDataMaskRule operation

func (CreateDataMaskRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDataMaskRuleResponse) String ¶

func (response CreateDataMaskRuleResponse) String() string

type CreateDataSourceDetails ¶ added in v65.17.0

type CreateDataSourceDetails struct {

	// Data Source display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// CompartmentId of Data Source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Possible type of dataSourceFeed Provider(LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	DataSourceDetails DataSourceDetails `mandatory:"false" json:"dataSourceDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

CreateDataSourceDetails Creation of Data Source.

func (CreateDataSourceDetails) String ¶ added in v65.17.0

func (m CreateDataSourceDetails) String() string

func (*CreateDataSourceDetails) UnmarshalJSON ¶ added in v65.17.0

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

UnmarshalJSON unmarshals from json

func (CreateDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

func (m CreateDataSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataSourceRequest ¶ added in v65.17.0

type CreateDataSourceRequest struct {

	// Details for the new DataSource.
	CreateDataSourceDetails `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
}

CreateDataSourceRequest wrapper for the CreateDataSource operation

See also ¶

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

func (CreateDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request CreateDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request CreateDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDataSourceRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (CreateDataSourceRequest) String ¶ added in v65.17.0

func (request CreateDataSourceRequest) String() string

func (CreateDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request CreateDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDataSourceResponse ¶ added in v65.17.0

type CreateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

CreateDataSourceResponse wrapper for the CreateDataSource operation

func (CreateDataSourceResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDataSourceResponse) String ¶ added in v65.17.0

func (response CreateDataSourceResponse) String() string

type CreateDetectorRecipeDetails ¶

type CreateDetectorRecipeDetails struct {

	// Detector recipe display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// Detector recipe description.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// detector for the rule
	Detector DetectorEnumEnum `mandatory:"false" json:"detector,omitempty"`

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

	// 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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

CreateDetectorRecipeDetails Create of Detector recipe.

func (CreateDetectorRecipeDetails) String ¶

func (CreateDetectorRecipeDetails) ValidateEnumValue ¶

func (m CreateDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDetectorRecipeDetectorRuleDetails ¶ added in v65.17.0

type CreateDetectorRecipeDetectorRuleDetails struct {
	Details *CreateDetectorRuleDetails `mandatory:"false" json:"details"`
}

CreateDetectorRecipeDetectorRuleDetails Create detector rule in a detector recipe

func (CreateDetectorRecipeDetectorRuleDetails) String ¶ added in v65.17.0

func (CreateDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶ added in v65.17.0

func (m CreateDetectorRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDetectorRecipeDetectorRuleRequest ¶ added in v65.17.0

type CreateDetectorRecipeDetectorRuleRequest struct {

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

	// The details with which detector rule has to be created.
	CreateDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// 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
}

CreateDetectorRecipeDetectorRuleRequest wrapper for the CreateDetectorRecipeDetectorRule operation

See also ¶

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

func (CreateDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶ added in v65.17.0

func (request CreateDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDetectorRecipeDetectorRuleRequest) HTTPRequest ¶ added in v65.17.0

func (request CreateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDetectorRecipeDetectorRuleRequest) RetryPolicy ¶ added in v65.17.0

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

func (CreateDetectorRecipeDetectorRuleRequest) String ¶ added in v65.17.0

func (CreateDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶ added in v65.17.0

func (request CreateDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDetectorRecipeDetectorRuleResponse ¶ added in v65.17.0

type CreateDetectorRecipeDetectorRuleResponse 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"`
}

CreateDetectorRecipeDetectorRuleResponse wrapper for the CreateDetectorRecipeDetectorRule operation

func (CreateDetectorRecipeDetectorRuleResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDetectorRecipeDetectorRuleResponse) String ¶ added in v65.17.0

type CreateDetectorRecipeRequest ¶

type CreateDetectorRecipeRequest struct {

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

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

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

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

CreateDetectorRecipeRequest wrapper for the CreateDetectorRecipe operation

See also ¶

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

func (CreateDetectorRecipeRequest) BinaryRequestBody ¶

func (request CreateDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDetectorRecipeRequest) HTTPRequest ¶

func (request CreateDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDetectorRecipeRequest) RetryPolicy ¶

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

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

func (CreateDetectorRecipeRequest) String ¶

func (request CreateDetectorRecipeRequest) String() string

func (CreateDetectorRecipeRequest) ValidateEnumValue ¶

func (request CreateDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDetectorRecipeResponse ¶

type CreateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateDetectorRecipeResponse wrapper for the CreateDetectorRecipe operation

func (CreateDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateDetectorRecipeResponse) String ¶

func (response CreateDetectorRecipeResponse) String() string

type CreateDetectorRuleDetails ¶ added in v65.17.0

type CreateDetectorRuleDetails struct {

	// Name of the detector rule
	Name *string `mandatory:"true" json:"name"`

	// Id of source detector rule
	SourceDetectorRuleId *string `mandatory:"false" json:"sourceDetectorRuleId"`

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

	// Identifies state for detector rule
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// 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"`

	// Recommendations of the detector rule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// ocid of the data source which needs to attached
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

CreateDetectorRuleDetails Details of a Detector Rule to be created in Detector Recipe

func (CreateDetectorRuleDetails) String ¶ added in v65.17.0

func (m CreateDetectorRuleDetails) String() string

func (*CreateDetectorRuleDetails) UnmarshalJSON ¶ added in v65.17.0

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

UnmarshalJSON unmarshals from json

func (CreateDetectorRuleDetails) ValidateEnumValue ¶ added in v65.17.0

func (m CreateDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedListDetails ¶

type CreateManagedListDetails struct {

	// Managed list display name.
	// Avoid entering confidential information.
	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"`

	// Managed list description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

CreateManagedListDetails Create ManagedList

func (CreateManagedListDetails) String ¶

func (m CreateManagedListDetails) String() string

func (CreateManagedListDetails) ValidateEnumValue ¶

func (m CreateManagedListDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedListRequest ¶

type CreateManagedListRequest struct {

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

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

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

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

CreateManagedListRequest wrapper for the CreateManagedList operation

See also ¶

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

func (CreateManagedListRequest) BinaryRequestBody ¶

func (request CreateManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateManagedListRequest) HTTPRequest ¶

func (request CreateManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateManagedListRequest) RetryPolicy ¶

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

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

func (CreateManagedListRequest) String ¶

func (request CreateManagedListRequest) String() string

func (CreateManagedListRequest) ValidateEnumValue ¶

func (request CreateManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateManagedListResponse ¶

type CreateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateManagedListResponse wrapper for the CreateManagedList operation

func (CreateManagedListResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateManagedListResponse) String ¶

func (response CreateManagedListResponse) String() string

type CreateResponderRecipeDetails ¶

type CreateResponderRecipeDetails struct {

	// Responder recipe display name.
	// Avoid entering confidential information.
	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"`

	// Responder recipe description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

CreateResponderRecipeDetails Details of ResponderRecipe.

func (CreateResponderRecipeDetails) String ¶

func (CreateResponderRecipeDetails) ValidateEnumValue ¶

func (m CreateResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateResponderRecipeRequest ¶

type CreateResponderRecipeRequest struct {

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

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

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

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

CreateResponderRecipeRequest wrapper for the CreateResponderRecipe operation

See also ¶

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

func (CreateResponderRecipeRequest) BinaryRequestBody ¶

func (request CreateResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateResponderRecipeRequest) HTTPRequest ¶

func (request CreateResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateResponderRecipeRequest) RetryPolicy ¶

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

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

func (CreateResponderRecipeRequest) String ¶

func (request CreateResponderRecipeRequest) String() string

func (CreateResponderRecipeRequest) ValidateEnumValue ¶

func (request CreateResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateResponderRecipeResponse ¶

type CreateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateResponderRecipeResponse wrapper for the CreateResponderRecipe operation

func (CreateResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateResponderRecipeResponse) String ¶

func (response CreateResponderRecipeResponse) String() string

type CreateSecurityPolicyDetails ¶ added in v65.3.0

type CreateSecurityPolicyDetails struct {

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

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

	// SecurityPolicy friendly name
	FriendlyName *string `mandatory:"false" json:"friendlyName"`

	// Security policy description
	Description *string `mandatory:"false" json:"description"`

	// The category of security policy.
	Category *string `mandatory:"false" json:"category"`

	// The list of services for policy.
	Services []string `mandatory:"false" json:"services"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

CreateSecurityPolicyDetails The information about new SecurityPolicy.

func (CreateSecurityPolicyDetails) String ¶ added in v65.3.0

func (CreateSecurityPolicyDetails) ValidateEnumValue ¶ added in v65.3.0

func (m CreateSecurityPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSecurityRecipeDetails ¶ added in v65.3.0

type CreateSecurityRecipeDetails struct {

	// The recipe's name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The list of `SecurityPolicy` ids to include in the recipe
	SecurityPolicies []string `mandatory:"true" json:"securityPolicies"`

	// The compartment in which to create the recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The recipe's description
	Description *string `mandatory:"false" json:"description"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

CreateSecurityRecipeDetails Details about a new security zone recipe

func (CreateSecurityRecipeDetails) String ¶ added in v65.3.0

func (CreateSecurityRecipeDetails) ValidateEnumValue ¶ added in v65.3.0

func (m CreateSecurityRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSecurityRecipeRequest ¶ added in v65.3.0

type CreateSecurityRecipeRequest struct {

	// Details for the new `SecurityRecipe`.
	CreateSecurityRecipeDetails `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
}

CreateSecurityRecipeRequest wrapper for the CreateSecurityRecipe operation

See also ¶

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

func (CreateSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request CreateSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request CreateSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (CreateSecurityRecipeRequest) String ¶ added in v65.3.0

func (request CreateSecurityRecipeRequest) String() string

func (CreateSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request CreateSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSecurityRecipeResponse ¶ added in v65.3.0

type CreateSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityRecipe instance
	SecurityRecipe `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"`
}

CreateSecurityRecipeResponse wrapper for the CreateSecurityRecipe operation

func (CreateSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityRecipeResponse) String ¶ added in v65.3.0

func (response CreateSecurityRecipeResponse) String() string

type CreateSecurityZoneDetails ¶ added in v65.3.0

type CreateSecurityZoneDetails struct {

	// The security zone's name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the recipe (`SecurityRecipe`) for the security zone
	SecurityZoneRecipeId *string `mandatory:"true" json:"securityZoneRecipeId"`

	// The OCID of the compartment for the security zone
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The security zone's description
	Description *string `mandatory:"false" json:"description"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

CreateSecurityZoneDetails Details for a new security zone

func (CreateSecurityZoneDetails) String ¶ added in v65.3.0

func (m CreateSecurityZoneDetails) String() string

func (CreateSecurityZoneDetails) ValidateEnumValue ¶ added in v65.3.0

func (m CreateSecurityZoneDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSecurityZoneRequest ¶ added in v65.3.0

type CreateSecurityZoneRequest struct {

	// Details for the new `SecurityZone`.
	CreateSecurityZoneDetails `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
}

CreateSecurityZoneRequest wrapper for the CreateSecurityZone operation

See also ¶

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

func (CreateSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request CreateSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request CreateSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (CreateSecurityZoneRequest) String ¶ added in v65.3.0

func (request CreateSecurityZoneRequest) String() string

func (CreateSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request CreateSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSecurityZoneResponse ¶ added in v65.3.0

type CreateSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `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"`
}

CreateSecurityZoneResponse wrapper for the CreateSecurityZone operation

func (CreateSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateSecurityZoneResponse) String ¶ added in v65.3.0

func (response CreateSecurityZoneResponse) String() string

type CreateTargetDetails ¶

type CreateTargetDetails struct {

	// DetectorTemplate identifier.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// possible type of targets(COMPARTMENT/FACLOUD)
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

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

	// The target description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

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

CreateTargetDetails The information about new Target.

func (CreateTargetDetails) String ¶

func (m CreateTargetDetails) String() string

func (CreateTargetDetails) ValidateEnumValue ¶

func (m CreateTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetDetectorRecipeDetails ¶

type CreateTargetDetectorRecipeDetails struct {

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

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

CreateTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe

func (CreateTargetDetectorRecipeDetails) String ¶

func (CreateTargetDetectorRecipeDetails) ValidateEnumValue ¶

func (m CreateTargetDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetDetectorRecipeRequest ¶

type CreateTargetDetectorRecipeRequest struct {

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

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

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

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

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

CreateTargetDetectorRecipeRequest wrapper for the CreateTargetDetectorRecipe operation

See also ¶

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

func (CreateTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request CreateTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetDetectorRecipeRequest) HTTPRequest ¶

func (request CreateTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetDetectorRecipeRequest) RetryPolicy ¶

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

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

func (CreateTargetDetectorRecipeRequest) String ¶

func (request CreateTargetDetectorRecipeRequest) String() string

func (CreateTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request CreateTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetDetectorRecipeResponse ¶

type CreateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateTargetDetectorRecipeResponse wrapper for the CreateTargetDetectorRecipe operation

func (CreateTargetDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetDetectorRecipeResponse) String ¶

func (response CreateTargetDetectorRecipeResponse) String() string

type CreateTargetRequest ¶

type CreateTargetRequest struct {

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

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

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

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

CreateTargetRequest wrapper for the CreateTarget operation

See also ¶

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

func (CreateTargetRequest) BinaryRequestBody ¶

func (request CreateTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetRequest) HTTPRequest ¶

func (request CreateTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetRequest) RetryPolicy ¶

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

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

func (CreateTargetRequest) String ¶

func (request CreateTargetRequest) String() string

func (CreateTargetRequest) ValidateEnumValue ¶

func (request CreateTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetResponderRecipeDetails ¶

type CreateTargetResponderRecipeDetails struct {

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

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

CreateTargetResponderRecipeDetails The information required to create TargetResponderRecipe

func (CreateTargetResponderRecipeDetails) String ¶

func (CreateTargetResponderRecipeDetails) ValidateEnumValue ¶

func (m CreateTargetResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetResponderRecipeRequest ¶

type CreateTargetResponderRecipeRequest struct {

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

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

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

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

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

CreateTargetResponderRecipeRequest wrapper for the CreateTargetResponderRecipe operation

See also ¶

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

func (CreateTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request CreateTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetResponderRecipeRequest) HTTPRequest ¶

func (request CreateTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetResponderRecipeRequest) RetryPolicy ¶

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

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

func (CreateTargetResponderRecipeRequest) String ¶

func (request CreateTargetResponderRecipeRequest) String() string

func (CreateTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request CreateTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetResponderRecipeResponse ¶

type CreateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateTargetResponderRecipeResponse wrapper for the CreateTargetResponderRecipe operation

func (CreateTargetResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponderRecipeResponse) String ¶

func (response CreateTargetResponderRecipeResponse) String() string

type CreateTargetResponse ¶

type CreateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateTargetResponse wrapper for the CreateTarget operation

func (CreateTargetResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetResponse) String ¶

func (response CreateTargetResponse) String() string

type DataMaskCategoryEnum ¶

type DataMaskCategoryEnum string

DataMaskCategoryEnum Enum with underlying type: string

const (
	DataMaskCategoryActor     DataMaskCategoryEnum = "ACTOR"
	DataMaskCategoryPii       DataMaskCategoryEnum = "PII"
	DataMaskCategoryPhi       DataMaskCategoryEnum = "PHI"
	DataMaskCategoryFinancial DataMaskCategoryEnum = "FINANCIAL"
	DataMaskCategoryLocation  DataMaskCategoryEnum = "LOCATION"
	DataMaskCategoryCustom    DataMaskCategoryEnum = "CUSTOM"
)

Set of constants representing the allowable values for DataMaskCategoryEnum

func GetDataMaskCategoryEnumValues ¶

func GetDataMaskCategoryEnumValues() []DataMaskCategoryEnum

GetDataMaskCategoryEnumValues Enumerates the set of values for DataMaskCategoryEnum

func GetMappingDataMaskCategoryEnum ¶

func GetMappingDataMaskCategoryEnum(val string) (DataMaskCategoryEnum, bool)

GetMappingDataMaskCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type DataMaskRule ¶

type DataMaskRule 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"`

	// IAM Group id associated with the data mask rule
	IamGroupId *string `mandatory:"true" json:"iamGroupId"`

	TargetSelected TargetSelected `mandatory:"true" json:"targetSelected"`

	// Data Mask Rule Identifier, can be renamed.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The data mask rule description.
	Description *string `mandatory:"false" json:"description"`

	// Data Mask Categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"false" json:"dataMaskCategories,omitempty"`

	// 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 status of the dataMaskRule.
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// The current state of the DataMaskRule.
	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"}`
	// Avoid entering confidential information.
	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"`
}

DataMaskRule Description of DataMaskRule.

func (DataMaskRule) String ¶

func (m DataMaskRule) String() string

func (*DataMaskRule) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DataMaskRule) ValidateEnumValue ¶

func (m DataMaskRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataMaskRuleCollection ¶

type DataMaskRuleCollection struct {

	// List of Data Mask Rule Summary
	Items []DataMaskRuleSummary `mandatory:"true" json:"items"`
}

DataMaskRuleCollection Collection of Data Mask Rule

func (DataMaskRuleCollection) String ¶

func (m DataMaskRuleCollection) String() string

func (DataMaskRuleCollection) ValidateEnumValue ¶

func (m DataMaskRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataMaskRuleStatusEnum ¶

type DataMaskRuleStatusEnum string

DataMaskRuleStatusEnum Enum with underlying type: string

const (
	DataMaskRuleStatusEnabled  DataMaskRuleStatusEnum = "ENABLED"
	DataMaskRuleStatusDisabled DataMaskRuleStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for DataMaskRuleStatusEnum

func GetDataMaskRuleStatusEnumValues ¶

func GetDataMaskRuleStatusEnumValues() []DataMaskRuleStatusEnum

GetDataMaskRuleStatusEnumValues Enumerates the set of values for DataMaskRuleStatusEnum

func GetMappingDataMaskRuleStatusEnum ¶

func GetMappingDataMaskRuleStatusEnum(val string) (DataMaskRuleStatusEnum, bool)

GetMappingDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataMaskRuleSummary ¶

type DataMaskRuleSummary 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"`

	// IAM Group id associated with the data mask rule
	IamGroupId *string `mandatory:"true" json:"iamGroupId"`

	TargetSelected TargetSelected `mandatory:"true" json:"targetSelected"`

	// Data Mask Rule Name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The data mask rule description.
	Description *string `mandatory:"false" json:"description"`

	// Data Mask Categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"false" json:"dataMaskCategories,omitempty"`

	// 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 status of the dataMaskRule.
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// The current state of the DataMaskRule.
	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"}`
	// Avoid entering confidential information.
	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"`
}

DataMaskRuleSummary Summary of DataMaskRule.

func (DataMaskRuleSummary) String ¶

func (m DataMaskRuleSummary) String() string

func (*DataMaskRuleSummary) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DataMaskRuleSummary) ValidateEnumValue ¶

func (m DataMaskRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSource ¶ added in v65.17.0

type DataSource struct {

	// Ocid for Data source
	Id *string `mandatory:"true" json:"id"`

	// DisplayName of Data source.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Possible type of dataSourceFeed Provider(LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	// CompartmentId of Data source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	DataSourceDetails DataSourceDetails `mandatory:"false" json:"dataSourceDetails"`

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

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

	// Status of data Source
	Status DataSourceStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Information about the detector recipe and rule attached
	DataSourceDetectorMappingInfo []DataSourceMappingInfo `mandatory:"false" json:"dataSourceDetectorMappingInfo"`

	// Information about the region and status of query replication
	RegionStatusDetail []RegionStatusDetail `mandatory:"false" json:"regionStatusDetail"`

	// 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"}`
	// Avoid entering confidential information.
	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"`
}

DataSource Details of Data source

func (DataSource) String ¶ added in v65.17.0

func (m DataSource) String() string

func (*DataSource) UnmarshalJSON ¶ added in v65.17.0

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

UnmarshalJSON unmarshals from json

func (DataSource) ValidateEnumValue ¶ added in v65.17.0

func (m DataSource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceCollection ¶ added in v65.17.0

type DataSourceCollection struct {

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

DataSourceCollection Summary of the DataSource.

func (DataSourceCollection) String ¶ added in v65.17.0

func (m DataSourceCollection) String() string

func (DataSourceCollection) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceDetails ¶ added in v65.17.0

type DataSourceDetails interface {
}

DataSourceDetails Details specific to the data source type.

type DataSourceEventCollection ¶ added in v65.17.0

type DataSourceEventCollection struct {

	// List of event related to a DataSource
	Items []DataSourceEventSummary `mandatory:"true" json:"items"`
}

DataSourceEventCollection The collection of datasource events.

func (DataSourceEventCollection) String ¶ added in v65.17.0

func (m DataSourceEventCollection) String() string

func (DataSourceEventCollection) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceEventCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceEventInfo ¶ added in v65.17.0

type DataSourceEventInfo interface {
}

DataSourceEventInfo Event info of a data source.

type DataSourceEventInfoStatusEnum ¶ added in v65.17.0

type DataSourceEventInfoStatusEnum string

DataSourceEventInfoStatusEnum Enum with underlying type: string

const (
	DataSourceEventInfoStatusSuccess DataSourceEventInfoStatusEnum = "SUCCESS"
	DataSourceEventInfoStatusFailure DataSourceEventInfoStatusEnum = "FAILURE"
)

Set of constants representing the allowable values for DataSourceEventInfoStatusEnum

func GetDataSourceEventInfoStatusEnumValues ¶ added in v65.17.0

func GetDataSourceEventInfoStatusEnumValues() []DataSourceEventInfoStatusEnum

GetDataSourceEventInfoStatusEnumValues Enumerates the set of values for DataSourceEventInfoStatusEnum

func GetMappingDataSourceEventInfoStatusEnum ¶ added in v65.17.0

func GetMappingDataSourceEventInfoStatusEnum(val string) (DataSourceEventInfoStatusEnum, bool)

GetMappingDataSourceEventInfoStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceEventSummary ¶ added in v65.17.0

type DataSourceEventSummary struct {

	// Data source event region
	Region *string `mandatory:"true" json:"region"`

	// Data source event date time
	EventDate *common.SDKTime `mandatory:"true" json:"eventDate"`

	// Attached data Source
	DataSourceId *string `mandatory:"true" json:"dataSourceId"`

	// Data source event created time
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	EventInfo DataSourceEventInfo `mandatory:"true" json:"eventInfo"`

	// Current data source event info status
	Status DataSourceEventInfoStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Data source event comments
	Comments *string `mandatory:"false" json:"comments"`
}

DataSourceEventSummary The information about Event details of DataSource.

func (DataSourceEventSummary) String ¶ added in v65.17.0

func (m DataSourceEventSummary) String() string

func (*DataSourceEventSummary) UnmarshalJSON ¶ added in v65.17.0

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

UnmarshalJSON unmarshals from json

func (DataSourceEventSummary) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceEventSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceFeedProviderEnum ¶ added in v65.17.0

type DataSourceFeedProviderEnum string

DataSourceFeedProviderEnum Enum with underlying type: string

const (
	DataSourceFeedProviderLoggingquery DataSourceFeedProviderEnum = "LOGGINGQUERY"
)

Set of constants representing the allowable values for DataSourceFeedProviderEnum

func GetDataSourceFeedProviderEnumValues ¶ added in v65.17.0

func GetDataSourceFeedProviderEnumValues() []DataSourceFeedProviderEnum

GetDataSourceFeedProviderEnumValues Enumerates the set of values for DataSourceFeedProviderEnum

func GetMappingDataSourceFeedProviderEnum ¶ added in v65.17.0

func GetMappingDataSourceFeedProviderEnum(val string) (DataSourceFeedProviderEnum, bool)

GetMappingDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceMappingInfo ¶ added in v65.17.0

type DataSourceMappingInfo struct {

	// Id of the attached detectorRecipeId to the Data Source.
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Id of the attached detectorRuleId to the Data Source.
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`
}

DataSourceMappingInfo Detail of resources which are mapped to DataSource.

func (DataSourceMappingInfo) String ¶ added in v65.17.0

func (m DataSourceMappingInfo) String() string

func (DataSourceMappingInfo) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceMappingInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceStatusEnum ¶ added in v65.17.0

type DataSourceStatusEnum string

DataSourceStatusEnum Enum with underlying type: string

const (
	DataSourceStatusEnabled  DataSourceStatusEnum = "ENABLED"
	DataSourceStatusDisabled DataSourceStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for DataSourceStatusEnum

func GetDataSourceStatusEnumValues ¶ added in v65.17.0

func GetDataSourceStatusEnumValues() []DataSourceStatusEnum

GetDataSourceStatusEnumValues Enumerates the set of values for DataSourceStatusEnum

func GetMappingDataSourceStatusEnum ¶ added in v65.17.0

func GetMappingDataSourceStatusEnum(val string) (DataSourceStatusEnum, bool)

GetMappingDataSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DataSourceSummary ¶ added in v65.17.0

type DataSourceSummary struct {

	// Ocid for Data Source
	Id *string `mandatory:"true" json:"id"`

	// DisplayName of Data Source
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Possible type of dataSourceFeed Provider(LoggingQuery)
	DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"`

	// CompartmentId of Data Source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	DataSourceSummaryDetails DataSourceSummaryDetails `mandatory:"false" json:"dataSourceSummaryDetails"`

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

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

	// Status of data Source
	Status DataSourceStatusEnum `mandatory:"false" json:"status,omitempty"`

	LoggingQueryDetails LoggingQueryDetails `mandatory:"false" json:"loggingQueryDetails"`

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

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `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"}`
	// Avoid entering confidential information.
	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"`
}

DataSourceSummary Summary of Data Source

func (DataSourceSummary) String ¶ added in v65.17.0

func (m DataSourceSummary) String() string

func (*DataSourceSummary) UnmarshalJSON ¶ added in v65.17.0

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

UnmarshalJSON unmarshals from json

func (DataSourceSummary) ValidateEnumValue ¶ added in v65.17.0

func (m DataSourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DataSourceSummaryDetails ¶ added in v65.17.0

type DataSourceSummaryDetails interface {
}

DataSourceSummaryDetails Summary specific to the data source type.

type DeleteDataMaskRuleRequest ¶

type DeleteDataMaskRuleRequest struct {

	// OCID of dataMaskRule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// 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
}

DeleteDataMaskRuleRequest wrapper for the DeleteDataMaskRule operation

See also ¶

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

func (DeleteDataMaskRuleRequest) BinaryRequestBody ¶

func (request DeleteDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataMaskRuleRequest) HTTPRequest ¶

func (request DeleteDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDataMaskRuleRequest) RetryPolicy ¶

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

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

func (DeleteDataMaskRuleRequest) String ¶

func (request DeleteDataMaskRuleRequest) String() string

func (DeleteDataMaskRuleRequest) ValidateEnumValue ¶

func (request DeleteDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDataMaskRuleResponse ¶

type DeleteDataMaskRuleResponse 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"`
}

DeleteDataMaskRuleResponse wrapper for the DeleteDataMaskRule operation

func (DeleteDataMaskRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteDataMaskRuleResponse) String ¶

func (response DeleteDataMaskRuleResponse) String() string

type DeleteDataSourceRequest ¶ added in v65.17.0

type DeleteDataSourceRequest struct {

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// 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
}

DeleteDataSourceRequest wrapper for the DeleteDataSource operation

See also ¶

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

func (DeleteDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request DeleteDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDataSourceRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (DeleteDataSourceRequest) String ¶ added in v65.17.0

func (request DeleteDataSourceRequest) String() string

func (DeleteDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDataSourceResponse ¶ added in v65.17.0

type DeleteDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

DeleteDataSourceResponse wrapper for the DeleteDataSource operation

func (DeleteDataSourceResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteDataSourceResponse) String ¶ added in v65.17.0

func (response DeleteDataSourceResponse) String() string

type DeleteDetectorRecipeDetectorRuleDataSourceRequest ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleDataSourceRequest struct {

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

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

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// 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
}

DeleteDetectorRecipeDetectorRuleDataSourceRequest wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation

See also ¶

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

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) RetryPolicy ¶ added in v65.17.0

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

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) String ¶ added in v65.17.0

func (DeleteDetectorRecipeDetectorRuleDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeDetectorRuleDataSourceResponse ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleDataSourceResponse 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"`
}

DeleteDetectorRecipeDetectorRuleDataSourceResponse wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation

func (DeleteDetectorRecipeDetectorRuleDataSourceResponse) HTTPResponse ¶ added in v65.17.0

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeDetectorRuleDataSourceResponse) String ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleRequest ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleRequest struct {

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

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

	// 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
}

DeleteDetectorRecipeDetectorRuleRequest wrapper for the DeleteDetectorRecipeDetectorRule operation

See also ¶

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

func (DeleteDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleRequest) HTTPRequest ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeDetectorRuleRequest) RetryPolicy ¶ added in v65.17.0

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

func (DeleteDetectorRecipeDetectorRuleRequest) String ¶ added in v65.17.0

func (DeleteDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶ added in v65.17.0

func (request DeleteDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeDetectorRuleResponse ¶ added in v65.17.0

type DeleteDetectorRecipeDetectorRuleResponse 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"`
}

DeleteDetectorRecipeDetectorRuleResponse wrapper for the DeleteDetectorRecipeDetectorRule operation

func (DeleteDetectorRecipeDetectorRuleResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeDetectorRuleResponse) String ¶ added in v65.17.0

type DeleteDetectorRecipeRequest ¶

type DeleteDetectorRecipeRequest struct {

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

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

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

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

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

DeleteDetectorRecipeRequest wrapper for the DeleteDetectorRecipe operation

See also ¶

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

func (DeleteDetectorRecipeRequest) BinaryRequestBody ¶

func (request DeleteDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDetectorRecipeRequest) RetryPolicy ¶

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

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

func (DeleteDetectorRecipeRequest) String ¶

func (request DeleteDetectorRecipeRequest) String() string

func (DeleteDetectorRecipeRequest) ValidateEnumValue ¶

func (request DeleteDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDetectorRecipeResponse ¶

type DeleteDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteDetectorRecipeResponse wrapper for the DeleteDetectorRecipe operation

func (DeleteDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteDetectorRecipeResponse) String ¶

func (response DeleteDetectorRecipeResponse) String() string

type DeleteManagedListRequest ¶

type DeleteManagedListRequest struct {

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

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

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

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

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

DeleteManagedListRequest wrapper for the DeleteManagedList operation

See also ¶

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

func (DeleteManagedListRequest) BinaryRequestBody ¶

func (request DeleteManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagedListRequest) HTTPRequest ¶

func (request DeleteManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagedListRequest) RetryPolicy ¶

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

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

func (DeleteManagedListRequest) String ¶

func (request DeleteManagedListRequest) String() string

func (DeleteManagedListRequest) ValidateEnumValue ¶

func (request DeleteManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteManagedListResponse ¶

type DeleteManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteManagedListResponse wrapper for the DeleteManagedList operation

func (DeleteManagedListResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagedListResponse) String ¶

func (response DeleteManagedListResponse) String() string

type DeleteResponderRecipeRequest ¶

type DeleteResponderRecipeRequest struct {

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

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

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

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

DeleteResponderRecipeRequest wrapper for the DeleteResponderRecipe operation

See also ¶

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

func (DeleteResponderRecipeRequest) BinaryRequestBody ¶

func (request DeleteResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteResponderRecipeRequest) HTTPRequest ¶

func (request DeleteResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResponderRecipeRequest) RetryPolicy ¶

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

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

func (DeleteResponderRecipeRequest) String ¶

func (request DeleteResponderRecipeRequest) String() string

func (DeleteResponderRecipeRequest) ValidateEnumValue ¶

func (request DeleteResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteResponderRecipeResponse ¶

type DeleteResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteResponderRecipeResponse wrapper for the DeleteResponderRecipe operation

func (DeleteResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteResponderRecipeResponse) String ¶

func (response DeleteResponderRecipeResponse) String() string

type DeleteSecurityRecipeRequest ¶ added in v65.3.0

type DeleteSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// 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
}

DeleteSecurityRecipeRequest wrapper for the DeleteSecurityRecipe operation

See also ¶

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

func (DeleteSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (DeleteSecurityRecipeRequest) String ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) String() string

func (DeleteSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSecurityRecipeResponse ¶ added in v65.3.0

type DeleteSecurityRecipeResponse 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"`
}

DeleteSecurityRecipeResponse wrapper for the DeleteSecurityRecipe operation

func (DeleteSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityRecipeResponse) String ¶ added in v65.3.0

func (response DeleteSecurityRecipeResponse) String() string

type DeleteSecurityZoneRequest ¶ added in v65.3.0

type DeleteSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// 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
}

DeleteSecurityZoneRequest wrapper for the DeleteSecurityZone operation

See also ¶

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

func (DeleteSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (DeleteSecurityZoneRequest) String ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) String() string

func (DeleteSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteSecurityZoneResponse ¶ added in v65.3.0

type DeleteSecurityZoneResponse 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"`
}

DeleteSecurityZoneResponse wrapper for the DeleteSecurityZone operation

func (DeleteSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityZoneResponse) String ¶ added in v65.3.0

func (response DeleteSecurityZoneResponse) String() string

type DeleteTargetDetectorRecipeRequest ¶

type DeleteTargetDetectorRecipeRequest struct {

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

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

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

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

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

DeleteTargetDetectorRecipeRequest wrapper for the DeleteTargetDetectorRecipe operation

See also ¶

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

func (DeleteTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request DeleteTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetDetectorRecipeRequest) HTTPRequest ¶

func (request DeleteTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetDetectorRecipeRequest) RetryPolicy ¶

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

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

func (DeleteTargetDetectorRecipeRequest) String ¶

func (request DeleteTargetDetectorRecipeRequest) String() string

func (DeleteTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request DeleteTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetDetectorRecipeResponse ¶

type DeleteTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteTargetDetectorRecipeResponse wrapper for the DeleteTargetDetectorRecipe operation

func (DeleteTargetDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetDetectorRecipeResponse) String ¶

func (response DeleteTargetDetectorRecipeResponse) String() string

type DeleteTargetRequest ¶

type DeleteTargetRequest struct {

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

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

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

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

DeleteTargetRequest wrapper for the DeleteTarget operation

See also ¶

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

func (DeleteTargetRequest) BinaryRequestBody ¶

func (request DeleteTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetRequest) HTTPRequest ¶

func (request DeleteTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetRequest) RetryPolicy ¶

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

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

func (DeleteTargetRequest) String ¶

func (request DeleteTargetRequest) String() string

func (DeleteTargetRequest) ValidateEnumValue ¶

func (request DeleteTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetResponderRecipeRequest ¶

type DeleteTargetResponderRecipeRequest struct {

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

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

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

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

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

DeleteTargetResponderRecipeRequest wrapper for the DeleteTargetResponderRecipe operation

See also ¶

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

func (DeleteTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request DeleteTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetResponderRecipeRequest) HTTPRequest ¶

func (request DeleteTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetResponderRecipeRequest) RetryPolicy ¶

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

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

func (DeleteTargetResponderRecipeRequest) String ¶

func (request DeleteTargetResponderRecipeRequest) String() string

func (DeleteTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request DeleteTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetResponderRecipeResponse ¶

type DeleteTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteTargetResponderRecipeResponse wrapper for the DeleteTargetResponderRecipe operation

func (DeleteTargetResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponderRecipeResponse) String ¶

func (response DeleteTargetResponderRecipeResponse) String() string

type DeleteTargetResponse ¶

type DeleteTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteTargetResponse wrapper for the DeleteTarget operation

func (DeleteTargetResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetResponse) String ¶

func (response DeleteTargetResponse) String() string

type Detector ¶

type Detector struct {

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

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

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

Detector A single Detector

func (Detector) String ¶

func (m Detector) String() string

func (Detector) ValidateEnumValue ¶

func (m Detector) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorCollection ¶

type DetectorCollection struct {

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

DetectorCollection Summary of the Detector.

func (DetectorCollection) String ¶

func (m DetectorCollection) String() string

func (DetectorCollection) ValidateEnumValue ¶

func (m DetectorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorConfiguration ¶

type DetectorConfiguration struct {

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

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

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

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

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

DetectorConfiguration A single configuration applied to a detector

func (DetectorConfiguration) String ¶

func (m DetectorConfiguration) String() string

func (DetectorConfiguration) ValidateEnumValue ¶

func (m DetectorConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorDetails ¶

type DetectorDetails struct {

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

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// 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"`

	// Cutover point for an elevated resource Risk Score to create a Problem
	ProblemThreshold *int `mandatory:"false" json:"problemThreshold"`

	// List of target types for which the detector rule is applicable
	TargetTypes []string `mandatory:"false" json:"targetTypes"`

	// List of sighting types
	SightingTypes []SightingType `mandatory:"false" json:"sightingTypes"`
}

DetectorDetails Details of a Detector Rule

func (DetectorDetails) String ¶

func (m DetectorDetails) String() string

func (*DetectorDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DetectorDetails) ValidateEnumValue ¶

func (m DetectorDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorEnumEnum ¶

type DetectorEnumEnum string

DetectorEnumEnum Enum with underlying type: string

const (
	DetectorEnumIaasActivityDetector      DetectorEnumEnum = "IAAS_ACTIVITY_DETECTOR"
	DetectorEnumIaasConfigurationDetector DetectorEnumEnum = "IAAS_CONFIGURATION_DETECTOR"
	DetectorEnumIaasThreatDetector        DetectorEnumEnum = "IAAS_THREAT_DETECTOR"
	DetectorEnumIaasLogInsightDetector    DetectorEnumEnum = "IAAS_LOG_INSIGHT_DETECTOR"
)

Set of constants representing the allowable values for DetectorEnumEnum

func GetDetectorEnumEnumValues ¶

func GetDetectorEnumEnumValues() []DetectorEnumEnum

GetDetectorEnumEnumValues Enumerates the set of values for DetectorEnumEnum

func GetMappingDetectorEnumEnum ¶

func GetMappingDetectorEnumEnum(val string) (DetectorEnumEnum, bool)

GetMappingDetectorEnumEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipe ¶

type DetectorRecipe struct {

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

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

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

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

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

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

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

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

	// List of effective detector rules for the detector type for recipe after applying defaults
	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"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`

	// The recipe attached to targets
	TargetIds []string `mandatory:"false" json:"targetIds"`
}

DetectorRecipe Details of Detector recipe

func (DetectorRecipe) String ¶

func (m DetectorRecipe) String() string

func (DetectorRecipe) ValidateEnumValue ¶

func (m DetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeCollection ¶

type DetectorRecipeCollection struct {

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

DetectorRecipeCollection Summary of the DetectorRecipe.

func (DetectorRecipeCollection) String ¶

func (m DetectorRecipeCollection) String() string

func (DetectorRecipeCollection) ValidateEnumValue ¶

func (m DetectorRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRule ¶

type DetectorRecipeDetectorRule struct {

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

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

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

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

	// Display name for DetectorRecipeDetectorRule.
	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"`

	// The id of the attached DataSource.
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

DetectorRecipeDetectorRule Detector Recipe Rule

func (DetectorRecipeDetectorRule) String ¶

func (DetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleCollection ¶

type DetectorRecipeDetectorRuleCollection struct {

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

DetectorRecipeDetectorRuleCollection Summary of the DetectorRule.

func (DetectorRecipeDetectorRuleCollection) String ¶

func (DetectorRecipeDetectorRuleCollection) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleManagedListTypesEnum string

DetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []DetectorRecipeDetectorRuleManagedListTypesEnum

GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum

func GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum ¶

func GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleManagedListTypesEnum, bool)

GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipeDetectorRuleSummary ¶

type DetectorRecipeDetectorRuleSummary struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// The id of the attached DataSource.
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

DetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.

func (DetectorRecipeDetectorRuleSummary) String ¶

func (DetectorRecipeDetectorRuleSummary) ValidateEnumValue ¶

func (m DetectorRecipeDetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

DetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRecipeSummary ¶

type DetectorRecipeSummary struct {

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

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

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

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

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

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

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

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

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

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

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

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`

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

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

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

DetectorRecipeSummary Summary of Detector recipe

func (DetectorRecipeSummary) String ¶

func (m DetectorRecipeSummary) String() string

func (DetectorRecipeSummary) ValidateEnumValue ¶

func (m DetectorRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRule ¶

type DetectorRule struct {

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

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

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

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

	// Display name for DetectorRule.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

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

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

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

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

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

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

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

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

DetectorRule Detector

func (DetectorRule) String ¶

func (m DetectorRule) String() string

func (DetectorRule) ValidateEnumValue ¶

func (m DetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleCollection ¶

type DetectorRuleCollection struct {

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

DetectorRuleCollection Summary of the DetectorRule.

func (DetectorRuleCollection) String ¶

func (m DetectorRuleCollection) String() string

func (DetectorRuleCollection) ValidateEnumValue ¶

func (m DetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleManagedListTypesEnum ¶

type DetectorRuleManagedListTypesEnum string

DetectorRuleManagedListTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum

func GetDetectorRuleManagedListTypesEnumValues ¶

func GetDetectorRuleManagedListTypesEnumValues() []DetectorRuleManagedListTypesEnum

GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum

func GetMappingDetectorRuleManagedListTypesEnum ¶

func GetMappingDetectorRuleManagedListTypesEnum(val string) (DetectorRuleManagedListTypesEnum, bool)

GetMappingDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorRuleSummary ¶

type DetectorRuleSummary struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DetectorRuleSummary Summary of the Detector Rules.

func (DetectorRuleSummary) String ¶

func (m DetectorRuleSummary) String() string

func (DetectorRuleSummary) ValidateEnumValue ¶

func (m DetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DetectorRuleSummaryManagedListTypesEnum ¶

type DetectorRuleSummaryManagedListTypesEnum string

DetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum

func GetDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRuleSummaryManagedListTypesEnum

GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum

func GetMappingDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectorSummary ¶

type DetectorSummary struct {

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

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

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

DetectorSummary Summary of the Detector.

func (DetectorSummary) String ¶

func (m DetectorSummary) String() string

func (DetectorSummary) ValidateEnumValue ¶

func (m DetectorSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntitiesMapping ¶ added in v65.17.0

type EntitiesMapping struct {

	// The entity value mapped to a data source query
	QueryField *string `mandatory:"true" json:"queryField"`

	// The display name of entity
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Possible type of entity
	EntityType EntityTypeEnum `mandatory:"false" json:"entityType,omitempty"`
}

EntitiesMapping Data Source Entities mappings

func (EntitiesMapping) String ¶ added in v65.17.0

func (m EntitiesMapping) String() string

func (EntitiesMapping) ValidateEnumValue ¶ added in v65.17.0

func (m EntitiesMapping) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityDetails ¶ added in v65.17.0

type EntityDetails struct {

	// The display name of entity
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The entity value
	Value *string `mandatory:"false" json:"value"`

	// Type of entity
	Type *string `mandatory:"false" json:"type"`
}

EntityDetails Entities Details for a data source

func (EntityDetails) String ¶ added in v65.17.0

func (m EntityDetails) String() string

func (EntityDetails) ValidateEnumValue ¶ added in v65.17.0

func (m EntityDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type EntityTypeEnum ¶ added in v65.17.0

type EntityTypeEnum string

EntityTypeEnum Enum with underlying type: string

const (
	EntityTypeExternalIp EntityTypeEnum = "EXTERNAL_IP"
	EntityTypeInternalIp EntityTypeEnum = "INTERNAL_IP"
	EntityTypeText       EntityTypeEnum = "TEXT"
	EntityTypeJsonList   EntityTypeEnum = "JSON_LIST"
)

Set of constants representing the allowable values for EntityTypeEnum

func GetEntityTypeEnumValues ¶ added in v65.17.0

func GetEntityTypeEnumValues() []EntityTypeEnum

GetEntityTypeEnumValues Enumerates the set of values for EntityTypeEnum

func GetMappingEntityTypeEnum ¶ added in v65.17.0

func GetMappingEntityTypeEnum(val string) (EntityTypeEnum, bool)

GetMappingEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type EventStatusEnum ¶

type EventStatusEnum string

EventStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for EventStatusEnum

func GetEventStatusEnumValues ¶

func GetEventStatusEnumValues() []EventStatusEnum

GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum

func GetMappingEventStatusEnum ¶

func GetMappingEventStatusEnum(val string) (EventStatusEnum, bool)

GetMappingEventStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ExecuteResponderExecutionDetails ¶

type ExecuteResponderExecutionDetails struct {

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

ExecuteResponderExecutionDetails The details for Responder Configuration

func (ExecuteResponderExecutionDetails) String ¶

func (ExecuteResponderExecutionDetails) ValidateEnumValue ¶

func (m ExecuteResponderExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteResponderExecutionRequest ¶

type ExecuteResponderExecutionRequest struct {

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

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

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

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

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

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

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

ExecuteResponderExecutionRequest wrapper for the ExecuteResponderExecution operation

See also ¶

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

func (ExecuteResponderExecutionRequest) BinaryRequestBody ¶

func (request ExecuteResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ExecuteResponderExecutionRequest) HTTPRequest ¶

func (request ExecuteResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExecuteResponderExecutionRequest) RetryPolicy ¶

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

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

func (ExecuteResponderExecutionRequest) String ¶

func (request ExecuteResponderExecutionRequest) String() string

func (ExecuteResponderExecutionRequest) ValidateEnumValue ¶

func (request ExecuteResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteResponderExecutionResponse ¶

type ExecuteResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ExecuteResponderExecutionResponse wrapper for the ExecuteResponderExecution operation

func (ExecuteResponderExecutionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ExecuteResponderExecutionResponse) String ¶

func (response ExecuteResponderExecutionResponse) String() string

type FeedProviderTypeEnum ¶

type FeedProviderTypeEnum string

FeedProviderTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for FeedProviderTypeEnum

func GetFeedProviderTypeEnumValues ¶

func GetFeedProviderTypeEnumValues() []FeedProviderTypeEnum

GetFeedProviderTypeEnumValues Enumerates the set of values for FeedProviderTypeEnum

func GetMappingFeedProviderTypeEnum ¶

func GetMappingFeedProviderTypeEnum(val string) (FeedProviderTypeEnum, bool)

GetMappingFeedProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GeographicalLocation ¶

type GeographicalLocation struct {

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

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

GeographicalLocation Geographical Location of a problem

func (GeographicalLocation) String ¶

func (m GeographicalLocation) String() string

func (GeographicalLocation) ValidateEnumValue ¶

func (m GeographicalLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConditionMetadataTypeConditionMetadataTypeIdEnum ¶

type GetConditionMetadataTypeConditionMetadataTypeIdEnum string

GetConditionMetadataTypeConditionMetadataTypeIdEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues ¶

func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues() []GetConditionMetadataTypeConditionMetadataTypeIdEnum

GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues Enumerates the set of values for GetConditionMetadataTypeConditionMetadataTypeIdEnum

func GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum ¶

func GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum(val string) (GetConditionMetadataTypeConditionMetadataTypeIdEnum, bool)

GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum performs case Insensitive comparison on enum value and return the desired enum

type GetConditionMetadataTypeRequest ¶

type GetConditionMetadataTypeRequest struct {

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

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

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

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

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

GetConditionMetadataTypeRequest wrapper for the GetConditionMetadataType operation

See also ¶

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

func (GetConditionMetadataTypeRequest) BinaryRequestBody ¶

func (request GetConditionMetadataTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConditionMetadataTypeRequest) HTTPRequest ¶

func (request GetConditionMetadataTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConditionMetadataTypeRequest) RetryPolicy ¶

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

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

func (GetConditionMetadataTypeRequest) String ¶

func (request GetConditionMetadataTypeRequest) String() string

func (GetConditionMetadataTypeRequest) ValidateEnumValue ¶

func (request GetConditionMetadataTypeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConditionMetadataTypeResponse ¶

type GetConditionMetadataTypeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetConditionMetadataTypeResponse wrapper for the GetConditionMetadataType operation

func (GetConditionMetadataTypeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetConditionMetadataTypeResponse) String ¶

func (response GetConditionMetadataTypeResponse) String() string

type GetConfigurationRequest ¶

type GetConfigurationRequest struct {

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

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

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

GetConfigurationRequest wrapper for the GetConfiguration operation

See also ¶

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

func (GetConfigurationRequest) BinaryRequestBody ¶

func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConfigurationRequest) HTTPRequest ¶

func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConfigurationRequest) RetryPolicy ¶

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

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

func (GetConfigurationRequest) String ¶

func (request GetConfigurationRequest) String() string

func (GetConfigurationRequest) ValidateEnumValue ¶

func (request GetConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetConfigurationResponse ¶

type GetConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetConfigurationResponse wrapper for the GetConfiguration operation

func (GetConfigurationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetConfigurationResponse) String ¶

func (response GetConfigurationResponse) String() string

type GetDataMaskRuleRequest ¶

type GetDataMaskRuleRequest struct {

	// OCID of dataMaskRule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// 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
}

GetDataMaskRuleRequest wrapper for the GetDataMaskRule operation

See also ¶

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

func (GetDataMaskRuleRequest) BinaryRequestBody ¶

func (request GetDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataMaskRuleRequest) HTTPRequest ¶

func (request GetDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataMaskRuleRequest) RetryPolicy ¶

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

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

func (GetDataMaskRuleRequest) String ¶

func (request GetDataMaskRuleRequest) String() string

func (GetDataMaskRuleRequest) ValidateEnumValue ¶

func (request GetDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDataMaskRuleResponse ¶

type GetDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataMaskRule instance
	DataMaskRule `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"`
}

GetDataMaskRuleResponse wrapper for the GetDataMaskRule operation

func (GetDataMaskRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetDataMaskRuleResponse) String ¶

func (response GetDataMaskRuleResponse) String() string

type GetDataSourceRequest ¶ added in v65.17.0

type GetDataSourceRequest struct {

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// 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
}

GetDataSourceRequest wrapper for the GetDataSource operation

See also ¶

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

func (GetDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request GetDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request GetDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDataSourceRequest) RetryPolicy ¶ added in v65.17.0

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

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

func (GetDataSourceRequest) String ¶ added in v65.17.0

func (request GetDataSourceRequest) String() string

func (GetDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request GetDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDataSourceResponse ¶ added in v65.17.0

type GetDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataSource instance
	DataSource `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"`
}

GetDataSourceResponse wrapper for the GetDataSource operation

func (GetDataSourceResponse) HTTPResponse ¶ added in v65.17.0

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

HTTPResponse implements the OCIResponse interface

func (GetDataSourceResponse) String ¶ added in v65.17.0

func (response GetDataSourceResponse) String() string

type GetDetectorRecipeDetectorRuleRequest ¶

type GetDetectorRecipeDetectorRuleRequest struct {

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

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

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

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

GetDetectorRecipeDetectorRuleRequest wrapper for the GetDetectorRecipeDetectorRule operation

See also ¶

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

func (GetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

func (request GetDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

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

func (GetDetectorRecipeDetectorRuleRequest) String ¶

func (GetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request GetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRecipeDetectorRuleResponse ¶

type GetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetDetectorRecipeDetectorRuleResponse wrapper for the GetDetectorRecipeDetectorRule operation

func (GetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeDetectorRuleResponse) String ¶

type GetDetectorRecipeRequest ¶

type GetDetectorRecipeRequest struct {

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

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

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

GetDetectorRecipeRequest wrapper for the GetDetectorRecipe operation

See also ¶

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

func (GetDetectorRecipeRequest) BinaryRequestBody ¶

func (request GetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRecipeRequest) HTTPRequest ¶

func (request GetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRecipeRequest) RetryPolicy ¶

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

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

func (GetDetectorRecipeRequest) String ¶

func (request GetDetectorRecipeRequest) String() string

func (GetDetectorRecipeRequest) ValidateEnumValue ¶

func (request GetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRecipeResponse ¶

type GetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetDetectorRecipeResponse wrapper for the GetDetectorRecipe operation

func (GetDetectorRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetDetectorRecipeResponse) String ¶

func (response GetDetectorRecipeResponse) String() string

type GetDetectorRequest ¶

type GetDetectorRequest struct {

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

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

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

GetDetectorRequest wrapper for the GetDetector operation

See also ¶

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

func (GetDetectorRequest) BinaryRequestBody ¶

func (request GetDetectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRequest) HTTPRequest ¶

func (request GetDetectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRequest) RetryPolicy ¶

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

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

func (GetDetectorRequest) String ¶

func (request GetDetectorRequest) String() string

func (GetDetectorRequest) ValidateEnumValue ¶

func (request GetDetectorRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorResponse ¶

type GetDetectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetDetectorResponse wrapper for the GetDetector operation

func (GetDetectorResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetDetectorResponse) String ¶

func (response GetDetectorResponse) String() string

type GetDetectorRuleRequest ¶

type GetDetectorRuleRequest struct {

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

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

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

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

GetDetectorRuleRequest wrapper for the GetDetectorRule operation

See also ¶

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

func (GetDetectorRuleRequest) BinaryRequestBody ¶

func (request GetDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDetectorRuleRequest) HTTPRequest ¶

func (request GetDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDetectorRuleRequest) RetryPolicy ¶

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

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

func (GetDetectorRuleRequest) String ¶

func (request GetDetectorRuleRequest) String() string

func (GetDetectorRuleRequest) ValidateEnumValue ¶

func (request GetDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDetectorRuleResponse ¶

type GetDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetDetectorRuleResponse wrapper for the GetDetectorRule operation

func (GetDetectorRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetDetectorRuleResponse) String ¶

func (response GetDetectorRuleResponse) String() string

type GetManagedListRequest ¶

type GetManagedListRequest struct {

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

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

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

GetManagedListRequest wrapper for the GetManagedList operation

See also ¶

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

func (GetManagedListRequest) BinaryRequestBody ¶

func (request GetManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetManagedListRequest) HTTPRequest ¶

func (request GetManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagedListRequest) RetryPolicy ¶

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

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

func (GetManagedListRequest) String ¶

func (request GetManagedListRequest) String() string

func (GetManagedListRequest) ValidateEnumValue ¶

func (request GetManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetManagedListResponse ¶

type GetManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetManagedListResponse wrapper for the GetManagedList operation

func (GetManagedListResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetManagedListResponse) String ¶

func (response GetManagedListResponse) String() string

type GetProblemRequest ¶

type GetProblemRequest struct {

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

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

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

GetProblemRequest wrapper for the GetProblem operation

See also ¶

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

func (GetProblemRequest) BinaryRequestBody ¶

func (request GetProblemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetProblemRequest) HTTPRequest ¶

func (request GetProblemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProblemRequest) RetryPolicy ¶

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

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

func (GetProblemRequest) String ¶

func (request GetProblemRequest) String() string

func (GetProblemRequest) ValidateEnumValue ¶

func (request GetProblemRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetProblemResponse ¶

type GetProblemResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetProblemResponse wrapper for the GetProblem operation

func (GetProblemResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetProblemResponse) String ¶

func (response GetProblemResponse) String() string

type GetResourceProfileRequest ¶

type GetResourceProfileRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// 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
}

GetResourceProfileRequest wrapper for the GetResourceProfile operation

See also ¶

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

func (GetResourceProfileRequest) BinaryRequestBody ¶

func (request GetResourceProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResourceProfileRequest) HTTPRequest ¶

func (request GetResourceProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResourceProfileRequest) RetryPolicy ¶

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

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

func (GetResourceProfileRequest) String ¶

func (request GetResourceProfileRequest) String() string

func (GetResourceProfileRequest) ValidateEnumValue ¶

func (request GetResourceProfileRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResourceProfileResponse ¶

type GetResourceProfileResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResourceProfile instance
	ResourceProfile `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"`
}

GetResourceProfileResponse wrapper for the GetResourceProfile operation

func (GetResourceProfileResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetResourceProfileResponse) String ¶

func (response GetResourceProfileResponse) String() string

type GetResponderExecutionRequest ¶

type GetResponderExecutionRequest struct {

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

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

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

GetResponderExecutionRequest wrapper for the GetResponderExecution operation

See also ¶

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

func (GetResponderExecutionRequest) BinaryRequestBody ¶

func (request GetResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderExecutionRequest) HTTPRequest ¶

func (request GetResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderExecutionRequest) RetryPolicy ¶

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

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

func (GetResponderExecutionRequest) String ¶

func (request GetResponderExecutionRequest) String() string

func (GetResponderExecutionRequest) ValidateEnumValue ¶

func (request GetResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderExecutionResponse ¶

type GetResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetResponderExecutionResponse wrapper for the GetResponderExecution operation

func (GetResponderExecutionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetResponderExecutionResponse) String ¶

func (response GetResponderExecutionResponse) String() string

type GetResponderRecipeRequest ¶

type GetResponderRecipeRequest struct {

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

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

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

GetResponderRecipeRequest wrapper for the GetResponderRecipe operation

See also ¶

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

func (GetResponderRecipeRequest) BinaryRequestBody ¶

func (request GetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRecipeRequest) HTTPRequest ¶

func (request GetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeRequest) RetryPolicy ¶

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

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

func (GetResponderRecipeRequest) String ¶

func (request GetResponderRecipeRequest) String() string

func (GetResponderRecipeRequest) ValidateEnumValue ¶

func (request GetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRecipeResponderRuleRequest ¶

type GetResponderRecipeResponderRuleRequest struct {

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

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

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

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

GetResponderRecipeResponderRuleRequest wrapper for the GetResponderRecipeResponderRule operation

See also ¶

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

func (GetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

func (request GetResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRecipeResponderRuleRequest) RetryPolicy ¶

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

func (GetResponderRecipeResponderRuleRequest) String ¶

func (GetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request GetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRecipeResponderRuleResponse ¶

type GetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetResponderRecipeResponderRuleResponse wrapper for the GetResponderRecipeResponderRule operation

func (GetResponderRecipeResponderRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponderRuleResponse) String ¶

type GetResponderRecipeResponse ¶

type GetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetResponderRecipeResponse wrapper for the GetResponderRecipe operation

func (GetResponderRecipeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetResponderRecipeResponse) String ¶

func (response GetResponderRecipeResponse) String() string

type GetResponderRuleRequest ¶

type GetResponderRuleRequest struct {

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

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

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

GetResponderRuleRequest wrapper for the GetResponderRule operation

See also ¶

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

func (GetResponderRuleRequest) BinaryRequestBody ¶

func (request GetResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResponderRuleRequest) HTTPRequest ¶

func (request GetResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResponderRuleRequest) RetryPolicy ¶

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

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

func (GetResponderRuleRequest) String ¶

func (request GetResponderRuleRequest) String() string

func (GetResponderRuleRequest) ValidateEnumValue ¶

func (request GetResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetResponderRuleResponse ¶

type GetResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetResponderRuleResponse wrapper for the GetResponderRule operation

func (GetResponderRuleResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetResponderRuleResponse) String ¶

func (response GetResponderRuleResponse) String() string

type GetSecurityPolicyRequest ¶ added in v65.3.0

type GetSecurityPolicyRequest struct {

	// The unique identifier of the security zone policy (`SecurityPolicy`)
	SecurityPolicyId *string `mandatory:"true" contributesTo:"path" name:"securityPolicyId"`

	// 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
}

GetSecurityPolicyRequest wrapper for the GetSecurityPolicy operation

See also ¶

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

func (GetSecurityPolicyRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityPolicyRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityPolicyRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (GetSecurityPolicyRequest) String ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) String() string

func (GetSecurityPolicyRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityPolicyResponse ¶ added in v65.3.0

type GetSecurityPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityPolicy instance
	SecurityPolicy `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"`
}

GetSecurityPolicyResponse wrapper for the GetSecurityPolicy operation

func (GetSecurityPolicyResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetSecurityPolicyResponse) String ¶ added in v65.3.0

func (response GetSecurityPolicyResponse) String() string

type GetSecurityRecipeRequest ¶ added in v65.3.0

type GetSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// 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
}

GetSecurityRecipeRequest wrapper for the GetSecurityRecipe operation

See also ¶

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

func (GetSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (GetSecurityRecipeRequest) String ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) String() string

func (GetSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityRecipeResponse ¶ added in v65.3.0

type GetSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityRecipe instance
	SecurityRecipe `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"`
}

GetSecurityRecipeResponse wrapper for the GetSecurityRecipe operation

func (GetSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetSecurityRecipeResponse) String ¶ added in v65.3.0

func (response GetSecurityRecipeResponse) String() string

type GetSecurityZoneRequest ¶ added in v65.3.0

type GetSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// 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
}

GetSecurityZoneRequest wrapper for the GetSecurityZone operation

See also ¶

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

func (GetSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request GetSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (GetSecurityZoneRequest) String ¶ added in v65.3.0

func (request GetSecurityZoneRequest) String() string

func (GetSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSecurityZoneResponse ¶ added in v65.3.0

type GetSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `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"`
}

GetSecurityZoneResponse wrapper for the GetSecurityZone operation

func (GetSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetSecurityZoneResponse) String ¶ added in v65.3.0

func (response GetSecurityZoneResponse) String() string

type GetSightingRequest ¶

type GetSightingRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// 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
}

GetSightingRequest wrapper for the GetSighting operation

See also ¶

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

func (GetSightingRequest) BinaryRequestBody ¶

func (request GetSightingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSightingRequest) HTTPRequest ¶

func (request GetSightingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSightingRequest) RetryPolicy ¶

func (request GetSightingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSightingRequest) String ¶

func (request GetSightingRequest) String() string

func (GetSightingRequest) ValidateEnumValue ¶

func (request GetSightingRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetSightingResponse ¶

type GetSightingResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Sighting instance
	Sighting `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"`
}

GetSightingResponse wrapper for the GetSighting operation

func (GetSightingResponse) HTTPResponse ¶

func (response GetSightingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSightingResponse) String ¶

func (response GetSightingResponse) String() string

type GetTargetDetectorRecipeDetectorRuleRequest ¶

type GetTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The id of DetectorRule
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetDetectorRecipeDetectorRuleRequest wrapper for the GetTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRuleRequest.

func (GetTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeDetectorRuleRequest) String ¶

func (GetTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request GetTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetDetectorRecipeDetectorRuleResponse ¶

type GetTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeDetectorRuleResponse wrapper for the GetTargetDetectorRecipeDetectorRule operation

func (GetTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeDetectorRuleResponse) String ¶

type GetTargetDetectorRecipeRequest ¶

type GetTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetDetectorRecipeRequest wrapper for the GetTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipeRequest.

func (GetTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request GetTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetDetectorRecipeRequest) HTTPRequest ¶

func (request GetTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetDetectorRecipeRequest) RetryPolicy ¶

func (request GetTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetDetectorRecipeRequest) String ¶

func (request GetTargetDetectorRecipeRequest) String() string

func (GetTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request GetTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetDetectorRecipeResponse ¶

type GetTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetDetectorRecipeResponse wrapper for the GetTargetDetectorRecipe operation

func (GetTargetDetectorRecipeResponse) HTTPResponse ¶

func (response GetTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetDetectorRecipeResponse) String ¶

func (response GetTargetDetectorRecipeResponse) String() string

type GetTargetRequest ¶

type GetTargetRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetRequest wrapper for the GetTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTarget.go.html to see an example of how to use GetTargetRequest.

func (GetTargetRequest) BinaryRequestBody ¶

func (request GetTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetRequest) HTTPRequest ¶

func (request GetTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetRequest) RetryPolicy ¶

func (request GetTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetRequest) String ¶

func (request GetTargetRequest) String() string

func (GetTargetRequest) ValidateEnumValue ¶

func (request GetTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeRequest ¶

type GetTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeRequest wrapper for the GetTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipeRequest.

func (GetTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request GetTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetResponderRecipeRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeRequest) RetryPolicy ¶

func (request GetTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeRequest) String ¶

func (request GetTargetResponderRecipeRequest) String() string

func (GetTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request GetTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeResponderRuleRequest ¶

type GetTargetResponderRecipeResponderRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetTargetResponderRecipeResponderRuleRequest wrapper for the GetTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRuleRequest.

func (GetTargetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request GetTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTargetResponderRecipeResponderRuleRequest) String ¶

func (GetTargetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request GetTargetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetResponderRecipeResponderRuleResponse ¶

type GetTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponderRuleResponse wrapper for the GetTargetResponderRecipeResponderRule operation

func (GetTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponderRuleResponse) String ¶

type GetTargetResponderRecipeResponse ¶

type GetTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponderRecipeResponse wrapper for the GetTargetResponderRecipe operation

func (GetTargetResponderRecipeResponse) HTTPResponse ¶

func (response GetTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponderRecipeResponse) String ¶

func (response GetTargetResponderRecipeResponse) String() string

type GetTargetResponse ¶

type GetTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTargetResponse wrapper for the GetTarget operation

func (GetTargetResponse) HTTPResponse ¶

func (response GetTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTargetResponse) String ¶

func (response GetTargetResponse) String() string

type GetWorkRequestRequest ¶ added in v65.17.0

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// 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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody ¶ added in v65.17.0

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest ¶ added in v65.17.0

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶ added in v65.17.0

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String ¶ added in v65.17.0

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue ¶ added in v65.17.0

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse ¶ added in v65.17.0

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `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"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶ added in v65.17.0

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶ added in v65.17.0

func (response GetWorkRequestResponse) String() string

type ImpactedResourceCollection ¶

type ImpactedResourceCollection struct {

	// List of ImpactedResourceSummary
	Items []ImpactedResourceSummary `mandatory:"true" json:"items"`
}

ImpactedResourceCollection Provides the summary of impacted resources

func (ImpactedResourceCollection) String ¶

func (ImpactedResourceCollection) ValidateEnumValue ¶

func (m ImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ImpactedResourceSummary ¶

type ImpactedResourceSummary struct {

	// Unique identifier for finding event
	Id *string `mandatory:"true" json:"id"`

	// Unique id of the Impacted Resource
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Problem Id to which the Impacted Resource is associated
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Compartment Id where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Name of the Impacted Resource
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// Type of the Impacted Resource
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Region where the resource is created
	Region *string `mandatory:"true" json:"region"`

	// Time when the problem was identified
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"false" json:"sightingType"`

	// Name of the sighting type
	SightingTypeDisplayName *string `mandatory:"false" json:"sightingTypeDisplayName"`
}

ImpactedResourceSummary Impacted Resource summary Definition.

func (ImpactedResourceSummary) String ¶

func (m ImpactedResourceSummary) String() string

func (ImpactedResourceSummary) ValidateEnumValue ¶

func (m ImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InsightTypeLoggingQueryDetails ¶ added in v65.17.0

type InsightTypeLoggingQueryDetails struct {

	// The key entities count used for data source query
	KeyEntitiesCount *int `mandatory:"false" json:"keyEntitiesCount"`
}

InsightTypeLoggingQueryDetails Additional details specific to insight type DataSource.

func (InsightTypeLoggingQueryDetails) MarshalJSON ¶ added in v65.17.0

func (m InsightTypeLoggingQueryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InsightTypeLoggingQueryDetails) String ¶ added in v65.17.0

func (InsightTypeLoggingQueryDetails) ValidateEnumValue ¶ added in v65.17.0

func (m InsightTypeLoggingQueryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LifecycleStateEnum ¶

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues ¶

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum ¶

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesLifecycleStateEnum ¶

type ListConditionMetadataTypesLifecycleStateEnum string

ListConditionMetadataTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesLifecycleStateCreating ListConditionMetadataTypesLifecycleStateEnum = "CREATING"
	ListConditionMetadataTypesLifecycleStateUpdating ListConditionMetadataTypesLifecycleStateEnum = "UPDATING"
	ListConditionMetadataTypesLifecycleStateActive   ListConditionMetadataTypesLifecycleStateEnum = "ACTIVE"
	ListConditionMetadataTypesLifecycleStateInactive ListConditionMetadataTypesLifecycleStateEnum = "INACTIVE"
	ListConditionMetadataTypesLifecycleStateDeleting ListConditionMetadataTypesLifecycleStateEnum = "DELETING"
	ListConditionMetadataTypesLifecycleStateDeleted  ListConditionMetadataTypesLifecycleStateEnum = "DELETED"
	ListConditionMetadataTypesLifecycleStateFailed   ListConditionMetadataTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConditionMetadataTypesLifecycleStateEnum

func GetListConditionMetadataTypesLifecycleStateEnumValues ¶

func GetListConditionMetadataTypesLifecycleStateEnumValues() []ListConditionMetadataTypesLifecycleStateEnum

GetListConditionMetadataTypesLifecycleStateEnumValues Enumerates the set of values for ListConditionMetadataTypesLifecycleStateEnum

func GetMappingListConditionMetadataTypesLifecycleStateEnum ¶

func GetMappingListConditionMetadataTypesLifecycleStateEnum(val string) (ListConditionMetadataTypesLifecycleStateEnum, bool)

GetMappingListConditionMetadataTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesRequest ¶

type ListConditionMetadataTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListConditionMetadataTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListConditionMetadataTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListConditionMetadataTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListConditionMetadataTypesRequest wrapper for the ListConditionMetadataTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypesRequest.

func (ListConditionMetadataTypesRequest) BinaryRequestBody ¶

func (request ListConditionMetadataTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListConditionMetadataTypesRequest) HTTPRequest ¶

func (request ListConditionMetadataTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConditionMetadataTypesRequest) RetryPolicy ¶

func (request ListConditionMetadataTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListConditionMetadataTypesRequest) String ¶

func (request ListConditionMetadataTypesRequest) String() string

func (ListConditionMetadataTypesRequest) ValidateEnumValue ¶

func (request ListConditionMetadataTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListConditionMetadataTypesResponse ¶

type ListConditionMetadataTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConditionMetadataTypeCollection instances
	ConditionMetadataTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListConditionMetadataTypesResponse wrapper for the ListConditionMetadataTypes operation

func (ListConditionMetadataTypesResponse) HTTPResponse ¶

func (response ListConditionMetadataTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListConditionMetadataTypesResponse) String ¶

func (response ListConditionMetadataTypesResponse) String() string

type ListConditionMetadataTypesSortByEnum ¶

type ListConditionMetadataTypesSortByEnum string

ListConditionMetadataTypesSortByEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortByTimecreated ListConditionMetadataTypesSortByEnum = "timeCreated"
	ListConditionMetadataTypesSortByDisplayname ListConditionMetadataTypesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortByEnum

func GetListConditionMetadataTypesSortByEnumValues ¶

func GetListConditionMetadataTypesSortByEnumValues() []ListConditionMetadataTypesSortByEnum

GetListConditionMetadataTypesSortByEnumValues Enumerates the set of values for ListConditionMetadataTypesSortByEnum

func GetMappingListConditionMetadataTypesSortByEnum ¶

func GetMappingListConditionMetadataTypesSortByEnum(val string) (ListConditionMetadataTypesSortByEnum, bool)

GetMappingListConditionMetadataTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConditionMetadataTypesSortOrderEnum ¶

type ListConditionMetadataTypesSortOrderEnum string

ListConditionMetadataTypesSortOrderEnum Enum with underlying type: string

const (
	ListConditionMetadataTypesSortOrderAsc  ListConditionMetadataTypesSortOrderEnum = "ASC"
	ListConditionMetadataTypesSortOrderDesc ListConditionMetadataTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConditionMetadataTypesSortOrderEnum

func GetListConditionMetadataTypesSortOrderEnumValues ¶

func GetListConditionMetadataTypesSortOrderEnumValues() []ListConditionMetadataTypesSortOrderEnum

GetListConditionMetadataTypesSortOrderEnumValues Enumerates the set of values for ListConditionMetadataTypesSortOrderEnum

func GetMappingListConditionMetadataTypesSortOrderEnum ¶

func GetMappingListConditionMetadataTypesSortOrderEnum(val string) (ListConditionMetadataTypesSortOrderEnum, bool)

GetMappingListConditionMetadataTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesAccessLevelEnum ¶

type ListDataMaskRulesAccessLevelEnum string

ListDataMaskRulesAccessLevelEnum Enum with underlying type: string

const (
	ListDataMaskRulesAccessLevelRestricted ListDataMaskRulesAccessLevelEnum = "RESTRICTED"
	ListDataMaskRulesAccessLevelAccessible ListDataMaskRulesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDataMaskRulesAccessLevelEnum

func GetListDataMaskRulesAccessLevelEnumValues ¶

func GetListDataMaskRulesAccessLevelEnumValues() []ListDataMaskRulesAccessLevelEnum

GetListDataMaskRulesAccessLevelEnumValues Enumerates the set of values for ListDataMaskRulesAccessLevelEnum

func GetMappingListDataMaskRulesAccessLevelEnum ¶

func GetMappingListDataMaskRulesAccessLevelEnum(val string) (ListDataMaskRulesAccessLevelEnum, bool)

GetMappingListDataMaskRulesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesDataMaskRuleStatusEnum ¶

type ListDataMaskRulesDataMaskRuleStatusEnum string

ListDataMaskRulesDataMaskRuleStatusEnum Enum with underlying type: string

const (
	ListDataMaskRulesDataMaskRuleStatusEnabled  ListDataMaskRulesDataMaskRuleStatusEnum = "ENABLED"
	ListDataMaskRulesDataMaskRuleStatusDisabled ListDataMaskRulesDataMaskRuleStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for ListDataMaskRulesDataMaskRuleStatusEnum

func GetListDataMaskRulesDataMaskRuleStatusEnumValues ¶

func GetListDataMaskRulesDataMaskRuleStatusEnumValues() []ListDataMaskRulesDataMaskRuleStatusEnum

GetListDataMaskRulesDataMaskRuleStatusEnumValues Enumerates the set of values for ListDataMaskRulesDataMaskRuleStatusEnum

func GetMappingListDataMaskRulesDataMaskRuleStatusEnum ¶

func GetMappingListDataMaskRulesDataMaskRuleStatusEnum(val string) (ListDataMaskRulesDataMaskRuleStatusEnum, bool)

GetMappingListDataMaskRulesDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesLifecycleStateEnum ¶

type ListDataMaskRulesLifecycleStateEnum string

ListDataMaskRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDataMaskRulesLifecycleStateCreating ListDataMaskRulesLifecycleStateEnum = "CREATING"
	ListDataMaskRulesLifecycleStateUpdating ListDataMaskRulesLifecycleStateEnum = "UPDATING"
	ListDataMaskRulesLifecycleStateActive   ListDataMaskRulesLifecycleStateEnum = "ACTIVE"
	ListDataMaskRulesLifecycleStateInactive ListDataMaskRulesLifecycleStateEnum = "INACTIVE"
	ListDataMaskRulesLifecycleStateDeleting ListDataMaskRulesLifecycleStateEnum = "DELETING"
	ListDataMaskRulesLifecycleStateDeleted  ListDataMaskRulesLifecycleStateEnum = "DELETED"
	ListDataMaskRulesLifecycleStateFailed   ListDataMaskRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDataMaskRulesLifecycleStateEnum

func GetListDataMaskRulesLifecycleStateEnumValues ¶

func GetListDataMaskRulesLifecycleStateEnumValues() []ListDataMaskRulesLifecycleStateEnum

GetListDataMaskRulesLifecycleStateEnumValues Enumerates the set of values for ListDataMaskRulesLifecycleStateEnum

func GetMappingListDataMaskRulesLifecycleStateEnum ¶

func GetMappingListDataMaskRulesLifecycleStateEnum(val string) (ListDataMaskRulesLifecycleStateEnum, bool)

GetMappingListDataMaskRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesRequest ¶

type ListDataMaskRulesRequest 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 ListDataMaskRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// 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 ListDataMaskRulesAccessLevelEnum `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 ListDataMaskRulesSortOrderEnum `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 ListDataMaskRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The status of the dataMaskRule.
	DataMaskRuleStatus ListDataMaskRulesDataMaskRuleStatusEnum `mandatory:"false" contributesTo:"query" name:"dataMaskRuleStatus" omitEmpty:"true"`

	// OCID of target
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// OCID of iamGroup
	IamGroupId *string `mandatory:"false" contributesTo:"query" name:"iamGroupId"`

	// Type of target
	TargetType *string `mandatory:"false" contributesTo:"query" name:"targetType"`

	// 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
}

ListDataMaskRulesRequest wrapper for the ListDataMaskRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataMaskRules.go.html to see an example of how to use ListDataMaskRulesRequest.

func (ListDataMaskRulesRequest) BinaryRequestBody ¶

func (request ListDataMaskRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataMaskRulesRequest) HTTPRequest ¶

func (request ListDataMaskRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataMaskRulesRequest) RetryPolicy ¶

func (request ListDataMaskRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataMaskRulesRequest) String ¶

func (request ListDataMaskRulesRequest) String() string

func (ListDataMaskRulesRequest) ValidateEnumValue ¶

func (request ListDataMaskRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataMaskRulesResponse ¶

type ListDataMaskRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataMaskRuleCollection instances
	DataMaskRuleCollection `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"`
}

ListDataMaskRulesResponse wrapper for the ListDataMaskRules operation

func (ListDataMaskRulesResponse) HTTPResponse ¶

func (response ListDataMaskRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataMaskRulesResponse) String ¶

func (response ListDataMaskRulesResponse) String() string

type ListDataMaskRulesSortByEnum ¶

type ListDataMaskRulesSortByEnum string

ListDataMaskRulesSortByEnum Enum with underlying type: string

const (
	ListDataMaskRulesSortByTimecreated ListDataMaskRulesSortByEnum = "timeCreated"
	ListDataMaskRulesSortByDisplayname ListDataMaskRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDataMaskRulesSortByEnum

func GetListDataMaskRulesSortByEnumValues ¶

func GetListDataMaskRulesSortByEnumValues() []ListDataMaskRulesSortByEnum

GetListDataMaskRulesSortByEnumValues Enumerates the set of values for ListDataMaskRulesSortByEnum

func GetMappingListDataMaskRulesSortByEnum ¶

func GetMappingListDataMaskRulesSortByEnum(val string) (ListDataMaskRulesSortByEnum, bool)

GetMappingListDataMaskRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataMaskRulesSortOrderEnum ¶

type ListDataMaskRulesSortOrderEnum string

ListDataMaskRulesSortOrderEnum Enum with underlying type: string

const (
	ListDataMaskRulesSortOrderAsc  ListDataMaskRulesSortOrderEnum = "ASC"
	ListDataMaskRulesSortOrderDesc ListDataMaskRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataMaskRulesSortOrderEnum

func GetListDataMaskRulesSortOrderEnumValues ¶

func GetListDataMaskRulesSortOrderEnumValues() []ListDataMaskRulesSortOrderEnum

GetListDataMaskRulesSortOrderEnumValues Enumerates the set of values for ListDataMaskRulesSortOrderEnum

func GetMappingListDataMaskRulesSortOrderEnum ¶

func GetMappingListDataMaskRulesSortOrderEnum(val string) (ListDataMaskRulesSortOrderEnum, bool)

GetMappingListDataMaskRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourceEventsRequest ¶ added in v65.17.0

type ListDataSourceEventsRequest struct {

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// A filter to return only resource their region matches the given region.
	Region *string `mandatory:"false" contributesTo:"query" name:"region"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDataSourceEventsSortOrderEnum `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 ListDataSourceEventsSortByEnum `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
}

ListDataSourceEventsRequest wrapper for the ListDataSourceEvents operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataSourceEvents.go.html to see an example of how to use ListDataSourceEventsRequest.

func (ListDataSourceEventsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataSourceEventsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataSourceEventsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataSourceEventsRequest) String ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) String() string

func (ListDataSourceEventsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListDataSourceEventsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataSourceEventsResponse ¶ added in v65.17.0

type ListDataSourceEventsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataSourceEventCollection instances
	DataSourceEventCollection `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"`
}

ListDataSourceEventsResponse wrapper for the ListDataSourceEvents operation

func (ListDataSourceEventsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListDataSourceEventsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataSourceEventsResponse) String ¶ added in v65.17.0

func (response ListDataSourceEventsResponse) String() string

type ListDataSourceEventsSortByEnum ¶ added in v65.17.0

type ListDataSourceEventsSortByEnum string

ListDataSourceEventsSortByEnum Enum with underlying type: string

const (
	ListDataSourceEventsSortByTimecreated ListDataSourceEventsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListDataSourceEventsSortByEnum

func GetListDataSourceEventsSortByEnumValues ¶ added in v65.17.0

func GetListDataSourceEventsSortByEnumValues() []ListDataSourceEventsSortByEnum

GetListDataSourceEventsSortByEnumValues Enumerates the set of values for ListDataSourceEventsSortByEnum

func GetMappingListDataSourceEventsSortByEnum ¶ added in v65.17.0

func GetMappingListDataSourceEventsSortByEnum(val string) (ListDataSourceEventsSortByEnum, bool)

GetMappingListDataSourceEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourceEventsSortOrderEnum ¶ added in v65.17.0

type ListDataSourceEventsSortOrderEnum string

ListDataSourceEventsSortOrderEnum Enum with underlying type: string

const (
	ListDataSourceEventsSortOrderAsc  ListDataSourceEventsSortOrderEnum = "ASC"
	ListDataSourceEventsSortOrderDesc ListDataSourceEventsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSourceEventsSortOrderEnum

func GetListDataSourceEventsSortOrderEnumValues ¶ added in v65.17.0

func GetListDataSourceEventsSortOrderEnumValues() []ListDataSourceEventsSortOrderEnum

GetListDataSourceEventsSortOrderEnumValues Enumerates the set of values for ListDataSourceEventsSortOrderEnum

func GetMappingListDataSourceEventsSortOrderEnum ¶ added in v65.17.0

func GetMappingListDataSourceEventsSortOrderEnum(val string) (ListDataSourceEventsSortOrderEnum, bool)

GetMappingListDataSourceEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesAccessLevelEnum ¶ added in v65.17.0

type ListDataSourcesAccessLevelEnum string

ListDataSourcesAccessLevelEnum Enum with underlying type: string

const (
	ListDataSourcesAccessLevelRestricted ListDataSourcesAccessLevelEnum = "RESTRICTED"
	ListDataSourcesAccessLevelAccessible ListDataSourcesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDataSourcesAccessLevelEnum

func GetListDataSourcesAccessLevelEnumValues ¶ added in v65.17.0

func GetListDataSourcesAccessLevelEnumValues() []ListDataSourcesAccessLevelEnum

GetListDataSourcesAccessLevelEnumValues Enumerates the set of values for ListDataSourcesAccessLevelEnum

func GetMappingListDataSourcesAccessLevelEnum ¶ added in v65.17.0

func GetMappingListDataSourcesAccessLevelEnum(val string) (ListDataSourcesAccessLevelEnum, bool)

GetMappingListDataSourcesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesDataSourceFeedProviderEnum ¶ added in v65.17.0

type ListDataSourcesDataSourceFeedProviderEnum string

ListDataSourcesDataSourceFeedProviderEnum Enum with underlying type: string

const (
	ListDataSourcesDataSourceFeedProviderLoggingquery ListDataSourcesDataSourceFeedProviderEnum = "LOGGINGQUERY"
)

Set of constants representing the allowable values for ListDataSourcesDataSourceFeedProviderEnum

func GetListDataSourcesDataSourceFeedProviderEnumValues ¶ added in v65.17.0

func GetListDataSourcesDataSourceFeedProviderEnumValues() []ListDataSourcesDataSourceFeedProviderEnum

GetListDataSourcesDataSourceFeedProviderEnumValues Enumerates the set of values for ListDataSourcesDataSourceFeedProviderEnum

func GetMappingListDataSourcesDataSourceFeedProviderEnum ¶ added in v65.17.0

func GetMappingListDataSourcesDataSourceFeedProviderEnum(val string) (ListDataSourcesDataSourceFeedProviderEnum, bool)

GetMappingListDataSourcesDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesLifecycleStateEnum ¶ added in v65.17.0

type ListDataSourcesLifecycleStateEnum string

ListDataSourcesLifecycleStateEnum Enum with underlying type: string

const (
	ListDataSourcesLifecycleStateCreating ListDataSourcesLifecycleStateEnum = "CREATING"
	ListDataSourcesLifecycleStateUpdating ListDataSourcesLifecycleStateEnum = "UPDATING"
	ListDataSourcesLifecycleStateActive   ListDataSourcesLifecycleStateEnum = "ACTIVE"
	ListDataSourcesLifecycleStateInactive ListDataSourcesLifecycleStateEnum = "INACTIVE"
	ListDataSourcesLifecycleStateDeleting ListDataSourcesLifecycleStateEnum = "DELETING"
	ListDataSourcesLifecycleStateDeleted  ListDataSourcesLifecycleStateEnum = "DELETED"
	ListDataSourcesLifecycleStateFailed   ListDataSourcesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDataSourcesLifecycleStateEnum

func GetListDataSourcesLifecycleStateEnumValues ¶ added in v65.17.0

func GetListDataSourcesLifecycleStateEnumValues() []ListDataSourcesLifecycleStateEnum

GetListDataSourcesLifecycleStateEnumValues Enumerates the set of values for ListDataSourcesLifecycleStateEnum

func GetMappingListDataSourcesLifecycleStateEnum ¶ added in v65.17.0

func GetMappingListDataSourcesLifecycleStateEnum(val string) (ListDataSourcesLifecycleStateEnum, bool)

GetMappingListDataSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesLoggingQueryTypeEnum ¶ added in v65.17.0

type ListDataSourcesLoggingQueryTypeEnum string

ListDataSourcesLoggingQueryTypeEnum Enum with underlying type: string

const (
	ListDataSourcesLoggingQueryTypeInsight ListDataSourcesLoggingQueryTypeEnum = "INSIGHT"
)

Set of constants representing the allowable values for ListDataSourcesLoggingQueryTypeEnum

func GetListDataSourcesLoggingQueryTypeEnumValues ¶ added in v65.17.0

func GetListDataSourcesLoggingQueryTypeEnumValues() []ListDataSourcesLoggingQueryTypeEnum

GetListDataSourcesLoggingQueryTypeEnumValues Enumerates the set of values for ListDataSourcesLoggingQueryTypeEnum

func GetMappingListDataSourcesLoggingQueryTypeEnum ¶ added in v65.17.0

func GetMappingListDataSourcesLoggingQueryTypeEnum(val string) (ListDataSourcesLoggingQueryTypeEnum, bool)

GetMappingListDataSourcesLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesRequest ¶ added in v65.17.0

type ListDataSourcesRequest 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"`

	// A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
	DataSourceFeedProvider ListDataSourcesDataSourceFeedProviderEnum `mandatory:"false" contributesTo:"query" name:"dataSourceFeedProvider" 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 ListDataSourcesLifecycleStateEnum `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"`

	// A filter to return only resources their query type matches the given LoggingQueryType.
	LoggingQueryType ListDataSourcesLoggingQueryTypeEnum `mandatory:"false" contributesTo:"query" name:"loggingQueryType" 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 ListDataSourcesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDataSourcesSortOrderEnum `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 ListDataSourcesSortByEnum `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
}

ListDataSourcesRequest wrapper for the ListDataSources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDataSources.go.html to see an example of how to use ListDataSourcesRequest.

func (ListDataSourcesRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListDataSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDataSourcesRequest) HTTPRequest ¶ added in v65.17.0

func (request ListDataSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDataSourcesRequest) RetryPolicy ¶ added in v65.17.0

func (request ListDataSourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDataSourcesRequest) String ¶ added in v65.17.0

func (request ListDataSourcesRequest) String() string

func (ListDataSourcesRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListDataSourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDataSourcesResponse ¶ added in v65.17.0

type ListDataSourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DataSourceCollection instances
	DataSourceCollection `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"`
}

ListDataSourcesResponse wrapper for the ListDataSources operation

func (ListDataSourcesResponse) HTTPResponse ¶ added in v65.17.0

func (response ListDataSourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDataSourcesResponse) String ¶ added in v65.17.0

func (response ListDataSourcesResponse) String() string

type ListDataSourcesSortByEnum ¶ added in v65.17.0

type ListDataSourcesSortByEnum string

ListDataSourcesSortByEnum Enum with underlying type: string

const (
	ListDataSourcesSortByTimecreated ListDataSourcesSortByEnum = "timeCreated"
	ListDataSourcesSortByDisplayname ListDataSourcesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDataSourcesSortByEnum

func GetListDataSourcesSortByEnumValues ¶ added in v65.17.0

func GetListDataSourcesSortByEnumValues() []ListDataSourcesSortByEnum

GetListDataSourcesSortByEnumValues Enumerates the set of values for ListDataSourcesSortByEnum

func GetMappingListDataSourcesSortByEnum ¶ added in v65.17.0

func GetMappingListDataSourcesSortByEnum(val string) (ListDataSourcesSortByEnum, bool)

GetMappingListDataSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDataSourcesSortOrderEnum ¶ added in v65.17.0

type ListDataSourcesSortOrderEnum string

ListDataSourcesSortOrderEnum Enum with underlying type: string

const (
	ListDataSourcesSortOrderAsc  ListDataSourcesSortOrderEnum = "ASC"
	ListDataSourcesSortOrderDesc ListDataSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSourcesSortOrderEnum

func GetListDataSourcesSortOrderEnumValues ¶ added in v65.17.0

func GetListDataSourcesSortOrderEnumValues() []ListDataSourcesSortOrderEnum

GetListDataSourcesSortOrderEnumValues Enumerates the set of values for ListDataSourcesSortOrderEnum

func GetMappingListDataSourcesSortOrderEnum ¶ added in v65.17.0

func GetMappingListDataSourcesSortOrderEnum(val string) (ListDataSourcesSortOrderEnum, bool)

GetMappingListDataSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListDetectorRecipeDetectorRulesLifecycleStateEnum string

ListDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesLifecycleStateCreating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRecipeDetectorRulesLifecycleStateUpdating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipeDetectorRulesLifecycleStateActive   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateInactive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleting ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRecipeDetectorRulesLifecycleStateDeleted  ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRecipeDetectorRulesLifecycleStateFailed   ListDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListDetectorRecipeDetectorRulesLifecycleStateEnum

GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesLifecycleStateEnum

func GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum ¶

func GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListDetectorRecipeDetectorRulesLifecycleStateEnum, bool)

GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesRequest ¶

type ListDetectorRecipeDetectorRulesRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipeDetectorRulesRequest wrapper for the ListDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRulesRequest.

func (ListDetectorRecipeDetectorRulesRequest) BinaryRequestBody ¶

func (request ListDetectorRecipeDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipeDetectorRulesRequest) String ¶

func (ListDetectorRecipeDetectorRulesRequest) ValidateEnumValue ¶

func (request ListDetectorRecipeDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRecipeDetectorRulesResponse ¶

type ListDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeDetectorRuleCollection instances
	DetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipeDetectorRulesResponse wrapper for the ListDetectorRecipeDetectorRules operation

func (ListDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipeDetectorRulesResponse) String ¶

type ListDetectorRecipeDetectorRulesSortByEnum ¶

type ListDetectorRecipeDetectorRulesSortByEnum string

ListDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortByDisplayname ListDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListDetectorRecipeDetectorRulesSortByRisklevel   ListDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortByEnum

func GetListDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortByEnumValues() []ListDetectorRecipeDetectorRulesSortByEnum

GetListDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortByEnum

func GetMappingListDetectorRecipeDetectorRulesSortByEnum ¶

func GetMappingListDetectorRecipeDetectorRulesSortByEnum(val string) (ListDetectorRecipeDetectorRulesSortByEnum, bool)

GetMappingListDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListDetectorRecipeDetectorRulesSortOrderEnum string

ListDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipeDetectorRulesSortOrderAsc  ListDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRecipeDetectorRulesSortOrderDesc ListDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRecipeDetectorRulesSortOrderEnumValues() []ListDetectorRecipeDetectorRulesSortOrderEnum

GetListDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortOrderEnum

func GetMappingListDetectorRecipeDetectorRulesSortOrderEnum ¶

func GetMappingListDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListDetectorRecipeDetectorRulesSortOrderEnum, bool)

GetMappingListDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesAccessLevelEnum ¶

type ListDetectorRecipesAccessLevelEnum string

ListDetectorRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListDetectorRecipesAccessLevelRestricted ListDetectorRecipesAccessLevelEnum = "RESTRICTED"
	ListDetectorRecipesAccessLevelAccessible ListDetectorRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListDetectorRecipesAccessLevelEnum

func GetListDetectorRecipesAccessLevelEnumValues ¶

func GetListDetectorRecipesAccessLevelEnumValues() []ListDetectorRecipesAccessLevelEnum

GetListDetectorRecipesAccessLevelEnumValues Enumerates the set of values for ListDetectorRecipesAccessLevelEnum

func GetMappingListDetectorRecipesAccessLevelEnum ¶

func GetMappingListDetectorRecipesAccessLevelEnum(val string) (ListDetectorRecipesAccessLevelEnum, bool)

GetMappingListDetectorRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesLifecycleStateEnum ¶

type ListDetectorRecipesLifecycleStateEnum string

ListDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRecipesLifecycleStateCreating ListDetectorRecipesLifecycleStateEnum = "CREATING"
	ListDetectorRecipesLifecycleStateUpdating ListDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListDetectorRecipesLifecycleStateActive   ListDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListDetectorRecipesLifecycleStateInactive ListDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListDetectorRecipesLifecycleStateDeleting ListDetectorRecipesLifecycleStateEnum = "DELETING"
	ListDetectorRecipesLifecycleStateDeleted  ListDetectorRecipesLifecycleStateEnum = "DELETED"
	ListDetectorRecipesLifecycleStateFailed   ListDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRecipesLifecycleStateEnum

func GetListDetectorRecipesLifecycleStateEnumValues ¶

func GetListDetectorRecipesLifecycleStateEnumValues() []ListDetectorRecipesLifecycleStateEnum

GetListDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipesLifecycleStateEnum

func GetMappingListDetectorRecipesLifecycleStateEnum ¶

func GetMappingListDetectorRecipesLifecycleStateEnum(val string) (ListDetectorRecipesLifecycleStateEnum, bool)

GetMappingListDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesRequest ¶

type ListDetectorRecipesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard are returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListDetectorRecipesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRecipesRequest wrapper for the ListDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipesRequest.

func (ListDetectorRecipesRequest) BinaryRequestBody ¶

func (request ListDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRecipesRequest) HTTPRequest ¶

func (request ListDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRecipesRequest) RetryPolicy ¶

func (request ListDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRecipesRequest) String ¶

func (request ListDetectorRecipesRequest) String() string

func (ListDetectorRecipesRequest) ValidateEnumValue ¶

func (request ListDetectorRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRecipesResponse ¶

type ListDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRecipeCollection instances
	DetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRecipesResponse wrapper for the ListDetectorRecipes operation

func (ListDetectorRecipesResponse) HTTPResponse ¶

func (response ListDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRecipesResponse) String ¶

func (response ListDetectorRecipesResponse) String() string

type ListDetectorRecipesSortByEnum ¶

type ListDetectorRecipesSortByEnum string

ListDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortByTimecreated ListDetectorRecipesSortByEnum = "timeCreated"
	ListDetectorRecipesSortByDisplayname ListDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRecipesSortByEnum

func GetListDetectorRecipesSortByEnumValues ¶

func GetListDetectorRecipesSortByEnumValues() []ListDetectorRecipesSortByEnum

GetListDetectorRecipesSortByEnumValues Enumerates the set of values for ListDetectorRecipesSortByEnum

func GetMappingListDetectorRecipesSortByEnum ¶

func GetMappingListDetectorRecipesSortByEnum(val string) (ListDetectorRecipesSortByEnum, bool)

GetMappingListDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRecipesSortOrderEnum ¶

type ListDetectorRecipesSortOrderEnum string

ListDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRecipesSortOrderAsc  ListDetectorRecipesSortOrderEnum = "ASC"
	ListDetectorRecipesSortOrderDesc ListDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRecipesSortOrderEnum

func GetListDetectorRecipesSortOrderEnumValues ¶

func GetListDetectorRecipesSortOrderEnumValues() []ListDetectorRecipesSortOrderEnum

GetListDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipesSortOrderEnum

func GetMappingListDetectorRecipesSortOrderEnum ¶

func GetMappingListDetectorRecipesSortOrderEnum(val string) (ListDetectorRecipesSortOrderEnum, bool)

GetMappingListDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesLifecycleStateEnum ¶

type ListDetectorRulesLifecycleStateEnum string

ListDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorRulesLifecycleStateCreating ListDetectorRulesLifecycleStateEnum = "CREATING"
	ListDetectorRulesLifecycleStateUpdating ListDetectorRulesLifecycleStateEnum = "UPDATING"
	ListDetectorRulesLifecycleStateActive   ListDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListDetectorRulesLifecycleStateInactive ListDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListDetectorRulesLifecycleStateDeleting ListDetectorRulesLifecycleStateEnum = "DELETING"
	ListDetectorRulesLifecycleStateDeleted  ListDetectorRulesLifecycleStateEnum = "DELETED"
	ListDetectorRulesLifecycleStateFailed   ListDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorRulesLifecycleStateEnum

func GetListDetectorRulesLifecycleStateEnumValues ¶

func GetListDetectorRulesLifecycleStateEnumValues() []ListDetectorRulesLifecycleStateEnum

GetListDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRulesLifecycleStateEnum

func GetMappingListDetectorRulesLifecycleStateEnum ¶

func GetMappingListDetectorRulesLifecycleStateEnum(val string) (ListDetectorRulesLifecycleStateEnum, bool)

GetMappingListDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesRequest ¶

type ListDetectorRulesRequest struct {

	// The Name of Detector.
	DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorRulesRequest wrapper for the ListDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRulesRequest.

func (ListDetectorRulesRequest) BinaryRequestBody ¶

func (request ListDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorRulesRequest) HTTPRequest ¶

func (request ListDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorRulesRequest) RetryPolicy ¶

func (request ListDetectorRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorRulesRequest) String ¶

func (request ListDetectorRulesRequest) String() string

func (ListDetectorRulesRequest) ValidateEnumValue ¶

func (request ListDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorRulesResponse ¶

type ListDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorRuleCollection instances
	DetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorRulesResponse wrapper for the ListDetectorRules operation

func (ListDetectorRulesResponse) HTTPResponse ¶

func (response ListDetectorRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorRulesResponse) String ¶

func (response ListDetectorRulesResponse) String() string

type ListDetectorRulesSortByEnum ¶

type ListDetectorRulesSortByEnum string

ListDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListDetectorRulesSortByTimecreated ListDetectorRulesSortByEnum = "timeCreated"
	ListDetectorRulesSortByDisplayname ListDetectorRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorRulesSortByEnum

func GetListDetectorRulesSortByEnumValues ¶

func GetListDetectorRulesSortByEnumValues() []ListDetectorRulesSortByEnum

GetListDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRulesSortByEnum

func GetMappingListDetectorRulesSortByEnum ¶

func GetMappingListDetectorRulesSortByEnum(val string) (ListDetectorRulesSortByEnum, bool)

GetMappingListDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorRulesSortOrderEnum ¶

type ListDetectorRulesSortOrderEnum string

ListDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListDetectorRulesSortOrderAsc  ListDetectorRulesSortOrderEnum = "ASC"
	ListDetectorRulesSortOrderDesc ListDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorRulesSortOrderEnum

func GetListDetectorRulesSortOrderEnumValues ¶

func GetListDetectorRulesSortOrderEnumValues() []ListDetectorRulesSortOrderEnum

GetListDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRulesSortOrderEnum

func GetMappingListDetectorRulesSortOrderEnum ¶

func GetMappingListDetectorRulesSortOrderEnum(val string) (ListDetectorRulesSortOrderEnum, bool)

GetMappingListDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsLifecycleStateEnum ¶

type ListDetectorsLifecycleStateEnum string

ListDetectorsLifecycleStateEnum Enum with underlying type: string

const (
	ListDetectorsLifecycleStateCreating ListDetectorsLifecycleStateEnum = "CREATING"
	ListDetectorsLifecycleStateUpdating ListDetectorsLifecycleStateEnum = "UPDATING"
	ListDetectorsLifecycleStateActive   ListDetectorsLifecycleStateEnum = "ACTIVE"
	ListDetectorsLifecycleStateInactive ListDetectorsLifecycleStateEnum = "INACTIVE"
	ListDetectorsLifecycleStateDeleting ListDetectorsLifecycleStateEnum = "DELETING"
	ListDetectorsLifecycleStateDeleted  ListDetectorsLifecycleStateEnum = "DELETED"
	ListDetectorsLifecycleStateFailed   ListDetectorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDetectorsLifecycleStateEnum

func GetListDetectorsLifecycleStateEnumValues ¶

func GetListDetectorsLifecycleStateEnumValues() []ListDetectorsLifecycleStateEnum

GetListDetectorsLifecycleStateEnumValues Enumerates the set of values for ListDetectorsLifecycleStateEnum

func GetMappingListDetectorsLifecycleStateEnum ¶

func GetMappingListDetectorsLifecycleStateEnum(val string) (ListDetectorsLifecycleStateEnum, bool)

GetMappingListDetectorsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsRequest ¶

type ListDetectorsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListDetectorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDetectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDetectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListDetectorsRequest wrapper for the ListDetectors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectorsRequest.

func (ListDetectorsRequest) BinaryRequestBody ¶

func (request ListDetectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDetectorsRequest) HTTPRequest ¶

func (request ListDetectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDetectorsRequest) RetryPolicy ¶

func (request ListDetectorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDetectorsRequest) String ¶

func (request ListDetectorsRequest) String() string

func (ListDetectorsRequest) ValidateEnumValue ¶

func (request ListDetectorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDetectorsResponse ¶

type ListDetectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DetectorCollection instances
	DetectorCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDetectorsResponse wrapper for the ListDetectors operation

func (ListDetectorsResponse) HTTPResponse ¶

func (response ListDetectorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDetectorsResponse) String ¶

func (response ListDetectorsResponse) String() string

type ListDetectorsSortByEnum ¶

type ListDetectorsSortByEnum string

ListDetectorsSortByEnum Enum with underlying type: string

const (
	ListDetectorsSortByTimecreated ListDetectorsSortByEnum = "timeCreated"
	ListDetectorsSortByDisplayname ListDetectorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDetectorsSortByEnum

func GetListDetectorsSortByEnumValues ¶

func GetListDetectorsSortByEnumValues() []ListDetectorsSortByEnum

GetListDetectorsSortByEnumValues Enumerates the set of values for ListDetectorsSortByEnum

func GetMappingListDetectorsSortByEnum ¶

func GetMappingListDetectorsSortByEnum(val string) (ListDetectorsSortByEnum, bool)

GetMappingListDetectorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDetectorsSortOrderEnum ¶

type ListDetectorsSortOrderEnum string

ListDetectorsSortOrderEnum Enum with underlying type: string

const (
	ListDetectorsSortOrderAsc  ListDetectorsSortOrderEnum = "ASC"
	ListDetectorsSortOrderDesc ListDetectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDetectorsSortOrderEnum

func GetListDetectorsSortOrderEnumValues ¶

func GetListDetectorsSortOrderEnumValues() []ListDetectorsSortOrderEnum

GetListDetectorsSortOrderEnumValues Enumerates the set of values for ListDetectorsSortOrderEnum

func GetMappingListDetectorsSortOrderEnum ¶

func GetMappingListDetectorsSortOrderEnum(val string) (ListDetectorsSortOrderEnum, bool)

GetMappingListDetectorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListImpactedResourcesRequest ¶

type ListImpactedResourcesRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListImpactedResourcesRequest wrapper for the ListImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResourcesRequest.

func (ListImpactedResourcesRequest) BinaryRequestBody ¶

func (request ListImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListImpactedResourcesRequest) HTTPRequest ¶

func (request ListImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListImpactedResourcesRequest) RetryPolicy ¶

func (request ListImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListImpactedResourcesRequest) String ¶

func (request ListImpactedResourcesRequest) String() string

func (ListImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListImpactedResourcesResponse ¶

type ListImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ImpactedResourceCollection instances
	ImpactedResourceCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListImpactedResourcesResponse wrapper for the ListImpactedResources operation

func (ListImpactedResourcesResponse) HTTPResponse ¶

func (response ListImpactedResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListImpactedResourcesResponse) String ¶

func (response ListImpactedResourcesResponse) String() string

type ListImpactedResourcesSortByEnum ¶

type ListImpactedResourcesSortByEnum string

ListImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortByTimecreated ListImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListImpactedResourcesSortByEnum

func GetListImpactedResourcesSortByEnumValues ¶

func GetListImpactedResourcesSortByEnumValues() []ListImpactedResourcesSortByEnum

GetListImpactedResourcesSortByEnumValues Enumerates the set of values for ListImpactedResourcesSortByEnum

func GetMappingListImpactedResourcesSortByEnum ¶

func GetMappingListImpactedResourcesSortByEnum(val string) (ListImpactedResourcesSortByEnum, bool)

GetMappingListImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListImpactedResourcesSortOrderEnum ¶

type ListImpactedResourcesSortOrderEnum string

ListImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListImpactedResourcesSortOrderAsc  ListImpactedResourcesSortOrderEnum = "ASC"
	ListImpactedResourcesSortOrderDesc ListImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListImpactedResourcesSortOrderEnum

func GetListImpactedResourcesSortOrderEnumValues ¶

func GetListImpactedResourcesSortOrderEnumValues() []ListImpactedResourcesSortOrderEnum

GetListImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListImpactedResourcesSortOrderEnum

func GetMappingListImpactedResourcesSortOrderEnum ¶

func GetMappingListImpactedResourcesSortOrderEnum(val string) (ListImpactedResourcesSortOrderEnum, bool)

GetMappingListImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesLifecycleStateEnum ¶

type ListManagedListTypesLifecycleStateEnum string

ListManagedListTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListTypesLifecycleStateCreating ListManagedListTypesLifecycleStateEnum = "CREATING"
	ListManagedListTypesLifecycleStateUpdating ListManagedListTypesLifecycleStateEnum = "UPDATING"
	ListManagedListTypesLifecycleStateActive   ListManagedListTypesLifecycleStateEnum = "ACTIVE"
	ListManagedListTypesLifecycleStateInactive ListManagedListTypesLifecycleStateEnum = "INACTIVE"
	ListManagedListTypesLifecycleStateDeleting ListManagedListTypesLifecycleStateEnum = "DELETING"
	ListManagedListTypesLifecycleStateDeleted  ListManagedListTypesLifecycleStateEnum = "DELETED"
	ListManagedListTypesLifecycleStateFailed   ListManagedListTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListTypesLifecycleStateEnum

func GetListManagedListTypesLifecycleStateEnumValues ¶

func GetListManagedListTypesLifecycleStateEnumValues() []ListManagedListTypesLifecycleStateEnum

GetListManagedListTypesLifecycleStateEnumValues Enumerates the set of values for ListManagedListTypesLifecycleStateEnum

func GetMappingListManagedListTypesLifecycleStateEnum ¶

func GetMappingListManagedListTypesLifecycleStateEnum(val string) (ListManagedListTypesLifecycleStateEnum, bool)

GetMappingListManagedListTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesRequest ¶

type ListManagedListTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListManagedListTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedListTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListManagedListTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListTypesRequest wrapper for the ListManagedListTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypesRequest.

func (ListManagedListTypesRequest) BinaryRequestBody ¶

func (request ListManagedListTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListManagedListTypesRequest) HTTPRequest ¶

func (request ListManagedListTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListTypesRequest) RetryPolicy ¶

func (request ListManagedListTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListTypesRequest) String ¶

func (request ListManagedListTypesRequest) String() string

func (ListManagedListTypesRequest) ValidateEnumValue ¶

func (request ListManagedListTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedListTypesResponse ¶

type ListManagedListTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListTypeCollection instances
	ManagedListTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListTypesResponse wrapper for the ListManagedListTypes operation

func (ListManagedListTypesResponse) HTTPResponse ¶

func (response ListManagedListTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListTypesResponse) String ¶

func (response ListManagedListTypesResponse) String() string

type ListManagedListTypesSortByEnum ¶

type ListManagedListTypesSortByEnum string

ListManagedListTypesSortByEnum Enum with underlying type: string

const (
	ListManagedListTypesSortByDisplayname ListManagedListTypesSortByEnum = "displayName"
	ListManagedListTypesSortByRisklevel   ListManagedListTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListManagedListTypesSortByEnum

func GetListManagedListTypesSortByEnumValues ¶

func GetListManagedListTypesSortByEnumValues() []ListManagedListTypesSortByEnum

GetListManagedListTypesSortByEnumValues Enumerates the set of values for ListManagedListTypesSortByEnum

func GetMappingListManagedListTypesSortByEnum ¶

func GetMappingListManagedListTypesSortByEnum(val string) (ListManagedListTypesSortByEnum, bool)

GetMappingListManagedListTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListTypesSortOrderEnum ¶

type ListManagedListTypesSortOrderEnum string

ListManagedListTypesSortOrderEnum Enum with underlying type: string

const (
	ListManagedListTypesSortOrderAsc  ListManagedListTypesSortOrderEnum = "ASC"
	ListManagedListTypesSortOrderDesc ListManagedListTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListTypesSortOrderEnum

func GetListManagedListTypesSortOrderEnumValues ¶

func GetListManagedListTypesSortOrderEnumValues() []ListManagedListTypesSortOrderEnum

GetListManagedListTypesSortOrderEnumValues Enumerates the set of values for ListManagedListTypesSortOrderEnum

func GetMappingListManagedListTypesSortOrderEnum ¶

func GetMappingListManagedListTypesSortOrderEnum(val string) (ListManagedListTypesSortOrderEnum, bool)

GetMappingListManagedListTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsAccessLevelEnum ¶

type ListManagedListsAccessLevelEnum string

ListManagedListsAccessLevelEnum Enum with underlying type: string

const (
	ListManagedListsAccessLevelRestricted ListManagedListsAccessLevelEnum = "RESTRICTED"
	ListManagedListsAccessLevelAccessible ListManagedListsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListManagedListsAccessLevelEnum

func GetListManagedListsAccessLevelEnumValues ¶

func GetListManagedListsAccessLevelEnumValues() []ListManagedListsAccessLevelEnum

GetListManagedListsAccessLevelEnumValues Enumerates the set of values for ListManagedListsAccessLevelEnum

func GetMappingListManagedListsAccessLevelEnum ¶

func GetMappingListManagedListsAccessLevelEnum(val string) (ListManagedListsAccessLevelEnum, bool)

GetMappingListManagedListsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsLifecycleStateEnum ¶

type ListManagedListsLifecycleStateEnum string

ListManagedListsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagedListsLifecycleStateCreating ListManagedListsLifecycleStateEnum = "CREATING"
	ListManagedListsLifecycleStateUpdating ListManagedListsLifecycleStateEnum = "UPDATING"
	ListManagedListsLifecycleStateActive   ListManagedListsLifecycleStateEnum = "ACTIVE"
	ListManagedListsLifecycleStateInactive ListManagedListsLifecycleStateEnum = "INACTIVE"
	ListManagedListsLifecycleStateDeleting ListManagedListsLifecycleStateEnum = "DELETING"
	ListManagedListsLifecycleStateDeleted  ListManagedListsLifecycleStateEnum = "DELETED"
	ListManagedListsLifecycleStateFailed   ListManagedListsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagedListsLifecycleStateEnum

func GetListManagedListsLifecycleStateEnumValues ¶

func GetListManagedListsLifecycleStateEnumValues() []ListManagedListsLifecycleStateEnum

GetListManagedListsLifecycleStateEnumValues Enumerates the set of values for ListManagedListsLifecycleStateEnum

func GetMappingListManagedListsLifecycleStateEnum ¶

func GetMappingListManagedListsLifecycleStateEnum(val string) (ListManagedListsLifecycleStateEnum, bool)

GetMappingListManagedListsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsListTypeEnum ¶

type ListManagedListsListTypeEnum string

ListManagedListsListTypeEnum Enum with underlying type: string

const (
	ListManagedListsListTypeCidrBlock    ListManagedListsListTypeEnum = "CIDR_BLOCK"
	ListManagedListsListTypeUsers        ListManagedListsListTypeEnum = "USERS"
	ListManagedListsListTypeGroups       ListManagedListsListTypeEnum = "GROUPS"
	ListManagedListsListTypeIpv4address  ListManagedListsListTypeEnum = "IPV4ADDRESS"
	ListManagedListsListTypeIpv6address  ListManagedListsListTypeEnum = "IPV6ADDRESS"
	ListManagedListsListTypeResourceOcid ListManagedListsListTypeEnum = "RESOURCE_OCID"
	ListManagedListsListTypeRegion       ListManagedListsListTypeEnum = "REGION"
	ListManagedListsListTypeCountry      ListManagedListsListTypeEnum = "COUNTRY"
	ListManagedListsListTypeState        ListManagedListsListTypeEnum = "STATE"
	ListManagedListsListTypeCity         ListManagedListsListTypeEnum = "CITY"
	ListManagedListsListTypeTags         ListManagedListsListTypeEnum = "TAGS"
	ListManagedListsListTypeGeneric      ListManagedListsListTypeEnum = "GENERIC"
)

Set of constants representing the allowable values for ListManagedListsListTypeEnum

func GetListManagedListsListTypeEnumValues ¶

func GetListManagedListsListTypeEnumValues() []ListManagedListsListTypeEnum

GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum

func GetMappingListManagedListsListTypeEnum ¶

func GetMappingListManagedListsListTypeEnum(val string) (ListManagedListsListTypeEnum, bool)

GetMappingListManagedListsListTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsRequest ¶

type ListManagedListsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard are returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListManagedListsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The type of the ManagedList.
	ListType ListManagedListsListTypeEnum `mandatory:"false" contributesTo:"query" name:"listType" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListManagedListsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagedListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListManagedListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListManagedListsRequest wrapper for the ListManagedLists operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedListsRequest.

func (ListManagedListsRequest) BinaryRequestBody ¶

func (request ListManagedListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListManagedListsRequest) HTTPRequest ¶

func (request ListManagedListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagedListsRequest) RetryPolicy ¶

func (request ListManagedListsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListManagedListsRequest) String ¶

func (request ListManagedListsRequest) String() string

func (ListManagedListsRequest) ValidateEnumValue ¶

func (request ListManagedListsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListManagedListsResponse ¶

type ListManagedListsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ManagedListCollection instances
	ManagedListCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListManagedListsResponse wrapper for the ListManagedLists operation

func (ListManagedListsResponse) HTTPResponse ¶

func (response ListManagedListsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListManagedListsResponse) String ¶

func (response ListManagedListsResponse) String() string

type ListManagedListsSortByEnum ¶

type ListManagedListsSortByEnum string

ListManagedListsSortByEnum Enum with underlying type: string

const (
	ListManagedListsSortByTimecreated ListManagedListsSortByEnum = "timeCreated"
	ListManagedListsSortByDisplayname ListManagedListsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagedListsSortByEnum

func GetListManagedListsSortByEnumValues ¶

func GetListManagedListsSortByEnumValues() []ListManagedListsSortByEnum

GetListManagedListsSortByEnumValues Enumerates the set of values for ListManagedListsSortByEnum

func GetMappingListManagedListsSortByEnum ¶

func GetMappingListManagedListsSortByEnum(val string) (ListManagedListsSortByEnum, bool)

GetMappingListManagedListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListManagedListsSortOrderEnum ¶

type ListManagedListsSortOrderEnum string

ListManagedListsSortOrderEnum Enum with underlying type: string

const (
	ListManagedListsSortOrderAsc  ListManagedListsSortOrderEnum = "ASC"
	ListManagedListsSortOrderDesc ListManagedListsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagedListsSortOrderEnum

func GetListManagedListsSortOrderEnumValues ¶

func GetListManagedListsSortOrderEnumValues() []ListManagedListsSortOrderEnum

GetListManagedListsSortOrderEnumValues Enumerates the set of values for ListManagedListsSortOrderEnum

func GetMappingListManagedListsSortOrderEnum ¶

func GetMappingListManagedListsSortOrderEnum(val string) (ListManagedListsSortOrderEnum, bool)

GetMappingListManagedListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPoliciesRequest ¶

type ListPoliciesRequest 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"`

	// 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 ListPoliciesSortOrderEnum `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 ListPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// 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
}

ListPoliciesRequest wrapper for the ListPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListPolicies.go.html to see an example of how to use ListPoliciesRequest.

func (ListPoliciesRequest) BinaryRequestBody ¶

func (request ListPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPoliciesRequest) HTTPRequest ¶

func (request ListPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPoliciesRequest) RetryPolicy ¶

func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPoliciesRequest) String ¶

func (request ListPoliciesRequest) String() string

func (ListPoliciesRequest) ValidateEnumValue ¶

func (request ListPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPoliciesResponse ¶

type ListPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PolicyCollection instances
	PolicyCollection `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"`
}

ListPoliciesResponse wrapper for the ListPolicies operation

func (ListPoliciesResponse) HTTPResponse ¶

func (response ListPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPoliciesResponse) String ¶

func (response ListPoliciesResponse) String() string

type ListPoliciesSortByEnum ¶

type ListPoliciesSortByEnum string

ListPoliciesSortByEnum Enum with underlying type: string

const (
	ListPoliciesSortByTimecreated ListPoliciesSortByEnum = "timeCreated"
	ListPoliciesSortByDisplayname ListPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPoliciesSortByEnum

func GetListPoliciesSortByEnumValues ¶

func GetListPoliciesSortByEnumValues() []ListPoliciesSortByEnum

GetListPoliciesSortByEnumValues Enumerates the set of values for ListPoliciesSortByEnum

func GetMappingListPoliciesSortByEnum ¶

func GetMappingListPoliciesSortByEnum(val string) (ListPoliciesSortByEnum, bool)

GetMappingListPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPoliciesSortOrderEnum ¶

type ListPoliciesSortOrderEnum string

ListPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListPoliciesSortOrderAsc  ListPoliciesSortOrderEnum = "ASC"
	ListPoliciesSortOrderDesc ListPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPoliciesSortOrderEnum

func GetListPoliciesSortOrderEnumValues ¶

func GetListPoliciesSortOrderEnumValues() []ListPoliciesSortOrderEnum

GetListPoliciesSortOrderEnumValues Enumerates the set of values for ListPoliciesSortOrderEnum

func GetMappingListPoliciesSortOrderEnum ¶

func GetMappingListPoliciesSortOrderEnum(val string) (ListPoliciesSortOrderEnum, bool)

GetMappingListPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEndpointsRequest ¶

type ListProblemEndpointsRequest 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 ListProblemEndpointsSortOrderEnum `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 ListProblemEndpointsSortByEnum `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
}

ListProblemEndpointsRequest wrapper for the ListProblemEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemEndpoints.go.html to see an example of how to use ListProblemEndpointsRequest.

func (ListProblemEndpointsRequest) BinaryRequestBody ¶

func (request ListProblemEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemEndpointsRequest) HTTPRequest ¶

func (request ListProblemEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemEndpointsRequest) RetryPolicy ¶

func (request ListProblemEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemEndpointsRequest) String ¶

func (request ListProblemEndpointsRequest) String() string

func (ListProblemEndpointsRequest) ValidateEnumValue ¶

func (request ListProblemEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemEndpointsResponse ¶

type ListProblemEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemEndpointCollection instances
	ProblemEndpointCollection `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"`
}

ListProblemEndpointsResponse wrapper for the ListProblemEndpoints operation

func (ListProblemEndpointsResponse) HTTPResponse ¶

func (response ListProblemEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemEndpointsResponse) String ¶

func (response ListProblemEndpointsResponse) String() string

type ListProblemEndpointsSortByEnum ¶

type ListProblemEndpointsSortByEnum string

ListProblemEndpointsSortByEnum Enum with underlying type: string

const (
	ListProblemEndpointsSortByTimecreated ListProblemEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemEndpointsSortByEnum

func GetListProblemEndpointsSortByEnumValues ¶

func GetListProblemEndpointsSortByEnumValues() []ListProblemEndpointsSortByEnum

GetListProblemEndpointsSortByEnumValues Enumerates the set of values for ListProblemEndpointsSortByEnum

func GetMappingListProblemEndpointsSortByEnum ¶

func GetMappingListProblemEndpointsSortByEnum(val string) (ListProblemEndpointsSortByEnum, bool)

GetMappingListProblemEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEndpointsSortOrderEnum ¶

type ListProblemEndpointsSortOrderEnum string

ListProblemEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListProblemEndpointsSortOrderAsc  ListProblemEndpointsSortOrderEnum = "ASC"
	ListProblemEndpointsSortOrderDesc ListProblemEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemEndpointsSortOrderEnum

func GetListProblemEndpointsSortOrderEnumValues ¶

func GetListProblemEndpointsSortOrderEnumValues() []ListProblemEndpointsSortOrderEnum

GetListProblemEndpointsSortOrderEnumValues Enumerates the set of values for ListProblemEndpointsSortOrderEnum

func GetMappingListProblemEndpointsSortOrderEnum ¶

func GetMappingListProblemEndpointsSortOrderEnum(val string) (ListProblemEndpointsSortOrderEnum, bool)

GetMappingListProblemEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEntitiesRequest ¶ added in v65.17.0

type ListProblemEntitiesRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListProblemEntitiesSortOrderEnum `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 ListProblemEntitiesSortByEnum `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
}

ListProblemEntitiesRequest wrapper for the ListProblemEntities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemEntities.go.html to see an example of how to use ListProblemEntitiesRequest.

func (ListProblemEntitiesRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemEntitiesRequest) HTTPRequest ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemEntitiesRequest) RetryPolicy ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemEntitiesRequest) String ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) String() string

func (ListProblemEntitiesRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListProblemEntitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemEntitiesResponse ¶ added in v65.17.0

type ListProblemEntitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemEntityCollection instances
	ProblemEntityCollection `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"`
}

ListProblemEntitiesResponse wrapper for the ListProblemEntities operation

func (ListProblemEntitiesResponse) HTTPResponse ¶ added in v65.17.0

func (response ListProblemEntitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemEntitiesResponse) String ¶ added in v65.17.0

func (response ListProblemEntitiesResponse) String() string

type ListProblemEntitiesSortByEnum ¶ added in v65.17.0

type ListProblemEntitiesSortByEnum string

ListProblemEntitiesSortByEnum Enum with underlying type: string

const (
	ListProblemEntitiesSortByTimecreated ListProblemEntitiesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemEntitiesSortByEnum

func GetListProblemEntitiesSortByEnumValues ¶ added in v65.17.0

func GetListProblemEntitiesSortByEnumValues() []ListProblemEntitiesSortByEnum

GetListProblemEntitiesSortByEnumValues Enumerates the set of values for ListProblemEntitiesSortByEnum

func GetMappingListProblemEntitiesSortByEnum ¶ added in v65.17.0

func GetMappingListProblemEntitiesSortByEnum(val string) (ListProblemEntitiesSortByEnum, bool)

GetMappingListProblemEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemEntitiesSortOrderEnum ¶ added in v65.17.0

type ListProblemEntitiesSortOrderEnum string

ListProblemEntitiesSortOrderEnum Enum with underlying type: string

const (
	ListProblemEntitiesSortOrderAsc  ListProblemEntitiesSortOrderEnum = "ASC"
	ListProblemEntitiesSortOrderDesc ListProblemEntitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemEntitiesSortOrderEnum

func GetListProblemEntitiesSortOrderEnumValues ¶ added in v65.17.0

func GetListProblemEntitiesSortOrderEnumValues() []ListProblemEntitiesSortOrderEnum

GetListProblemEntitiesSortOrderEnumValues Enumerates the set of values for ListProblemEntitiesSortOrderEnum

func GetMappingListProblemEntitiesSortOrderEnum ¶ added in v65.17.0

func GetMappingListProblemEntitiesSortOrderEnum(val string) (ListProblemEntitiesSortOrderEnum, bool)

GetMappingListProblemEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemHistoriesRequest ¶

type ListProblemHistoriesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListProblemHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default.
	SortBy ListProblemHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemHistoriesRequest wrapper for the ListProblemHistories operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistoriesRequest.

func (ListProblemHistoriesRequest) BinaryRequestBody ¶

func (request ListProblemHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemHistoriesRequest) HTTPRequest ¶

func (request ListProblemHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemHistoriesRequest) RetryPolicy ¶

func (request ListProblemHistoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemHistoriesRequest) String ¶

func (request ListProblemHistoriesRequest) String() string

func (ListProblemHistoriesRequest) ValidateEnumValue ¶

func (request ListProblemHistoriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemHistoriesResponse ¶

type ListProblemHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemHistoryCollection instances
	ProblemHistoryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemHistoriesResponse wrapper for the ListProblemHistories operation

func (ListProblemHistoriesResponse) HTTPResponse ¶

func (response ListProblemHistoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemHistoriesResponse) String ¶

func (response ListProblemHistoriesResponse) String() string

type ListProblemHistoriesSortByEnum ¶

type ListProblemHistoriesSortByEnum string

ListProblemHistoriesSortByEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortByTimecreated ListProblemHistoriesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListProblemHistoriesSortByEnum

func GetListProblemHistoriesSortByEnumValues ¶

func GetListProblemHistoriesSortByEnumValues() []ListProblemHistoriesSortByEnum

GetListProblemHistoriesSortByEnumValues Enumerates the set of values for ListProblemHistoriesSortByEnum

func GetMappingListProblemHistoriesSortByEnum ¶

func GetMappingListProblemHistoriesSortByEnum(val string) (ListProblemHistoriesSortByEnum, bool)

GetMappingListProblemHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemHistoriesSortOrderEnum ¶

type ListProblemHistoriesSortOrderEnum string

ListProblemHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListProblemHistoriesSortOrderAsc  ListProblemHistoriesSortOrderEnum = "ASC"
	ListProblemHistoriesSortOrderDesc ListProblemHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemHistoriesSortOrderEnum

func GetListProblemHistoriesSortOrderEnumValues ¶

func GetListProblemHistoriesSortOrderEnumValues() []ListProblemHistoriesSortOrderEnum

GetListProblemHistoriesSortOrderEnumValues Enumerates the set of values for ListProblemHistoriesSortOrderEnum

func GetMappingListProblemHistoriesSortOrderEnum ¶

func GetMappingListProblemHistoriesSortOrderEnum(val string) (ListProblemHistoriesSortOrderEnum, bool)

GetMappingListProblemHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsAccessLevelEnum ¶

type ListProblemsAccessLevelEnum string

ListProblemsAccessLevelEnum Enum with underlying type: string

const (
	ListProblemsAccessLevelRestricted ListProblemsAccessLevelEnum = "RESTRICTED"
	ListProblemsAccessLevelAccessible ListProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListProblemsAccessLevelEnum

func GetListProblemsAccessLevelEnumValues ¶

func GetListProblemsAccessLevelEnumValues() []ListProblemsAccessLevelEnum

GetListProblemsAccessLevelEnumValues Enumerates the set of values for ListProblemsAccessLevelEnum

func GetMappingListProblemsAccessLevelEnum ¶

func GetMappingListProblemsAccessLevelEnum(val string) (ListProblemsAccessLevelEnum, bool)

GetMappingListProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsDetectorTypeEnum ¶

type ListProblemsDetectorTypeEnum string

ListProblemsDetectorTypeEnum Enum with underlying type: string

const (
	ListProblemsDetectorTypeActivityDetector      ListProblemsDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR"
	ListProblemsDetectorTypeConfigurationDetector ListProblemsDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR"
	ListProblemsDetectorTypeThreatDetector        ListProblemsDetectorTypeEnum = "IAAS_THREAT_DETECTOR"
	ListProblemsDetectorTypeLogInsightDetector    ListProblemsDetectorTypeEnum = "IAAS_LOG_INSIGHT_DETECTOR"
)

Set of constants representing the allowable values for ListProblemsDetectorTypeEnum

func GetListProblemsDetectorTypeEnumValues ¶

func GetListProblemsDetectorTypeEnumValues() []ListProblemsDetectorTypeEnum

GetListProblemsDetectorTypeEnumValues Enumerates the set of values for ListProblemsDetectorTypeEnum

func GetMappingListProblemsDetectorTypeEnum ¶

func GetMappingListProblemsDetectorTypeEnum(val string) (ListProblemsDetectorTypeEnum, bool)

GetMappingListProblemsDetectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsLifecycleDetailEnum ¶

type ListProblemsLifecycleDetailEnum string

ListProblemsLifecycleDetailEnum Enum with underlying type: string

const (
	ListProblemsLifecycleDetailOpen      ListProblemsLifecycleDetailEnum = "OPEN"
	ListProblemsLifecycleDetailResolved  ListProblemsLifecycleDetailEnum = "RESOLVED"
	ListProblemsLifecycleDetailDismissed ListProblemsLifecycleDetailEnum = "DISMISSED"
	ListProblemsLifecycleDetailDeleted   ListProblemsLifecycleDetailEnum = "DELETED"
)

Set of constants representing the allowable values for ListProblemsLifecycleDetailEnum

func GetListProblemsLifecycleDetailEnumValues ¶

func GetListProblemsLifecycleDetailEnumValues() []ListProblemsLifecycleDetailEnum

GetListProblemsLifecycleDetailEnumValues Enumerates the set of values for ListProblemsLifecycleDetailEnum

func GetMappingListProblemsLifecycleDetailEnum ¶

func GetMappingListProblemsLifecycleDetailEnum(val string) (ListProblemsLifecycleDetailEnum, bool)

GetMappingListProblemsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsLifecycleStateEnum ¶

type ListProblemsLifecycleStateEnum string

ListProblemsLifecycleStateEnum Enum with underlying type: string

const (
	ListProblemsLifecycleStateActive   ListProblemsLifecycleStateEnum = "ACTIVE"
	ListProblemsLifecycleStateInactive ListProblemsLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ListProblemsLifecycleStateEnum

func GetListProblemsLifecycleStateEnumValues ¶

func GetListProblemsLifecycleStateEnumValues() []ListProblemsLifecycleStateEnum

GetListProblemsLifecycleStateEnumValues Enumerates the set of values for ListProblemsLifecycleStateEnum

func GetMappingListProblemsLifecycleStateEnum ¶

func GetMappingListProblemsLifecycleStateEnum(val string) (ListProblemsLifecycleStateEnum, bool)

GetMappingListProblemsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsProblemCategoryEnum ¶ added in v65.3.0

type ListProblemsProblemCategoryEnum string

ListProblemsProblemCategoryEnum Enum with underlying type: string

const (
	ListProblemsProblemCategorySecurityZone ListProblemsProblemCategoryEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for ListProblemsProblemCategoryEnum

func GetListProblemsProblemCategoryEnumValues ¶ added in v65.3.0

func GetListProblemsProblemCategoryEnumValues() []ListProblemsProblemCategoryEnum

GetListProblemsProblemCategoryEnumValues Enumerates the set of values for ListProblemsProblemCategoryEnum

func GetMappingListProblemsProblemCategoryEnum ¶ added in v65.3.0

func GetMappingListProblemsProblemCategoryEnum(val string) (ListProblemsProblemCategoryEnum, bool)

GetMappingListProblemsProblemCategoryEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsRequest ¶

type ListProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to 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 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 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 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"`

	// Setting this to `SECURITY_ZONE` returns only security-zone related violations.
	ProblemCategory ListProblemsProblemCategoryEnum `mandatory:"false" contributesTo:"query" name:"problemCategory" 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 ListProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The ID of the resource associated with the problem.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListProblemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for riskLevel, timeLastDetected and resourceName is descending. Default order for riskLevel and resourceName is ascending. If no value is specified timeLastDetected is default.
	SortBy ListProblemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListProblemsRequest wrapper for the ListProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListProblems.go.html to see an example of how to use ListProblemsRequest.

func (ListProblemsRequest) BinaryRequestBody ¶

func (request ListProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProblemsRequest) HTTPRequest ¶

func (request ListProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProblemsRequest) RetryPolicy ¶

func (request ListProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProblemsRequest) String ¶

func (request ListProblemsRequest) String() string

func (ListProblemsRequest) ValidateEnumValue ¶

func (request ListProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProblemsResponse ¶

type ListProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemCollection instances
	ProblemCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListProblemsResponse wrapper for the ListProblems operation

func (ListProblemsResponse) HTTPResponse ¶

func (response ListProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProblemsResponse) String ¶

func (response ListProblemsResponse) String() string

type ListProblemsSortByEnum ¶

type ListProblemsSortByEnum string

ListProblemsSortByEnum Enum with underlying type: string

const (
	ListProblemsSortByRisklevel        ListProblemsSortByEnum = "riskLevel"
	ListProblemsSortByTimelastdetected ListProblemsSortByEnum = "timeLastDetected"
	ListProblemsSortByResourcename     ListProblemsSortByEnum = "resourceName"
)

Set of constants representing the allowable values for ListProblemsSortByEnum

func GetListProblemsSortByEnumValues ¶

func GetListProblemsSortByEnumValues() []ListProblemsSortByEnum

GetListProblemsSortByEnumValues Enumerates the set of values for ListProblemsSortByEnum

func GetMappingListProblemsSortByEnum ¶

func GetMappingListProblemsSortByEnum(val string) (ListProblemsSortByEnum, bool)

GetMappingListProblemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProblemsSortOrderEnum ¶

type ListProblemsSortOrderEnum string

ListProblemsSortOrderEnum Enum with underlying type: string

const (
	ListProblemsSortOrderAsc  ListProblemsSortOrderEnum = "ASC"
	ListProblemsSortOrderDesc ListProblemsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListProblemsSortOrderEnum

func GetListProblemsSortOrderEnumValues ¶

func GetListProblemsSortOrderEnumValues() []ListProblemsSortOrderEnum

GetListProblemsSortOrderEnumValues Enumerates the set of values for ListProblemsSortOrderEnum

func GetMappingListProblemsSortOrderEnum ¶

func GetMappingListProblemsSortOrderEnum(val string) (ListProblemsSortOrderEnum, bool)

GetMappingListProblemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsAccessLevelEnum ¶

type ListRecommendationsAccessLevelEnum string

ListRecommendationsAccessLevelEnum Enum with underlying type: string

const (
	ListRecommendationsAccessLevelRestricted ListRecommendationsAccessLevelEnum = "RESTRICTED"
	ListRecommendationsAccessLevelAccessible ListRecommendationsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListRecommendationsAccessLevelEnum

func GetListRecommendationsAccessLevelEnumValues ¶

func GetListRecommendationsAccessLevelEnumValues() []ListRecommendationsAccessLevelEnum

GetListRecommendationsAccessLevelEnumValues Enumerates the set of values for ListRecommendationsAccessLevelEnum

func GetMappingListRecommendationsAccessLevelEnum ¶

func GetMappingListRecommendationsAccessLevelEnum(val string) (ListRecommendationsAccessLevelEnum, bool)

GetMappingListRecommendationsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsLifecycleDetailEnum ¶

type ListRecommendationsLifecycleDetailEnum string

ListRecommendationsLifecycleDetailEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleDetailOpen      ListRecommendationsLifecycleDetailEnum = "OPEN"
	ListRecommendationsLifecycleDetailResolved  ListRecommendationsLifecycleDetailEnum = "RESOLVED"
	ListRecommendationsLifecycleDetailDismissed ListRecommendationsLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleDetailEnum

func GetListRecommendationsLifecycleDetailEnumValues ¶

func GetListRecommendationsLifecycleDetailEnumValues() []ListRecommendationsLifecycleDetailEnum

GetListRecommendationsLifecycleDetailEnumValues Enumerates the set of values for ListRecommendationsLifecycleDetailEnum

func GetMappingListRecommendationsLifecycleDetailEnum ¶

func GetMappingListRecommendationsLifecycleDetailEnum(val string) (ListRecommendationsLifecycleDetailEnum, bool)

GetMappingListRecommendationsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsLifecycleStateEnum ¶

type ListRecommendationsLifecycleStateEnum string

ListRecommendationsLifecycleStateEnum Enum with underlying type: string

const (
	ListRecommendationsLifecycleStateCreating ListRecommendationsLifecycleStateEnum = "CREATING"
	ListRecommendationsLifecycleStateUpdating ListRecommendationsLifecycleStateEnum = "UPDATING"
	ListRecommendationsLifecycleStateActive   ListRecommendationsLifecycleStateEnum = "ACTIVE"
	ListRecommendationsLifecycleStateInactive ListRecommendationsLifecycleStateEnum = "INACTIVE"
	ListRecommendationsLifecycleStateDeleting ListRecommendationsLifecycleStateEnum = "DELETING"
	ListRecommendationsLifecycleStateDeleted  ListRecommendationsLifecycleStateEnum = "DELETED"
	ListRecommendationsLifecycleStateFailed   ListRecommendationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListRecommendationsLifecycleStateEnum

func GetListRecommendationsLifecycleStateEnumValues ¶

func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum

GetListRecommendationsLifecycleStateEnumValues Enumerates the set of values for ListRecommendationsLifecycleStateEnum

func GetMappingListRecommendationsLifecycleStateEnum ¶

func GetMappingListRecommendationsLifecycleStateEnum(val string) (ListRecommendationsLifecycleStateEnum, bool)

GetMappingListRecommendationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsRequest ¶

type ListRecommendationsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel is default.
	SortBy ListRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListRecommendationsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListRecommendationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleDetail ListRecommendationsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListRecommendationsRequest wrapper for the ListRecommendations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendationsRequest.

func (ListRecommendationsRequest) BinaryRequestBody ¶

func (request ListRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRecommendationsRequest) HTTPRequest ¶

func (request ListRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRecommendationsRequest) RetryPolicy ¶

func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRecommendationsRequest) String ¶

func (request ListRecommendationsRequest) String() string

func (ListRecommendationsRequest) ValidateEnumValue ¶

func (request ListRecommendationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListRecommendationsResponse ¶

type ListRecommendationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RecommendationSummaryCollection instances
	RecommendationSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListRecommendationsResponse wrapper for the ListRecommendations operation

func (ListRecommendationsResponse) HTTPResponse ¶

func (response ListRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRecommendationsResponse) String ¶

func (response ListRecommendationsResponse) String() string

type ListRecommendationsSortByEnum ¶

type ListRecommendationsSortByEnum string

ListRecommendationsSortByEnum Enum with underlying type: string

const (
	ListRecommendationsSortByRisklevel   ListRecommendationsSortByEnum = "riskLevel"
	ListRecommendationsSortByTimecreated ListRecommendationsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListRecommendationsSortByEnum

func GetListRecommendationsSortByEnumValues ¶

func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum

GetListRecommendationsSortByEnumValues Enumerates the set of values for ListRecommendationsSortByEnum

func GetMappingListRecommendationsSortByEnum ¶

func GetMappingListRecommendationsSortByEnum(val string) (ListRecommendationsSortByEnum, bool)

GetMappingListRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRecommendationsSortOrderEnum ¶

type ListRecommendationsSortOrderEnum string

ListRecommendationsSortOrderEnum Enum with underlying type: string

const (
	ListRecommendationsSortOrderAsc  ListRecommendationsSortOrderEnum = "ASC"
	ListRecommendationsSortOrderDesc ListRecommendationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRecommendationsSortOrderEnum

func GetListRecommendationsSortOrderEnumValues ¶

func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum

GetListRecommendationsSortOrderEnumValues Enumerates the set of values for ListRecommendationsSortOrderEnum

func GetMappingListRecommendationsSortOrderEnum ¶

func GetMappingListRecommendationsSortOrderEnum(val string) (ListRecommendationsSortOrderEnum, bool)

GetMappingListRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileEndpointsRequest ¶

type ListResourceProfileEndpointsRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// 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 ListResourceProfileEndpointsSortOrderEnum `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 ListResourceProfileEndpointsSortByEnum `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
}

ListResourceProfileEndpointsRequest wrapper for the ListResourceProfileEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfileEndpoints.go.html to see an example of how to use ListResourceProfileEndpointsRequest.

func (ListResourceProfileEndpointsRequest) BinaryRequestBody ¶

func (request ListResourceProfileEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfileEndpointsRequest) HTTPRequest ¶

func (request ListResourceProfileEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfileEndpointsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfileEndpointsRequest) String ¶

func (ListResourceProfileEndpointsRequest) ValidateEnumValue ¶

func (request ListResourceProfileEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfileEndpointsResponse ¶

type ListResourceProfileEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileEndpointCollection instances
	ResourceProfileEndpointCollection `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"`
}

ListResourceProfileEndpointsResponse wrapper for the ListResourceProfileEndpoints operation

func (ListResourceProfileEndpointsResponse) HTTPResponse ¶

func (response ListResourceProfileEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceProfileEndpointsResponse) String ¶

func (response ListResourceProfileEndpointsResponse) String() string

type ListResourceProfileEndpointsSortByEnum ¶

type ListResourceProfileEndpointsSortByEnum string

ListResourceProfileEndpointsSortByEnum Enum with underlying type: string

const (
	ListResourceProfileEndpointsSortByTimecreated ListResourceProfileEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListResourceProfileEndpointsSortByEnum

func GetListResourceProfileEndpointsSortByEnumValues ¶

func GetListResourceProfileEndpointsSortByEnumValues() []ListResourceProfileEndpointsSortByEnum

GetListResourceProfileEndpointsSortByEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortByEnum

func GetMappingListResourceProfileEndpointsSortByEnum ¶

func GetMappingListResourceProfileEndpointsSortByEnum(val string) (ListResourceProfileEndpointsSortByEnum, bool)

GetMappingListResourceProfileEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileEndpointsSortOrderEnum ¶

type ListResourceProfileEndpointsSortOrderEnum string

ListResourceProfileEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfileEndpointsSortOrderAsc  ListResourceProfileEndpointsSortOrderEnum = "ASC"
	ListResourceProfileEndpointsSortOrderDesc ListResourceProfileEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfileEndpointsSortOrderEnum

func GetListResourceProfileEndpointsSortOrderEnumValues ¶

func GetListResourceProfileEndpointsSortOrderEnumValues() []ListResourceProfileEndpointsSortOrderEnum

GetListResourceProfileEndpointsSortOrderEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortOrderEnum

func GetMappingListResourceProfileEndpointsSortOrderEnum ¶

func GetMappingListResourceProfileEndpointsSortOrderEnum(val string) (ListResourceProfileEndpointsSortOrderEnum, bool)

GetMappingListResourceProfileEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileImpactedResourcesRequest ¶

type ListResourceProfileImpactedResourcesRequest struct {

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"true" contributesTo:"path" name:"resourceProfileId"`

	// 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 ListResourceProfileImpactedResourcesSortOrderEnum `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 ListResourceProfileImpactedResourcesSortByEnum `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
}

ListResourceProfileImpactedResourcesRequest wrapper for the ListResourceProfileImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfileImpactedResources.go.html to see an example of how to use ListResourceProfileImpactedResourcesRequest.

func (ListResourceProfileImpactedResourcesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfileImpactedResourcesRequest) HTTPRequest ¶

func (request ListResourceProfileImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfileImpactedResourcesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfileImpactedResourcesRequest) String ¶

func (ListResourceProfileImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListResourceProfileImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfileImpactedResourcesResponse ¶

type ListResourceProfileImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileImpactedResourceCollection instances
	ResourceProfileImpactedResourceCollection `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"`
}

ListResourceProfileImpactedResourcesResponse wrapper for the ListResourceProfileImpactedResources operation

func (ListResourceProfileImpactedResourcesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListResourceProfileImpactedResourcesResponse) String ¶

type ListResourceProfileImpactedResourcesSortByEnum ¶

type ListResourceProfileImpactedResourcesSortByEnum string

ListResourceProfileImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListResourceProfileImpactedResourcesSortByTimecreated ListResourceProfileImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortByEnum

func GetListResourceProfileImpactedResourcesSortByEnumValues ¶

func GetListResourceProfileImpactedResourcesSortByEnumValues() []ListResourceProfileImpactedResourcesSortByEnum

GetListResourceProfileImpactedResourcesSortByEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortByEnum

func GetMappingListResourceProfileImpactedResourcesSortByEnum ¶

func GetMappingListResourceProfileImpactedResourcesSortByEnum(val string) (ListResourceProfileImpactedResourcesSortByEnum, bool)

GetMappingListResourceProfileImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfileImpactedResourcesSortOrderEnum ¶

type ListResourceProfileImpactedResourcesSortOrderEnum string

ListResourceProfileImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfileImpactedResourcesSortOrderAsc  ListResourceProfileImpactedResourcesSortOrderEnum = "ASC"
	ListResourceProfileImpactedResourcesSortOrderDesc ListResourceProfileImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortOrderEnum

func GetListResourceProfileImpactedResourcesSortOrderEnumValues ¶

func GetListResourceProfileImpactedResourcesSortOrderEnumValues() []ListResourceProfileImpactedResourcesSortOrderEnum

GetListResourceProfileImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortOrderEnum

func GetMappingListResourceProfileImpactedResourcesSortOrderEnum ¶

func GetMappingListResourceProfileImpactedResourcesSortOrderEnum(val string) (ListResourceProfileImpactedResourcesSortOrderEnum, bool)

GetMappingListResourceProfileImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesAccessLevelEnum ¶

type ListResourceProfilesAccessLevelEnum string

ListResourceProfilesAccessLevelEnum Enum with underlying type: string

const (
	ListResourceProfilesAccessLevelRestricted ListResourceProfilesAccessLevelEnum = "RESTRICTED"
	ListResourceProfilesAccessLevelAccessible ListResourceProfilesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResourceProfilesAccessLevelEnum

func GetListResourceProfilesAccessLevelEnumValues ¶

func GetListResourceProfilesAccessLevelEnumValues() []ListResourceProfilesAccessLevelEnum

GetListResourceProfilesAccessLevelEnumValues Enumerates the set of values for ListResourceProfilesAccessLevelEnum

func GetMappingListResourceProfilesAccessLevelEnum ¶

func GetMappingListResourceProfilesAccessLevelEnum(val string) (ListResourceProfilesAccessLevelEnum, bool)

GetMappingListResourceProfilesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesRequest ¶

type ListResourceProfilesRequest 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 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 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 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 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 ListResourceProfilesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return only resources that match the list of resource types given
	ResourceTypes []string `contributesTo:"query" name:"resourceTypes" collectionFormat:"multi"`

	// risk score filter
	RiskScoreGreaterThanOrEqualTo *float64 `mandatory:"false" contributesTo:"query" name:"riskScoreGreaterThanOrEqualTo"`

	// risk score filter
	RiskScoreLessThanOrEqualTo *float64 `mandatory:"false" contributesTo:"query" name:"riskScoreLessThanOrEqualTo"`

	// A filter to return only resources that match the list of techniques given
	Techniques []string `contributesTo:"query" name:"techniques" collectionFormat:"multi"`

	// A filter to return only resources that match the list of tactics given.
	Tactics []string `contributesTo:"query" name:"tactics" collectionFormat:"multi"`

	// 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 ListResourceProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort resource profiles. Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default.
	SortBy ListResourceProfilesSortByEnum `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
}

ListResourceProfilesRequest wrapper for the ListResourceProfiles operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceProfiles.go.html to see an example of how to use ListResourceProfilesRequest.

func (ListResourceProfilesRequest) BinaryRequestBody ¶

func (request ListResourceProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceProfilesRequest) HTTPRequest ¶

func (request ListResourceProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceProfilesRequest) RetryPolicy ¶

func (request ListResourceProfilesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceProfilesRequest) String ¶

func (request ListResourceProfilesRequest) String() string

func (ListResourceProfilesRequest) ValidateEnumValue ¶

func (request ListResourceProfilesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceProfilesResponse ¶

type ListResourceProfilesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileCollection instances
	ResourceProfileCollection `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"`
}

ListResourceProfilesResponse wrapper for the ListResourceProfiles operation

func (ListResourceProfilesResponse) HTTPResponse ¶

func (response ListResourceProfilesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceProfilesResponse) String ¶

func (response ListResourceProfilesResponse) String() string

type ListResourceProfilesSortByEnum ¶

type ListResourceProfilesSortByEnum string

ListResourceProfilesSortByEnum Enum with underlying type: string

const (
	ListResourceProfilesSortByRiskscore         ListResourceProfilesSortByEnum = "riskScore"
	ListResourceProfilesSortByRiskscoregrowth   ListResourceProfilesSortByEnum = "riskScoreGrowth"
	ListResourceProfilesSortByTimefirstdetected ListResourceProfilesSortByEnum = "timeFirstDetected"
	ListResourceProfilesSortByTimelastdetected  ListResourceProfilesSortByEnum = "timeLastDetected"
	ListResourceProfilesSortBySightingscount    ListResourceProfilesSortByEnum = "sightingsCount"
	ListResourceProfilesSortByDisplayname       ListResourceProfilesSortByEnum = "displayName"
	ListResourceProfilesSortByType              ListResourceProfilesSortByEnum = "type"
)

Set of constants representing the allowable values for ListResourceProfilesSortByEnum

func GetListResourceProfilesSortByEnumValues ¶

func GetListResourceProfilesSortByEnumValues() []ListResourceProfilesSortByEnum

GetListResourceProfilesSortByEnumValues Enumerates the set of values for ListResourceProfilesSortByEnum

func GetMappingListResourceProfilesSortByEnum ¶

func GetMappingListResourceProfilesSortByEnum(val string) (ListResourceProfilesSortByEnum, bool)

GetMappingListResourceProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceProfilesSortOrderEnum ¶

type ListResourceProfilesSortOrderEnum string

ListResourceProfilesSortOrderEnum Enum with underlying type: string

const (
	ListResourceProfilesSortOrderAsc  ListResourceProfilesSortOrderEnum = "ASC"
	ListResourceProfilesSortOrderDesc ListResourceProfilesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceProfilesSortOrderEnum

func GetListResourceProfilesSortOrderEnumValues ¶

func GetListResourceProfilesSortOrderEnumValues() []ListResourceProfilesSortOrderEnum

GetListResourceProfilesSortOrderEnumValues Enumerates the set of values for ListResourceProfilesSortOrderEnum

func GetMappingListResourceProfilesSortOrderEnum ¶

func GetMappingListResourceProfilesSortOrderEnum(val string) (ListResourceProfilesSortOrderEnum, bool)

GetMappingListResourceProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesDetectorIdEnum ¶

type ListResourceTypesDetectorIdEnum string

ListResourceTypesDetectorIdEnum Enum with underlying type: string

const (
	ListResourceTypesDetectorIdActivityDetector      ListResourceTypesDetectorIdEnum = "IAAS_ACTIVITY_DETECTOR"
	ListResourceTypesDetectorIdConfigurationDetector ListResourceTypesDetectorIdEnum = "IAAS_CONFIGURATION_DETECTOR"
	ListResourceTypesDetectorIdThreatDetector        ListResourceTypesDetectorIdEnum = "IAAS_THREAT_DETECTOR"
	ListResourceTypesDetectorIdLogInsightDetector    ListResourceTypesDetectorIdEnum = "IAAS_LOG_INSIGHT_DETECTOR"
)

Set of constants representing the allowable values for ListResourceTypesDetectorIdEnum

func GetListResourceTypesDetectorIdEnumValues ¶

func GetListResourceTypesDetectorIdEnumValues() []ListResourceTypesDetectorIdEnum

GetListResourceTypesDetectorIdEnumValues Enumerates the set of values for ListResourceTypesDetectorIdEnum

func GetMappingListResourceTypesDetectorIdEnum ¶

func GetMappingListResourceTypesDetectorIdEnum(val string) (ListResourceTypesDetectorIdEnum, bool)

GetMappingListResourceTypesDetectorIdEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesLifecycleStateEnum ¶

type ListResourceTypesLifecycleStateEnum string

ListResourceTypesLifecycleStateEnum Enum with underlying type: string

const (
	ListResourceTypesLifecycleStateCreating ListResourceTypesLifecycleStateEnum = "CREATING"
	ListResourceTypesLifecycleStateUpdating ListResourceTypesLifecycleStateEnum = "UPDATING"
	ListResourceTypesLifecycleStateActive   ListResourceTypesLifecycleStateEnum = "ACTIVE"
	ListResourceTypesLifecycleStateInactive ListResourceTypesLifecycleStateEnum = "INACTIVE"
	ListResourceTypesLifecycleStateDeleting ListResourceTypesLifecycleStateEnum = "DELETING"
	ListResourceTypesLifecycleStateDeleted  ListResourceTypesLifecycleStateEnum = "DELETED"
	ListResourceTypesLifecycleStateFailed   ListResourceTypesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResourceTypesLifecycleStateEnum

func GetListResourceTypesLifecycleStateEnumValues ¶

func GetListResourceTypesLifecycleStateEnumValues() []ListResourceTypesLifecycleStateEnum

GetListResourceTypesLifecycleStateEnumValues Enumerates the set of values for ListResourceTypesLifecycleStateEnum

func GetMappingListResourceTypesLifecycleStateEnum ¶

func GetMappingListResourceTypesLifecycleStateEnum(val string) (ListResourceTypesLifecycleStateEnum, bool)

GetMappingListResourceTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesRequest ¶

type ListResourceTypesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Detector type
	DetectorId ListResourceTypesDetectorIdEnum `mandatory:"false" contributesTo:"query" name:"detectorId" 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 ListResourceTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResourceTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResourceTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResourceTypesRequest wrapper for the ListResourceTypes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypesRequest.

func (ListResourceTypesRequest) BinaryRequestBody ¶

func (request ListResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResourceTypesRequest) HTTPRequest ¶

func (request ListResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResourceTypesRequest) RetryPolicy ¶

func (request ListResourceTypesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResourceTypesRequest) String ¶

func (request ListResourceTypesRequest) String() string

func (ListResourceTypesRequest) ValidateEnumValue ¶

func (request ListResourceTypesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResourceTypesResponse ¶

type ListResourceTypesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceTypeCollection instances
	ResourceTypeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResourceTypesResponse wrapper for the ListResourceTypes operation

func (ListResourceTypesResponse) HTTPResponse ¶

func (response ListResourceTypesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResourceTypesResponse) String ¶

func (response ListResourceTypesResponse) String() string

type ListResourceTypesSortByEnum ¶

type ListResourceTypesSortByEnum string

ListResourceTypesSortByEnum Enum with underlying type: string

const (
	ListResourceTypesSortByDisplayname ListResourceTypesSortByEnum = "displayName"
	ListResourceTypesSortByRisklevel   ListResourceTypesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResourceTypesSortByEnum

func GetListResourceTypesSortByEnumValues ¶

func GetListResourceTypesSortByEnumValues() []ListResourceTypesSortByEnum

GetListResourceTypesSortByEnumValues Enumerates the set of values for ListResourceTypesSortByEnum

func GetMappingListResourceTypesSortByEnum ¶

func GetMappingListResourceTypesSortByEnum(val string) (ListResourceTypesSortByEnum, bool)

GetMappingListResourceTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResourceTypesSortOrderEnum ¶

type ListResourceTypesSortOrderEnum string

ListResourceTypesSortOrderEnum Enum with underlying type: string

const (
	ListResourceTypesSortOrderAsc  ListResourceTypesSortOrderEnum = "ASC"
	ListResourceTypesSortOrderDesc ListResourceTypesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResourceTypesSortOrderEnum

func GetListResourceTypesSortOrderEnumValues ¶

func GetListResourceTypesSortOrderEnumValues() []ListResourceTypesSortOrderEnum

GetListResourceTypesSortOrderEnumValues Enumerates the set of values for ListResourceTypesSortOrderEnum

func GetMappingListResourceTypesSortOrderEnum ¶

func GetMappingListResourceTypesSortOrderEnum(val string) (ListResourceTypesSortOrderEnum, bool)

GetMappingListResourceTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderActivitiesRequest ¶

type ListResponderActivitiesRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderActivitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderActivitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderActivitiesRequest wrapper for the ListResponderActivities operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivitiesRequest.

func (ListResponderActivitiesRequest) BinaryRequestBody ¶

func (request ListResponderActivitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderActivitiesRequest) HTTPRequest ¶

func (request ListResponderActivitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderActivitiesRequest) RetryPolicy ¶

func (request ListResponderActivitiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderActivitiesRequest) String ¶

func (request ListResponderActivitiesRequest) String() string

func (ListResponderActivitiesRequest) ValidateEnumValue ¶

func (request ListResponderActivitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderActivitiesResponse ¶

type ListResponderActivitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderActivityCollection instances
	ResponderActivityCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderActivitiesResponse wrapper for the ListResponderActivities operation

func (ListResponderActivitiesResponse) HTTPResponse ¶

func (response ListResponderActivitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderActivitiesResponse) String ¶

func (response ListResponderActivitiesResponse) String() string

type ListResponderActivitiesSortByEnum ¶

type ListResponderActivitiesSortByEnum string

ListResponderActivitiesSortByEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortByTimecreated       ListResponderActivitiesSortByEnum = "timeCreated"
	ListResponderActivitiesSortByResponderrulename ListResponderActivitiesSortByEnum = "responderRuleName"
)

Set of constants representing the allowable values for ListResponderActivitiesSortByEnum

func GetListResponderActivitiesSortByEnumValues ¶

func GetListResponderActivitiesSortByEnumValues() []ListResponderActivitiesSortByEnum

GetListResponderActivitiesSortByEnumValues Enumerates the set of values for ListResponderActivitiesSortByEnum

func GetMappingListResponderActivitiesSortByEnum ¶

func GetMappingListResponderActivitiesSortByEnum(val string) (ListResponderActivitiesSortByEnum, bool)

GetMappingListResponderActivitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderActivitiesSortOrderEnum ¶

type ListResponderActivitiesSortOrderEnum string

ListResponderActivitiesSortOrderEnum Enum with underlying type: string

const (
	ListResponderActivitiesSortOrderAsc  ListResponderActivitiesSortOrderEnum = "ASC"
	ListResponderActivitiesSortOrderDesc ListResponderActivitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderActivitiesSortOrderEnum

func GetListResponderActivitiesSortOrderEnumValues ¶

func GetListResponderActivitiesSortOrderEnumValues() []ListResponderActivitiesSortOrderEnum

GetListResponderActivitiesSortOrderEnumValues Enumerates the set of values for ListResponderActivitiesSortOrderEnum

func GetMappingListResponderActivitiesSortOrderEnum ¶

func GetMappingListResponderActivitiesSortOrderEnum(val string) (ListResponderActivitiesSortOrderEnum, bool)

GetMappingListResponderActivitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsAccessLevelEnum ¶

type ListResponderExecutionsAccessLevelEnum string

ListResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	ListResponderExecutionsAccessLevelRestricted ListResponderExecutionsAccessLevelEnum = "RESTRICTED"
	ListResponderExecutionsAccessLevelAccessible ListResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderExecutionsAccessLevelEnum

func GetListResponderExecutionsAccessLevelEnumValues ¶

func GetListResponderExecutionsAccessLevelEnumValues() []ListResponderExecutionsAccessLevelEnum

GetListResponderExecutionsAccessLevelEnumValues Enumerates the set of values for ListResponderExecutionsAccessLevelEnum

func GetMappingListResponderExecutionsAccessLevelEnum ¶

func GetMappingListResponderExecutionsAccessLevelEnum(val string) (ListResponderExecutionsAccessLevelEnum, bool)

GetMappingListResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsRequest ¶

type ListResponderExecutionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// Responder Rule Ids filter for the Responder Executions.
	ResponderRuleIds []string `contributesTo:"query" name:"responderRuleIds" collectionFormat:"multi"`

	// Creation Start time for filtering
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// Creation End time for filtering
	TimeCreatedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThanOrEqualTo"`

	// Completion End Time
	TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"`

	// Completion Start Time
	TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"`

	// The ID of the target in which to list resources.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// Resource Type associated with the resource.
	ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"`

	// The field to list the Responder Executions by Responder Type. Valid values are REMEDIATION and NOTIFICATION
	ResponderType ListResponderExecutionsResponderTypeEnum `mandatory:"false" contributesTo:"query" name:"responderType" omitEmpty:"true"`

	// The status of the responder execution in which to list responders.
	ResponderExecutionStatus ListResponderExecutionsResponderExecutionStatusEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionStatus" omitEmpty:"true"`

	// The mode of the responder execution in which to list responders.
	ResponderExecutionMode ListResponderExecutionsResponderExecutionModeEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionMode" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderExecutionsRequest wrapper for the ListResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutionsRequest.

func (ListResponderExecutionsRequest) BinaryRequestBody ¶

func (request ListResponderExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderExecutionsRequest) HTTPRequest ¶

func (request ListResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderExecutionsRequest) RetryPolicy ¶

func (request ListResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderExecutionsRequest) String ¶

func (request ListResponderExecutionsRequest) String() string

func (ListResponderExecutionsRequest) ValidateEnumValue ¶

func (request ListResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderExecutionsResponderExecutionModeEnum ¶

type ListResponderExecutionsResponderExecutionModeEnum string

ListResponderExecutionsResponderExecutionModeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionModeManual    ListResponderExecutionsResponderExecutionModeEnum = "MANUAL"
	ListResponderExecutionsResponderExecutionModeAutomated ListResponderExecutionsResponderExecutionModeEnum = "AUTOMATED"
	ListResponderExecutionsResponderExecutionModeAll       ListResponderExecutionsResponderExecutionModeEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionModeEnum

func GetListResponderExecutionsResponderExecutionModeEnumValues ¶

func GetListResponderExecutionsResponderExecutionModeEnumValues() []ListResponderExecutionsResponderExecutionModeEnum

GetListResponderExecutionsResponderExecutionModeEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionModeEnum

func GetMappingListResponderExecutionsResponderExecutionModeEnum ¶

func GetMappingListResponderExecutionsResponderExecutionModeEnum(val string) (ListResponderExecutionsResponderExecutionModeEnum, bool)

GetMappingListResponderExecutionsResponderExecutionModeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponderExecutionStatusEnum ¶

type ListResponderExecutionsResponderExecutionStatusEnum string

ListResponderExecutionsResponderExecutionStatusEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderExecutionStatusStarted              ListResponderExecutionsResponderExecutionStatusEnum = "STARTED"
	ListResponderExecutionsResponderExecutionStatusAwaitingConfirmation ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ListResponderExecutionsResponderExecutionStatusAwaitingInput        ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_INPUT"
	ListResponderExecutionsResponderExecutionStatusSucceeded            ListResponderExecutionsResponderExecutionStatusEnum = "SUCCEEDED"
	ListResponderExecutionsResponderExecutionStatusFailed               ListResponderExecutionsResponderExecutionStatusEnum = "FAILED"
	ListResponderExecutionsResponderExecutionStatusSkipped              ListResponderExecutionsResponderExecutionStatusEnum = "SKIPPED"
	ListResponderExecutionsResponderExecutionStatusAll                  ListResponderExecutionsResponderExecutionStatusEnum = "ALL"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionStatusEnum

func GetListResponderExecutionsResponderExecutionStatusEnumValues ¶

func GetListResponderExecutionsResponderExecutionStatusEnumValues() []ListResponderExecutionsResponderExecutionStatusEnum

GetListResponderExecutionsResponderExecutionStatusEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionStatusEnum

func GetMappingListResponderExecutionsResponderExecutionStatusEnum ¶

func GetMappingListResponderExecutionsResponderExecutionStatusEnum(val string) (ListResponderExecutionsResponderExecutionStatusEnum, bool)

GetMappingListResponderExecutionsResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponderTypeEnum ¶

type ListResponderExecutionsResponderTypeEnum string

ListResponderExecutionsResponderTypeEnum Enum with underlying type: string

const (
	ListResponderExecutionsResponderTypeRemediation  ListResponderExecutionsResponderTypeEnum = "REMEDIATION"
	ListResponderExecutionsResponderTypeNotification ListResponderExecutionsResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ListResponderExecutionsResponderTypeEnum

func GetListResponderExecutionsResponderTypeEnumValues ¶

func GetListResponderExecutionsResponderTypeEnumValues() []ListResponderExecutionsResponderTypeEnum

GetListResponderExecutionsResponderTypeEnumValues Enumerates the set of values for ListResponderExecutionsResponderTypeEnum

func GetMappingListResponderExecutionsResponderTypeEnum ¶

func GetMappingListResponderExecutionsResponderTypeEnum(val string) (ListResponderExecutionsResponderTypeEnum, bool)

GetMappingListResponderExecutionsResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsResponse ¶

type ListResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionCollection instances
	ResponderExecutionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderExecutionsResponse wrapper for the ListResponderExecutions operation

func (ListResponderExecutionsResponse) HTTPResponse ¶

func (response ListResponderExecutionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderExecutionsResponse) String ¶

func (response ListResponderExecutionsResponse) String() string

type ListResponderExecutionsSortByEnum ¶

type ListResponderExecutionsSortByEnum string

ListResponderExecutionsSortByEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortByTimecreated       ListResponderExecutionsSortByEnum = "timeCreated"
	ListResponderExecutionsSortByResponderrulename ListResponderExecutionsSortByEnum = "responderRuleName"
	ListResponderExecutionsSortByResourcename      ListResponderExecutionsSortByEnum = "resourceName"
	ListResponderExecutionsSortByTimecompleted     ListResponderExecutionsSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for ListResponderExecutionsSortByEnum

func GetListResponderExecutionsSortByEnumValues ¶

func GetListResponderExecutionsSortByEnumValues() []ListResponderExecutionsSortByEnum

GetListResponderExecutionsSortByEnumValues Enumerates the set of values for ListResponderExecutionsSortByEnum

func GetMappingListResponderExecutionsSortByEnum ¶

func GetMappingListResponderExecutionsSortByEnum(val string) (ListResponderExecutionsSortByEnum, bool)

GetMappingListResponderExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderExecutionsSortOrderEnum ¶

type ListResponderExecutionsSortOrderEnum string

ListResponderExecutionsSortOrderEnum Enum with underlying type: string

const (
	ListResponderExecutionsSortOrderAsc  ListResponderExecutionsSortOrderEnum = "ASC"
	ListResponderExecutionsSortOrderDesc ListResponderExecutionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderExecutionsSortOrderEnum

func GetListResponderExecutionsSortOrderEnumValues ¶

func GetListResponderExecutionsSortOrderEnumValues() []ListResponderExecutionsSortOrderEnum

GetListResponderExecutionsSortOrderEnumValues Enumerates the set of values for ListResponderExecutionsSortOrderEnum

func GetMappingListResponderExecutionsSortOrderEnum ¶

func GetMappingListResponderExecutionsSortOrderEnum(val string) (ListResponderExecutionsSortOrderEnum, bool)

GetMappingListResponderExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListResponderRecipeResponderRulesLifecycleStateEnum string

ListResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesLifecycleStateCreating ListResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRecipeResponderRulesLifecycleStateUpdating ListResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRecipeResponderRulesLifecycleStateActive   ListResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateInactive ListResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipeResponderRulesLifecycleStateDeleting ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRecipeResponderRulesLifecycleStateDeleted  ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRecipeResponderRulesLifecycleStateFailed   ListResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRecipeResponderRulesLifecycleStateEnumValues() []ListResponderRecipeResponderRulesLifecycleStateEnum

GetListResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesLifecycleStateEnum

func GetMappingListResponderRecipeResponderRulesLifecycleStateEnum ¶

func GetMappingListResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListResponderRecipeResponderRulesLifecycleStateEnum, bool)

GetMappingListResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesRequest ¶

type ListResponderRecipeResponderRulesRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipeResponderRulesRequest wrapper for the ListResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRulesRequest.

func (ListResponderRecipeResponderRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipeResponderRulesRequest) String ¶

func (ListResponderRecipeResponderRulesRequest) ValidateEnumValue ¶

func (request ListResponderRecipeResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRecipeResponderRulesResponse ¶

type ListResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeResponderRuleCollection instances
	ResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipeResponderRulesResponse wrapper for the ListResponderRecipeResponderRules operation

func (ListResponderRecipeResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipeResponderRulesResponse) String ¶

type ListResponderRecipeResponderRulesSortByEnum ¶

type ListResponderRecipeResponderRulesSortByEnum string

ListResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortByDisplayname ListResponderRecipeResponderRulesSortByEnum = "displayName"
	ListResponderRecipeResponderRulesSortByRisklevel   ListResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortByEnum

func GetListResponderRecipeResponderRulesSortByEnumValues ¶

func GetListResponderRecipeResponderRulesSortByEnumValues() []ListResponderRecipeResponderRulesSortByEnum

GetListResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortByEnum

func GetMappingListResponderRecipeResponderRulesSortByEnum ¶

func GetMappingListResponderRecipeResponderRulesSortByEnum(val string) (ListResponderRecipeResponderRulesSortByEnum, bool)

GetMappingListResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipeResponderRulesSortOrderEnum ¶

type ListResponderRecipeResponderRulesSortOrderEnum string

ListResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipeResponderRulesSortOrderAsc  ListResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListResponderRecipeResponderRulesSortOrderDesc ListResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortOrderEnum

func GetListResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListResponderRecipeResponderRulesSortOrderEnumValues() []ListResponderRecipeResponderRulesSortOrderEnum

GetListResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortOrderEnum

func GetMappingListResponderRecipeResponderRulesSortOrderEnum ¶

func GetMappingListResponderRecipeResponderRulesSortOrderEnum(val string) (ListResponderRecipeResponderRulesSortOrderEnum, bool)

GetMappingListResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesAccessLevelEnum ¶

type ListResponderRecipesAccessLevelEnum string

ListResponderRecipesAccessLevelEnum Enum with underlying type: string

const (
	ListResponderRecipesAccessLevelRestricted ListResponderRecipesAccessLevelEnum = "RESTRICTED"
	ListResponderRecipesAccessLevelAccessible ListResponderRecipesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListResponderRecipesAccessLevelEnum

func GetListResponderRecipesAccessLevelEnumValues ¶

func GetListResponderRecipesAccessLevelEnumValues() []ListResponderRecipesAccessLevelEnum

GetListResponderRecipesAccessLevelEnumValues Enumerates the set of values for ListResponderRecipesAccessLevelEnum

func GetMappingListResponderRecipesAccessLevelEnum ¶

func GetMappingListResponderRecipesAccessLevelEnum(val string) (ListResponderRecipesAccessLevelEnum, bool)

GetMappingListResponderRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesLifecycleStateEnum ¶

type ListResponderRecipesLifecycleStateEnum string

ListResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRecipesLifecycleStateCreating ListResponderRecipesLifecycleStateEnum = "CREATING"
	ListResponderRecipesLifecycleStateUpdating ListResponderRecipesLifecycleStateEnum = "UPDATING"
	ListResponderRecipesLifecycleStateActive   ListResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListResponderRecipesLifecycleStateInactive ListResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListResponderRecipesLifecycleStateDeleting ListResponderRecipesLifecycleStateEnum = "DELETING"
	ListResponderRecipesLifecycleStateDeleted  ListResponderRecipesLifecycleStateEnum = "DELETED"
	ListResponderRecipesLifecycleStateFailed   ListResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRecipesLifecycleStateEnum

func GetListResponderRecipesLifecycleStateEnumValues ¶

func GetListResponderRecipesLifecycleStateEnumValues() []ListResponderRecipesLifecycleStateEnum

GetListResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipesLifecycleStateEnum

func GetMappingListResponderRecipesLifecycleStateEnum ¶

func GetMappingListResponderRecipesLifecycleStateEnum(val string) (ListResponderRecipesLifecycleStateEnum, bool)

GetMappingListResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesRequest ¶

type ListResponderRecipesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the list of all Oracle Managed Resources
	// Metadata supported by Cloud Guard are returned.
	ResourceMetadataOnly *bool `mandatory:"false" contributesTo:"query" name:"resourceMetadataOnly"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListResponderRecipesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRecipesRequest wrapper for the ListResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipesRequest.

func (ListResponderRecipesRequest) BinaryRequestBody ¶

func (request ListResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRecipesRequest) HTTPRequest ¶

func (request ListResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRecipesRequest) RetryPolicy ¶

func (request ListResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRecipesRequest) String ¶

func (request ListResponderRecipesRequest) String() string

func (ListResponderRecipesRequest) ValidateEnumValue ¶

func (request ListResponderRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRecipesResponse ¶

type ListResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRecipeCollection instances
	ResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRecipesResponse wrapper for the ListResponderRecipes operation

func (ListResponderRecipesResponse) HTTPResponse ¶

func (response ListResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRecipesResponse) String ¶

func (response ListResponderRecipesResponse) String() string

type ListResponderRecipesSortByEnum ¶

type ListResponderRecipesSortByEnum string

ListResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListResponderRecipesSortByTimecreated ListResponderRecipesSortByEnum = "timeCreated"
	ListResponderRecipesSortByDisplayname ListResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRecipesSortByEnum

func GetListResponderRecipesSortByEnumValues ¶

func GetListResponderRecipesSortByEnumValues() []ListResponderRecipesSortByEnum

GetListResponderRecipesSortByEnumValues Enumerates the set of values for ListResponderRecipesSortByEnum

func GetMappingListResponderRecipesSortByEnum ¶

func GetMappingListResponderRecipesSortByEnum(val string) (ListResponderRecipesSortByEnum, bool)

GetMappingListResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRecipesSortOrderEnum ¶

type ListResponderRecipesSortOrderEnum string

ListResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRecipesSortOrderAsc  ListResponderRecipesSortOrderEnum = "ASC"
	ListResponderRecipesSortOrderDesc ListResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRecipesSortOrderEnum

func GetListResponderRecipesSortOrderEnumValues ¶

func GetListResponderRecipesSortOrderEnumValues() []ListResponderRecipesSortOrderEnum

GetListResponderRecipesSortOrderEnumValues Enumerates the set of values for ListResponderRecipesSortOrderEnum

func GetMappingListResponderRecipesSortOrderEnum ¶

func GetMappingListResponderRecipesSortOrderEnum(val string) (ListResponderRecipesSortOrderEnum, bool)

GetMappingListResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesLifecycleStateEnum ¶

type ListResponderRulesLifecycleStateEnum string

ListResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListResponderRulesLifecycleStateCreating ListResponderRulesLifecycleStateEnum = "CREATING"
	ListResponderRulesLifecycleStateUpdating ListResponderRulesLifecycleStateEnum = "UPDATING"
	ListResponderRulesLifecycleStateActive   ListResponderRulesLifecycleStateEnum = "ACTIVE"
	ListResponderRulesLifecycleStateInactive ListResponderRulesLifecycleStateEnum = "INACTIVE"
	ListResponderRulesLifecycleStateDeleting ListResponderRulesLifecycleStateEnum = "DELETING"
	ListResponderRulesLifecycleStateDeleted  ListResponderRulesLifecycleStateEnum = "DELETED"
	ListResponderRulesLifecycleStateFailed   ListResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListResponderRulesLifecycleStateEnum

func GetListResponderRulesLifecycleStateEnumValues ¶

func GetListResponderRulesLifecycleStateEnumValues() []ListResponderRulesLifecycleStateEnum

GetListResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRulesLifecycleStateEnum

func GetMappingListResponderRulesLifecycleStateEnum ¶

func GetMappingListResponderRulesLifecycleStateEnum(val string) (ListResponderRulesLifecycleStateEnum, bool)

GetMappingListResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesRequest ¶

type ListResponderRulesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListResponderRulesRequest wrapper for the ListResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRulesRequest.

func (ListResponderRulesRequest) BinaryRequestBody ¶

func (request ListResponderRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResponderRulesRequest) HTTPRequest ¶

func (request ListResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResponderRulesRequest) RetryPolicy ¶

func (request ListResponderRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResponderRulesRequest) String ¶

func (request ListResponderRulesRequest) String() string

func (ListResponderRulesRequest) ValidateEnumValue ¶

func (request ListResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListResponderRulesResponse ¶

type ListResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderRuleCollection instances
	ResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListResponderRulesResponse wrapper for the ListResponderRules operation

func (ListResponderRulesResponse) HTTPResponse ¶

func (response ListResponderRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResponderRulesResponse) String ¶

func (response ListResponderRulesResponse) String() string

type ListResponderRulesSortByEnum ¶

type ListResponderRulesSortByEnum string

ListResponderRulesSortByEnum Enum with underlying type: string

const (
	ListResponderRulesSortByTimecreated ListResponderRulesSortByEnum = "timeCreated"
	ListResponderRulesSortByDisplayname ListResponderRulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListResponderRulesSortByEnum

func GetListResponderRulesSortByEnumValues ¶

func GetListResponderRulesSortByEnumValues() []ListResponderRulesSortByEnum

GetListResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRulesSortByEnum

func GetMappingListResponderRulesSortByEnum ¶

func GetMappingListResponderRulesSortByEnum(val string) (ListResponderRulesSortByEnum, bool)

GetMappingListResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResponderRulesSortOrderEnum ¶

type ListResponderRulesSortOrderEnum string

ListResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListResponderRulesSortOrderAsc  ListResponderRulesSortOrderEnum = "ASC"
	ListResponderRulesSortOrderDesc ListResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListResponderRulesSortOrderEnum

func GetListResponderRulesSortOrderEnumValues ¶

func GetListResponderRulesSortOrderEnumValues() []ListResponderRulesSortOrderEnum

GetListResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRulesSortOrderEnum

func GetMappingListResponderRulesSortOrderEnum ¶

func GetMappingListResponderRulesSortOrderEnum(val string) (ListResponderRulesSortOrderEnum, bool)

GetMappingListResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityPoliciesLifecycleStateEnum string

ListSecurityPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityPoliciesLifecycleStateCreating ListSecurityPoliciesLifecycleStateEnum = "CREATING"
	ListSecurityPoliciesLifecycleStateUpdating ListSecurityPoliciesLifecycleStateEnum = "UPDATING"
	ListSecurityPoliciesLifecycleStateActive   ListSecurityPoliciesLifecycleStateEnum = "ACTIVE"
	ListSecurityPoliciesLifecycleStateInactive ListSecurityPoliciesLifecycleStateEnum = "INACTIVE"
	ListSecurityPoliciesLifecycleStateDeleting ListSecurityPoliciesLifecycleStateEnum = "DELETING"
	ListSecurityPoliciesLifecycleStateDeleted  ListSecurityPoliciesLifecycleStateEnum = "DELETED"
	ListSecurityPoliciesLifecycleStateFailed   ListSecurityPoliciesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityPoliciesLifecycleStateEnum

func GetListSecurityPoliciesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesLifecycleStateEnumValues() []ListSecurityPoliciesLifecycleStateEnum

GetListSecurityPoliciesLifecycleStateEnumValues Enumerates the set of values for ListSecurityPoliciesLifecycleStateEnum

func GetMappingListSecurityPoliciesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesLifecycleStateEnum(val string) (ListSecurityPoliciesLifecycleStateEnum, bool)

GetMappingListSecurityPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesRequest ¶ added in v65.3.0

type ListSecurityPoliciesRequest 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 ListSecurityPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The unique identifier of the security zone policy (`SecurityPolicy`)
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// 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 ListSecurityPoliciesSortOrderEnum `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 ListSecurityPoliciesSortByEnum `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
}

ListSecurityPoliciesRequest wrapper for the ListSecurityPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityPolicies.go.html to see an example of how to use ListSecurityPoliciesRequest.

func (ListSecurityPoliciesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityPoliciesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityPoliciesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityPoliciesRequest) String ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) String() string

func (ListSecurityPoliciesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityPoliciesResponse ¶ added in v65.3.0

type ListSecurityPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityPolicyCollection instances
	SecurityPolicyCollection `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"`
}

ListSecurityPoliciesResponse wrapper for the ListSecurityPolicies operation

func (ListSecurityPoliciesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityPoliciesResponse) String ¶ added in v65.3.0

func (response ListSecurityPoliciesResponse) String() string

type ListSecurityPoliciesSortByEnum ¶ added in v65.3.0

type ListSecurityPoliciesSortByEnum string

ListSecurityPoliciesSortByEnum Enum with underlying type: string

const (
	ListSecurityPoliciesSortByTimecreated ListSecurityPoliciesSortByEnum = "timeCreated"
	ListSecurityPoliciesSortByDisplayname ListSecurityPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityPoliciesSortByEnum

func GetListSecurityPoliciesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortByEnumValues() []ListSecurityPoliciesSortByEnum

GetListSecurityPoliciesSortByEnumValues Enumerates the set of values for ListSecurityPoliciesSortByEnum

func GetMappingListSecurityPoliciesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesSortByEnum(val string) (ListSecurityPoliciesSortByEnum, bool)

GetMappingListSecurityPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityPoliciesSortOrderEnum ¶ added in v65.3.0

type ListSecurityPoliciesSortOrderEnum string

ListSecurityPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityPoliciesSortOrderAsc  ListSecurityPoliciesSortOrderEnum = "ASC"
	ListSecurityPoliciesSortOrderDesc ListSecurityPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityPoliciesSortOrderEnum

func GetListSecurityPoliciesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityPoliciesSortOrderEnumValues() []ListSecurityPoliciesSortOrderEnum

GetListSecurityPoliciesSortOrderEnumValues Enumerates the set of values for ListSecurityPoliciesSortOrderEnum

func GetMappingListSecurityPoliciesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityPoliciesSortOrderEnum(val string) (ListSecurityPoliciesSortOrderEnum, bool)

GetMappingListSecurityPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityRecipesLifecycleStateEnum string

ListSecurityRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityRecipesLifecycleStateCreating ListSecurityRecipesLifecycleStateEnum = "CREATING"
	ListSecurityRecipesLifecycleStateUpdating ListSecurityRecipesLifecycleStateEnum = "UPDATING"
	ListSecurityRecipesLifecycleStateActive   ListSecurityRecipesLifecycleStateEnum = "ACTIVE"
	ListSecurityRecipesLifecycleStateInactive ListSecurityRecipesLifecycleStateEnum = "INACTIVE"
	ListSecurityRecipesLifecycleStateDeleting ListSecurityRecipesLifecycleStateEnum = "DELETING"
	ListSecurityRecipesLifecycleStateDeleted  ListSecurityRecipesLifecycleStateEnum = "DELETED"
	ListSecurityRecipesLifecycleStateFailed   ListSecurityRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityRecipesLifecycleStateEnum

func GetListSecurityRecipesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesLifecycleStateEnumValues() []ListSecurityRecipesLifecycleStateEnum

GetListSecurityRecipesLifecycleStateEnumValues Enumerates the set of values for ListSecurityRecipesLifecycleStateEnum

func GetMappingListSecurityRecipesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesLifecycleStateEnum(val string) (ListSecurityRecipesLifecycleStateEnum, bool)

GetMappingListSecurityRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesRequest ¶ added in v65.3.0

type ListSecurityRecipesRequest 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 ListSecurityRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// 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 ListSecurityRecipesSortOrderEnum `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 ListSecurityRecipesSortByEnum `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
}

ListSecurityRecipesRequest wrapper for the ListSecurityRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityRecipes.go.html to see an example of how to use ListSecurityRecipesRequest.

func (ListSecurityRecipesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityRecipesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityRecipesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityRecipesRequest) String ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) String() string

func (ListSecurityRecipesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityRecipesResponse ¶ added in v65.3.0

type ListSecurityRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityRecipeCollection instances
	SecurityRecipeCollection `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"`
}

ListSecurityRecipesResponse wrapper for the ListSecurityRecipes operation

func (ListSecurityRecipesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityRecipesResponse) String ¶ added in v65.3.0

func (response ListSecurityRecipesResponse) String() string

type ListSecurityRecipesSortByEnum ¶ added in v65.3.0

type ListSecurityRecipesSortByEnum string

ListSecurityRecipesSortByEnum Enum with underlying type: string

const (
	ListSecurityRecipesSortByTimecreated ListSecurityRecipesSortByEnum = "timeCreated"
	ListSecurityRecipesSortByDisplayname ListSecurityRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityRecipesSortByEnum

func GetListSecurityRecipesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesSortByEnumValues() []ListSecurityRecipesSortByEnum

GetListSecurityRecipesSortByEnumValues Enumerates the set of values for ListSecurityRecipesSortByEnum

func GetMappingListSecurityRecipesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesSortByEnum(val string) (ListSecurityRecipesSortByEnum, bool)

GetMappingListSecurityRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityRecipesSortOrderEnum ¶ added in v65.3.0

type ListSecurityRecipesSortOrderEnum string

ListSecurityRecipesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityRecipesSortOrderAsc  ListSecurityRecipesSortOrderEnum = "ASC"
	ListSecurityRecipesSortOrderDesc ListSecurityRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityRecipesSortOrderEnum

func GetListSecurityRecipesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityRecipesSortOrderEnumValues() []ListSecurityRecipesSortOrderEnum

GetListSecurityRecipesSortOrderEnumValues Enumerates the set of values for ListSecurityRecipesSortOrderEnum

func GetMappingListSecurityRecipesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityRecipesSortOrderEnum(val string) (ListSecurityRecipesSortOrderEnum, bool)

GetMappingListSecurityRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesLifecycleStateEnum ¶ added in v65.3.0

type ListSecurityZonesLifecycleStateEnum string

ListSecurityZonesLifecycleStateEnum Enum with underlying type: string

const (
	ListSecurityZonesLifecycleStateCreating ListSecurityZonesLifecycleStateEnum = "CREATING"
	ListSecurityZonesLifecycleStateUpdating ListSecurityZonesLifecycleStateEnum = "UPDATING"
	ListSecurityZonesLifecycleStateActive   ListSecurityZonesLifecycleStateEnum = "ACTIVE"
	ListSecurityZonesLifecycleStateInactive ListSecurityZonesLifecycleStateEnum = "INACTIVE"
	ListSecurityZonesLifecycleStateDeleting ListSecurityZonesLifecycleStateEnum = "DELETING"
	ListSecurityZonesLifecycleStateDeleted  ListSecurityZonesLifecycleStateEnum = "DELETED"
	ListSecurityZonesLifecycleStateFailed   ListSecurityZonesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListSecurityZonesLifecycleStateEnum

func GetListSecurityZonesLifecycleStateEnumValues ¶ added in v65.3.0

func GetListSecurityZonesLifecycleStateEnumValues() []ListSecurityZonesLifecycleStateEnum

GetListSecurityZonesLifecycleStateEnumValues Enumerates the set of values for ListSecurityZonesLifecycleStateEnum

func GetMappingListSecurityZonesLifecycleStateEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesLifecycleStateEnum(val string) (ListSecurityZonesLifecycleStateEnum, bool)

GetMappingListSecurityZonesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesRequest ¶ added in v65.3.0

type ListSecurityZonesRequest 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 ListSecurityZonesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The unique identifier of the security zone (`SecurityZone`)
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"false" contributesTo:"query" name:"securityRecipeId"`

	// security zones in the subtree
	IsRequiredSecurityZonesInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isRequiredSecurityZonesInSubtree"`

	// 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 ListSecurityZonesSortOrderEnum `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 ListSecurityZonesSortByEnum `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
}

ListSecurityZonesRequest wrapper for the ListSecurityZones operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSecurityZones.go.html to see an example of how to use ListSecurityZonesRequest.

func (ListSecurityZonesRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListSecurityZonesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityZonesRequest) HTTPRequest ¶ added in v65.3.0

func (request ListSecurityZonesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityZonesRequest) RetryPolicy ¶ added in v65.3.0

func (request ListSecurityZonesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityZonesRequest) String ¶ added in v65.3.0

func (request ListSecurityZonesRequest) String() string

func (ListSecurityZonesRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListSecurityZonesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSecurityZonesResponse ¶ added in v65.3.0

type ListSecurityZonesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityZoneCollection instances
	SecurityZoneCollection `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"`
}

ListSecurityZonesResponse wrapper for the ListSecurityZones operation

func (ListSecurityZonesResponse) HTTPResponse ¶ added in v65.3.0

func (response ListSecurityZonesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityZonesResponse) String ¶ added in v65.3.0

func (response ListSecurityZonesResponse) String() string

type ListSecurityZonesSortByEnum ¶ added in v65.3.0

type ListSecurityZonesSortByEnum string

ListSecurityZonesSortByEnum Enum with underlying type: string

const (
	ListSecurityZonesSortByTimecreated ListSecurityZonesSortByEnum = "timeCreated"
	ListSecurityZonesSortByDisplayname ListSecurityZonesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListSecurityZonesSortByEnum

func GetListSecurityZonesSortByEnumValues ¶ added in v65.3.0

func GetListSecurityZonesSortByEnumValues() []ListSecurityZonesSortByEnum

GetListSecurityZonesSortByEnumValues Enumerates the set of values for ListSecurityZonesSortByEnum

func GetMappingListSecurityZonesSortByEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesSortByEnum(val string) (ListSecurityZonesSortByEnum, bool)

GetMappingListSecurityZonesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityZonesSortOrderEnum ¶ added in v65.3.0

type ListSecurityZonesSortOrderEnum string

ListSecurityZonesSortOrderEnum Enum with underlying type: string

const (
	ListSecurityZonesSortOrderAsc  ListSecurityZonesSortOrderEnum = "ASC"
	ListSecurityZonesSortOrderDesc ListSecurityZonesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityZonesSortOrderEnum

func GetListSecurityZonesSortOrderEnumValues ¶ added in v65.3.0

func GetListSecurityZonesSortOrderEnumValues() []ListSecurityZonesSortOrderEnum

GetListSecurityZonesSortOrderEnumValues Enumerates the set of values for ListSecurityZonesSortOrderEnum

func GetMappingListSecurityZonesSortOrderEnum ¶ added in v65.3.0

func GetMappingListSecurityZonesSortOrderEnum(val string) (ListSecurityZonesSortOrderEnum, bool)

GetMappingListSecurityZonesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingEndpointsRequest ¶

type ListSightingEndpointsRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// 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 ListSightingEndpointsSortOrderEnum `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 ListSightingEndpointsSortByEnum `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
}

ListSightingEndpointsRequest wrapper for the ListSightingEndpoints operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightingEndpoints.go.html to see an example of how to use ListSightingEndpointsRequest.

func (ListSightingEndpointsRequest) BinaryRequestBody ¶

func (request ListSightingEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingEndpointsRequest) HTTPRequest ¶

func (request ListSightingEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingEndpointsRequest) RetryPolicy ¶

func (request ListSightingEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingEndpointsRequest) String ¶

func (request ListSightingEndpointsRequest) String() string

func (ListSightingEndpointsRequest) ValidateEnumValue ¶

func (request ListSightingEndpointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingEndpointsResponse ¶

type ListSightingEndpointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingEndpointCollection instances
	SightingEndpointCollection `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"`
}

ListSightingEndpointsResponse wrapper for the ListSightingEndpoints operation

func (ListSightingEndpointsResponse) HTTPResponse ¶

func (response ListSightingEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingEndpointsResponse) String ¶

func (response ListSightingEndpointsResponse) String() string

type ListSightingEndpointsSortByEnum ¶

type ListSightingEndpointsSortByEnum string

ListSightingEndpointsSortByEnum Enum with underlying type: string

const (
	ListSightingEndpointsSortByTimecreated ListSightingEndpointsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingEndpointsSortByEnum

func GetListSightingEndpointsSortByEnumValues ¶

func GetListSightingEndpointsSortByEnumValues() []ListSightingEndpointsSortByEnum

GetListSightingEndpointsSortByEnumValues Enumerates the set of values for ListSightingEndpointsSortByEnum

func GetMappingListSightingEndpointsSortByEnum ¶

func GetMappingListSightingEndpointsSortByEnum(val string) (ListSightingEndpointsSortByEnum, bool)

GetMappingListSightingEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingEndpointsSortOrderEnum ¶

type ListSightingEndpointsSortOrderEnum string

ListSightingEndpointsSortOrderEnum Enum with underlying type: string

const (
	ListSightingEndpointsSortOrderAsc  ListSightingEndpointsSortOrderEnum = "ASC"
	ListSightingEndpointsSortOrderDesc ListSightingEndpointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingEndpointsSortOrderEnum

func GetListSightingEndpointsSortOrderEnumValues ¶

func GetListSightingEndpointsSortOrderEnumValues() []ListSightingEndpointsSortOrderEnum

GetListSightingEndpointsSortOrderEnumValues Enumerates the set of values for ListSightingEndpointsSortOrderEnum

func GetMappingListSightingEndpointsSortOrderEnum ¶

func GetMappingListSightingEndpointsSortOrderEnum(val string) (ListSightingEndpointsSortOrderEnum, bool)

GetMappingListSightingEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingImpactedResourcesRequest ¶

type ListSightingImpactedResourcesRequest struct {

	// OCID of the sighting.
	SightingId *string `mandatory:"true" contributesTo:"path" name:"sightingId"`

	// 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 ListSightingImpactedResourcesSortOrderEnum `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 ListSightingImpactedResourcesSortByEnum `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
}

ListSightingImpactedResourcesRequest wrapper for the ListSightingImpactedResources operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightingImpactedResources.go.html to see an example of how to use ListSightingImpactedResourcesRequest.

func (ListSightingImpactedResourcesRequest) BinaryRequestBody ¶

func (request ListSightingImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingImpactedResourcesRequest) HTTPRequest ¶

func (request ListSightingImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingImpactedResourcesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingImpactedResourcesRequest) String ¶

func (ListSightingImpactedResourcesRequest) ValidateEnumValue ¶

func (request ListSightingImpactedResourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingImpactedResourcesResponse ¶

type ListSightingImpactedResourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingImpactedResourceCollection instances
	SightingImpactedResourceCollection `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"`
}

ListSightingImpactedResourcesResponse wrapper for the ListSightingImpactedResources operation

func (ListSightingImpactedResourcesResponse) HTTPResponse ¶

func (response ListSightingImpactedResourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingImpactedResourcesResponse) String ¶

type ListSightingImpactedResourcesSortByEnum ¶

type ListSightingImpactedResourcesSortByEnum string

ListSightingImpactedResourcesSortByEnum Enum with underlying type: string

const (
	ListSightingImpactedResourcesSortByTimecreated ListSightingImpactedResourcesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingImpactedResourcesSortByEnum

func GetListSightingImpactedResourcesSortByEnumValues ¶

func GetListSightingImpactedResourcesSortByEnumValues() []ListSightingImpactedResourcesSortByEnum

GetListSightingImpactedResourcesSortByEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortByEnum

func GetMappingListSightingImpactedResourcesSortByEnum ¶

func GetMappingListSightingImpactedResourcesSortByEnum(val string) (ListSightingImpactedResourcesSortByEnum, bool)

GetMappingListSightingImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingImpactedResourcesSortOrderEnum ¶

type ListSightingImpactedResourcesSortOrderEnum string

ListSightingImpactedResourcesSortOrderEnum Enum with underlying type: string

const (
	ListSightingImpactedResourcesSortOrderAsc  ListSightingImpactedResourcesSortOrderEnum = "ASC"
	ListSightingImpactedResourcesSortOrderDesc ListSightingImpactedResourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingImpactedResourcesSortOrderEnum

func GetListSightingImpactedResourcesSortOrderEnumValues ¶

func GetListSightingImpactedResourcesSortOrderEnumValues() []ListSightingImpactedResourcesSortOrderEnum

GetListSightingImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortOrderEnum

func GetMappingListSightingImpactedResourcesSortOrderEnum ¶

func GetMappingListSightingImpactedResourcesSortOrderEnum(val string) (ListSightingImpactedResourcesSortOrderEnum, bool)

GetMappingListSightingImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsAccessLevelEnum ¶

type ListSightingsAccessLevelEnum string

ListSightingsAccessLevelEnum Enum with underlying type: string

const (
	ListSightingsAccessLevelRestricted ListSightingsAccessLevelEnum = "RESTRICTED"
	ListSightingsAccessLevelAccessible ListSightingsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListSightingsAccessLevelEnum

func GetListSightingsAccessLevelEnumValues ¶

func GetListSightingsAccessLevelEnumValues() []ListSightingsAccessLevelEnum

GetListSightingsAccessLevelEnumValues Enumerates the set of values for ListSightingsAccessLevelEnum

func GetMappingListSightingsAccessLevelEnum ¶

func GetMappingListSightingsAccessLevelEnum(val string) (ListSightingsAccessLevelEnum, bool)

GetMappingListSightingsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsRequest ¶

type ListSightingsRequest 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:"false" contributesTo:"query" name:"problemId"`

	// OCID of the resource profile.
	ResourceProfileId *string `mandatory:"false" contributesTo:"query" name:"resourceProfileId"`

	// 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 ListSightingsAccessLevelEnum `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 ListSightingsSortOrderEnum `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 ListSightingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Start time for a filter. If start time is not specified, start time will be set to 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 current time.
	TimeLastDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLastDetectedLessThanOrEqualTo"`

	// 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
}

ListSightingsRequest wrapper for the ListSightings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListSightings.go.html to see an example of how to use ListSightingsRequest.

func (ListSightingsRequest) BinaryRequestBody ¶

func (request ListSightingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSightingsRequest) HTTPRequest ¶

func (request ListSightingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSightingsRequest) RetryPolicy ¶

func (request ListSightingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSightingsRequest) String ¶

func (request ListSightingsRequest) String() string

func (ListSightingsRequest) ValidateEnumValue ¶

func (request ListSightingsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListSightingsResponse ¶

type ListSightingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SightingCollection instances
	SightingCollection `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"`
}

ListSightingsResponse wrapper for the ListSightings operation

func (ListSightingsResponse) HTTPResponse ¶

func (response ListSightingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSightingsResponse) String ¶

func (response ListSightingsResponse) String() string

type ListSightingsSortByEnum ¶

type ListSightingsSortByEnum string

ListSightingsSortByEnum Enum with underlying type: string

const (
	ListSightingsSortByTimecreated ListSightingsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListSightingsSortByEnum

func GetListSightingsSortByEnumValues ¶

func GetListSightingsSortByEnumValues() []ListSightingsSortByEnum

GetListSightingsSortByEnumValues Enumerates the set of values for ListSightingsSortByEnum

func GetMappingListSightingsSortByEnum ¶

func GetMappingListSightingsSortByEnum(val string) (ListSightingsSortByEnum, bool)

GetMappingListSightingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSightingsSortOrderEnum ¶

type ListSightingsSortOrderEnum string

ListSightingsSortOrderEnum Enum with underlying type: string

const (
	ListSightingsSortOrderAsc  ListSightingsSortOrderEnum = "ASC"
	ListSightingsSortOrderDesc ListSightingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSightingsSortOrderEnum

func GetListSightingsSortOrderEnumValues ¶

func GetListSightingsSortOrderEnumValues() []ListSightingsSortOrderEnum

GetListSightingsSortOrderEnumValues Enumerates the set of values for ListSightingsSortOrderEnum

func GetMappingListSightingsSortOrderEnum ¶

func GetMappingListSightingsSortOrderEnum(val string) (ListSightingsSortOrderEnum, bool)

GetMappingListSightingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsLifecycleStateEnum ¶

type ListTacticsLifecycleStateEnum string

ListTacticsLifecycleStateEnum Enum with underlying type: string

const (
	ListTacticsLifecycleStateCreating ListTacticsLifecycleStateEnum = "CREATING"
	ListTacticsLifecycleStateUpdating ListTacticsLifecycleStateEnum = "UPDATING"
	ListTacticsLifecycleStateActive   ListTacticsLifecycleStateEnum = "ACTIVE"
	ListTacticsLifecycleStateInactive ListTacticsLifecycleStateEnum = "INACTIVE"
	ListTacticsLifecycleStateDeleting ListTacticsLifecycleStateEnum = "DELETING"
	ListTacticsLifecycleStateDeleted  ListTacticsLifecycleStateEnum = "DELETED"
	ListTacticsLifecycleStateFailed   ListTacticsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTacticsLifecycleStateEnum

func GetListTacticsLifecycleStateEnumValues ¶

func GetListTacticsLifecycleStateEnumValues() []ListTacticsLifecycleStateEnum

GetListTacticsLifecycleStateEnumValues Enumerates the set of values for ListTacticsLifecycleStateEnum

func GetMappingListTacticsLifecycleStateEnum ¶

func GetMappingListTacticsLifecycleStateEnum(val string) (ListTacticsLifecycleStateEnum, bool)

GetMappingListTacticsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsRequest ¶

type ListTacticsRequest 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 ListTacticsLifecycleStateEnum `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 ListTacticsSortOrderEnum `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 ListTacticsSortByEnum `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
}

ListTacticsRequest wrapper for the ListTactics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTactics.go.html to see an example of how to use ListTacticsRequest.

func (ListTacticsRequest) BinaryRequestBody ¶

func (request ListTacticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTacticsRequest) HTTPRequest ¶

func (request ListTacticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTacticsRequest) RetryPolicy ¶

func (request ListTacticsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTacticsRequest) String ¶

func (request ListTacticsRequest) String() string

func (ListTacticsRequest) ValidateEnumValue ¶

func (request ListTacticsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTacticsResponse ¶

type ListTacticsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TacticCollection instances
	TacticCollection `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"`
}

ListTacticsResponse wrapper for the ListTactics operation

func (ListTacticsResponse) HTTPResponse ¶

func (response ListTacticsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTacticsResponse) String ¶

func (response ListTacticsResponse) String() string

type ListTacticsSortByEnum ¶

type ListTacticsSortByEnum string

ListTacticsSortByEnum Enum with underlying type: string

const (
	ListTacticsSortByDisplayname ListTacticsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTacticsSortByEnum

func GetListTacticsSortByEnumValues ¶

func GetListTacticsSortByEnumValues() []ListTacticsSortByEnum

GetListTacticsSortByEnumValues Enumerates the set of values for ListTacticsSortByEnum

func GetMappingListTacticsSortByEnum ¶

func GetMappingListTacticsSortByEnum(val string) (ListTacticsSortByEnum, bool)

GetMappingListTacticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTacticsSortOrderEnum ¶

type ListTacticsSortOrderEnum string

ListTacticsSortOrderEnum Enum with underlying type: string

const (
	ListTacticsSortOrderAsc  ListTacticsSortOrderEnum = "ASC"
	ListTacticsSortOrderDesc ListTacticsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTacticsSortOrderEnum

func GetListTacticsSortOrderEnumValues ¶

func GetListTacticsSortOrderEnumValues() []ListTacticsSortOrderEnum

GetListTacticsSortOrderEnumValues Enumerates the set of values for ListTacticsSortOrderEnum

func GetMappingListTacticsSortOrderEnum ¶

func GetMappingListTacticsSortOrderEnum(val string) (ListTacticsSortOrderEnum, bool)

GetMappingListTacticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum ¶

type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum string

ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesLifecycleStateCreating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateUpdating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateActive   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateInactive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleting ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleted  ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipeDetectorRulesLifecycleStateFailed   ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum

func GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesRequest ¶

type ListTargetDetectorRecipeDetectorRulesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipeDetectorRulesRequest wrapper for the ListTargetDetectorRecipeDetectorRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRulesRequest.

func (ListTargetDetectorRecipeDetectorRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipeDetectorRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipeDetectorRulesRequest) String ¶

func (ListTargetDetectorRecipeDetectorRulesRequest) ValidateEnumValue ¶

func (request ListTargetDetectorRecipeDetectorRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetDetectorRecipeDetectorRulesResponse ¶

type ListTargetDetectorRecipeDetectorRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeDetectorRuleCollection instances
	TargetDetectorRecipeDetectorRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipeDetectorRulesResponse wrapper for the ListTargetDetectorRecipeDetectorRules operation

func (ListTargetDetectorRecipeDetectorRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipeDetectorRulesResponse) String ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortByEnum string

ListTargetDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortByDisplayname ListTargetDetectorRecipeDetectorRulesSortByEnum = "displayName"
	ListTargetDetectorRecipeDetectorRulesSortByRisklevel   ListTargetDetectorRecipeDetectorRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues() []ListTargetDetectorRecipeDetectorRulesSortByEnum

GetListTargetDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortByEnum

func GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortByEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum ¶

type ListTargetDetectorRecipeDetectorRulesSortOrderEnum string

ListTargetDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipeDetectorRulesSortOrderAsc  ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "ASC"
	ListTargetDetectorRecipeDetectorRulesSortOrderDesc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues ¶

func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues() []ListTargetDetectorRecipeDetectorRulesSortOrderEnum

GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum

func GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum ¶

func GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortOrderEnum, bool)

GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesLifecycleStateEnum ¶

type ListTargetDetectorRecipesLifecycleStateEnum string

ListTargetDetectorRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesLifecycleStateCreating ListTargetDetectorRecipesLifecycleStateEnum = "CREATING"
	ListTargetDetectorRecipesLifecycleStateUpdating ListTargetDetectorRecipesLifecycleStateEnum = "UPDATING"
	ListTargetDetectorRecipesLifecycleStateActive   ListTargetDetectorRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetDetectorRecipesLifecycleStateInactive ListTargetDetectorRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetDetectorRecipesLifecycleStateDeleting ListTargetDetectorRecipesLifecycleStateEnum = "DELETING"
	ListTargetDetectorRecipesLifecycleStateDeleted  ListTargetDetectorRecipesLifecycleStateEnum = "DELETED"
	ListTargetDetectorRecipesLifecycleStateFailed   ListTargetDetectorRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesLifecycleStateEnum

func GetListTargetDetectorRecipesLifecycleStateEnumValues ¶

func GetListTargetDetectorRecipesLifecycleStateEnumValues() []ListTargetDetectorRecipesLifecycleStateEnum

GetListTargetDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipesLifecycleStateEnum

func GetMappingListTargetDetectorRecipesLifecycleStateEnum ¶

func GetMappingListTargetDetectorRecipesLifecycleStateEnum(val string) (ListTargetDetectorRecipesLifecycleStateEnum, bool)

GetMappingListTargetDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesRequest ¶

type ListTargetDetectorRecipesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetDetectorRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetDetectorRecipesRequest wrapper for the ListTargetDetectorRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipesRequest.

func (ListTargetDetectorRecipesRequest) BinaryRequestBody ¶

func (request ListTargetDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetDetectorRecipesRequest) HTTPRequest ¶

func (request ListTargetDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetDetectorRecipesRequest) RetryPolicy ¶

func (request ListTargetDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetDetectorRecipesRequest) String ¶

func (request ListTargetDetectorRecipesRequest) String() string

func (ListTargetDetectorRecipesRequest) ValidateEnumValue ¶

func (request ListTargetDetectorRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetDetectorRecipesResponse ¶

type ListTargetDetectorRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetDetectorRecipeCollection instances
	TargetDetectorRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetDetectorRecipesResponse wrapper for the ListTargetDetectorRecipes operation

func (ListTargetDetectorRecipesResponse) HTTPResponse ¶

func (response ListTargetDetectorRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetDetectorRecipesResponse) String ¶

func (response ListTargetDetectorRecipesResponse) String() string

type ListTargetDetectorRecipesSortByEnum ¶

type ListTargetDetectorRecipesSortByEnum string

ListTargetDetectorRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortByTimecreated ListTargetDetectorRecipesSortByEnum = "timeCreated"
	ListTargetDetectorRecipesSortByDisplayname ListTargetDetectorRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortByEnum

func GetListTargetDetectorRecipesSortByEnumValues ¶

func GetListTargetDetectorRecipesSortByEnumValues() []ListTargetDetectorRecipesSortByEnum

GetListTargetDetectorRecipesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortByEnum

func GetMappingListTargetDetectorRecipesSortByEnum ¶

func GetMappingListTargetDetectorRecipesSortByEnum(val string) (ListTargetDetectorRecipesSortByEnum, bool)

GetMappingListTargetDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetDetectorRecipesSortOrderEnum ¶

type ListTargetDetectorRecipesSortOrderEnum string

ListTargetDetectorRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetDetectorRecipesSortOrderAsc  ListTargetDetectorRecipesSortOrderEnum = "ASC"
	ListTargetDetectorRecipesSortOrderDesc ListTargetDetectorRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetDetectorRecipesSortOrderEnum

func GetListTargetDetectorRecipesSortOrderEnumValues ¶

func GetListTargetDetectorRecipesSortOrderEnumValues() []ListTargetDetectorRecipesSortOrderEnum

GetListTargetDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortOrderEnum

func GetMappingListTargetDetectorRecipesSortOrderEnum ¶

func GetMappingListTargetDetectorRecipesSortOrderEnum(val string) (ListTargetDetectorRecipesSortOrderEnum, bool)

GetMappingListTargetDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum ¶

type ListTargetResponderRecipeResponderRulesLifecycleStateEnum string

ListTargetResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesLifecycleStateCreating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateUpdating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipeResponderRulesLifecycleStateActive   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateInactive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleting ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipeResponderRulesLifecycleStateDeleted  ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipeResponderRulesLifecycleStateFailed   ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues() []ListTargetResponderRecipeResponderRulesLifecycleStateEnum

GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum

func GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListTargetResponderRecipeResponderRulesLifecycleStateEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesRequest ¶

type ListTargetResponderRecipeResponderRulesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListTargetResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipeResponderRulesRequest wrapper for the ListTargetResponderRecipeResponderRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRulesRequest.

func (ListTargetResponderRecipeResponderRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListTargetResponderRecipeResponderRulesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipeResponderRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipeResponderRulesRequest) String ¶

func (ListTargetResponderRecipeResponderRulesRequest) ValidateEnumValue ¶

func (request ListTargetResponderRecipeResponderRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetResponderRecipeResponderRulesResponse ¶

type ListTargetResponderRecipeResponderRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeResponderRuleCollection instances
	TargetResponderRecipeResponderRuleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipeResponderRulesResponse wrapper for the ListTargetResponderRecipeResponderRules operation

func (ListTargetResponderRecipeResponderRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipeResponderRulesResponse) String ¶

type ListTargetResponderRecipeResponderRulesSortByEnum ¶

type ListTargetResponderRecipeResponderRulesSortByEnum string

ListTargetResponderRecipeResponderRulesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortByDisplayname ListTargetResponderRecipeResponderRulesSortByEnum = "displayName"
	ListTargetResponderRecipeResponderRulesSortByRisklevel   ListTargetResponderRecipeResponderRulesSortByEnum = "riskLevel"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortByEnum

func GetListTargetResponderRecipeResponderRulesSortByEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortByEnumValues() []ListTargetResponderRecipeResponderRulesSortByEnum

GetListTargetResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortByEnum

func GetMappingListTargetResponderRecipeResponderRulesSortByEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesSortByEnum(val string) (ListTargetResponderRecipeResponderRulesSortByEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipeResponderRulesSortOrderEnum ¶

type ListTargetResponderRecipeResponderRulesSortOrderEnum string

ListTargetResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipeResponderRulesSortOrderAsc  ListTargetResponderRecipeResponderRulesSortOrderEnum = "ASC"
	ListTargetResponderRecipeResponderRulesSortOrderDesc ListTargetResponderRecipeResponderRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues ¶

func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues() []ListTargetResponderRecipeResponderRulesSortOrderEnum

GetListTargetResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortOrderEnum

func GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum ¶

func GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum(val string) (ListTargetResponderRecipeResponderRulesSortOrderEnum, bool)

GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesLifecycleStateEnum ¶

type ListTargetResponderRecipesLifecycleStateEnum string

ListTargetResponderRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesLifecycleStateCreating ListTargetResponderRecipesLifecycleStateEnum = "CREATING"
	ListTargetResponderRecipesLifecycleStateUpdating ListTargetResponderRecipesLifecycleStateEnum = "UPDATING"
	ListTargetResponderRecipesLifecycleStateActive   ListTargetResponderRecipesLifecycleStateEnum = "ACTIVE"
	ListTargetResponderRecipesLifecycleStateInactive ListTargetResponderRecipesLifecycleStateEnum = "INACTIVE"
	ListTargetResponderRecipesLifecycleStateDeleting ListTargetResponderRecipesLifecycleStateEnum = "DELETING"
	ListTargetResponderRecipesLifecycleStateDeleted  ListTargetResponderRecipesLifecycleStateEnum = "DELETED"
	ListTargetResponderRecipesLifecycleStateFailed   ListTargetResponderRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetResponderRecipesLifecycleStateEnum

func GetListTargetResponderRecipesLifecycleStateEnumValues ¶

func GetListTargetResponderRecipesLifecycleStateEnumValues() []ListTargetResponderRecipesLifecycleStateEnum

GetListTargetResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipesLifecycleStateEnum

func GetMappingListTargetResponderRecipesLifecycleStateEnum ¶

func GetMappingListTargetResponderRecipesLifecycleStateEnum(val string) (ListTargetResponderRecipesLifecycleStateEnum, bool)

GetMappingListTargetResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesRequest ¶

type ListTargetResponderRecipesRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetResponderRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetResponderRecipesRequest wrapper for the ListTargetResponderRecipes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipesRequest.

func (ListTargetResponderRecipesRequest) BinaryRequestBody ¶

func (request ListTargetResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetResponderRecipesRequest) HTTPRequest ¶

func (request ListTargetResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetResponderRecipesRequest) RetryPolicy ¶

func (request ListTargetResponderRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetResponderRecipesRequest) String ¶

func (request ListTargetResponderRecipesRequest) String() string

func (ListTargetResponderRecipesRequest) ValidateEnumValue ¶

func (request ListTargetResponderRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetResponderRecipesResponse ¶

type ListTargetResponderRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetResponderRecipeCollection instances
	TargetResponderRecipeCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetResponderRecipesResponse wrapper for the ListTargetResponderRecipes operation

func (ListTargetResponderRecipesResponse) HTTPResponse ¶

func (response ListTargetResponderRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetResponderRecipesResponse) String ¶

func (response ListTargetResponderRecipesResponse) String() string

type ListTargetResponderRecipesSortByEnum ¶

type ListTargetResponderRecipesSortByEnum string

ListTargetResponderRecipesSortByEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortByTimecreated ListTargetResponderRecipesSortByEnum = "timeCreated"
	ListTargetResponderRecipesSortByDisplayname ListTargetResponderRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortByEnum

func GetListTargetResponderRecipesSortByEnumValues ¶

func GetListTargetResponderRecipesSortByEnumValues() []ListTargetResponderRecipesSortByEnum

GetListTargetResponderRecipesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipesSortByEnum

func GetMappingListTargetResponderRecipesSortByEnum ¶

func GetMappingListTargetResponderRecipesSortByEnum(val string) (ListTargetResponderRecipesSortByEnum, bool)

GetMappingListTargetResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetResponderRecipesSortOrderEnum ¶

type ListTargetResponderRecipesSortOrderEnum string

ListTargetResponderRecipesSortOrderEnum Enum with underlying type: string

const (
	ListTargetResponderRecipesSortOrderAsc  ListTargetResponderRecipesSortOrderEnum = "ASC"
	ListTargetResponderRecipesSortOrderDesc ListTargetResponderRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetResponderRecipesSortOrderEnum

func GetListTargetResponderRecipesSortOrderEnumValues ¶

func GetListTargetResponderRecipesSortOrderEnumValues() []ListTargetResponderRecipesSortOrderEnum

GetListTargetResponderRecipesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipesSortOrderEnum

func GetMappingListTargetResponderRecipesSortOrderEnum ¶

func GetMappingListTargetResponderRecipesSortOrderEnum(val string) (ListTargetResponderRecipesSortOrderEnum, bool)

GetMappingListTargetResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsAccessLevelEnum ¶

type ListTargetsAccessLevelEnum string

ListTargetsAccessLevelEnum Enum with underlying type: string

const (
	ListTargetsAccessLevelRestricted ListTargetsAccessLevelEnum = "RESTRICTED"
	ListTargetsAccessLevelAccessible ListTargetsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListTargetsAccessLevelEnum

func GetListTargetsAccessLevelEnumValues ¶

func GetListTargetsAccessLevelEnumValues() []ListTargetsAccessLevelEnum

GetListTargetsAccessLevelEnumValues Enumerates the set of values for ListTargetsAccessLevelEnum

func GetMappingListTargetsAccessLevelEnum ¶

func GetMappingListTargetsAccessLevelEnum(val string) (ListTargetsAccessLevelEnum, bool)

GetMappingListTargetsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsLifecycleStateEnum ¶

type ListTargetsLifecycleStateEnum string

ListTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListTargetsLifecycleStateCreating ListTargetsLifecycleStateEnum = "CREATING"
	ListTargetsLifecycleStateUpdating ListTargetsLifecycleStateEnum = "UPDATING"
	ListTargetsLifecycleStateActive   ListTargetsLifecycleStateEnum = "ACTIVE"
	ListTargetsLifecycleStateInactive ListTargetsLifecycleStateEnum = "INACTIVE"
	ListTargetsLifecycleStateDeleting ListTargetsLifecycleStateEnum = "DELETING"
	ListTargetsLifecycleStateDeleted  ListTargetsLifecycleStateEnum = "DELETED"
	ListTargetsLifecycleStateFailed   ListTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTargetsLifecycleStateEnum

func GetListTargetsLifecycleStateEnumValues ¶

func GetListTargetsLifecycleStateEnumValues() []ListTargetsLifecycleStateEnum

GetListTargetsLifecycleStateEnumValues Enumerates the set of values for ListTargetsLifecycleStateEnum

func GetMappingListTargetsLifecycleStateEnum ¶

func GetMappingListTargetsLifecycleStateEnum(val string) (ListTargetsLifecycleStateEnum, bool)

GetMappingListTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsRequest ¶

type ListTargetsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Default is false.
	// When set to true, only the targets that would be deleted as part of
	// security zone creation will be returned.
	IsNonSecurityZoneTargetsOnlyQuery *bool `mandatory:"false" contributesTo:"query" name:"isNonSecurityZoneTargetsOnlyQuery"`

	// The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
	LifecycleState ListTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel ListTargetsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListTargetsRequest wrapper for the ListTargets operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTargets.go.html to see an example of how to use ListTargetsRequest.

func (ListTargetsRequest) BinaryRequestBody ¶

func (request ListTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetsRequest) HTTPRequest ¶

func (request ListTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetsRequest) RetryPolicy ¶

func (request ListTargetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTargetsRequest) String ¶

func (request ListTargetsRequest) String() string

func (ListTargetsRequest) ValidateEnumValue ¶

func (request ListTargetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetsResponse ¶

type ListTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TargetCollection instances
	TargetCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListTargetsResponse wrapper for the ListTargets operation

func (ListTargetsResponse) HTTPResponse ¶

func (response ListTargetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTargetsResponse) String ¶

func (response ListTargetsResponse) String() string

type ListTargetsSortByEnum ¶

type ListTargetsSortByEnum string

ListTargetsSortByEnum Enum with underlying type: string

const (
	ListTargetsSortByTimecreated ListTargetsSortByEnum = "timeCreated"
	ListTargetsSortByDisplayname ListTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTargetsSortByEnum

func GetListTargetsSortByEnumValues ¶

func GetListTargetsSortByEnumValues() []ListTargetsSortByEnum

GetListTargetsSortByEnumValues Enumerates the set of values for ListTargetsSortByEnum

func GetMappingListTargetsSortByEnum ¶

func GetMappingListTargetsSortByEnum(val string) (ListTargetsSortByEnum, bool)

GetMappingListTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetsSortOrderEnum ¶

type ListTargetsSortOrderEnum string

ListTargetsSortOrderEnum Enum with underlying type: string

const (
	ListTargetsSortOrderAsc  ListTargetsSortOrderEnum = "ASC"
	ListTargetsSortOrderDesc ListTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTargetsSortOrderEnum

func GetListTargetsSortOrderEnumValues ¶

func GetListTargetsSortOrderEnumValues() []ListTargetsSortOrderEnum

GetListTargetsSortOrderEnumValues Enumerates the set of values for ListTargetsSortOrderEnum

func GetMappingListTargetsSortOrderEnum ¶

func GetMappingListTargetsSortOrderEnum(val string) (ListTargetsSortOrderEnum, bool)

GetMappingListTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesLifecycleStateEnum ¶

type ListTechniquesLifecycleStateEnum string

ListTechniquesLifecycleStateEnum Enum with underlying type: string

const (
	ListTechniquesLifecycleStateCreating ListTechniquesLifecycleStateEnum = "CREATING"
	ListTechniquesLifecycleStateUpdating ListTechniquesLifecycleStateEnum = "UPDATING"
	ListTechniquesLifecycleStateActive   ListTechniquesLifecycleStateEnum = "ACTIVE"
	ListTechniquesLifecycleStateInactive ListTechniquesLifecycleStateEnum = "INACTIVE"
	ListTechniquesLifecycleStateDeleting ListTechniquesLifecycleStateEnum = "DELETING"
	ListTechniquesLifecycleStateDeleted  ListTechniquesLifecycleStateEnum = "DELETED"
	ListTechniquesLifecycleStateFailed   ListTechniquesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListTechniquesLifecycleStateEnum

func GetListTechniquesLifecycleStateEnumValues ¶

func GetListTechniquesLifecycleStateEnumValues() []ListTechniquesLifecycleStateEnum

GetListTechniquesLifecycleStateEnumValues Enumerates the set of values for ListTechniquesLifecycleStateEnum

func GetMappingListTechniquesLifecycleStateEnum ¶

func GetMappingListTechniquesLifecycleStateEnum(val string) (ListTechniquesLifecycleStateEnum, bool)

GetMappingListTechniquesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesRequest ¶

type ListTechniquesRequest 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 list of tactics given.
	Tactics []string `contributesTo:"query" name:"tactics" collectionFormat:"multi"`

	// 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 ListTechniquesLifecycleStateEnum `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 ListTechniquesSortOrderEnum `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 ListTechniquesSortByEnum `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
}

ListTechniquesRequest wrapper for the ListTechniques operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListTechniques.go.html to see an example of how to use ListTechniquesRequest.

func (ListTechniquesRequest) BinaryRequestBody ¶

func (request ListTechniquesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTechniquesRequest) HTTPRequest ¶

func (request ListTechniquesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTechniquesRequest) RetryPolicy ¶

func (request ListTechniquesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTechniquesRequest) String ¶

func (request ListTechniquesRequest) String() string

func (ListTechniquesRequest) ValidateEnumValue ¶

func (request ListTechniquesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTechniquesResponse ¶

type ListTechniquesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of TechniqueCollection instances
	TechniqueCollection `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"`
}

ListTechniquesResponse wrapper for the ListTechniques operation

func (ListTechniquesResponse) HTTPResponse ¶

func (response ListTechniquesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTechniquesResponse) String ¶

func (response ListTechniquesResponse) String() string

type ListTechniquesSortByEnum ¶

type ListTechniquesSortByEnum string

ListTechniquesSortByEnum Enum with underlying type: string

const (
	ListTechniquesSortByDisplayname ListTechniquesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListTechniquesSortByEnum

func GetListTechniquesSortByEnumValues ¶

func GetListTechniquesSortByEnumValues() []ListTechniquesSortByEnum

GetListTechniquesSortByEnumValues Enumerates the set of values for ListTechniquesSortByEnum

func GetMappingListTechniquesSortByEnum ¶

func GetMappingListTechniquesSortByEnum(val string) (ListTechniquesSortByEnum, bool)

GetMappingListTechniquesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTechniquesSortOrderEnum ¶

type ListTechniquesSortOrderEnum string

ListTechniquesSortOrderEnum Enum with underlying type: string

const (
	ListTechniquesSortOrderAsc  ListTechniquesSortOrderEnum = "ASC"
	ListTechniquesSortOrderDesc ListTechniquesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTechniquesSortOrderEnum

func GetListTechniquesSortOrderEnumValues ¶

func GetListTechniquesSortOrderEnumValues() []ListTechniquesSortOrderEnum

GetListTechniquesSortOrderEnumValues Enumerates the set of values for ListTechniquesSortOrderEnum

func GetMappingListTechniquesSortOrderEnum ¶

func GetMappingListTechniquesSortOrderEnum(val string) (ListTechniquesSortOrderEnum, bool)

GetMappingListTechniquesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest ¶ added in v65.17.0

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse ¶ added in v65.17.0

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// 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"`

	// 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"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum ¶ added in v65.17.0

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest ¶ added in v65.17.0

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse ¶ added in v65.17.0

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// 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"`

	// 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"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum ¶ added in v65.17.0

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest ¶ added in v65.17.0

type ListWorkRequestsRequest 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 their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The ID of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody ¶ added in v65.17.0

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest ¶ added in v65.17.0

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶ added in v65.17.0

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String ¶ added in v65.17.0

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue ¶ added in v65.17.0

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse ¶ added in v65.17.0

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestSummaryCollection instances
	WorkRequestSummaryCollection `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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶ added in v65.17.0

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶ added in v65.17.0

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum ¶ added in v65.17.0

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues ¶ added in v65.17.0

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum ¶ added in v65.17.0

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues ¶ added in v65.17.0

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum ¶ added in v65.17.0

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues ¶ added in v65.17.0

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum ¶ added in v65.17.0

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type LoggingEventInfo ¶ added in v65.17.0

type LoggingEventInfo struct {
	ObservedValue *string `mandatory:"false" json:"observedValue"`

	TriggerValue *string `mandatory:"false" json:"triggerValue"`

	Operator *string `mandatory:"false" json:"operator"`

	LogResult *string `mandatory:"false" json:"logResult"`
}

LoggingEventInfo The information about new Logging event detail of DataSource.

func (LoggingEventInfo) MarshalJSON ¶ added in v65.17.0

func (m LoggingEventInfo) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingEventInfo) String ¶ added in v65.17.0

func (m LoggingEventInfo) String() string

func (LoggingEventInfo) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingEventInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDataSourceDetails ¶ added in v65.17.0

type LoggingQueryDataSourceDetails struct {

	// Logging Query regions
	Regions []string `mandatory:"false" json:"regions"`

	// The continuous query expression that is run periodically.
	Query *string `mandatory:"false" json:"query"`

	// Interval in minutes that query is run periodically.
	IntervalInMinutes *int `mandatory:"false" json:"intervalInMinutes"`

	// The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
	Threshold *int `mandatory:"false" json:"threshold"`

	QueryStartTime ContinuousQueryStartPolicy `mandatory:"false" json:"queryStartTime"`

	// The additional entities count used for data source query.
	AdditionalEntitiesCount *int `mandatory:"false" json:"additionalEntitiesCount"`

	LoggingQueryDetails LoggingQueryDetails `mandatory:"false" json:"loggingQueryDetails"`

	// Operator used in Data Soruce
	Operator LoggingQueryOperatorTypeEnum `mandatory:"false" json:"operator,omitempty"`

	// Logging query type for data source (Sighting/Insight)
	LoggingQueryType LoggingQueryTypeEnum `mandatory:"false" json:"loggingQueryType,omitempty"`
}

LoggingQueryDataSourceDetails The information about new Logging Query of type DataSource.

func (LoggingQueryDataSourceDetails) MarshalJSON ¶ added in v65.17.0

func (m LoggingQueryDataSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingQueryDataSourceDetails) String ¶ added in v65.17.0

func (*LoggingQueryDataSourceDetails) UnmarshalJSON ¶ added in v65.17.0

func (m *LoggingQueryDataSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (LoggingQueryDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingQueryDataSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDataSourceSummaryDetails ¶ added in v65.17.0

type LoggingQueryDataSourceSummaryDetails struct {

	// DataSource customer specified regions
	Regions []string `mandatory:"false" json:"regions"`

	// DataSource mapping with detectorRecipe and detectorRule
	DataSourceDetectorMappingInfo []DataSourceMappingInfo `mandatory:"false" json:"dataSourceDetectorMappingInfo"`

	// DataSource query metadata replication region and status.
	RegionStatusDetail []RegionStatusDetail `mandatory:"false" json:"regionStatusDetail"`
}

LoggingQueryDataSourceSummaryDetails The information about new Logging Query of type DataSourceSummary.

func (LoggingQueryDataSourceSummaryDetails) MarshalJSON ¶ added in v65.17.0

func (m LoggingQueryDataSourceSummaryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoggingQueryDataSourceSummaryDetails) String ¶ added in v65.17.0

func (LoggingQueryDataSourceSummaryDetails) ValidateEnumValue ¶ added in v65.17.0

func (m LoggingQueryDataSourceSummaryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LoggingQueryDetails ¶ added in v65.17.0

type LoggingQueryDetails interface {
}

LoggingQueryDetails Additional details specific to the data source type (Sighting/Insight).

type LoggingQueryOperatorTypeEnum ¶ added in v65.17.0

type LoggingQueryOperatorTypeEnum string

LoggingQueryOperatorTypeEnum Enum with underlying type: string

const (
	LoggingQueryOperatorTypeEqual              LoggingQueryOperatorTypeEnum = "EQUAL"
	LoggingQueryOperatorTypeGreater            LoggingQueryOperatorTypeEnum = "GREATER"
	LoggingQueryOperatorTypeGreaterthanequalto LoggingQueryOperatorTypeEnum = "GREATERTHANEQUALTO"
	LoggingQueryOperatorTypeLess               LoggingQueryOperatorTypeEnum = "LESS"
	LoggingQueryOperatorTypeLessthanequalto    LoggingQueryOperatorTypeEnum = "LESSTHANEQUALTO"
)

Set of constants representing the allowable values for LoggingQueryOperatorTypeEnum

func GetLoggingQueryOperatorTypeEnumValues ¶ added in v65.17.0

func GetLoggingQueryOperatorTypeEnumValues() []LoggingQueryOperatorTypeEnum

GetLoggingQueryOperatorTypeEnumValues Enumerates the set of values for LoggingQueryOperatorTypeEnum

func GetMappingLoggingQueryOperatorTypeEnum ¶ added in v65.17.0

func GetMappingLoggingQueryOperatorTypeEnum(val string) (LoggingQueryOperatorTypeEnum, bool)

GetMappingLoggingQueryOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LoggingQueryTypeEnum ¶ added in v65.17.0

type LoggingQueryTypeEnum string

LoggingQueryTypeEnum Enum with underlying type: string

const (
	LoggingQueryTypeInsight LoggingQueryTypeEnum = "INSIGHT"
)

Set of constants representing the allowable values for LoggingQueryTypeEnum

func GetLoggingQueryTypeEnumValues ¶ added in v65.17.0

func GetLoggingQueryTypeEnumValues() []LoggingQueryTypeEnum

GetLoggingQueryTypeEnumValues Enumerates the set of values for LoggingQueryTypeEnum

func GetMappingLoggingQueryTypeEnum ¶ added in v65.17.0

func GetMappingLoggingQueryTypeEnum(val string) (LoggingQueryTypeEnum, bool)

GetMappingLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedList ¶

type ManagedList struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// ManagedList display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// type of the list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// ManagedList description.
	Description *string `mandatory:"false" json:"description"`

	// OCID of the Source ManagedList
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// List of ManagedListItem
	ListItems []string `mandatory:"false" json:"listItems"`

	// provider of the feed
	FeedProvider FeedProviderTypeEnum `mandatory:"false" json:"feedProvider,omitempty"`

	// If this list is editable or not
	IsEditable *bool `mandatory:"false" json:"isEditable"`

	// The date and time the managed list was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the managed list was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedList A cloud guard list containing one or more items of a list type

func (ManagedList) String ¶

func (m ManagedList) String() string

func (ManagedList) ValidateEnumValue ¶

func (m ManagedList) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListCollection ¶

type ManagedListCollection struct {

	// List of ManagedListSummary
	Items []ManagedListSummary `mandatory:"true" json:"items"`
}

ManagedListCollection Summary of the ManagedList.

func (ManagedListCollection) String ¶

func (m ManagedListCollection) String() string

func (ManagedListCollection) ValidateEnumValue ¶

func (m ManagedListCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListSummary ¶

type ManagedListSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// ManagedList display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// type of the list
	ListType ManagedListTypeEnum `mandatory:"true" json:"listType"`

	// provider of the feed
	FeedProvider FeedProviderTypeEnum `mandatory:"true" json:"feedProvider"`

	// List of ManagedListItem
	ListItems []string `mandatory:"true" json:"listItems"`

	// ManagedList description
	Description *string `mandatory:"false" json:"description"`

	// OCID of the Source ManagedList
	SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"`

	// If this list is editable or not
	IsEditable *bool `mandatory:"false" json:"isEditable"`

	// The date and time the managed list was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the managed list was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ManagedListSummary Summary of ManagedList

func (ManagedListSummary) String ¶

func (m ManagedListSummary) String() string

func (ManagedListSummary) ValidateEnumValue ¶

func (m ManagedListSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListTypeCollection ¶

type ManagedListTypeCollection struct {

	// List of ManagedListTypeSummary
	Items []ManagedListTypeSummary `mandatory:"true" json:"items"`
}

ManagedListTypeCollection Summary of the ManagedListType.

func (ManagedListTypeCollection) String ¶

func (m ManagedListTypeCollection) String() string

func (ManagedListTypeCollection) ValidateEnumValue ¶

func (m ManagedListTypeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ManagedListTypeEnum ¶

type ManagedListTypeEnum string

ManagedListTypeEnum Enum with underlying type: string

const (
	ManagedListTypeCidrBlock    ManagedListTypeEnum = "CIDR_BLOCK"
	ManagedListTypeUsers        ManagedListTypeEnum = "USERS"
	ManagedListTypeGroups       ManagedListTypeEnum = "GROUPS"
	ManagedListTypeIpv4Address  ManagedListTypeEnum = "IPV4ADDRESS"
	ManagedListTypeIpv6Address  ManagedListTypeEnum = "IPV6ADDRESS"
	ManagedListTypeResourceOcid ManagedListTypeEnum = "RESOURCE_OCID"
	ManagedListTypeRegion       ManagedListTypeEnum = "REGION"
	ManagedListTypeCountry      ManagedListTypeEnum = "COUNTRY"
	ManagedListTypeState        ManagedListTypeEnum = "STATE"
	ManagedListTypeCity         ManagedListTypeEnum = "CITY"
	ManagedListTypeTags         ManagedListTypeEnum = "TAGS"
	ManagedListTypeGeneric      ManagedListTypeEnum = "GENERIC"
)

Set of constants representing the allowable values for ManagedListTypeEnum

func GetManagedListTypeEnumValues ¶

func GetManagedListTypeEnumValues() []ManagedListTypeEnum

GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum

func GetMappingManagedListTypeEnum ¶

func GetMappingManagedListTypeEnum(val string) (ManagedListTypeEnum, bool)

GetMappingManagedListTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ManagedListTypeSummary ¶

type ManagedListTypeSummary struct {

	// ManagedListType Identifier
	Id *string `mandatory:"true" json:"id"`

	// ManagedListType description
	Description *string `mandatory:"false" json:"description"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManagedListTypeSummary Summary of the ManagedListType.

func (ManagedListTypeSummary) String ¶

func (m ManagedListTypeSummary) String() string

func (ManagedListTypeSummary) ValidateEnumValue ¶

func (m ManagedListTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NoDelayStartPolicy ¶ added in v65.17.0

type NoDelayStartPolicy struct {
}

NoDelayStartPolicy Continuous query start policy that starts the query immediately.

func (NoDelayStartPolicy) MarshalJSON ¶ added in v65.17.0

func (m NoDelayStartPolicy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NoDelayStartPolicy) String ¶ added in v65.17.0

func (m NoDelayStartPolicy) String() string

func (NoDelayStartPolicy) ValidateEnumValue ¶ added in v65.17.0

func (m NoDelayStartPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum ¶ added in v65.17.0

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum ¶ added in v65.17.0

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues ¶ added in v65.17.0

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum ¶ added in v65.17.0

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreate OperationTypeEnum = "CREATE"
	OperationTypeUpdate OperationTypeEnum = "UPDATE"
	OperationTypeDelete OperationTypeEnum = "DELETE"
	OperationTypeMove   OperationTypeEnum = "MOVE"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum ¶ added in v65.17.0

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues ¶ added in v65.17.0

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type OperatorSummary ¶

type OperatorSummary struct {

	// name of the operand
	Name *string `mandatory:"true" json:"name"`

	// display name of the operand
	DisplayName *string `mandatory:"true" json:"displayName"`

	// data type of operand
	Datatype *string `mandatory:"true" json:"datatype"`

	// operand list type
	ManagedListtype *string `mandatory:"true" json:"managedListtype"`

	// Filter type can be config filter or condition filter
	FilterType ConditionFilterTypeEnum `mandatory:"true" json:"filterType"`

	// List of parameters
	Operators []ConditionOperator `mandatory:"true" json:"operators"`

	// configuration value type list for multilist data type
	MultiListTypes []string `mandatory:"false" json:"multiListTypes"`
}

OperatorSummary Summary of Operator

func (OperatorSummary) String ¶

func (m OperatorSummary) String() string

func (OperatorSummary) ValidateEnumValue ¶

func (m OperatorSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperatorTypeEnum ¶

type OperatorTypeEnum string

OperatorTypeEnum Enum with underlying type: string

const (
	OperatorTypeIn        OperatorTypeEnum = "IN"
	OperatorTypeNotIn     OperatorTypeEnum = "NOT_IN"
	OperatorTypeEquals    OperatorTypeEnum = "EQUALS"
	OperatorTypeNotEquals OperatorTypeEnum = "NOT_EQUALS"
)

Set of constants representing the allowable values for OperatorTypeEnum

func GetMappingOperatorTypeEnum ¶

func GetMappingOperatorTypeEnum(val string) (OperatorTypeEnum, bool)

GetMappingOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperatorTypeEnumValues ¶

func GetOperatorTypeEnumValues() []OperatorTypeEnum

GetOperatorTypeEnumValues Enumerates the set of values for OperatorTypeEnum

type OwnerTypeEnum ¶

type OwnerTypeEnum string

OwnerTypeEnum Enum with underlying type: string

const (
	OwnerTypeCustomer OwnerTypeEnum = "CUSTOMER"
	OwnerTypeOracle   OwnerTypeEnum = "ORACLE"
)

Set of constants representing the allowable values for OwnerTypeEnum

func GetMappingOwnerTypeEnum ¶

func GetMappingOwnerTypeEnum(val string) (OwnerTypeEnum, bool)

GetMappingOwnerTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOwnerTypeEnumValues ¶

func GetOwnerTypeEnumValues() []OwnerTypeEnum

GetOwnerTypeEnumValues Enumerates the set of values for OwnerTypeEnum

type PolicyCollection ¶

type PolicyCollection struct {

	// List of global policy statements
	Items []PolicySummary `mandatory:"true" json:"items"`
}

PolicyCollection Collection of policy statements required by cloud guard

func (PolicyCollection) String ¶

func (m PolicyCollection) String() string

func (PolicyCollection) ValidateEnumValue ¶

func (m PolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PolicySummary ¶

type PolicySummary struct {

	// Global policy statement
	Policy *string `mandatory:"true" json:"policy"`
}

PolicySummary Global policy statement

func (PolicySummary) String ¶

func (m PolicySummary) String() string

func (PolicySummary) ValidateEnumValue ¶

func (m PolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PoliticalLocation ¶

type PoliticalLocation struct {

	// City
	City *string `mandatory:"true" json:"city"`

	// State
	State *string `mandatory:"true" json:"state"`

	// Country
	Country *string `mandatory:"true" json:"country"`
}

PoliticalLocation Political location of a problem

func (PoliticalLocation) String ¶

func (m PoliticalLocation) String() string

func (PoliticalLocation) ValidateEnumValue ¶

func (m PoliticalLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Problem ¶

type Problem struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Identifier of the rule
	DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"`

	// DEPRECATED
	Region *string `mandatory:"false" json:"region"`

	// Regions where the problem is found
	Regions []string `mandatory:"false" json:"regions"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Risk Score for the problem
	RiskScore *float64 `mandatory:"false" json:"riskScore"`

	// The date and time for the peak risk score that is observed. Format defined by RFC3339.
	PeakRiskScoreDate *string `mandatory:"false" json:"peakRiskScoreDate"`

	// Peak risk score for the problem
	PeakRiskScore *float64 `mandatory:"false" json:"peakRiskScore"`

	// The date and time when the problem will be auto resolved. Format defined by RFC3339.
	AutoResolveDate *string `mandatory:"false" json:"autoResolveDate"`

	// Number of days for which peak score is calculated for the problem
	PeakRiskScoreLookupPeriodInDays *int `mandatory:"false" json:"peakRiskScoreLookupPeriodInDays"`

	// 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"`

	// The additional details of the Problem
	AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`

	// Description of the problem
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for the problem
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// User Comments
	Comment *string `mandatory:"false" json:"comment"`

	// Identifier of the impacted Resource
	ImpactedResourceId *string `mandatory:"false" json:"impactedResourceId"`

	// DisplayName of the impacted  Resource
	ImpactedResourceName *string `mandatory:"false" json:"impactedResourceName"`

	// Type of the impacted Resource
	ImpactedResourceType *string `mandatory:"false" json:"impactedResourceType"`
}

Problem Problem Definition.

func (Problem) String ¶

func (m Problem) String() string

func (Problem) ValidateEnumValue ¶

func (m Problem) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemAggregation ¶

type ProblemAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurences with given dimension/s
	Count *int `mandatory:"true" json:"count"`
}

ProblemAggregation Provides the dimensions and their corresponding count value.

func (ProblemAggregation) String ¶

func (m ProblemAggregation) String() string

func (ProblemAggregation) ValidateEnumValue ¶

func (m ProblemAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemAggregationCollection ¶

type ProblemAggregationCollection struct {

	// The items consist of all the ProblemAggregation objects.
	Items []ProblemAggregation `mandatory:"true" json:"items"`
}

ProblemAggregationCollection Problem Analytics data.

func (ProblemAggregationCollection) String ¶

func (ProblemAggregationCollection) ValidateEnumValue ¶

func (m ProblemAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemCategoryEnumEnum ¶ added in v65.3.0

type ProblemCategoryEnumEnum string

ProblemCategoryEnumEnum Enum with underlying type: string

const (
	ProblemCategoryEnumSecurityZone ProblemCategoryEnumEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for ProblemCategoryEnumEnum

func GetMappingProblemCategoryEnumEnum ¶ added in v65.3.0

func GetMappingProblemCategoryEnumEnum(val string) (ProblemCategoryEnumEnum, bool)

GetMappingProblemCategoryEnumEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemCategoryEnumEnumValues ¶ added in v65.3.0

func GetProblemCategoryEnumEnumValues() []ProblemCategoryEnumEnum

GetProblemCategoryEnumEnumValues Enumerates the set of values for ProblemCategoryEnumEnum

type ProblemCollection ¶

type ProblemCollection struct {

	// List of ProblemSummary
	Items []ProblemSummary `mandatory:"true" json:"items"`
}

ProblemCollection Collection of Problem

func (ProblemCollection) String ¶

func (m ProblemCollection) String() string

func (ProblemCollection) ValidateEnumValue ¶

func (m ProblemCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemDimensionEnum ¶

type ProblemDimensionEnum string

ProblemDimensionEnum Enum with underlying type: string

const (
	ProblemDimensionResourceType  ProblemDimensionEnum = "RESOURCE_TYPE"
	ProblemDimensionRegion        ProblemDimensionEnum = "REGION"
	ProblemDimensionCompartmentId ProblemDimensionEnum = "COMPARTMENT_ID"
	ProblemDimensionRiskLevel     ProblemDimensionEnum = "RISK_LEVEL"
)

Set of constants representing the allowable values for ProblemDimensionEnum

func GetMappingProblemDimensionEnum ¶

func GetMappingProblemDimensionEnum(val string) (ProblemDimensionEnum, bool)

GetMappingProblemDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemDimensionEnumValues ¶

func GetProblemDimensionEnumValues() []ProblemDimensionEnum

GetProblemDimensionEnumValues Enumerates the set of values for ProblemDimensionEnum

type ProblemEndpointCollection ¶

type ProblemEndpointCollection struct {

	// List of problem endpoints
	Items []ProblemEndpointSummary `mandatory:"true" json:"items"`
}

ProblemEndpointCollection Provides the list of problem endpoints

func (ProblemEndpointCollection) String ¶

func (m ProblemEndpointCollection) String() string

func (ProblemEndpointCollection) ValidateEnumValue ¶

func (m ProblemEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEndpointSummary ¶

type ProblemEndpointSummary struct {

	// Unique identifier for problem endpoint.
	Id *string `mandatory:"true" json:"id"`

	// Unique id for sighting associated with the endpoint.
	SightingId *string `mandatory:"true" json:"sightingId"`

	// Unique id for cloudguard problem
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display Name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// IP Address of the Endpoint
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// IP Address type of the Endpoint
	IpAddressType *string `mandatory:"true" json:"ipAddressType"`

	// Time when activities were last detected
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// IP Address classification type of the endpoint
	IpClassificationType *string `mandatory:"false" json:"ipClassificationType"`

	// Country of the endpoint
	Country *string `mandatory:"false" json:"country"`

	// Latitude of the endpoint
	Latitude *float64 `mandatory:"false" json:"latitude"`

	// Longitude of the endpoint
	Longitude *float64 `mandatory:"false" json:"longitude"`

	// ASN number of the endpoint
	AsnNumber *string `mandatory:"false" json:"asnNumber"`

	// Regions where activities were performed from this IP
	Regions []string `mandatory:"false" json:"regions"`

	// Services where activities were performed from this IP
	Services []string `mandatory:"false" json:"services"`
}

ProblemEndpointSummary Problem endpoints summary.

func (ProblemEndpointSummary) String ¶

func (m ProblemEndpointSummary) String() string

func (ProblemEndpointSummary) ValidateEnumValue ¶

func (m ProblemEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEntityCollection ¶ added in v65.17.0

type ProblemEntityCollection struct {

	// List of problem entities summaries related to a data source.
	Items []ProblemEntitySummary `mandatory:"true" json:"items"`
}

ProblemEntityCollection The collection of problem entities detail related to a data source.

func (ProblemEntityCollection) String ¶ added in v65.17.0

func (m ProblemEntityCollection) String() string

func (ProblemEntityCollection) ValidateEnumValue ¶ added in v65.17.0

func (m ProblemEntityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemEntitySummary ¶ added in v65.17.0

type ProblemEntitySummary struct {

	// Data source problem entities region
	Regions []string `mandatory:"true" json:"regions"`

	// Data source problem entities first detected time
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// Attached problem id
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Data source problem entities last detected time
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Log result query url for a data source query
	ResultUrl *string `mandatory:"false" json:"resultUrl"`

	// List of event related to a DataSource
	EntityDetails []EntityDetails `mandatory:"false" json:"entityDetails"`
}

ProblemEntitySummary The information about problem entities details of DataSource for a CloudGuard Problem.

func (ProblemEntitySummary) String ¶ added in v65.17.0

func (m ProblemEntitySummary) String() string

func (ProblemEntitySummary) ValidateEnumValue ¶ added in v65.17.0

func (m ProblemEntitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemHistoryCollection ¶

type ProblemHistoryCollection struct {

	// List of ProblemHistorySummary
	Items []ProblemHistorySummary `mandatory:"true" json:"items"`
}

ProblemHistoryCollection Collection of Problem History

func (ProblemHistoryCollection) String ¶

func (m ProblemHistoryCollection) String() string

func (ProblemHistoryCollection) ValidateEnumValue ¶

func (m ProblemHistoryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemHistorySummary ¶

type ProblemHistorySummary struct {

	// Unique identifier for the history record
	Id *string `mandatory:"true" json:"id"`

	// problemId for which history is associated to.
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Actor type who performed the operation
	ActorType ActorTypeEnum `mandatory:"true" json:"actorType"`

	// Resource Name who performed activity
	ActorName *string `mandatory:"true" json:"actorName"`

	// Activity explanation details
	Explanation *string `mandatory:"true" json:"explanation"`

	// Problem Lifecycle Detail Status
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// Type of the Entity
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Impacted Resource Names in a comma-separated string.
	Delta *string `mandatory:"true" json:"delta"`

	// Event status
	EventStatus EventStatusEnum `mandatory:"false" json:"eventStatus,omitempty"`

	// User Defined Comments
	Comment *string `mandatory:"false" json:"comment"`
}

ProblemHistorySummary Problem History Definition.

func (ProblemHistorySummary) String ¶

func (m ProblemHistorySummary) String() string

func (ProblemHistorySummary) ValidateEnumValue ¶

func (m ProblemHistorySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemLifecycleDetailEnum ¶

type ProblemLifecycleDetailEnum string

ProblemLifecycleDetailEnum Enum with underlying type: string

const (
	ProblemLifecycleDetailOpen      ProblemLifecycleDetailEnum = "OPEN"
	ProblemLifecycleDetailResolved  ProblemLifecycleDetailEnum = "RESOLVED"
	ProblemLifecycleDetailDismissed ProblemLifecycleDetailEnum = "DISMISSED"
	ProblemLifecycleDetailDeleted   ProblemLifecycleDetailEnum = "DELETED"
)

Set of constants representing the allowable values for ProblemLifecycleDetailEnum

func GetMappingProblemLifecycleDetailEnum ¶

func GetMappingProblemLifecycleDetailEnum(val string) (ProblemLifecycleDetailEnum, bool)

GetMappingProblemLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemLifecycleDetailEnumValues ¶

func GetProblemLifecycleDetailEnumValues() []ProblemLifecycleDetailEnum

GetProblemLifecycleDetailEnumValues Enumerates the set of values for ProblemLifecycleDetailEnum

type ProblemLifecycleStateEnum ¶

type ProblemLifecycleStateEnum string

ProblemLifecycleStateEnum Enum with underlying type: string

const (
	ProblemLifecycleStateActive   ProblemLifecycleStateEnum = "ACTIVE"
	ProblemLifecycleStateInactive ProblemLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ProblemLifecycleStateEnum

func GetMappingProblemLifecycleStateEnum ¶

func GetMappingProblemLifecycleStateEnum(val string) (ProblemLifecycleStateEnum, bool)

GetMappingProblemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProblemLifecycleStateEnumValues ¶

func GetProblemLifecycleStateEnumValues() []ProblemLifecycleStateEnum

GetProblemLifecycleStateEnumValues Enumerates the set of values for ProblemLifecycleStateEnum

type ProblemSummary ¶

type ProblemSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Identifier of the rule
	DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Risk Score for the problem
	RiskScore *float64 `mandatory:"false" json:"riskScore"`

	// Identifier of the Resource
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// DisplayName of the Resource
	ResourceName *string `mandatory:"false" json:"resourceName"`

	// Type of the Resource
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// user defined labels on the problem
	Labels []string `mandatory:"false" json:"labels"`

	// The date and time the problem was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"`

	// The date and time the problem was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"`

	// The current state of the Problem.
	LifecycleState ProblemLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The lifecycleDetail will give more detail on the substate of the lifecycleState.
	LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"false" json:"lifecycleDetail,omitempty"`

	// Id of detector associated with the Problem.
	DetectorId DetectorEnumEnum `mandatory:"false" json:"detectorId,omitempty"`

	// DEPRECATED
	Region *string `mandatory:"false" json:"region"`

	// Regions where the problem is found
	Regions []string `mandatory:"false" json:"regions"`

	// targetId associated with the problem.
	TargetId *string `mandatory:"false" json:"targetId"`
}

ProblemSummary Summary of the Problem.

func (ProblemSummary) String ¶

func (m ProblemSummary) String() string

func (ProblemSummary) ValidateEnumValue ¶

func (m ProblemSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemTrendAggregation ¶

type ProblemTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of occurences with for the corresponding time range and dimensions.
	Count *int `mandatory:"true" json:"count"`
}

ProblemTrendAggregation Provides the dimensions and their corresponding time and count.

func (ProblemTrendAggregation) String ¶

func (m ProblemTrendAggregation) String() string

func (ProblemTrendAggregation) ValidateEnumValue ¶

func (m ProblemTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProblemTrendAggregationCollection ¶

type ProblemTrendAggregationCollection struct {

	// The items consist of all the ProblemTrendAggregation objects.
	Items []ProblemTrendAggregation `mandatory:"true" json:"items"`
}

ProblemTrendAggregationCollection Problem Trend Aggregation Collection.

func (ProblemTrendAggregationCollection) String ¶

func (ProblemTrendAggregationCollection) ValidateEnumValue ¶

func (m ProblemTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type QueryReplicationStatusEnum ¶ added in v65.17.0

type QueryReplicationStatusEnum string

QueryReplicationStatusEnum Enum with underlying type: string

const (
	QueryReplicationStatusProvisioning QueryReplicationStatusEnum = "PROVISIONING"
	QueryReplicationStatusFailed       QueryReplicationStatusEnum = "FAILED"
	QueryReplicationStatusSucceeded    QueryReplicationStatusEnum = "SUCCEEDED"
)

Set of constants representing the allowable values for QueryReplicationStatusEnum

func GetMappingQueryReplicationStatusEnum ¶ added in v65.17.0

func GetMappingQueryReplicationStatusEnum(val string) (QueryReplicationStatusEnum, bool)

GetMappingQueryReplicationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetQueryReplicationStatusEnumValues ¶ added in v65.17.0

func GetQueryReplicationStatusEnumValues() []QueryReplicationStatusEnum

GetQueryReplicationStatusEnumValues Enumerates the set of values for QueryReplicationStatusEnum

type RecommendationLifecycleDetailEnum ¶

type RecommendationLifecycleDetailEnum string

RecommendationLifecycleDetailEnum Enum with underlying type: string

const (
	RecommendationLifecycleDetailOpen      RecommendationLifecycleDetailEnum = "OPEN"
	RecommendationLifecycleDetailResolved  RecommendationLifecycleDetailEnum = "RESOLVED"
	RecommendationLifecycleDetailDismissed RecommendationLifecycleDetailEnum = "DISMISSED"
)

Set of constants representing the allowable values for RecommendationLifecycleDetailEnum

func GetMappingRecommendationLifecycleDetailEnum ¶

func GetMappingRecommendationLifecycleDetailEnum(val string) (RecommendationLifecycleDetailEnum, bool)

GetMappingRecommendationLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecommendationLifecycleDetailEnumValues ¶

func GetRecommendationLifecycleDetailEnumValues() []RecommendationLifecycleDetailEnum

GetRecommendationLifecycleDetailEnumValues Enumerates the set of values for RecommendationLifecycleDetailEnum

type RecommendationSummary ¶

type RecommendationSummary struct {

	// Unique identifier for Recommendation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// targetId associated with the problem
	TargetId *string `mandatory:"true" json:"targetId"`

	// Recommendation details
	Details map[string]string `mandatory:"true" json:"details"`

	// Count number of the problem
	ProblemCount *int64 `mandatory:"true" json:"problemCount"`

	// The current state of the Recommendation.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The lifecycleDetail will give more detail on the substate of the lifecycleState.
	LifecycleDetail RecommendationLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"`

	// recommendation string showing on UX
	Name *string `mandatory:"true" json:"name"`

	// description of the recommendation
	Description *string `mandatory:"true" json:"description"`

	// Recommendation type
	Type RecommendationTypeEnum `mandatory:"false" json:"type,omitempty"`

	// Tenant Identifier
	TenantId *string `mandatory:"false" json:"tenantId"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// problem creating time
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// problem updating time
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

RecommendationSummary Recommendation Definition.

func (RecommendationSummary) String ¶

func (m RecommendationSummary) String() string

func (RecommendationSummary) ValidateEnumValue ¶

func (m RecommendationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationSummaryCollection ¶

type RecommendationSummaryCollection struct {

	// List of Recommendation
	Items []RecommendationSummary `mandatory:"true" json:"items"`
}

RecommendationSummaryCollection Collection of the RecommendationSummary

func (RecommendationSummaryCollection) String ¶

func (RecommendationSummaryCollection) ValidateEnumValue ¶

func (m RecommendationSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RecommendationTypeEnum ¶

type RecommendationTypeEnum string

RecommendationTypeEnum Enum with underlying type: string

const (
	RecommendationTypeDetectorProblems RecommendationTypeEnum = "DETECTOR_PROBLEMS"
	RecommendationTypeResolvedProblems RecommendationTypeEnum = "RESOLVED_PROBLEMS"
)

Set of constants representing the allowable values for RecommendationTypeEnum

func GetMappingRecommendationTypeEnum ¶

func GetMappingRecommendationTypeEnum(val string) (RecommendationTypeEnum, bool)

GetMappingRecommendationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecommendationTypeEnumValues ¶

func GetRecommendationTypeEnumValues() []RecommendationTypeEnum

GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum

type RegionStatusDetail ¶ added in v65.17.0

type RegionStatusDetail struct {

	// Data Source replication region.
	Region *string `mandatory:"true" json:"region"`

	// Data Source replication region status.
	Status QueryReplicationStatusEnum `mandatory:"true" json:"status"`
}

RegionStatusDetail Status of Region query replication.

func (RegionStatusDetail) String ¶ added in v65.17.0

func (m RegionStatusDetail) String() string

func (RegionStatusDetail) ValidateEnumValue ¶ added in v65.17.0

func (m RegionStatusDetail) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentDetails ¶ added in v65.3.0

type RemoveCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to be removed from SecurityZone.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

RemoveCompartmentDetails An existing compartment to remove from a security zone

func (RemoveCompartmentDetails) String ¶ added in v65.3.0

func (m RemoveCompartmentDetails) String() string

func (RemoveCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m RemoveCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentRequest ¶ added in v65.3.0

type RemoveCompartmentRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The compartment to remove from the security zone.
	RemoveCompartmentDetails `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"`

	// 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
}

RemoveCompartmentRequest wrapper for the RemoveCompartment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RemoveCompartment.go.html to see an example of how to use RemoveCompartmentRequest.

func (RemoveCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

func (request RemoveCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveCompartmentRequest) HTTPRequest ¶ added in v65.3.0

func (request RemoveCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveCompartmentRequest) RetryPolicy ¶ added in v65.3.0

func (request RemoveCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveCompartmentRequest) String ¶ added in v65.3.0

func (request RemoveCompartmentRequest) String() string

func (RemoveCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request RemoveCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveCompartmentResponse ¶ added in v65.3.0

type RemoveCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `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"`
}

RemoveCompartmentResponse wrapper for the RemoveCompartment operation

func (RemoveCompartmentResponse) HTTPResponse ¶ added in v65.3.0

func (response RemoveCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveCompartmentResponse) String ¶ added in v65.3.0

func (response RemoveCompartmentResponse) String() string

type RequestRiskScoresRequest ¶

type RequestRiskScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestRiskScoresRequest wrapper for the RequestRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScoresRequest.

func (RequestRiskScoresRequest) BinaryRequestBody ¶

func (request RequestRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestRiskScoresRequest) HTTPRequest ¶

func (request RequestRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestRiskScoresRequest) RetryPolicy ¶

func (request RequestRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestRiskScoresRequest) String ¶

func (request RequestRiskScoresRequest) String() string

func (RequestRiskScoresRequest) ValidateEnumValue ¶

func (request RequestRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestRiskScoresResponse ¶

type RequestRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestRiskScoresResponse wrapper for the RequestRiskScores operation

func (RequestRiskScoresResponse) HTTPResponse ¶

func (response RequestRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestRiskScoresResponse) String ¶

func (response RequestRiskScoresResponse) String() string

type RequestSecurityScoreSummarizedTrendRequest ¶

type RequestSecurityScoreSummarizedTrendRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoreSummarizedTrendRequest wrapper for the RequestSecurityScoreSummarizedTrend operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrendRequest.

func (RequestSecurityScoreSummarizedTrendRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSecurityScoreSummarizedTrendRequest) HTTPRequest ¶

func (request RequestSecurityScoreSummarizedTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoreSummarizedTrendRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoreSummarizedTrendRequest) String ¶

func (RequestSecurityScoreSummarizedTrendRequest) ValidateEnumValue ¶

func (request RequestSecurityScoreSummarizedTrendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSecurityScoreSummarizedTrendResponse ¶

type RequestSecurityScoreSummarizedTrendResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoreSummarizedTrendResponse wrapper for the RequestSecurityScoreSummarizedTrend operation

func (RequestSecurityScoreSummarizedTrendResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoreSummarizedTrendResponse) String ¶

type RequestSecurityScoresRequest ¶

type RequestSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSecurityScoresRequest wrapper for the RequestSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScoresRequest.

func (RequestSecurityScoresRequest) BinaryRequestBody ¶

func (request RequestSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSecurityScoresRequest) HTTPRequest ¶

func (request RequestSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSecurityScoresRequest) RetryPolicy ¶

func (request RequestSecurityScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSecurityScoresRequest) String ¶

func (request RequestSecurityScoresRequest) String() string

func (RequestSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSecurityScoresResponse ¶

type RequestSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSecurityScoresResponse wrapper for the RequestSecurityScores operation

func (RequestSecurityScoresResponse) HTTPResponse ¶

func (response RequestSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSecurityScoresResponse) String ¶

func (response RequestSecurityScoresResponse) String() string

type RequestSummarizedActivityProblemsAccessLevelEnum ¶

type RequestSummarizedActivityProblemsAccessLevelEnum string

RequestSummarizedActivityProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedActivityProblemsAccessLevelRestricted RequestSummarizedActivityProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedActivityProblemsAccessLevelAccessible RequestSummarizedActivityProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedActivityProblemsAccessLevelEnum

func GetMappingRequestSummarizedActivityProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedActivityProblemsAccessLevelEnum(val string) (RequestSummarizedActivityProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedActivityProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedActivityProblemsAccessLevelEnumValues() []RequestSummarizedActivityProblemsAccessLevelEnum

GetRequestSummarizedActivityProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedActivityProblemsAccessLevelEnum

type RequestSummarizedActivityProblemsRequest ¶

type RequestSummarizedActivityProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedActivityProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Default is false.
	// When set to true, the summary of activity problems that has unknown values for
	// city, state or country will be included.
	IncludeUnknownLocations *bool `mandatory:"false" contributesTo:"query" name:"includeUnknownLocations"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedActivityProblemsRequest wrapper for the RequestSummarizedActivityProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblemsRequest.

func (RequestSummarizedActivityProblemsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedActivityProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedActivityProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedActivityProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedActivityProblemsRequest) String ¶

func (RequestSummarizedActivityProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedActivityProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedActivityProblemsResponse ¶

type RequestSummarizedActivityProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ActivityProblemAggregationCollection instances
	ActivityProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedActivityProblemsResponse wrapper for the RequestSummarizedActivityProblems operation

func (RequestSummarizedActivityProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedActivityProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedActivityProblemsResponse) String ¶

type RequestSummarizedProblemsAccessLevelEnum ¶

type RequestSummarizedProblemsAccessLevelEnum string

RequestSummarizedProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedProblemsAccessLevelRestricted RequestSummarizedProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedProblemsAccessLevelAccessible RequestSummarizedProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedProblemsAccessLevelEnum

func GetMappingRequestSummarizedProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedProblemsAccessLevelEnum(val string) (RequestSummarizedProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedProblemsAccessLevelEnumValues() []RequestSummarizedProblemsAccessLevelEnum

GetRequestSummarizedProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedProblemsAccessLevelEnum

type RequestSummarizedProblemsRequest ¶

type RequestSummarizedProblemsRequest struct {

	// The possible attributes based on which the problems can be distinguished.
	ListDimensions []ProblemDimensionEnum `contributesTo:"query" name:"listDimensions" omitEmpty:"true" collectionFormat:"multi"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedProblemsRequest wrapper for the RequestSummarizedProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblemsRequest.

func (RequestSummarizedProblemsRequest) BinaryRequestBody ¶

func (request RequestSummarizedProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedProblemsRequest) RetryPolicy ¶

func (request RequestSummarizedProblemsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedProblemsRequest) String ¶

func (request RequestSummarizedProblemsRequest) String() string

func (RequestSummarizedProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedProblemsResponse ¶

type RequestSummarizedProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemAggregationCollection instances
	ProblemAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedProblemsResponse wrapper for the RequestSummarizedProblems operation

func (RequestSummarizedProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedProblemsResponse) String ¶

func (response RequestSummarizedProblemsResponse) String() string

type RequestSummarizedResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedResponderExecutionsAccessLevelEnum string

RequestSummarizedResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedResponderExecutionsAccessLevelRestricted RequestSummarizedResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedResponderExecutionsAccessLevelAccessible RequestSummarizedResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedResponderExecutionsAccessLevelEnum

func GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum ¶

func GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedResponderExecutionsAccessLevelEnum, bool)

GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues() []RequestSummarizedResponderExecutionsAccessLevelEnum

GetRequestSummarizedResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsAccessLevelEnum

type RequestSummarizedResponderExecutionsRequest ¶

type RequestSummarizedResponderExecutionsRequest struct {

	// The possible attributes based on which the responder executions can be distinguished
	ResponderExecutionsDimensions []ResponderDimensionEnum `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 []ResponderTypeEnum `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 []ResponderExecutionStatusEnum `contributesTo:"query" name:"responderExecutionStatusFilter" omitEmpty:"true" collectionFormat:"multi"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedResponderExecutionsRequest wrapper for the RequestSummarizedResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutionsRequest.

func (RequestSummarizedResponderExecutionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedResponderExecutionsRequest) String ¶

func (RequestSummarizedResponderExecutionsRequest) ValidateEnumValue ¶

func (request RequestSummarizedResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedResponderExecutionsResponse ¶

type RequestSummarizedResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionAggregationCollection instances
	ResponderExecutionAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedResponderExecutionsResponse wrapper for the RequestSummarizedResponderExecutions operation

func (RequestSummarizedResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedResponderExecutionsResponse) String ¶

type RequestSummarizedRiskScoresRequest ¶

type RequestSummarizedRiskScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedRiskScoresRequest wrapper for the RequestSummarizedRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScoresRequest.

func (RequestSummarizedRiskScoresRequest) BinaryRequestBody ¶

func (request RequestSummarizedRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedRiskScoresRequest) RetryPolicy ¶

func (request RequestSummarizedRiskScoresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedRiskScoresRequest) String ¶

func (request RequestSummarizedRiskScoresRequest) String() string

func (RequestSummarizedRiskScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedRiskScoresResponse ¶

type RequestSummarizedRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of RiskScoreAggregationCollection instances
	RiskScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedRiskScoresResponse wrapper for the RequestSummarizedRiskScores operation

func (RequestSummarizedRiskScoresResponse) HTTPResponse ¶

func (response RequestSummarizedRiskScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedRiskScoresResponse) String ¶

func (response RequestSummarizedRiskScoresResponse) String() string

type RequestSummarizedSecurityScoresRequest ¶

type RequestSummarizedSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedSecurityScoresRequest wrapper for the RequestSummarizedSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScoresRequest.

func (RequestSummarizedSecurityScoresRequest) BinaryRequestBody ¶

func (request RequestSummarizedSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedSecurityScoresRequest) String ¶

func (RequestSummarizedSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedSecurityScoresResponse ¶

type RequestSummarizedSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreAggregationCollection instances
	SecurityScoreAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedSecurityScoresResponse wrapper for the RequestSummarizedSecurityScores operation

func (RequestSummarizedSecurityScoresResponse) HTTPResponse ¶

func (response RequestSummarizedSecurityScoresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedSecurityScoresResponse) String ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum string

RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelRestricted RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelAccessible RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum ¶

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum, bool)

GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum

type RequestSummarizedTopTrendResourceProfileRiskScoresRequest ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresRequest 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"`

	// 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"`

	// The field to sort trendlines for resource profiles. Only one sort order may be provided. If no value is specified riskScore is default.
	SortBy RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Number of resource profile risk score trend-lines to be displayed. Default value is 10.
	Count *int `mandatory:"false" contributesTo:"query" name:"count"`

	// 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 RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum `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
}

RequestSummarizedTopTrendResourceProfileRiskScoresRequest wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.go.html to see an example of how to use RequestSummarizedTopTrendResourceProfileRiskScoresRequest.

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) String ¶

func (RequestSummarizedTopTrendResourceProfileRiskScoresRequest) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTopTrendResourceProfileRiskScoresResponse ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceProfileRiskScoreAggregationSummaryCollection instances
	ResourceProfileRiskScoreAggregationSummaryCollection `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"`
}

RequestSummarizedTopTrendResourceProfileRiskScoresResponse wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation

func (RequestSummarizedTopTrendResourceProfileRiskScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTopTrendResourceProfileRiskScoresResponse) String ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum ¶

type RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum string

RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum Enum with underlying type: string

const (
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscore         RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScore"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscoregrowth   RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScoreGrowth"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimefirstdetected RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeFirstDetected"
	RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimelastdetected  RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeLastDetected"
)

Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum ¶

func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum, bool)

GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues ¶

func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum

type RequestSummarizedTrendProblemsAccessLevelEnum ¶

type RequestSummarizedTrendProblemsAccessLevelEnum string

RequestSummarizedTrendProblemsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendProblemsAccessLevelRestricted RequestSummarizedTrendProblemsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendProblemsAccessLevelAccessible RequestSummarizedTrendProblemsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendProblemsAccessLevelEnum

func GetMappingRequestSummarizedTrendProblemsAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendProblemsAccessLevelEnum(val string) (RequestSummarizedTrendProblemsAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendProblemsAccessLevelEnumValues() []RequestSummarizedTrendProblemsAccessLevelEnum

GetRequestSummarizedTrendProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendProblemsAccessLevelEnum

type RequestSummarizedTrendProblemsRequest ¶

type RequestSummarizedTrendProblemsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to 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 current time.
	TimeFirstDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeFirstDetectedLessThanOrEqualTo"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendProblemsRequest wrapper for the RequestSummarizedTrendProblems operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblemsRequest.

func (RequestSummarizedTrendProblemsRequest) BinaryRequestBody ¶

func (request RequestSummarizedTrendProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendProblemsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendProblemsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendProblemsRequest) String ¶

func (RequestSummarizedTrendProblemsRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendProblemsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendProblemsResponse ¶

type RequestSummarizedTrendProblemsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ProblemTrendAggregationCollection instances
	ProblemTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendProblemsResponse wrapper for the RequestSummarizedTrendProblems operation

func (RequestSummarizedTrendProblemsResponse) HTTPResponse ¶

func (response RequestSummarizedTrendProblemsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendProblemsResponse) String ¶

type RequestSummarizedTrendResourceRiskScoresAccessLevelEnum ¶

type RequestSummarizedTrendResourceRiskScoresAccessLevelEnum string

RequestSummarizedTrendResourceRiskScoresAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendResourceRiskScoresAccessLevelRestricted RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendResourceRiskScoresAccessLevelAccessible RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

func GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum(val string) (RequestSummarizedTrendResourceRiskScoresAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues ¶

func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues() []RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum

type RequestSummarizedTrendResourceRiskScoresDetails ¶

type RequestSummarizedTrendResourceRiskScoresDetails struct {

	// The filter type.
	Filter ResourceRiskScoreDimensionEnum `mandatory:"true" json:"filter"`

	// Id to be passed in to filter the risk scores.
	FilterId *string `mandatory:"true" json:"filterId"`
}

RequestSummarizedTrendResourceRiskScoresDetails ResourceRiskScores filter.

func (RequestSummarizedTrendResourceRiskScoresDetails) String ¶

func (RequestSummarizedTrendResourceRiskScoresDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResourceRiskScoresRequest ¶

type RequestSummarizedTrendResourceRiskScoresRequest struct {

	// The filter to fetch risk score trend.
	RequestSummarizedTrendResourceRiskScoresDetails `contributesTo:"body"`

	// 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"`

	// 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 RequestSummarizedTrendResourceRiskScoresAccessLevelEnum `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
}

RequestSummarizedTrendResourceRiskScoresRequest wrapper for the RequestSummarizedTrendResourceRiskScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResourceRiskScores.go.html to see an example of how to use RequestSummarizedTrendResourceRiskScoresRequest.

func (RequestSummarizedTrendResourceRiskScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendResourceRiskScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTrendResourceRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendResourceRiskScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendResourceRiskScoresRequest) String ¶

func (RequestSummarizedTrendResourceRiskScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendResourceRiskScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResourceRiskScoresResponse ¶

type RequestSummarizedTrendResourceRiskScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResourceRiskScoreAggregationCollection instances
	ResourceRiskScoreAggregationCollection `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"`
}

RequestSummarizedTrendResourceRiskScoresResponse wrapper for the RequestSummarizedTrendResourceRiskScores operation

func (RequestSummarizedTrendResourceRiskScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendResourceRiskScoresResponse) String ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum ¶

type RequestSummarizedTrendResponderExecutionsAccessLevelEnum string

RequestSummarizedTrendResponderExecutionsAccessLevelEnum Enum with underlying type: string

const (
	RequestSummarizedTrendResponderExecutionsAccessLevelRestricted RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "RESTRICTED"
	RequestSummarizedTrendResponderExecutionsAccessLevelAccessible RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

func GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum ¶

func GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedTrendResponderExecutionsAccessLevelEnum, bool)

GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues ¶

func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues() []RequestSummarizedTrendResponderExecutionsAccessLevelEnum

GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum

type RequestSummarizedTrendResponderExecutionsRequest ¶

type RequestSummarizedTrendResponderExecutionsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Completion End Time
	TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"`

	// Completion Start Time
	TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed
	// and all compartments and subcompartments in the tenancy are
	// returned depending on the the setting of `accessLevel`.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`.
	// Setting this to `ACCESSIBLE` returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment).
	// When set to `RESTRICTED` permissions are checked and no partial results are displayed.
	AccessLevel RequestSummarizedTrendResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendResponderExecutionsRequest wrapper for the RequestSummarizedTrendResponderExecutions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutionsRequest.

func (RequestSummarizedTrendResponderExecutionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest ¶

func (request RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendResponderExecutionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendResponderExecutionsRequest) String ¶

func (RequestSummarizedTrendResponderExecutionsRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendResponderExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendResponderExecutionsResponse ¶

type RequestSummarizedTrendResponderExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ResponderExecutionTrendAggregationCollection instances
	ResponderExecutionTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendResponderExecutionsResponse wrapper for the RequestSummarizedTrendResponderExecutions operation

func (RequestSummarizedTrendResponderExecutionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendResponderExecutionsResponse) String ¶

type RequestSummarizedTrendSecurityScoresRequest ¶

type RequestSummarizedTrendSecurityScoresRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days.
	TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"`

	// End time for a filter. If end time is not specified, end time will be set to today's current time.
	TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RequestSummarizedTrendSecurityScoresRequest wrapper for the RequestSummarizedTrendSecurityScores operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScoresRequest.

func (RequestSummarizedTrendSecurityScoresRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RequestSummarizedTrendSecurityScoresRequest) HTTPRequest ¶

func (request RequestSummarizedTrendSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RequestSummarizedTrendSecurityScoresRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RequestSummarizedTrendSecurityScoresRequest) String ¶

func (RequestSummarizedTrendSecurityScoresRequest) ValidateEnumValue ¶

func (request RequestSummarizedTrendSecurityScoresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestSummarizedTrendSecurityScoresResponse ¶

type RequestSummarizedTrendSecurityScoresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of SecurityScoreTrendAggregationCollection instances
	SecurityScoreTrendAggregationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

RequestSummarizedTrendSecurityScoresResponse wrapper for the RequestSummarizedTrendSecurityScores operation

func (RequestSummarizedTrendSecurityScoresResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RequestSummarizedTrendSecurityScoresResponse) String ¶

type ResourceProfile ¶

type ResourceProfile struct {

	// Unique identifier for resource profile
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for resource profile
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Resource name for resource profile
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Resource type for resource profile
	Type *string `mandatory:"true" json:"type"`

	// Compartment Id for resource profile
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Risk Score for the resource profile
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// The date and time the resource profile was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// The date and time the resource profile was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// List of tactic summary associated with the resource profile.
	Tactics []TacticSummary `mandatory:"true" json:"tactics"`

	// Number of sightings associated with this resource profile
	SightingsCount *int `mandatory:"false" json:"sightingsCount"`

	// List of Problems associated with the resource profile.
	ProblemIds []string `mandatory:"false" json:"problemIds"`

	// Target Id for resource profile
	TargetId *string `mandatory:"false" json:"targetId"`

	// Risk Level associated with resource profile
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// Peak Risk Score for the resource profile
	PeakRiskScore *float64 `mandatory:"false" json:"peakRiskScore"`

	// The date and time for peak risk score. Format defined by RFC3339.
	TimePeakScore *common.SDKTime `mandatory:"false" json:"timePeakScore"`
}

ResourceProfile Resource profile details

func (ResourceProfile) String ¶

func (m ResourceProfile) String() string

func (ResourceProfile) ValidateEnumValue ¶

func (m ResourceProfile) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileCollection ¶

type ResourceProfileCollection struct {

	// List of resource profiles
	Items []ResourceProfileSummary `mandatory:"true" json:"items"`
}

ResourceProfileCollection Collection of resource profile summary.

func (ResourceProfileCollection) String ¶

func (m ResourceProfileCollection) String() string

func (ResourceProfileCollection) ValidateEnumValue ¶

func (m ResourceProfileCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileEndpointCollection ¶

type ResourceProfileEndpointCollection struct {

	// List of ResourceProfileEndpointSummary
	Items []ResourceProfileEndpointSummary `mandatory:"true" json:"items"`
}

ResourceProfileEndpointCollection Collection of Resource Profile endpoint summaries

func (ResourceProfileEndpointCollection) String ¶

func (ResourceProfileEndpointCollection) ValidateEnumValue ¶

func (m ResourceProfileEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileEndpointSummary ¶

type ResourceProfileEndpointSummary struct {

	// Unique identifier for sighting endpoints
	Id *string `mandatory:"true" json:"id"`

	// Resource profile Id associated with the imacted resource
	ResourceProfileId *string `mandatory:"true" json:"resourceProfileId"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// IP Address
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// IP Address type
	IpAddressType *string `mandatory:"true" json:"ipAddressType"`

	// Time when activities were created
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Problem Id for sighting endpoints
	ProblemId *string `mandatory:"false" json:"problemId"`

	// IP Address classification type
	IpClassificationType *string `mandatory:"false" json:"ipClassificationType"`

	// Country
	Country *string `mandatory:"false" json:"country"`

	// Latitude
	Latitude *float64 `mandatory:"false" json:"latitude"`

	// Longitude
	Longitude *float64 `mandatory:"false" json:"longitude"`

	// ASN number
	AsnNumber *string `mandatory:"false" json:"asnNumber"`

	// Regions where activities were performed from this IP
	Regions []string `mandatory:"false" json:"regions"`

	// Services where activities were performed from this IP
	Services []string `mandatory:"false" json:"services"`
}

ResourceProfileEndpointSummary Resource Profile Endpoints summary.

func (ResourceProfileEndpointSummary) String ¶

func (ResourceProfileEndpointSummary) ValidateEnumValue ¶

func (m ResourceProfileEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileImpactedResourceCollection ¶

type ResourceProfileImpactedResourceCollection struct {

	// List of ResourceProfileImpactedResourceSummary
	Items []ResourceProfileImpactedResourceSummary `mandatory:"true" json:"items"`
}

ResourceProfileImpactedResourceCollection Collection of resource profile impacted resource summaries

func (ResourceProfileImpactedResourceCollection) String ¶

func (ResourceProfileImpactedResourceCollection) ValidateEnumValue ¶

func (m ResourceProfileImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileImpactedResourceSummary ¶

type ResourceProfileImpactedResourceSummary struct {

	// Unique identifier for impacted resource
	Id *string `mandatory:"true" json:"id"`

	// Resource profile Id associated with the imacted resource
	ResourceProfileId *string `mandatory:"true" json:"resourceProfileId"`

	// Compartment Id for impacted resource
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Impacted resource Id
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Resource name
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// Resource type
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// Region for impacted resource
	Region *string `mandatory:"true" json:"region"`

	// Time when the impacted resource is identified for given resource profile.
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`

	// Problem Id for impacted resource
	ProblemId *string `mandatory:"false" json:"problemId"`
}

ResourceProfileImpactedResourceSummary Resource Profile impacted resource summary.

func (ResourceProfileImpactedResourceSummary) String ¶

func (ResourceProfileImpactedResourceSummary) ValidateEnumValue ¶

func (m ResourceProfileImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileRiskScoreAggregationSummary ¶

type ResourceProfileRiskScoreAggregationSummary struct {

	// OCID for the resource profile
	ResourceProfileId *string `mandatory:"true" json:"resourceProfileId"`

	// Display name for the resource profile
	ResourceProfileDisplayName *string `mandatory:"true" json:"resourceProfileDisplayName"`

	// List of ResourceRiskScoreAggregation
	Items []ResourceRiskScoreAggregation `mandatory:"true" json:"items"`

	// Risk threshold
	RiskThreshold *int `mandatory:"false" json:"riskThreshold"`
}

ResourceProfileRiskScoreAggregationSummary Resource profile risk score trend-line

func (ResourceProfileRiskScoreAggregationSummary) String ¶

func (ResourceProfileRiskScoreAggregationSummary) ValidateEnumValue ¶

func (m ResourceProfileRiskScoreAggregationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileRiskScoreAggregationSummaryCollection ¶

type ResourceProfileRiskScoreAggregationSummaryCollection struct {

	// List of ResourceProfileRiskScoreAggregationSummary
	Items []ResourceProfileRiskScoreAggregationSummary `mandatory:"true" json:"items"`
}

ResourceProfileRiskScoreAggregationSummaryCollection Collection of resource profile risk score trends.

func (ResourceProfileRiskScoreAggregationSummaryCollection) String ¶

func (ResourceProfileRiskScoreAggregationSummaryCollection) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceProfileSummary ¶

type ResourceProfileSummary struct {

	// Unique identifier for resource profile
	Id *string `mandatory:"true" json:"id"`

	// Unique identifier for resource profile
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Resource name for resource profile
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Resource type for resource profile
	Type *string `mandatory:"true" json:"type"`

	// Risk Score for the resource profile
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// List of tactic summary associated with the resource profile.
	Tactics []TacticSummary `mandatory:"true" json:"tactics"`

	// The date and time the resource profile was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// The date and time the resource profile was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Number of sightings associated with this resource profile
	SightingsCount *int `mandatory:"false" json:"sightingsCount"`

	// Number of problems associated with this resource profile
	ProblemsCount *int `mandatory:"false" json:"problemsCount"`
}

ResourceProfileSummary Resource profile summary.

func (ResourceProfileSummary) String ¶

func (m ResourceProfileSummary) String() string

func (ResourceProfileSummary) ValidateEnumValue ¶

func (m ResourceProfileSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreAggregation ¶

type ResourceRiskScoreAggregation struct {

	// Tactics used for evaluating the risk scrore
	Tactics []string `mandatory:"true" json:"tactics"`

	// The date and time for which the score is calculated. Format defined by RFC3339.
	ScoreTimestamp *float32 `mandatory:"true" json:"scoreTimestamp"`

	// Risk Score
	RiskScore *float64 `mandatory:"true" json:"riskScore"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"true" json:"riskLevel"`
}

ResourceRiskScoreAggregation Risk score of a resource.

func (ResourceRiskScoreAggregation) String ¶

func (ResourceRiskScoreAggregation) ValidateEnumValue ¶

func (m ResourceRiskScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreAggregationCollection ¶

type ResourceRiskScoreAggregationCollection struct {

	// Type of filter. Valid Values - problem_id and resource_id
	FilterType *string `mandatory:"true" json:"filterType"`

	// Id value on which risk scores are filtered
	FilterId *string `mandatory:"true" json:"filterId"`

	// List of ResourceRiskScoreAggregation
	Items []ResourceRiskScoreAggregation `mandatory:"true" json:"items"`

	// Risk Score
	RiskThreshold *int `mandatory:"false" json:"riskThreshold"`
}

ResourceRiskScoreAggregationCollection Collection of Resource risk scores

func (ResourceRiskScoreAggregationCollection) String ¶

func (ResourceRiskScoreAggregationCollection) ValidateEnumValue ¶

func (m ResourceRiskScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceRiskScoreDimensionEnum ¶

type ResourceRiskScoreDimensionEnum string

ResourceRiskScoreDimensionEnum Enum with underlying type: string

const (
	ResourceRiskScoreDimensionProblemId         ResourceRiskScoreDimensionEnum = "PROBLEM_ID"
	ResourceRiskScoreDimensionResourceProfileId ResourceRiskScoreDimensionEnum = "RESOURCE_PROFILE_ID"
)

Set of constants representing the allowable values for ResourceRiskScoreDimensionEnum

func GetMappingResourceRiskScoreDimensionEnum ¶

func GetMappingResourceRiskScoreDimensionEnum(val string) (ResourceRiskScoreDimensionEnum, bool)

GetMappingResourceRiskScoreDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceRiskScoreDimensionEnumValues ¶

func GetResourceRiskScoreDimensionEnumValues() []ResourceRiskScoreDimensionEnum

GetResourceRiskScoreDimensionEnumValues Enumerates the set of values for ResourceRiskScoreDimensionEnum

type ResourceTypeCollection ¶

type ResourceTypeCollection struct {

	// collection of resource types
	Items []ResourceTypeSummary `mandatory:"true" json:"items"`
}

ResourceTypeCollection resource type provided by cloud guard

func (ResourceTypeCollection) String ¶

func (m ResourceTypeCollection) String() string

func (ResourceTypeCollection) ValidateEnumValue ¶

func (m ResourceTypeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceTypeSummary ¶

type ResourceTypeSummary struct {

	// name of the resource
	Name *string `mandatory:"true" json:"name"`

	// display name of the resource
	DisplayName *string `mandatory:"true" json:"displayName"`

	// List of rules
	Rules []RuleSummary `mandatory:"false" json:"rules"`
}

ResourceTypeSummary Summary of ResourceType

func (ResourceTypeSummary) String ¶

func (m ResourceTypeSummary) String() string

func (ResourceTypeSummary) ValidateEnumValue ¶

func (m ResourceTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivityCollection ¶

type ResponderActivityCollection struct {

	// List of ResponderActivitySummary
	Items []ResponderActivitySummary `mandatory:"true" json:"items"`
}

ResponderActivityCollection Provides the summary of responder activities and their corresponding count value.

func (ResponderActivityCollection) String ¶

func (ResponderActivityCollection) ValidateEnumValue ¶

func (m ResponderActivityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivitySummary ¶

type ResponderActivitySummary struct {

	// Unique id for Responder activity.
	Id *string `mandatory:"true" json:"id"`

	// problemId for which Responder activity is associated to.
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Id of the responder rule for the problem
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// responder rule type for performing the operation
	ResponderType ResponderTypeEnum `mandatory:"true" json:"responderType"`

	// responder rule name
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Responder activity types
	ResponderActivityType ResponderActivityTypeEnum `mandatory:"true" json:"responderActivityType"`

	// the responder execution status
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// responder activity starting time
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// additional message related to this operation
	Message *string `mandatory:"true" json:"message"`
}

ResponderActivitySummary Responder Activity summary Definition.

func (ResponderActivitySummary) String ¶

func (m ResponderActivitySummary) String() string

func (ResponderActivitySummary) ValidateEnumValue ¶

func (m ResponderActivitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderActivityTypeEnum ¶

type ResponderActivityTypeEnum string

ResponderActivityTypeEnum Enum with underlying type: string

const (
	ResponderActivityTypeStarted   ResponderActivityTypeEnum = "STARTED"
	ResponderActivityTypeCompleted ResponderActivityTypeEnum = "COMPLETED"
)

Set of constants representing the allowable values for ResponderActivityTypeEnum

func GetMappingResponderActivityTypeEnum ¶

func GetMappingResponderActivityTypeEnum(val string) (ResponderActivityTypeEnum, bool)

GetMappingResponderActivityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderActivityTypeEnumValues ¶

func GetResponderActivityTypeEnumValues() []ResponderActivityTypeEnum

GetResponderActivityTypeEnumValues Enumerates the set of values for ResponderActivityTypeEnum

type ResponderConfiguration ¶

type ResponderConfiguration struct {

	// Unique name of the configuration
	ConfigKey *string `mandatory:"true" json:"configKey"`

	// configuration name
	Name *string `mandatory:"true" json:"name"`

	// configuration value
	Value *string `mandatory:"true" json:"value"`
}

ResponderConfiguration A single configuration applied to a responder

func (ResponderConfiguration) String ¶

func (m ResponderConfiguration) String() string

func (ResponderConfiguration) ValidateEnumValue ¶

func (m ResponderConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderDimensionEnum ¶

type ResponderDimensionEnum string

ResponderDimensionEnum Enum with underlying type: string

const (
	ResponderDimensionResponderRuleType        ResponderDimensionEnum = "RESPONDER_RULE_TYPE"
	ResponderDimensionResponderExecutionStatus ResponderDimensionEnum = "RESPONDER_EXECUTION_STATUS"
)

Set of constants representing the allowable values for ResponderDimensionEnum

func GetMappingResponderDimensionEnum ¶

func GetMappingResponderDimensionEnum(val string) (ResponderDimensionEnum, bool)

GetMappingResponderDimensionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderDimensionEnumValues ¶

func GetResponderDimensionEnumValues() []ResponderDimensionEnum

GetResponderDimensionEnumValues Enumerates the set of values for ResponderDimensionEnum

type ResponderExecution ¶

type ResponderExecution struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder Rule id for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Rule Type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Rule name for the responder execution
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Problem id associated with the responder execution
	ProblemId *string `mandatory:"true" json:"problemId"`

	// region where the problem is found
	Region *string `mandatory:"true" json:"region"`

	// targetId of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// compartment id of the responder execution for the problem
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// resource type of the problem for the responder execution
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// resource name of the problem for the responder execution. TODO-DOC link to resource definition doc
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The date and time the responder execution was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// current execution status of the responder
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// execution mode of the responder
	ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"`

	// The date and time the responder execution was updated. Format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// Message about the responder execution.
	Message *string `mandatory:"false" json:"message"`

	ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"`
}

ResponderExecution Responder Execution Object.

func (ResponderExecution) String ¶

func (m ResponderExecution) String() string

func (ResponderExecution) ValidateEnumValue ¶

func (m ResponderExecution) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionAggregation ¶

type ResponderExecutionAggregation struct {

	// The key-value pairs of dimensions and their names. The key corresponds to the Analytic Dimension(s) chosen, and the value corresponds to the value of the dimension from the data. E.g. if the Analytic Dimension chosen is "RISK_LEVEL", then the value will be like "CRITICAL". If the Analytic Dimensions chosen are "RISK_LEVEL" and "RESOURCE_TYPE", then the map will have two key-value pairs of form {"RISK_LEVEL" : "CRITICAL, "RESOURCE_TYPE" : "LOAD_BALANCER"}
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The number of occurences with given dimension(s)
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionAggregation Provides the dimensions and their corresponding count value.

func (ResponderExecutionAggregation) String ¶

func (ResponderExecutionAggregation) ValidateEnumValue ¶

func (m ResponderExecutionAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionAggregationCollection ¶

type ResponderExecutionAggregationCollection struct {

	// The items consist of all the ResponderExecutionAggregation objects.
	Items []ResponderExecutionAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionAggregationCollection Collection of ResponderExecutionAggregation objects

func (ResponderExecutionAggregationCollection) String ¶

func (ResponderExecutionAggregationCollection) ValidateEnumValue ¶

func (m ResponderExecutionAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionCollection ¶

type ResponderExecutionCollection struct {

	// List of ResponderExecutionSummary
	Items []ResponderExecutionSummary `mandatory:"true" json:"items"`
}

ResponderExecutionCollection Provides the summary of responder executions and their corresponding count value.

func (ResponderExecutionCollection) String ¶

func (ResponderExecutionCollection) ValidateEnumValue ¶

func (m ResponderExecutionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionModesEnum ¶

type ResponderExecutionModesEnum string

ResponderExecutionModesEnum Enum with underlying type: string

const (
	ResponderExecutionModesManual    ResponderExecutionModesEnum = "MANUAL"
	ResponderExecutionModesAutomated ResponderExecutionModesEnum = "AUTOMATED"
	ResponderExecutionModesAll       ResponderExecutionModesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionModesEnum

func GetMappingResponderExecutionModesEnum ¶

func GetMappingResponderExecutionModesEnum(val string) (ResponderExecutionModesEnum, bool)

GetMappingResponderExecutionModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionModesEnumValues ¶

func GetResponderExecutionModesEnumValues() []ResponderExecutionModesEnum

GetResponderExecutionModesEnumValues Enumerates the set of values for ResponderExecutionModesEnum

type ResponderExecutionStatesEnum ¶

type ResponderExecutionStatesEnum string

ResponderExecutionStatesEnum Enum with underlying type: string

const (
	ResponderExecutionStatesStarted              ResponderExecutionStatesEnum = "STARTED"
	ResponderExecutionStatesAwaitingConfirmation ResponderExecutionStatesEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatesAwaitingInput        ResponderExecutionStatesEnum = "AWAITING_INPUT"
	ResponderExecutionStatesSucceeded            ResponderExecutionStatesEnum = "SUCCEEDED"
	ResponderExecutionStatesFailed               ResponderExecutionStatesEnum = "FAILED"
	ResponderExecutionStatesSkipped              ResponderExecutionStatesEnum = "SKIPPED"
	ResponderExecutionStatesAll                  ResponderExecutionStatesEnum = "ALL"
)

Set of constants representing the allowable values for ResponderExecutionStatesEnum

func GetMappingResponderExecutionStatesEnum ¶

func GetMappingResponderExecutionStatesEnum(val string) (ResponderExecutionStatesEnum, bool)

GetMappingResponderExecutionStatesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionStatesEnumValues ¶

func GetResponderExecutionStatesEnumValues() []ResponderExecutionStatesEnum

GetResponderExecutionStatesEnumValues Enumerates the set of values for ResponderExecutionStatesEnum

type ResponderExecutionStatusEnum ¶

type ResponderExecutionStatusEnum string

ResponderExecutionStatusEnum Enum with underlying type: string

const (
	ResponderExecutionStatusStarted              ResponderExecutionStatusEnum = "STARTED"
	ResponderExecutionStatusAwaitingConfirmation ResponderExecutionStatusEnum = "AWAITING_CONFIRMATION"
	ResponderExecutionStatusSucceeded            ResponderExecutionStatusEnum = "SUCCEEDED"
	ResponderExecutionStatusFailed               ResponderExecutionStatusEnum = "FAILED"
	ResponderExecutionStatusSkipped              ResponderExecutionStatusEnum = "SKIPPED"
)

Set of constants representing the allowable values for ResponderExecutionStatusEnum

func GetMappingResponderExecutionStatusEnum ¶

func GetMappingResponderExecutionStatusEnum(val string) (ResponderExecutionStatusEnum, bool)

GetMappingResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderExecutionStatusEnumValues ¶

func GetResponderExecutionStatusEnumValues() []ResponderExecutionStatusEnum

GetResponderExecutionStatusEnumValues Enumerates the set of values for ResponderExecutionStatusEnum

type ResponderExecutionSummary ¶

type ResponderExecutionSummary struct {

	// The unique identifier of the responder execution
	Id *string `mandatory:"true" json:"id"`

	// Responder Rule id for the responder execution
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Rule Type for the responder execution
	ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"`

	// Rule name for the responder execution
	ResponderRuleName *string `mandatory:"true" json:"responderRuleName"`

	// Problem id associated with the responder execution
	ProblemId *string `mandatory:"true" json:"problemId"`

	// Problem name associated with the responder execution
	ProblemName *string `mandatory:"true" json:"problemName"`

	// Region where the problem is found
	Region *string `mandatory:"true" json:"region"`

	// Target Id of the problem for the responder execution
	TargetId *string `mandatory:"true" json:"targetId"`

	// compartment id of the problem for the responder execution
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// resource type of the problem for the responder execution
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// resource name of the problem for the responder execution. TODO-DOC link to resource definition doc
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// The date and time the responder execution was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// current execution status of the responder
	ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"`

	// possible type of responder execution modes
	ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"`

	// The date and time the responder execution was updated. Format defined by RFC3339.
	TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"`

	// Message about the responder execution.
	Message *string `mandatory:"false" json:"message"`

	ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"`
}

ResponderExecutionSummary Summary of the Responder Execution.

func (ResponderExecutionSummary) String ¶

func (m ResponderExecutionSummary) String() string

func (ResponderExecutionSummary) ValidateEnumValue ¶

func (m ResponderExecutionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionTrendAggregation ¶

type ResponderExecutionTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The number of remediations for a given time.
	Count *int `mandatory:"true" json:"count"`
}

ResponderExecutionTrendAggregation Provides the timestamps and their corresponding number of remediations.

func (ResponderExecutionTrendAggregation) String ¶

func (ResponderExecutionTrendAggregation) ValidateEnumValue ¶

func (m ResponderExecutionTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderExecutionTrendAggregationCollection ¶

type ResponderExecutionTrendAggregationCollection struct {

	// The items consist of all the ResponderExecutionTrendAggregation objects.
	Items []ResponderExecutionTrendAggregation `mandatory:"true" json:"items"`
}

ResponderExecutionTrendAggregationCollection Responder Execution Trend Collection

func (ResponderExecutionTrendAggregationCollection) String ¶

func (ResponderExecutionTrendAggregationCollection) ValidateEnumValue ¶

func (m ResponderExecutionTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderModeTypesEnum ¶

type ResponderModeTypesEnum string

ResponderModeTypesEnum Enum with underlying type: string

const (
	ResponderModeTypesAutoaction ResponderModeTypesEnum = "AUTOACTION"
	ResponderModeTypesUseraction ResponderModeTypesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderModeTypesEnum

func GetMappingResponderModeTypesEnum ¶

func GetMappingResponderModeTypesEnum(val string) (ResponderModeTypesEnum, bool)

GetMappingResponderModeTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderModeTypesEnumValues ¶

func GetResponderModeTypesEnumValues() []ResponderModeTypesEnum

GetResponderModeTypesEnumValues Enumerates the set of values for ResponderModeTypesEnum

type ResponderRecipe ¶

type ResponderRecipe struct {

	// Identifier for ResponderRecipe.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe display name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRecipe description.
	Description *string `mandatory:"false" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// List of responder rules associated with the recipe
	EffectiveResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`

	// The id of the source responder recipe.
	SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"`

	// The date and time the responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipe Details of ResponderRecipe.

func (ResponderRecipe) String ¶

func (m ResponderRecipe) String() string

func (ResponderRecipe) ValidateEnumValue ¶

func (m ResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeCollection ¶

type ResponderRecipeCollection struct {

	// List of ResponderRecipeSummary
	Items []ResponderRecipeSummary `mandatory:"true" json:"items"`
}

ResponderRecipeCollection Summary of the ResponderRecipe.

func (ResponderRecipeCollection) String ¶

func (m ResponderRecipeCollection) String() string

func (ResponderRecipeCollection) ValidateEnumValue ¶

func (m ResponderRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRule ¶

type ResponderRecipeResponderRule struct {

	// Identifier for ResponderRule.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule display name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule description.
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRecipeResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRecipeResponderRule Details of ResponderRule.

func (ResponderRecipeResponderRule) String ¶

func (ResponderRecipeResponderRule) ValidateEnumValue ¶

func (m ResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleCollection ¶

type ResponderRecipeResponderRuleCollection struct {

	// List of ResponderRecipeResponderRuleSummary
	Items []ResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

ResponderRecipeResponderRuleCollection Summary of the ResponderRule within ResponderRecipe.

func (ResponderRecipeResponderRuleCollection) String ¶

func (ResponderRecipeResponderRuleCollection) ValidateEnumValue ¶

func (m ResponderRecipeResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleSummary ¶

type ResponderRecipeResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRecipeResponderRuleSummary Details of ResponderRule.

func (ResponderRecipeResponderRuleSummary) String ¶

func (ResponderRecipeResponderRuleSummary) ValidateEnumValue ¶

func (m ResponderRecipeResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type ResponderRecipeResponderRuleSummarySupportedModesEnum string

ResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSummarySupportedModesAutoaction ResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSummarySupportedModesUseraction ResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSummarySupportedModesEnum

func GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum ¶

func GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (ResponderRecipeResponderRuleSummarySupportedModesEnum, bool)

GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []ResponderRecipeResponderRuleSummarySupportedModesEnum

GetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSummarySupportedModesEnum

type ResponderRecipeResponderRuleSupportedModesEnum ¶

type ResponderRecipeResponderRuleSupportedModesEnum string

ResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRecipeResponderRuleSupportedModesAutoaction ResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRecipeResponderRuleSupportedModesUseraction ResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRecipeResponderRuleSupportedModesEnum

func GetMappingResponderRecipeResponderRuleSupportedModesEnum ¶

func GetMappingResponderRecipeResponderRuleSupportedModesEnum(val string) (ResponderRecipeResponderRuleSupportedModesEnum, bool)

GetMappingResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetResponderRecipeResponderRuleSupportedModesEnumValues() []ResponderRecipeResponderRuleSupportedModesEnum

GetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSupportedModesEnum

type ResponderRecipeSummary ¶

type ResponderRecipeSummary struct {

	// Identifier for ResponderRecipe.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRecipe display name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRecipe description.
	Description *string `mandatory:"false" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"`

	// List of responder rules associated with the recipe
	ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// The id of the source responder recipe.
	SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"`

	// The date and time the responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ResponderRecipeSummary Summary of the ResponderRecipe.

func (ResponderRecipeSummary) String ¶

func (m ResponderRecipeSummary) String() string

func (ResponderRecipeSummary) ValidateEnumValue ¶

func (m ResponderRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRule ¶

type ResponderRule struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"true" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRule Definition of ResponderRule.

func (ResponderRule) String ¶

func (m ResponderRule) String() string

func (ResponderRule) ValidateEnumValue ¶

func (m ResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleCollection ¶

type ResponderRuleCollection struct {

	// List of ResponderRuleSummary
	Items []ResponderRuleSummary `mandatory:"true" json:"items"`
}

ResponderRuleCollection Summary of the ResponderRule.

func (ResponderRuleCollection) String ¶

func (m ResponderRuleCollection) String() string

func (ResponderRuleCollection) ValidateEnumValue ¶

func (m ResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleDetails ¶

type ResponderRuleDetails struct {

	// Identifies state for ResponderRule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	Condition Condition `mandatory:"false" json:"condition"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution Mode for ResponderRule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

ResponderRuleDetails Details of ResponderRule.

func (ResponderRuleDetails) String ¶

func (m ResponderRuleDetails) String() string

func (*ResponderRuleDetails) UnmarshalJSON ¶

func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ResponderRuleDetails) ValidateEnumValue ¶

func (m ResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleExecutionDetails ¶

type ResponderRuleExecutionDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

ResponderRuleExecutionDetails Details of ResponderRuleExecution. A Responder Rule Execution is the entity that captures the execution of a Responder Rule for a given Problem.

func (ResponderRuleExecutionDetails) String ¶

func (*ResponderRuleExecutionDetails) UnmarshalJSON ¶

func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ResponderRuleExecutionDetails) ValidateEnumValue ¶

func (m ResponderRuleExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleSummary ¶

type ResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"true" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"true" json:"type"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []ResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the responder rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the responder rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

ResponderRuleSummary Summary of the ResponderRule.

func (ResponderRuleSummary) String ¶

func (m ResponderRuleSummary) String() string

func (ResponderRuleSummary) ValidateEnumValue ¶

func (m ResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponderRuleSummarySupportedModesEnum ¶

type ResponderRuleSummarySupportedModesEnum string

ResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSummarySupportedModesAutoaction ResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	ResponderRuleSummarySupportedModesUseraction ResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSummarySupportedModesEnum

func GetMappingResponderRuleSummarySupportedModesEnum ¶

func GetMappingResponderRuleSummarySupportedModesEnum(val string) (ResponderRuleSummarySupportedModesEnum, bool)

GetMappingResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRuleSummarySupportedModesEnumValues ¶

func GetResponderRuleSummarySupportedModesEnumValues() []ResponderRuleSummarySupportedModesEnum

GetResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRuleSummarySupportedModesEnum

type ResponderRuleSupportedModesEnum ¶

type ResponderRuleSupportedModesEnum string

ResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	ResponderRuleSupportedModesAutoaction ResponderRuleSupportedModesEnum = "AUTOACTION"
	ResponderRuleSupportedModesUseraction ResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for ResponderRuleSupportedModesEnum

func GetMappingResponderRuleSupportedModesEnum ¶

func GetMappingResponderRuleSupportedModesEnum(val string) (ResponderRuleSupportedModesEnum, bool)

GetMappingResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderRuleSupportedModesEnumValues ¶

func GetResponderRuleSupportedModesEnumValues() []ResponderRuleSupportedModesEnum

GetResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRuleSupportedModesEnum

type ResponderTypeEnum ¶

type ResponderTypeEnum string

ResponderTypeEnum Enum with underlying type: string

const (
	ResponderTypeRemediation  ResponderTypeEnum = "REMEDIATION"
	ResponderTypeNotification ResponderTypeEnum = "NOTIFICATION"
)

Set of constants representing the allowable values for ResponderTypeEnum

func GetMappingResponderTypeEnum ¶

func GetMappingResponderTypeEnum(val string) (ResponderTypeEnum, bool)

GetMappingResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResponderTypeEnumValues ¶

func GetResponderTypeEnumValues() []ResponderTypeEnum

GetResponderTypeEnumValues Enumerates the set of values for ResponderTypeEnum

type RiskLevelEnum ¶

type RiskLevelEnum string

RiskLevelEnum Enum with underlying type: string

const (
	RiskLevelCritical RiskLevelEnum = "CRITICAL"
	RiskLevelHigh     RiskLevelEnum = "HIGH"
	RiskLevelMedium   RiskLevelEnum = "MEDIUM"
	RiskLevelLow      RiskLevelEnum = "LOW"
	RiskLevelMinor    RiskLevelEnum = "MINOR"
)

Set of constants representing the allowable values for RiskLevelEnum

func GetMappingRiskLevelEnum ¶

func GetMappingRiskLevelEnum(val string) (RiskLevelEnum, bool)

GetMappingRiskLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRiskLevelEnumValues ¶

func GetRiskLevelEnumValues() []RiskLevelEnum

GetRiskLevelEnumValues Enumerates the set of values for RiskLevelEnum

type RiskScoreAggregation ¶

type RiskScoreAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The risk score with given dimensions
	RiskScore *int `mandatory:"true" json:"riskScore"`
}

RiskScoreAggregation Provides the dimensions and their corresponding risk score.

func (RiskScoreAggregation) String ¶

func (m RiskScoreAggregation) String() string

func (RiskScoreAggregation) ValidateEnumValue ¶

func (m RiskScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RiskScoreAggregationCollection ¶

type RiskScoreAggregationCollection struct {

	// The items consist of all the RiskScoreAggregation objects.
	Items []RiskScoreAggregation `mandatory:"true" json:"items"`
}

RiskScoreAggregationCollection Risk Score Aggregation Collection.

func (RiskScoreAggregationCollection) String ¶

func (RiskScoreAggregationCollection) ValidateEnumValue ¶

func (m RiskScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RuleSummary ¶

type RuleSummary struct {

	// id of the rule
	Id *string `mandatory:"true" json:"id"`

	// description of the rule
	Description *string `mandatory:"true" json:"description"`

	// List of parameters applicable for rule
	Parameters []OperatorSummary `mandatory:"true" json:"parameters"`
}

RuleSummary Summary of rules

func (RuleSummary) String ¶

func (m RuleSummary) String() string

func (RuleSummary) ValidateEnumValue ¶

func (m RuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicy ¶ added in v65.3.0

type SecurityPolicy struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The id of the security policy's compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The owner of the security policy
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// A shorter version of the security policy's name
	FriendlyName *string `mandatory:"false" json:"friendlyName"`

	// The security policy's full name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security policy's description
	Description *string `mandatory:"false" json:"description"`

	// The category of security policy
	Category *string `mandatory:"false" json:"category"`

	// The list of services that the security policy protects
	Services []string `mandatory:"false" json:"services"`

	// The time the security policy was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the security policy was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the security policy
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a resource in a `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityPolicy A security policy defines a security requirement for resources in a security zone. If a security zone enables a policy (using a recipe), then any action that attempts to violate that policy is denied.

func (SecurityPolicy) String ¶ added in v65.3.0

func (m SecurityPolicy) String() string

func (SecurityPolicy) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicyCollection ¶ added in v65.3.0

type SecurityPolicyCollection struct {

	// A list of security policy summaries
	Items []SecurityPolicySummary `mandatory:"true" json:"items"`
}

SecurityPolicyCollection Results of a security policy search. Contains `SecurityPolicySummary` items.

func (SecurityPolicyCollection) String ¶ added in v65.3.0

func (m SecurityPolicyCollection) String() string

func (SecurityPolicyCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityPolicySummary ¶ added in v65.3.0

type SecurityPolicySummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The id of the security policy's compartment
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The owner of the security policy
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// A shorter version of the security policy's name
	FriendlyName *string `mandatory:"false" json:"friendlyName"`

	// The security policy's full name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security policy's description
	Description *string `mandatory:"false" json:"description"`

	// The category of security policy
	Category *string `mandatory:"false" json:"category"`

	// The list of services that the security policy protects
	Services []string `mandatory:"false" json:"services"`

	// The time the security policy was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the security policy was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the security policy
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a policy in the `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityPolicySummary Summary information for a security zone policy. A security policy defines a security requirement for resources in a security zone. If a security zone enables a policy (using a recipe), then any action that attempts to violate that policy is denied.

func (SecurityPolicySummary) String ¶ added in v65.3.0

func (m SecurityPolicySummary) String() string

func (SecurityPolicySummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityPolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRatingEnum ¶

type SecurityRatingEnum string

SecurityRatingEnum Enum with underlying type: string

const (
	SecurityRatingExcellent SecurityRatingEnum = "EXCELLENT"
	SecurityRatingGood      SecurityRatingEnum = "GOOD"
	SecurityRatingFair      SecurityRatingEnum = "FAIR"
	SecurityRatingPoor      SecurityRatingEnum = "POOR"
	SecurityRatingNa        SecurityRatingEnum = "NA"
)

Set of constants representing the allowable values for SecurityRatingEnum

func GetMappingSecurityRatingEnum ¶

func GetMappingSecurityRatingEnum(val string) (SecurityRatingEnum, bool)

GetMappingSecurityRatingEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityRatingEnumValues ¶

func GetSecurityRatingEnumValues() []SecurityRatingEnum

GetSecurityRatingEnumValues Enumerates the set of values for SecurityRatingEnum

type SecurityRecipe ¶ added in v65.3.0

type SecurityRecipe struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The id of the compartment that contains the recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The owner of the recipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The list of `SecurityPolicy` ids that are included in the recipe
	SecurityPolicies []string `mandatory:"true" json:"securityPolicies"`

	// The recipe's name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The recipe's description
	Description *string `mandatory:"false" json:"description"`

	// The time the recipe was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the recipe was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the recipe
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityRecipe A security zone recipe is a collection of security zone policies. Oracle Cloud Infrastructure enforces these policies on security zones that use the recipe.

func (SecurityRecipe) String ¶ added in v65.3.0

func (m SecurityRecipe) String() string

func (SecurityRecipe) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRecipeCollection ¶ added in v65.3.0

type SecurityRecipeCollection struct {

	// A list of security zone recipe summaries
	Items []SecurityRecipeSummary `mandatory:"true" json:"items"`
}

SecurityRecipeCollection Results of a security zone recipe search. Contains `SecurityRecipeSummary` items.

func (SecurityRecipeCollection) String ¶ added in v65.3.0

func (m SecurityRecipeCollection) String() string

func (SecurityRecipeCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityRecipeSummary ¶ added in v65.3.0

type SecurityRecipeSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The id of the compartment that contains the recipe
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The owner of the recipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The list of `SecurityPolicy` ids that are included in the recipe
	SecurityPolicies []string `mandatory:"true" json:"securityPolicies"`

	// The recipe's name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The recipe's description
	Description *string `mandatory:"false" json:"description"`

	// The time the recipe was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the recipe was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the recipe
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in the `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityRecipeSummary Summary information for a security zone recipe. A security zone recipe is a collection of security zone policies. Oracle Cloud Infrastructure enforces these policies on security zones that use the recipe.

func (SecurityRecipeSummary) String ¶ added in v65.3.0

func (m SecurityRecipeSummary) String() string

func (SecurityRecipeSummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreAggregation ¶

type SecurityScoreAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// The security rating with given dimension/s
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given dimension/s
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreAggregation Provides the dimensions and their corresponding count value.

func (SecurityScoreAggregation) String ¶

func (m SecurityScoreAggregation) String() string

func (SecurityScoreAggregation) ValidateEnumValue ¶

func (m SecurityScoreAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreAggregationCollection ¶

type SecurityScoreAggregationCollection struct {

	// The items consist of all the SecurityScoreAggregation objects.
	Items []SecurityScoreAggregation `mandatory:"true" json:"items"`
}

SecurityScoreAggregationCollection Security Score Aggregation Collection.

func (SecurityScoreAggregationCollection) String ¶

func (SecurityScoreAggregationCollection) ValidateEnumValue ¶

func (m SecurityScoreAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreTrendAggregation ¶

type SecurityScoreTrendAggregation struct {

	// The key-value pairs of dimensions and their names.
	DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"`

	// Start Time in epoch seconds
	StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"`

	// Duration
	DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"`

	// The security rating with given dimensions and time range
	SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"`

	// The security score with given dimensions and time range
	SecurityScore *int `mandatory:"true" json:"securityScore"`
}

SecurityScoreTrendAggregation Provides the dimensions and their corresponding time and security score.

func (SecurityScoreTrendAggregation) String ¶

func (SecurityScoreTrendAggregation) ValidateEnumValue ¶

func (m SecurityScoreTrendAggregation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityScoreTrendAggregationCollection ¶

type SecurityScoreTrendAggregationCollection struct {

	// The items consist of all the SecurityScoreTrendAggregation objects.
	Items []SecurityScoreTrendAggregation `mandatory:"true" json:"items"`
}

SecurityScoreTrendAggregationCollection Security Score Trend Aggregation Collection.

func (SecurityScoreTrendAggregationCollection) String ¶

func (SecurityScoreTrendAggregationCollection) ValidateEnumValue ¶

func (m SecurityScoreTrendAggregationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZone ¶ added in v65.3.0

type SecurityZone struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment for the security zone
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the recipe (`SecurityRecipe`) for the security zone
	SecurityZoneRecipeId *string `mandatory:"true" json:"securityZoneRecipeId"`

	// The security zone's name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security zone's description
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the target associated with the security zone
	SecurityZoneTargetId *string `mandatory:"false" json:"securityZoneTargetId"`

	// List of inherited compartments
	InheritedByCompartments []string `mandatory:"false" json:"inheritedByCompartments"`

	// The time the security zone was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the security zone was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the security zone
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityZone A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartment (and any subcompartments in the zone) that violate a policy are denied.

func (SecurityZone) String ¶ added in v65.3.0

func (m SecurityZone) String() string

func (SecurityZone) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZone) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneCollection ¶ added in v65.3.0

type SecurityZoneCollection struct {

	// List of security zone summaries
	Items []SecurityZoneSummary `mandatory:"true" json:"items"`
}

SecurityZoneCollection Results of a security zone search. Contains `SecurityZoneSummary` items.

func (SecurityZoneCollection) String ¶ added in v65.3.0

func (m SecurityZoneCollection) String() string

func (SecurityZoneCollection) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneSummary ¶ added in v65.3.0

type SecurityZoneSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment for the security zone
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the recipe (`SecurityRecipe`) for the security zone
	SecurityZoneRecipeId *string `mandatory:"true" json:"securityZoneRecipeId"`

	// The security zone's name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The security zone's description
	Description *string `mandatory:"false" json:"description"`

	// The time the security zone was created. An RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the security zone was last updated. An RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the security zone
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the `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"}`
	// Avoid entering confidential information.
	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"`
}

SecurityZoneSummary Summary information for a security zone. A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartment (and any subcompartments in the zone) that violate a policy are denied.

func (SecurityZoneSummary) String ¶ added in v65.3.0

func (m SecurityZoneSummary) String() string

func (SecurityZoneSummary) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SecurityZoneTargetDetails ¶ added in v65.3.0

type SecurityZoneTargetDetails struct {

	// The OCID of the security zone to associate this compartment with.
	SecurityZoneId *string `mandatory:"false" json:"securityZoneId"`

	// The name of the security zone to associate this compartment with.
	SecurityZoneDisplayName *string `mandatory:"false" json:"securityZoneDisplayName"`

	// The list of security zone recipes to associate this compartment with.
	TargetSecurityZoneRecipes []SecurityRecipe `mandatory:"false" json:"targetSecurityZoneRecipes"`
}

SecurityZoneTargetDetails Details about Security Zone Target.

func (SecurityZoneTargetDetails) MarshalJSON ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SecurityZoneTargetDetails) String ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) String() string

func (SecurityZoneTargetDetails) ValidateEnumValue ¶ added in v65.3.0

func (m SecurityZoneTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ServiceTypeSummary ¶

type ServiceTypeSummary struct {

	// name of the service type
	Name *string `mandatory:"true" json:"name"`

	// List of Resource
	ResourceTypes []ResourceTypeSummary `mandatory:"true" json:"resourceTypes"`
}

ServiceTypeSummary Summary of Service type

func (ServiceTypeSummary) String ¶

func (m ServiceTypeSummary) String() string

func (ServiceTypeSummary) ValidateEnumValue ¶

func (m ServiceTypeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SeverityEnum ¶

type SeverityEnum string

SeverityEnum Enum with underlying type: string

const (
	SeverityCritical SeverityEnum = "CRITICAL"
	SeverityHigh     SeverityEnum = "HIGH"
	SeverityMedium   SeverityEnum = "MEDIUM"
	SeverityLow      SeverityEnum = "LOW"
	SeverityMinor    SeverityEnum = "MINOR"
)

Set of constants representing the allowable values for SeverityEnum

func GetMappingSeverityEnum ¶

func GetMappingSeverityEnum(val string) (SeverityEnum, bool)

GetMappingSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSeverityEnumValues ¶

func GetSeverityEnumValues() []SeverityEnum

GetSeverityEnumValues Enumerates the set of values for SeverityEnum

type Sighting ¶

type Sighting struct {

	// Unique identifier for sighting event
	Id *string `mandatory:"true" json:"id"`

	// Description of the sighting event
	Description *string `mandatory:"true" json:"description"`

	// Compartment Id where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ClassificationStatus of the sighting event
	ClassificationStatus ClassificationStatusEnum `mandatory:"true" json:"classificationStatus"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Display name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// Name of the Mitre att&ck tactic
	TacticName *string `mandatory:"true" json:"tacticName"`

	// Name of the Mitre att&ck technique
	TechniqueName *string `mandatory:"true" json:"techniqueName"`

	// Score for the sighting
	SightingScore *int `mandatory:"true" json:"sightingScore"`

	// Severity of the sighting
	Severity SeverityEnum `mandatory:"true" json:"severity"`

	// Confidence of the sighting
	Confidence ConfidenceEnum `mandatory:"true" json:"confidence"`

	// The date and time the sighting was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// The date and time the sighting was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// regions involved in the sighting
	Regions []string `mandatory:"true" json:"regions"`

	// Problem Id to which the Sighting is associated
	ProblemId *string `mandatory:"false" json:"problemId"`

	// Unique identifier for principal actor
	ActorPrincipalId *string `mandatory:"false" json:"actorPrincipalId"`

	// Name of the principal actor
	ActorPrincipalName *string `mandatory:"false" json:"actorPrincipalName"`

	// Type of the principal actor
	ActorPrincipalType *string `mandatory:"false" json:"actorPrincipalType"`

	// The additional details of the Sighting
	AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`
}

Sighting Sighting details.

func (Sighting) String ¶

func (m Sighting) String() string

func (Sighting) ValidateEnumValue ¶

func (m Sighting) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingCollection ¶

type SightingCollection struct {

	// List of SightingSummary
	Items []SightingSummary `mandatory:"true" json:"items"`
}

SightingCollection Provides the summary of sighting

func (SightingCollection) String ¶

func (m SightingCollection) String() string

func (SightingCollection) ValidateEnumValue ¶

func (m SightingCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingEndpointCollection ¶

type SightingEndpointCollection struct {

	// List of SightingEndpointSummary
	Items []SightingEndpointSummary `mandatory:"true" json:"items"`
}

SightingEndpointCollection Provides the summary of sighting endpoints

func (SightingEndpointCollection) String ¶

func (SightingEndpointCollection) ValidateEnumValue ¶

func (m SightingEndpointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingEndpointSummary ¶

type SightingEndpointSummary struct {

	// Unique identifier for sighting endpoints
	Id *string `mandatory:"true" json:"id"`

	// Sighitng Id for sighting endpoints
	SightingId *string `mandatory:"true" json:"sightingId"`

	// IP Address
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// IP Address type
	IpAddressType *string `mandatory:"true" json:"ipAddressType"`

	// Time when activities were created
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Problem Id for sighting endpoints
	ProblemId *string `mandatory:"false" json:"problemId"`

	// IP Address classification type
	IpClassificationType *string `mandatory:"false" json:"ipClassificationType"`

	// Country
	Country *string `mandatory:"false" json:"country"`

	// Latitude
	Latitude *float64 `mandatory:"false" json:"latitude"`

	// Longitude
	Longitude *float64 `mandatory:"false" json:"longitude"`

	// ASN number
	AsnNumber *string `mandatory:"false" json:"asnNumber"`

	// Regions where activities were performed from this IP
	Regions []string `mandatory:"false" json:"regions"`

	// Services where activities were performed from this IP
	Services []string `mandatory:"false" json:"services"`
}

SightingEndpointSummary Sighting Endpoints summary.

func (SightingEndpointSummary) String ¶

func (m SightingEndpointSummary) String() string

func (SightingEndpointSummary) ValidateEnumValue ¶

func (m SightingEndpointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingImpactedResourceCollection ¶

type SightingImpactedResourceCollection struct {

	// List of SightingImpactedResourceSummary
	Items []SightingImpactedResourceSummary `mandatory:"true" json:"items"`
}

SightingImpactedResourceCollection Provides the summary of sighting impacted resource

func (SightingImpactedResourceCollection) String ¶

func (SightingImpactedResourceCollection) ValidateEnumValue ¶

func (m SightingImpactedResourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingImpactedResourceSummary ¶

type SightingImpactedResourceSummary struct {

	// Unique identifier for impacted resource
	Id *string `mandatory:"true" json:"id"`

	// Impacted resource Id
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// Sighting Id
	SightingId *string `mandatory:"true" json:"sightingId"`

	// Compartment Id for impacted resource
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Resource name
	ResourceName *string `mandatory:"true" json:"resourceName"`

	// Resource type
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Region for impacted resource
	Region *string `mandatory:"true" json:"region"`

	// Time when the impacted resource is identified for given sighting.
	TimeIdentified *common.SDKTime `mandatory:"true" json:"timeIdentified"`

	// Problem Id for impacted resource
	ProblemId *string `mandatory:"false" json:"problemId"`
}

SightingImpactedResourceSummary Sighting Impacted Resource summary.

func (SightingImpactedResourceSummary) String ¶

func (SightingImpactedResourceSummary) ValidateEnumValue ¶

func (m SightingImpactedResourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingSummary ¶

type SightingSummary struct {

	// Unique identifier for finding event
	Id *string `mandatory:"true" json:"id"`

	// Compartment Id where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier of the rule
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// ClassificationStatus of the sighting event
	ClassificationStatus ClassificationStatusEnum `mandatory:"true" json:"classificationStatus"`

	// Identifier for the sighting type
	SightingType *string `mandatory:"true" json:"sightingType"`

	// Name of the sighting type
	SightingTypeDisplayName *string `mandatory:"true" json:"sightingTypeDisplayName"`

	// Name of the Mitre att&ck tactic
	TacticName *string `mandatory:"true" json:"tacticName"`

	// Name of the Mitre att&ck technique
	TechniqueName *string `mandatory:"true" json:"techniqueName"`

	// Score for the sighting
	SightingScore *int `mandatory:"true" json:"sightingScore"`

	// Severity of the sighting
	Severity SeverityEnum `mandatory:"true" json:"severity"`

	// Confidence of the sighting
	Confidence ConfidenceEnum `mandatory:"true" json:"confidence"`

	// The date and time the sighting was first detected. Format defined by RFC3339.
	TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"`

	// The date and time the sighting was last detected. Format defined by RFC3339.
	TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"`

	// Regions involved in the sighting
	Regions []string `mandatory:"true" json:"regions"`

	// Problem Id to which the Sighting is associated
	ProblemId *string `mandatory:"false" json:"problemId"`

	// Unique identifier for principal actor
	ActorPrincipalId *string `mandatory:"false" json:"actorPrincipalId"`

	// Name of the principal actor
	ActorPrincipalName *string `mandatory:"false" json:"actorPrincipalName"`

	// Type of the principal actor
	ActorPrincipalType *string `mandatory:"false" json:"actorPrincipalType"`
}

SightingSummary Sighting summary Definition.

func (SightingSummary) String ¶

func (m SightingSummary) String() string

func (SightingSummary) ValidateEnumValue ¶

func (m SightingSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SightingType ¶

type SightingType struct {

	// The unique identifier of sighting type
	Id *string `mandatory:"false" json:"id"`

	// Name of the sighting type
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description of the sighting type
	Description *string `mandatory:"false" json:"description"`

	// Link of the sighting type
	MitreLink *string `mandatory:"false" json:"mitreLink"`

	// Mitre Att&ck tactic
	Tactic *string `mandatory:"false" json:"tactic"`

	// List of Mitre Att&ck Techniques
	Techniques []string `mandatory:"false" json:"techniques"`
}

SightingType Specific behavior that can trigger a Sighting

func (SightingType) String ¶

func (m SightingType) String() string

func (SightingType) ValidateEnumValue ¶

func (m SightingType) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SimpleCondition ¶

type SimpleCondition struct {

	// parameter Key
	Parameter *string `mandatory:"false" json:"parameter"`

	// type of operator
	Value *string `mandatory:"false" json:"value"`

	// type of operator
	Operator OperatorTypeEnum `mandatory:"false" json:"operator,omitempty"`

	// type of value
	ValueType ConditionValueTypeEnum `mandatory:"false" json:"valueType,omitempty"`
}

SimpleCondition Simple Condition object.

func (SimpleCondition) MarshalJSON ¶

func (m SimpleCondition) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SimpleCondition) String ¶

func (m SimpleCondition) String() string

func (SimpleCondition) ValidateEnumValue ¶

func (m SimpleCondition) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionDetails ¶

type SkipBulkResponderExecutionDetails struct {

	// List of responder execution ids to skip the execution
	ResponderExecutionIds []string `mandatory:"true" json:"responderExecutionIds"`
}

SkipBulkResponderExecutionDetails List of responder execution ids to skip the execution

func (SkipBulkResponderExecutionDetails) String ¶

func (SkipBulkResponderExecutionDetails) ValidateEnumValue ¶

func (m SkipBulkResponderExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionRequest ¶

type SkipBulkResponderExecutionRequest struct {

	// A list of responder execution ids to skip the execution
	SkipBulkResponderExecutionDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipBulkResponderExecutionRequest wrapper for the SkipBulkResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecutionRequest.

func (SkipBulkResponderExecutionRequest) BinaryRequestBody ¶

func (request SkipBulkResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SkipBulkResponderExecutionRequest) HTTPRequest ¶

func (request SkipBulkResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipBulkResponderExecutionRequest) RetryPolicy ¶

func (request SkipBulkResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipBulkResponderExecutionRequest) String ¶

func (request SkipBulkResponderExecutionRequest) String() string

func (SkipBulkResponderExecutionRequest) ValidateEnumValue ¶

func (request SkipBulkResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipBulkResponderExecutionResponse ¶

type SkipBulkResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipBulkResponderExecutionResponse wrapper for the SkipBulkResponderExecution operation

func (SkipBulkResponderExecutionResponse) HTTPResponse ¶

func (response SkipBulkResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipBulkResponderExecutionResponse) String ¶

func (response SkipBulkResponderExecutionResponse) String() string

type SkipResponderExecutionRequest ¶

type SkipResponderExecutionRequest struct {

	// The identifier of the responder execution.
	ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

SkipResponderExecutionRequest wrapper for the SkipResponderExecution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecutionRequest.

func (SkipResponderExecutionRequest) BinaryRequestBody ¶

func (request SkipResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SkipResponderExecutionRequest) HTTPRequest ¶

func (request SkipResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SkipResponderExecutionRequest) RetryPolicy ¶

func (request SkipResponderExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SkipResponderExecutionRequest) String ¶

func (request SkipResponderExecutionRequest) String() string

func (SkipResponderExecutionRequest) ValidateEnumValue ¶

func (request SkipResponderExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SkipResponderExecutionResponse ¶

type SkipResponderExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

SkipResponderExecutionResponse wrapper for the SkipResponderExecution operation

func (SkipResponderExecutionResponse) HTTPResponse ¶

func (response SkipResponderExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SkipResponderExecutionResponse) String ¶

func (response SkipResponderExecutionResponse) String() string

type SortOrdersEnum ¶

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
	SortOrdersAsc  SortOrdersEnum = "ASC"
	SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum ¶

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues ¶

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type TacticCollection ¶

type TacticCollection struct {

	// List of tactic summary.
	Items []TacticSummary `mandatory:"true" json:"items"`
}

TacticCollection Collection of tactic summaries in Cloud Guard

func (TacticCollection) String ¶

func (m TacticCollection) String() string

func (TacticCollection) ValidateEnumValue ¶

func (m TacticCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TacticSummary ¶

type TacticSummary struct {

	// Unique identifier for the tactic.
	Id *string `mandatory:"true" json:"id"`

	// Display name of the tactic
	DisplayName *string `mandatory:"true" json:"displayName"`
}

TacticSummary Tactic summary.

func (TacticSummary) String ¶

func (m TacticSummary) String() string

func (TacticSummary) ValidateEnumValue ¶

func (m TacticSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Target ¶

type Target struct {

	// Unique identifier that is immutable on creation.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// possible type of targets
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

	// Resource ID which the target uses to monitor
	TargetResourceId *string `mandatory:"true" json:"targetResourceId"`

	// Total number of recipes attached to target
	RecipeCount *int `mandatory:"true" json:"recipeCount"`

	// Target display name, 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"`

	TargetDetails TargetDetails `mandatory:"false" json:"targetDetails"`

	// 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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Target Description of Target.

func (Target) String ¶

func (m Target) String() string

func (*Target) UnmarshalJSON ¶ added in v65.3.0

func (m *Target) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Target) ValidateEnumValue ¶

func (m Target) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetCollection ¶

type TargetCollection struct {

	// List of TargetSummary
	Items []TargetSummary `mandatory:"true" json:"items"`
}

TargetCollection Collection of Target

func (TargetCollection) String ¶

func (m TargetCollection) String() string

func (TargetCollection) ValidateEnumValue ¶

func (m TargetCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetails ¶ added in v65.3.0

type TargetDetails interface {
}

TargetDetails Details specific to the target type.

type TargetDetectorDetails ¶

type TargetDetectorDetails struct {

	// Enables the control
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// 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"`

	// Cutover point for an elevated resource Risk Score to create a Problem
	ProblemThreshold *int `mandatory:"false" json:"problemThreshold"`

	// List of target types for which the detector rule is applicable
	TargetTypes []string `mandatory:"false" json:"targetTypes"`

	// List of sighting types
	SightingTypes []SightingType `mandatory:"false" json:"sightingTypes"`
}

TargetDetectorDetails Overriden settings of a Detector Rule applied on target

func (TargetDetectorDetails) String ¶

func (m TargetDetectorDetails) String() string

func (TargetDetectorDetails) ValidateEnumValue ¶

func (m TargetDetectorDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipe ¶

type TargetDetectorRecipe struct {

	// Ocid for detector recipe
	Id *string `mandatory:"true" json:"id"`

	// Display name 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"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`
}

TargetDetectorRecipe Target Detector recipe

func (TargetDetectorRecipe) String ¶

func (m TargetDetectorRecipe) String() string

func (TargetDetectorRecipe) ValidateEnumValue ¶

func (m TargetDetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeCollection ¶

type TargetDetectorRecipeCollection struct {

	// List of TargetDetectorRecipeSummary
	Items []TargetDetectorRecipeSummary `mandatory:"true" json:"items"`
}

TargetDetectorRecipeCollection Summary of the Target DetectorRecipe.

func (TargetDetectorRecipeCollection) String ¶

func (TargetDetectorRecipeCollection) ValidateEnumValue ¶

func (m TargetDetectorRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRule ¶

type TargetDetectorRecipeDetectorRule struct {

	// The unique identifier of the detector rule.
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	// detector for the rule
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"true" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"true" json:"resourceType"`

	// Display name for TargetDetectorRecipeDetectorRule. information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for TargetDetectorRecipeDetectorRule. information.
	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"`

	// The id of the attached DataSource.
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

TargetDetectorRecipeDetectorRule Detector Recipe Rule

func (TargetDetectorRecipeDetectorRule) String ¶

func (TargetDetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleCollection ¶

type TargetDetectorRecipeDetectorRuleCollection struct {

	// List of TargetDetectorRecipeDetectorRuleSummary
	Items []TargetDetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"`
}

TargetDetectorRecipeDetectorRuleCollection Summary of the DetectorRule within Target.

func (TargetDetectorRecipeDetectorRuleCollection) String ¶

func (TargetDetectorRecipeDetectorRuleCollection) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock    TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleManagedListTypesUsers        TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleManagedListTypesGroups       TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address  TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address  TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleManagedListTypesRegion       TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleManagedListTypesCountry      TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleManagedListTypesState        TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleManagedListTypesCity         TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleManagedListTypesTags         TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS"
	TargetDetectorRecipeDetectorRuleManagedListTypesGeneric      TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

func GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum ¶

func GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleManagedListTypesEnum, bool)

GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum

type TargetDetectorRecipeDetectorRuleSummary ¶

type TargetDetectorRecipeDetectorRuleSummary struct {

	// The unique identifier of the detector rule
	Id *string `mandatory:"true" json:"id"`

	// possible type of detectors
	Detector DetectorEnumEnum `mandatory:"true" json:"detector"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// DetectorTemplate Identifier, can be renamed
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for TargetDetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// service type of the configuration to which the rule is applied
	ServiceType *string `mandatory:"false" json:"serviceType"`

	// resource type of the configuration to which the rule is applied
	ResourceType *string `mandatory:"false" json:"resourceType"`

	// List of cloudguard managed list types related to this rule
	ManagedListTypes []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"`

	DetectorDetails *TargetDetectorDetails `mandatory:"false" json:"detectorDetails"`

	// The date and time the target detector recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the target detector recipe rule
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The id of the attached DataSource.
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

TargetDetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.

func (TargetDetectorRecipeDetectorRuleSummary) String ¶

func (TargetDetectorRecipeDetectorRuleSummary) ValidateEnumValue ¶

func (m TargetDetectorRecipeDetectorRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string

TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string

const (
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock    TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers        TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups       TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address  TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address  TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion       TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry      TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState        TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity         TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags         TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS"
	TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric      TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC"
)

Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

func GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum ¶

func GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)

GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues ¶

func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum

type TargetDetectorRecipeSummary ¶

type TargetDetectorRecipeSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// DetectorRecipe Identifier Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// DetectorRecipe Description
	Description *string `mandatory:"true" json:"description"`

	// Owner of DetectorRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// Unique identifier for Detector Recipe of which this is an extension
	DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"`

	// Type of detector
	Detector DetectorEnumEnum `mandatory:"false" json:"detector,omitempty"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the target detector recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target detector recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The number of days for which source data is retained
	SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"`
}

TargetDetectorRecipeSummary Summary of DetectorRecipe

func (TargetDetectorRecipeSummary) String ¶

func (TargetDetectorRecipeSummary) ValidateEnumValue ¶

func (m TargetDetectorRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetIdsSelected ¶

type TargetIdsSelected struct {

	// Ids of Target
	Values []string `mandatory:"false" json:"values"`
}

TargetIdsSelected Target selection on basis of TargetIds.

func (TargetIdsSelected) MarshalJSON ¶

func (m TargetIdsSelected) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TargetIdsSelected) String ¶

func (m TargetIdsSelected) String() string

func (TargetIdsSelected) ValidateEnumValue ¶

func (m TargetIdsSelected) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResourceTypeEnum ¶

type TargetResourceTypeEnum string

TargetResourceTypeEnum Enum with underlying type: string

const (
	TargetResourceTypeCompartment  TargetResourceTypeEnum = "COMPARTMENT"
	TargetResourceTypeErpcloud     TargetResourceTypeEnum = "ERPCLOUD"
	TargetResourceTypeHcmcloud     TargetResourceTypeEnum = "HCMCLOUD"
	TargetResourceTypeSecurityZone TargetResourceTypeEnum = "SECURITY_ZONE"
)

Set of constants representing the allowable values for TargetResourceTypeEnum

func GetMappingTargetResourceTypeEnum ¶

func GetMappingTargetResourceTypeEnum(val string) (TargetResourceTypeEnum, bool)

GetMappingTargetResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResourceTypeEnumValues ¶

func GetTargetResourceTypeEnumValues() []TargetResourceTypeEnum

GetTargetResourceTypeEnumValues Enumerates the set of values for TargetResourceTypeEnum

type TargetResourceTypesSelected ¶

type TargetResourceTypesSelected struct {

	// Types of Targets
	Values []TargetResourceTypeEnum `mandatory:"false" json:"values,omitempty"`
}

TargetResourceTypesSelected Target selection on basis of TargetResourceTypes.

func (TargetResourceTypesSelected) MarshalJSON ¶

func (m TargetResourceTypesSelected) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TargetResourceTypesSelected) String ¶

func (TargetResourceTypesSelected) ValidateEnumValue ¶

func (m TargetResourceTypesSelected) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipe ¶

type TargetResponderRecipe struct {

	// Unique identifier of TargetResponderRecipe that can't be changed after 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 display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRecipe description.
	Description *string `mandatory:"true" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// List of responder rules associated with the recipe - user input
	ResponderRules []TargetResponderRecipeResponderRule `mandatory:"false" json:"responderRules"`

	// List of responder rules associated with the recipe after applying all defaults
	EffectiveResponderRules []TargetResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"`
}

TargetResponderRecipe Details of Target ResponderRecipe

func (TargetResponderRecipe) String ¶

func (m TargetResponderRecipe) String() string

func (TargetResponderRecipe) ValidateEnumValue ¶

func (m TargetResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeCollection ¶

type TargetResponderRecipeCollection struct {

	// List of TargetResponderRecipeSummary
	Items []TargetResponderRecipeSummary `mandatory:"true" json:"items"`
}

TargetResponderRecipeCollection Collection of TargetResponderRecipe

func (TargetResponderRecipeCollection) String ¶

func (TargetResponderRecipeCollection) ValidateEnumValue ¶

func (m TargetResponderRecipeCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRule ¶

type TargetResponderRecipeResponderRule struct {

	// Unique ResponderRule identifier.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule display name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule description.
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []TargetResponderRecipeResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeResponderRule Details of ResponderRule.

func (TargetResponderRecipeResponderRule) String ¶

func (TargetResponderRecipeResponderRule) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleCollection ¶

type TargetResponderRecipeResponderRuleCollection struct {

	// List of TargetResponderRecipeResponderRuleSummary
	Items []TargetResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"`
}

TargetResponderRecipeResponderRuleCollection Summary of the ResponderRule within Target.

func (TargetResponderRecipeResponderRuleCollection) String ¶

func (TargetResponderRecipeResponderRuleCollection) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleSummary ¶

type TargetResponderRecipeResponderRuleSummary struct {

	// Identifier for ResponderRule.
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// ResponderRule Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// ResponderRule Description
	Description *string `mandatory:"false" json:"description"`

	// Type of Responder
	Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"`

	// List of Policy
	Policies []string `mandatory:"false" json:"policies"`

	// Supported Execution Modes
	SupportedModes []TargetResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"`

	Details *ResponderRuleDetails `mandatory:"false" json:"details"`

	// The date and time the target responder recipe rule was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe rule was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the ResponderRule.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeResponderRuleSummary Summary of ResponderRule.

func (TargetResponderRecipeResponderRuleSummary) String ¶

func (TargetResponderRecipeResponderRuleSummary) ValidateEnumValue ¶

func (m TargetResponderRecipeResponderRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSummarySupportedModesEnum string

TargetResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSummarySupportedModesAutoaction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSummarySupportedModesUseraction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

func GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum ¶

func GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSummarySupportedModesEnum, bool)

GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []TargetResponderRecipeResponderRuleSummarySupportedModesEnum

GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum

type TargetResponderRecipeResponderRuleSupportedModesEnum ¶

type TargetResponderRecipeResponderRuleSupportedModesEnum string

TargetResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string

const (
	TargetResponderRecipeResponderRuleSupportedModesAutoaction TargetResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION"
	TargetResponderRecipeResponderRuleSupportedModesUseraction TargetResponderRecipeResponderRuleSupportedModesEnum = "USERACTION"
)

Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSupportedModesEnum

func GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum ¶

func GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSupportedModesEnum, bool)

GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues ¶

func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues() []TargetResponderRecipeResponderRuleSupportedModesEnum

GetTargetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSupportedModesEnum

type TargetResponderRecipeSummary ¶

type TargetResponderRecipeSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Unique identifier for Responder Recipe of which this is an extension
	ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"`

	// ResponderRecipe Identifier Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// ResponderRecipe Description
	Description *string `mandatory:"true" json:"description"`

	// Owner of ResponderRecipe
	Owner OwnerTypeEnum `mandatory:"true" json:"owner"`

	// The date and time the target responder recipe was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target responder recipe was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Example.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

TargetResponderRecipeSummary Summary of ResponderRecipe

func (TargetResponderRecipeSummary) String ¶

func (TargetResponderRecipeSummary) ValidateEnumValue ¶

func (m TargetResponderRecipeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetSelected ¶

type TargetSelected interface {
}

TargetSelected Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.

type TargetSelectedKindEnum ¶

type TargetSelectedKindEnum string

TargetSelectedKindEnum Enum with underlying type: string

const (
	TargetSelectedKindAll         TargetSelectedKindEnum = "ALL"
	TargetSelectedKindTargettypes TargetSelectedKindEnum = "TARGETTYPES"
	TargetSelectedKindTargetids   TargetSelectedKindEnum = "TARGETIDS"
)

Set of constants representing the allowable values for TargetSelectedKindEnum

func GetMappingTargetSelectedKindEnum ¶

func GetMappingTargetSelectedKindEnum(val string) (TargetSelectedKindEnum, bool)

GetMappingTargetSelectedKindEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetSelectedKindEnumValues ¶

func GetTargetSelectedKindEnumValues() []TargetSelectedKindEnum

GetTargetSelectedKindEnumValues Enumerates the set of values for TargetSelectedKindEnum

type TargetSummary ¶

type TargetSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// possible type of targets(compartment/HCMCloud/ERPCloud)
	TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"`

	// Resource ID which the target uses to monitor
	TargetResourceId *string `mandatory:"true" json:"targetResourceId"`

	// Total number of recipes attached to target
	RecipeCount *int `mandatory:"true" json:"recipeCount"`

	// DetectorTemplate Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The date and time the target was created. Format defined by RFC3339.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the target was updated. Format defined by RFC3339.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// System tags can be viewed by users, but can only be created by the system.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

TargetSummary Summary of the Target.

func (TargetSummary) String ¶

func (m TargetSummary) String() string

func (TargetSummary) ValidateEnumValue ¶

func (m TargetSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TechniqueCollection ¶

type TechniqueCollection struct {

	// List of technique summary.
	Items []TechniqueSummary `mandatory:"true" json:"items"`
}

TechniqueCollection Collection of technique summaries in Cloud Guard

func (TechniqueCollection) String ¶

func (m TechniqueCollection) String() string

func (TechniqueCollection) ValidateEnumValue ¶

func (m TechniqueCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TechniqueSummary ¶

type TechniqueSummary struct {

	// Unique identifier for the technique.
	Id *string `mandatory:"true" json:"id"`

	// Display name of the technique
	DisplayName *string `mandatory:"true" json:"displayName"`
}

TechniqueSummary Technique summary.

func (TechniqueSummary) String ¶

func (m TechniqueSummary) String() string

func (TechniqueSummary) ValidateEnumValue ¶

func (m TechniqueSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderDetails ¶

type TriggerResponderDetails struct {

	// ResponderRule ID
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	// ResponderRule configurations
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`
}

TriggerResponderDetails The Responder details to be pushed to responder

func (TriggerResponderDetails) String ¶

func (m TriggerResponderDetails) String() string

func (TriggerResponderDetails) ValidateEnumValue ¶

func (m TriggerResponderDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderRequest ¶

type TriggerResponderRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The responder may update the problem.
	TriggerResponderDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

TriggerResponderRequest wrapper for the TriggerResponder operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponderRequest.

func (TriggerResponderRequest) BinaryRequestBody ¶

func (request TriggerResponderRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TriggerResponderRequest) HTTPRequest ¶

func (request TriggerResponderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TriggerResponderRequest) RetryPolicy ¶

func (request TriggerResponderRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TriggerResponderRequest) String ¶

func (request TriggerResponderRequest) String() string

func (TriggerResponderRequest) ValidateEnumValue ¶

func (request TriggerResponderRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TriggerResponderResponse ¶

type TriggerResponderResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

TriggerResponderResponse wrapper for the TriggerResponder operation

func (TriggerResponderResponse) HTTPResponse ¶

func (response TriggerResponderResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TriggerResponderResponse) String ¶

func (response TriggerResponderResponse) String() string

type UpdateBulkProblemStatusDetails ¶

type UpdateBulkProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// List of ProblemIds to be passed in to update the Problem status.
	ProblemIds []string `mandatory:"true" json:"problemIds"`

	// User defined comment to be passed in to update the problem.
	Comment *string `mandatory:"false" json:"comment"`
}

UpdateBulkProblemStatusDetails List of problem ids to be passed in to update the Problem status.

func (UpdateBulkProblemStatusDetails) String ¶

func (UpdateBulkProblemStatusDetails) ValidateEnumValue ¶

func (m UpdateBulkProblemStatusDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBulkProblemStatusRequest ¶

type UpdateBulkProblemStatusRequest struct {

	// A list of problem ids to be passed in to update the Problem status
	UpdateBulkProblemStatusDetails `contributesTo:"body"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateBulkProblemStatusRequest wrapper for the UpdateBulkProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatusRequest.

func (UpdateBulkProblemStatusRequest) BinaryRequestBody ¶

func (request UpdateBulkProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBulkProblemStatusRequest) HTTPRequest ¶

func (request UpdateBulkProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBulkProblemStatusRequest) RetryPolicy ¶

func (request UpdateBulkProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBulkProblemStatusRequest) String ¶

func (request UpdateBulkProblemStatusRequest) String() string

func (UpdateBulkProblemStatusRequest) ValidateEnumValue ¶

func (request UpdateBulkProblemStatusRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBulkProblemStatusResponse ¶

type UpdateBulkProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateBulkProblemStatusResponse wrapper for the UpdateBulkProblemStatus operation

func (UpdateBulkProblemStatusResponse) HTTPResponse ¶

func (response UpdateBulkProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBulkProblemStatusResponse) String ¶

func (response UpdateBulkProblemStatusResponse) String() string

type UpdateConfigurationDetails ¶

type UpdateConfigurationDetails struct {

	// The reporting region value
	ReportingRegion *string `mandatory:"true" json:"reportingRegion"`

	// Status of Cloud Guard Tenant
	Status CloudGuardStatusEnum `mandatory:"true" json:"status"`

	// Identifies if Oracle managed resources will be created by customers.
	// If no value is specified false is the default.
	SelfManageResources *bool `mandatory:"false" json:"selfManageResources"`
}

UpdateConfigurationDetails Update cloud guard configuration details for a tenancy.

func (UpdateConfigurationDetails) String ¶

func (UpdateConfigurationDetails) ValidateEnumValue ¶

func (m UpdateConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationRequest ¶

type UpdateConfigurationRequest struct {

	// Update Configuration Details of Cloud Guard for a Tenancy.
	UpdateConfigurationDetails `contributesTo:"body"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateConfigurationRequest wrapper for the UpdateConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.

func (UpdateConfigurationRequest) BinaryRequestBody ¶

func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConfigurationRequest) HTTPRequest ¶

func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConfigurationRequest) RetryPolicy ¶

func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConfigurationRequest) String ¶

func (request UpdateConfigurationRequest) String() string

func (UpdateConfigurationRequest) ValidateEnumValue ¶

func (request UpdateConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateConfigurationResponse ¶

type UpdateConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Configuration instance
	Configuration `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateConfigurationResponse wrapper for the UpdateConfiguration operation

func (UpdateConfigurationResponse) HTTPResponse ¶

func (response UpdateConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConfigurationResponse) String ¶

func (response UpdateConfigurationResponse) String() string

type UpdateDataMaskRuleDetails ¶

type UpdateDataMaskRuleDetails struct {

	// Data mask rule Name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Compartment Identifier where the resource is created
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// IAM Group id associated with the data mask rule
	IamGroupId *string `mandatory:"false" json:"iamGroupId"`

	TargetSelected TargetSelected `mandatory:"false" json:"targetSelected"`

	// Data Mask Categories
	DataMaskCategories []DataMaskCategoryEnum `mandatory:"false" json:"dataMaskCategories,omitempty"`

	// The status of the dataMaskRule.
	DataMaskRuleStatus DataMaskRuleStatusEnum `mandatory:"false" json:"dataMaskRuleStatus,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

UpdateDataMaskRuleDetails The information to be updated.

func (UpdateDataMaskRuleDetails) String ¶

func (m UpdateDataMaskRuleDetails) String() string

func (*UpdateDataMaskRuleDetails) UnmarshalJSON ¶

func (m *UpdateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDataMaskRuleDetails) ValidateEnumValue ¶

func (m UpdateDataMaskRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataMaskRuleRequest ¶

type UpdateDataMaskRuleRequest struct {

	// OCID of dataMaskRule
	DataMaskRuleId *string `mandatory:"true" contributesTo:"path" name:"dataMaskRuleId"`

	// The information to be updated.
	UpdateDataMaskRuleDetails `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
}

UpdateDataMaskRuleRequest wrapper for the UpdateDataMaskRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDataMaskRule.go.html to see an example of how to use UpdateDataMaskRuleRequest.

func (UpdateDataMaskRuleRequest) BinaryRequestBody ¶

func (request UpdateDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataMaskRuleRequest) HTTPRequest ¶

func (request UpdateDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDataMaskRuleRequest) RetryPolicy ¶

func (request UpdateDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDataMaskRuleRequest) String ¶

func (request UpdateDataMaskRuleRequest) String() string

func (UpdateDataMaskRuleRequest) ValidateEnumValue ¶

func (request UpdateDataMaskRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataMaskRuleResponse ¶

type UpdateDataMaskRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataMaskRule instance
	DataMaskRule `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"`
}

UpdateDataMaskRuleResponse wrapper for the UpdateDataMaskRule operation

func (UpdateDataMaskRuleResponse) HTTPResponse ¶

func (response UpdateDataMaskRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDataMaskRuleResponse) String ¶

func (response UpdateDataMaskRuleResponse) String() string

type UpdateDataSourceDetails ¶ added in v65.17.0

type UpdateDataSourceDetails struct {

	// Data Source display name.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Status of DataSource.
	Status DataSourceStatusEnum `mandatory:"false" json:"status,omitempty"`

	DataSourceDetails DataSourceDetails `mandatory:"false" json:"dataSourceDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

UpdateDataSourceDetails Update of Data Source

func (UpdateDataSourceDetails) String ¶ added in v65.17.0

func (m UpdateDataSourceDetails) String() string

func (*UpdateDataSourceDetails) UnmarshalJSON ¶ added in v65.17.0

func (m *UpdateDataSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDataSourceDetails) ValidateEnumValue ¶ added in v65.17.0

func (m UpdateDataSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataSourceRequest ¶ added in v65.17.0

type UpdateDataSourceRequest struct {

	// DataSource OCID
	DataSourceId *string `mandatory:"true" contributesTo:"path" name:"dataSourceId"`

	// Details for the DataSource to be updated
	UpdateDataSourceDetails `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
}

UpdateDataSourceRequest wrapper for the UpdateDataSource operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDataSource.go.html to see an example of how to use UpdateDataSourceRequest.

func (UpdateDataSourceRequest) BinaryRequestBody ¶ added in v65.17.0

func (request UpdateDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataSourceRequest) HTTPRequest ¶ added in v65.17.0

func (request UpdateDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDataSourceRequest) RetryPolicy ¶ added in v65.17.0

func (request UpdateDataSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDataSourceRequest) String ¶ added in v65.17.0

func (request UpdateDataSourceRequest) String() string

func (UpdateDataSourceRequest) ValidateEnumValue ¶ added in v65.17.0

func (request UpdateDataSourceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDataSourceResponse ¶ added in v65.17.0

type UpdateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// 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"`
}

UpdateDataSourceResponse wrapper for the UpdateDataSource operation

func (UpdateDataSourceResponse) HTTPResponse ¶ added in v65.17.0

func (response UpdateDataSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDataSourceResponse) String ¶ added in v65.17.0

func (response UpdateDataSourceResponse) String() string

type UpdateDetectorRecipeDetails ¶

type UpdateDetectorRecipeDetails struct {

	// Display name of detector recipe.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Detector recipe description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDetectorRecipeDetails Update of detector recipe

func (UpdateDetectorRecipeDetails) String ¶

func (UpdateDetectorRecipeDetails) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRule ¶

type UpdateDetectorRecipeDetectorRule struct {

	// DetectorRecipeRule Identifier
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateDetectorRecipeDetectorRule The details to be updated in DetectorRule

func (UpdateDetectorRecipeDetectorRule) String ¶

func (UpdateDetectorRecipeDetectorRule) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetectorRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleDetails ¶

type UpdateDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateDetectorRuleDetails `mandatory:"false" json:"details"`
}

UpdateDetectorRecipeDetectorRuleDetails Update of detector rule of a detector recipe

func (UpdateDetectorRecipeDetectorRuleDetails) String ¶

func (UpdateDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateDetectorRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleRequest ¶

type UpdateDetectorRecipeDetectorRuleRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// The key of Detector Rule.
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for DetectorRule.
	UpdateDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeDetectorRuleRequest wrapper for the UpdateDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRuleRequest.

func (UpdateDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeDetectorRuleRequest) String ¶

func (UpdateDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request UpdateDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeDetectorRuleResponse ¶

type UpdateDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipeDetectorRule instance
	DetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeDetectorRuleResponse wrapper for the UpdateDetectorRecipeDetectorRule operation

func (UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeDetectorRuleResponse) String ¶

type UpdateDetectorRecipeRequest ¶

type UpdateDetectorRecipeRequest struct {

	// DetectorRecipe OCID
	DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"`

	// Details for the DetectorRecipe to be updated
	UpdateDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateDetectorRecipeRequest wrapper for the UpdateDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipeRequest.

func (UpdateDetectorRecipeRequest) BinaryRequestBody ¶

func (request UpdateDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDetectorRecipeRequest) String ¶

func (request UpdateDetectorRecipeRequest) String() string

func (UpdateDetectorRecipeRequest) ValidateEnumValue ¶

func (request UpdateDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDetectorRecipeResponse ¶

type UpdateDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DetectorRecipe instance
	DetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDetectorRecipeResponse wrapper for the UpdateDetectorRecipe operation

func (UpdateDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDetectorRecipeResponse) String ¶

func (response UpdateDetectorRecipeResponse) String() string

type UpdateDetectorRuleDetails ¶

type UpdateDetectorRuleDetails struct {

	// Enables the control
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The Risk Level
	RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"`

	// 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"`

	// Description for DetectorRecipeDetectorRule.
	Description *string `mandatory:"false" json:"description"`

	// Recommendation for DetectorRecipeDetectorRule
	Recommendation *string `mandatory:"false" json:"recommendation"`

	// The id of the attached DataSource.
	DataSourceId *string `mandatory:"false" json:"dataSourceId"`

	// Data Source entities mapping for a Detector Rule
	EntitiesMappings []EntitiesMapping `mandatory:"false" json:"entitiesMappings"`
}

UpdateDetectorRuleDetails Details of a Detector Rule to be overriden in Detector Recipe

func (UpdateDetectorRuleDetails) String ¶

func (m UpdateDetectorRuleDetails) String() string

func (*UpdateDetectorRuleDetails) UnmarshalJSON ¶

func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListDetails ¶

type UpdateManagedListDetails struct {

	// Managed list display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Managed list description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateManagedListDetails Update ManagedList

func (UpdateManagedListDetails) String ¶

func (m UpdateManagedListDetails) String() string

func (UpdateManagedListDetails) ValidateEnumValue ¶

func (m UpdateManagedListDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListRequest ¶

type UpdateManagedListRequest struct {

	// The cloudguard list OCID to be passed in the request.
	ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"`

	// Details for the ManagedList to be updated
	UpdateManagedListDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateManagedListRequest wrapper for the UpdateManagedList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedListRequest.

func (UpdateManagedListRequest) BinaryRequestBody ¶

func (request UpdateManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagedListRequest) HTTPRequest ¶

func (request UpdateManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagedListRequest) RetryPolicy ¶

func (request UpdateManagedListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateManagedListRequest) String ¶

func (request UpdateManagedListRequest) String() string

func (UpdateManagedListRequest) ValidateEnumValue ¶

func (request UpdateManagedListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateManagedListResponse ¶

type UpdateManagedListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagedList instance
	ManagedList `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateManagedListResponse wrapper for the UpdateManagedList operation

func (UpdateManagedListResponse) HTTPResponse ¶

func (response UpdateManagedListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateManagedListResponse) String ¶

func (response UpdateManagedListResponse) String() string

type UpdateProblemStatusDetails ¶

type UpdateProblemStatusDetails struct {

	// Action taken by user
	Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"`

	// User Comments
	Comment *string `mandatory:"false" json:"comment"`
}

UpdateProblemStatusDetails The additional details for the problem

func (UpdateProblemStatusDetails) String ¶

func (UpdateProblemStatusDetails) ValidateEnumValue ¶

func (m UpdateProblemStatusDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProblemStatusRequest ¶

type UpdateProblemStatusRequest struct {

	// OCId of the problem.
	ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"`

	// The additional details for the problem.
	UpdateProblemStatusDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateProblemStatusRequest wrapper for the UpdateProblemStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatusRequest.

func (UpdateProblemStatusRequest) BinaryRequestBody ¶

func (request UpdateProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateProblemStatusRequest) HTTPRequest ¶

func (request UpdateProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateProblemStatusRequest) RetryPolicy ¶

func (request UpdateProblemStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateProblemStatusRequest) String ¶

func (request UpdateProblemStatusRequest) String() string

func (UpdateProblemStatusRequest) ValidateEnumValue ¶

func (request UpdateProblemStatusRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateProblemStatusResponse ¶

type UpdateProblemStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Problem instance
	Problem `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateProblemStatusResponse wrapper for the UpdateProblemStatus operation

func (UpdateProblemStatusResponse) HTTPResponse ¶

func (response UpdateProblemStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateProblemStatusResponse) String ¶

func (response UpdateProblemStatusResponse) String() string

type UpdateResponderRecipeDetails ¶

type UpdateResponderRecipeDetails struct {

	// Responder recipe identifier.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Responder recipe description.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateResponderRecipeDetails The details to be updated in ResponderRecipe

func (UpdateResponderRecipeDetails) String ¶

func (UpdateResponderRecipeDetails) ValidateEnumValue ¶

func (m UpdateResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeRequest ¶

type UpdateResponderRecipeRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The details to be updated.
	UpdateResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeRequest wrapper for the UpdateResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipeRequest.

func (UpdateResponderRecipeRequest) BinaryRequestBody ¶

func (request UpdateResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateResponderRecipeRequest) HTTPRequest ¶

func (request UpdateResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeRequest) RetryPolicy ¶

func (request UpdateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeRequest) String ¶

func (request UpdateResponderRecipeRequest) String() string

func (UpdateResponderRecipeRequest) ValidateEnumValue ¶

func (request UpdateResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRule ¶

type UpdateResponderRecipeResponderRule struct {

	// ResponderRecipeRule Identifier
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRule The details to be updated in ResponderRule

func (UpdateResponderRecipeResponderRule) String ¶

func (UpdateResponderRecipeResponderRule) ValidateEnumValue ¶

func (m UpdateResponderRecipeResponderRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleDetails ¶

type UpdateResponderRecipeResponderRuleDetails struct {
	Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateResponderRecipeResponderRuleDetails The details to be updated in ResponderRule

func (UpdateResponderRecipeResponderRuleDetails) String ¶

func (UpdateResponderRecipeResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateResponderRecipeResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleRequest ¶

type UpdateResponderRecipeResponderRuleRequest struct {

	// OCID of ResponderRecipe
	ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for ResponderRule.
	UpdateResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateResponderRecipeResponderRuleRequest wrapper for the UpdateResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRuleRequest.

func (UpdateResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResponderRecipeResponderRuleRequest) String ¶

func (UpdateResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request UpdateResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateResponderRecipeResponderRuleResponse ¶

type UpdateResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipeResponderRule instance
	ResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponderRuleResponse wrapper for the UpdateResponderRecipeResponderRule operation

func (UpdateResponderRecipeResponderRuleResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponderRuleResponse) String ¶

type UpdateResponderRecipeResponse ¶

type UpdateResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ResponderRecipe instance
	ResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateResponderRecipeResponse wrapper for the UpdateResponderRecipe operation

func (UpdateResponderRecipeResponse) HTTPResponse ¶

func (response UpdateResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResponderRecipeResponse) String ¶

func (response UpdateResponderRecipeResponse) String() string

type UpdateResponderRuleDetails ¶

type UpdateResponderRuleDetails struct {

	// Identifies state for ResponderRule
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`
}

UpdateResponderRuleDetails Details of UpdateResponderRuleDetails.

func (UpdateResponderRuleDetails) String ¶

func (UpdateResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityPolicyDetails ¶ added in v65.3.0

type UpdateSecurityPolicyDetails struct {

	// SecurityPolicy Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

UpdateSecurityPolicyDetails The information to be updated.

func (UpdateSecurityPolicyDetails) String ¶ added in v65.3.0

func (UpdateSecurityPolicyDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeDetails ¶ added in v65.3.0

type UpdateSecurityRecipeDetails struct {

	// The recipe's name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The recipe's description
	Description *string `mandatory:"false" json:"description"`

	// The list of `SecurityPolicy` ids to include in the recipe
	SecurityPolicies []string `mandatory:"false" json:"securityPolicies"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

UpdateSecurityRecipeDetails Information to update in an existing security zone recipe

func (UpdateSecurityRecipeDetails) String ¶ added in v65.3.0

func (UpdateSecurityRecipeDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeRequest ¶ added in v65.3.0

type UpdateSecurityRecipeRequest struct {

	// The unique identifier of the security zone recipe (`SecurityRecipe`)
	SecurityRecipeId *string `mandatory:"true" contributesTo:"path" name:"securityRecipeId"`

	// The information to be updated in the security zone recipe.
	UpdateSecurityRecipeDetails `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
}

UpdateSecurityRecipeRequest wrapper for the UpdateSecurityRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateSecurityRecipe.go.html to see an example of how to use UpdateSecurityRecipeRequest.

func (UpdateSecurityRecipeRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityRecipeRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityRecipeRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityRecipeRequest) String ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) String() string

func (UpdateSecurityRecipeRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateSecurityRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityRecipeResponse ¶ added in v65.3.0

type UpdateSecurityRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityRecipe instance
	SecurityRecipe `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"`
}

UpdateSecurityRecipeResponse wrapper for the UpdateSecurityRecipe operation

func (UpdateSecurityRecipeResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateSecurityRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityRecipeResponse) String ¶ added in v65.3.0

func (response UpdateSecurityRecipeResponse) String() string

type UpdateSecurityZoneDetails ¶ added in v65.3.0

type UpdateSecurityZoneDetails struct {

	// The security zone's name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The security zone's description
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the recipe (`SecurityRecipe`) for the security zone
	SecurityZoneRecipeId *string `mandatory:"false" json:"securityZoneRecipeId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	// Avoid entering confidential information.
	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"`
}

UpdateSecurityZoneDetails Information to update in an existing security zone

func (UpdateSecurityZoneDetails) String ¶ added in v65.3.0

func (m UpdateSecurityZoneDetails) String() string

func (UpdateSecurityZoneDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateSecurityZoneDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityZoneRequest ¶ added in v65.3.0

type UpdateSecurityZoneRequest struct {

	// The unique identifier of the security zone (`SecurityZone`)
	SecurityZoneId *string `mandatory:"true" contributesTo:"path" name:"securityZoneId"`

	// The security zone information to be updated.
	UpdateSecurityZoneDetails `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
}

UpdateSecurityZoneRequest wrapper for the UpdateSecurityZone operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateSecurityZone.go.html to see an example of how to use UpdateSecurityZoneRequest.

func (UpdateSecurityZoneRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityZoneRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityZoneRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityZoneRequest) String ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) String() string

func (UpdateSecurityZoneRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateSecurityZoneRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSecurityZoneResponse ¶ added in v65.3.0

type UpdateSecurityZoneResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityZone instance
	SecurityZone `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"`
}

UpdateSecurityZoneResponse wrapper for the UpdateSecurityZone operation

func (UpdateSecurityZoneResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateSecurityZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityZoneResponse) String ¶ added in v65.3.0

func (response UpdateSecurityZoneResponse) String() string

type UpdateTargetDetails ¶

type UpdateTargetDetails struct {

	// Display name of a target.
	// Avoid entering confidential information.
	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"}`
	// Avoid entering confidential information.
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTargetDetails The information to be updated.

func (UpdateTargetDetails) String ¶

func (m UpdateTargetDetails) String() string

func (UpdateTargetDetails) ValidateEnumValue ¶

func (m UpdateTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipe ¶

type UpdateTargetDetectorRecipe struct {

	// Identifier for DetectorRecipe.
	TargetDetectorRecipeId *string `mandatory:"true" json:"targetDetectorRecipeId"`

	// Updates to be applied to Detector Rule associated with the target
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"`
}

UpdateTargetDetectorRecipe The information to be updated in attached Target DetectorRecipe

func (UpdateTargetDetectorRecipe) String ¶

func (UpdateTargetDetectorRecipe) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetails ¶

type UpdateTargetDetectorRecipeDetails struct {

	// Detector recipe identifier associated with the target
	DetectorRecipeId *string `mandatory:"false" json:"detectorRecipeId"`

	// When enabled, validation is performed for attaching the detector recipe.
	IsValidationOnlyQuery *bool `mandatory:"false" json:"isValidationOnlyQuery"`

	// Update detector rules associated with detector recipe in a target.
	DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"false" json:"detectorRules"`
}

UpdateTargetDetectorRecipeDetails The information to be updated in DetectorRecipe

func (UpdateTargetDetectorRecipeDetails) String ¶

func (UpdateTargetDetectorRecipeDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleDetails ¶

type UpdateTargetDetectorRecipeDetectorRuleDetails struct {
	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetDetectorRecipeDetectorRuleDetails The details to be updated in DetectorRule

func (UpdateTargetDetectorRecipeDetectorRuleDetails) String ¶

func (UpdateTargetDetectorRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleRequest ¶

type UpdateTargetDetectorRecipeDetectorRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The id of DetectorRule
	DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"`

	// The details to be updated for DetectorRule.
	UpdateTargetDetectorRecipeDetectorRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeDetectorRuleRequest wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRuleRequest.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeDetectorRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeDetectorRuleRequest) String ¶

func (UpdateTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue ¶

func (request UpdateTargetDetectorRecipeDetectorRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeDetectorRuleResponse ¶

type UpdateTargetDetectorRecipeDetectorRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipeDetectorRule instance
	TargetDetectorRecipeDetectorRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeDetectorRuleResponse wrapper for the UpdateTargetDetectorRecipeDetectorRule operation

func (UpdateTargetDetectorRecipeDetectorRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeDetectorRuleResponse) String ¶

type UpdateTargetDetectorRecipeRequest ¶

type UpdateTargetDetectorRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetDetectorRecipe
	TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"`

	// The details to be updated.
	UpdateTargetDetectorRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetDetectorRecipeRequest wrapper for the UpdateTargetDetectorRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipeRequest.

func (UpdateTargetDetectorRecipeRequest) BinaryRequestBody ¶

func (request UpdateTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetDetectorRecipeRequest) HTTPRequest ¶

func (request UpdateTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetDetectorRecipeRequest) RetryPolicy ¶

func (request UpdateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetDetectorRecipeRequest) String ¶

func (request UpdateTargetDetectorRecipeRequest) String() string

func (UpdateTargetDetectorRecipeRequest) ValidateEnumValue ¶

func (request UpdateTargetDetectorRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetDetectorRecipeResponse ¶

type UpdateTargetDetectorRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetDetectorRecipe instance
	TargetDetectorRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetDetectorRecipeResponse wrapper for the UpdateTargetDetectorRecipe operation

func (UpdateTargetDetectorRecipeResponse) HTTPResponse ¶

func (response UpdateTargetDetectorRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetDetectorRecipeResponse) String ¶

func (response UpdateTargetDetectorRecipeResponse) String() string

type UpdateTargetDetectorRuleDetails ¶

type UpdateTargetDetectorRuleDetails struct {

	// Condition group corresponding to each compartment
	ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"`
}

UpdateTargetDetectorRuleDetails Overriden settings of a Detector Rule applied on target

func (UpdateTargetDetectorRuleDetails) String ¶

func (UpdateTargetDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRecipeDetectorRuleDetails ¶

type UpdateTargetRecipeDetectorRuleDetails struct {

	// Identifier for DetectorRule.
	DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"`

	Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeDetectorRuleDetails The details to be updated in TargetDetectorRecipeDetectorRule

func (UpdateTargetRecipeDetectorRuleDetails) String ¶

func (UpdateTargetRecipeDetectorRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetRecipeDetectorRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRecipeResponderRuleDetails ¶

type UpdateTargetRecipeResponderRuleDetails struct {

	// Identifier for ResponderRule.
	ResponderRuleId *string `mandatory:"true" json:"responderRuleId"`

	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetRecipeResponderRuleDetails The details to be updated in TargetResponderRecipeResponderRule

func (UpdateTargetRecipeResponderRuleDetails) String ¶

func (UpdateTargetRecipeResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetRecipeResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetRequest ¶

type UpdateTargetRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// The information to be updated.
	UpdateTargetDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetRequest wrapper for the UpdateTarget operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTargetRequest.

func (UpdateTargetRequest) BinaryRequestBody ¶

func (request UpdateTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetRequest) HTTPRequest ¶

func (request UpdateTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetRequest) RetryPolicy ¶

func (request UpdateTargetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetRequest) String ¶

func (request UpdateTargetRequest) String() string

func (UpdateTargetRequest) ValidateEnumValue ¶

func (request UpdateTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipe ¶

type UpdateTargetResponderRecipe struct {

	// Identifier for ResponderRecipe.
	TargetResponderRecipeId *string `mandatory:"true" json:"targetResponderRecipeId"`

	// Update responder rules associated with reponder recipe in a target.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipe The information to be updated in attached Target ResponderRecipe

func (UpdateTargetResponderRecipe) String ¶

func (UpdateTargetResponderRecipe) ValidateEnumValue ¶

func (m UpdateTargetResponderRecipe) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeDetails ¶

type UpdateTargetResponderRecipeDetails struct {

	// Update responder rules associated with responder recipe in a target.
	ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"`
}

UpdateTargetResponderRecipeDetails The information to be updated in ResponderRecipe.

func (UpdateTargetResponderRecipeDetails) String ¶

func (UpdateTargetResponderRecipeDetails) ValidateEnumValue ¶

func (m UpdateTargetResponderRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeRequest ¶

type UpdateTargetResponderRecipeRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The details to be updated.
	UpdateTargetResponderRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeRequest wrapper for the UpdateTargetResponderRecipe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipeRequest.

func (UpdateTargetResponderRecipeRequest) BinaryRequestBody ¶

func (request UpdateTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetResponderRecipeRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeRequest) RetryPolicy ¶

func (request UpdateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeRequest) String ¶

func (request UpdateTargetResponderRecipeRequest) String() string

func (UpdateTargetResponderRecipeRequest) ValidateEnumValue ¶

func (request UpdateTargetResponderRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleDetails ¶

type UpdateTargetResponderRecipeResponderRuleDetails struct {
	Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"`
}

UpdateTargetResponderRecipeResponderRuleDetails The details to be updated in ResponderRule

func (UpdateTargetResponderRecipeResponderRuleDetails) String ¶

func (UpdateTargetResponderRecipeResponderRuleDetails) ValidateEnumValue ¶

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleRequest ¶

type UpdateTargetResponderRecipeResponderRuleRequest struct {

	// OCID of target
	TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"`

	// OCID of TargetResponderRecipe
	TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"`

	// The id of ResponderRule
	ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"`

	// The details to be updated for ResponderRule.
	UpdateTargetResponderRecipeResponderRuleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateTargetResponderRecipeResponderRuleRequest wrapper for the UpdateTargetResponderRecipeResponderRule operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRuleRequest.

func (UpdateTargetResponderRecipeResponderRuleRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest ¶

func (request UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetResponderRecipeResponderRuleRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTargetResponderRecipeResponderRuleRequest) String ¶

func (UpdateTargetResponderRecipeResponderRuleRequest) ValidateEnumValue ¶

func (request UpdateTargetResponderRecipeResponderRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponderRecipeResponderRuleResponse ¶

type UpdateTargetResponderRecipeResponderRuleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipeResponderRule instance
	TargetResponderRecipeResponderRule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponderRuleResponse wrapper for the UpdateTargetResponderRecipeResponderRule operation

func (UpdateTargetResponderRecipeResponderRuleResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponderRuleResponse) String ¶

type UpdateTargetResponderRecipeResponse ¶

type UpdateTargetResponderRecipeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TargetResponderRecipe instance
	TargetResponderRecipe `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponderRecipeResponse wrapper for the UpdateTargetResponderRecipe operation

func (UpdateTargetResponderRecipeResponse) HTTPResponse ¶

func (response UpdateTargetResponderRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponderRecipeResponse) String ¶

func (response UpdateTargetResponderRecipeResponse) String() string

type UpdateTargetResponderRuleDetails ¶

type UpdateTargetResponderRuleDetails struct {
	Condition Condition `mandatory:"false" json:"condition"`

	// Configurations associated with the ResponderRule
	Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"`

	// Execution Mode for ResponderRule
	Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"`
}

UpdateTargetResponderRuleDetails Details of ResponderRule.

func (UpdateTargetResponderRuleDetails) String ¶

func (*UpdateTargetResponderRuleDetails) UnmarshalJSON ¶

func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateTargetResponderRuleDetails) ValidateEnumValue ¶

func (m UpdateTargetResponderRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetResponse ¶

type UpdateTargetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Target instance
	Target `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateTargetResponse wrapper for the UpdateTarget operation

func (UpdateTargetResponse) HTTPResponse ¶

func (response UpdateTargetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTargetResponse) String ¶

func (response UpdateTargetResponse) String() string

type WorkRequest ¶ added in v65.17.0

type WorkRequest struct {

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Operation type of the work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Operation status of the work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String ¶ added in v65.17.0

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError ¶ added in v65.17.0

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String ¶ added in v65.17.0

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection ¶ added in v65.17.0

type WorkRequestErrorCollection struct {

	// List of workRequestError objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String ¶ added in v65.17.0

func (WorkRequestErrorCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry ¶ added in v65.17.0

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String ¶ added in v65.17.0

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection ¶ added in v65.17.0

type WorkRequestLogEntryCollection struct {

	// List of workRequestLogEntries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String ¶ added in v65.17.0

func (WorkRequestLogEntryCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource ¶ added in v65.17.0

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource the work request affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access the resource metadata
	EntityUri *string `mandatory:"false" json:"entityUri"`

	// Additional information that helps to explain the resource.
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String ¶ added in v65.17.0

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum ¶ added in v65.17.0

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum ¶ added in v65.17.0

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues ¶ added in v65.17.0

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary ¶ added in v65.17.0

type WorkRequestSummary struct {

	// Type of the work request
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String ¶ added in v65.17.0

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection ¶ added in v65.17.0

type WorkRequestSummaryCollection struct {

	// List of workRequestSummary objects.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestSummaryCollection) String ¶ added in v65.17.0

func (WorkRequestSummaryCollection) ValidateEnumValue ¶ added in v65.17.0

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL