func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetActorTypeEnumStringValues() []string
GetActorTypeEnumStringValues Enumerates the set of values in String for ActorTypeEnum
func GetClassificationStatusEnumStringValues() []string
GetClassificationStatusEnumStringValues Enumerates the set of values in String for ClassificationStatusEnum
func GetCloudGuardStatusEnumStringValues() []string
GetCloudGuardStatusEnumStringValues Enumerates the set of values in String for CloudGuardStatusEnum
func GetCompositeConditionCompositeOperatorEnumStringValues() []string
GetCompositeConditionCompositeOperatorEnumStringValues Enumerates the set of values in String for CompositeConditionCompositeOperatorEnum
func GetConditionFilterTypeEnumStringValues() []string
GetConditionFilterTypeEnumStringValues Enumerates the set of values in String for ConditionFilterTypeEnum
func GetConditionKindEnumStringValues() []string
GetConditionKindEnumStringValues Enumerates the set of values in String for ConditionKindEnum
func GetConditionOperatorNameEnumStringValues() []string
GetConditionOperatorNameEnumStringValues Enumerates the set of values in String for ConditionOperatorNameEnum
func GetConditionTypeEnumEnumStringValues() []string
GetConditionTypeEnumEnumStringValues Enumerates the set of values in String for ConditionTypeEnumEnum
func GetConditionValueTypeEnumStringValues() []string
GetConditionValueTypeEnumStringValues Enumerates the set of values in String for ConditionValueTypeEnum
func GetConfidenceEnumStringValues() []string
GetConfidenceEnumStringValues Enumerates the set of values in String for ConfidenceEnum
func GetConfigurationListItemTypeEnumStringValues() []string
GetConfigurationListItemTypeEnumStringValues Enumerates the set of values in String for ConfigurationListItemTypeEnum
func GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues() []string
GetContinuousQueryStartPolicyStartPolicyTypeEnumStringValues Enumerates the set of values in String for ContinuousQueryStartPolicyStartPolicyTypeEnum
func GetDataMaskCategoryEnumStringValues() []string
GetDataMaskCategoryEnumStringValues Enumerates the set of values in String for DataMaskCategoryEnum
func GetDataMaskRuleStatusEnumStringValues() []string
GetDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for DataMaskRuleStatusEnum
func GetDataSourceEventInfoStatusEnumStringValues() []string
GetDataSourceEventInfoStatusEnumStringValues Enumerates the set of values in String for DataSourceEventInfoStatusEnum
func GetDataSourceFeedProviderEnumStringValues() []string
GetDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for DataSourceFeedProviderEnum
func GetDataSourceStatusEnumStringValues() []string
GetDataSourceStatusEnumStringValues Enumerates the set of values in String for DataSourceStatusEnum
func GetDetectorEnumEnumStringValues() []string
GetDetectorEnumEnumStringValues Enumerates the set of values in String for DetectorEnumEnum
func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string
GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleManagedListTypesEnum
func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string
GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
func GetDetectorRuleManagedListTypesEnumStringValues() []string
GetDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleManagedListTypesEnum
func GetDetectorRuleSummaryManagedListTypesEnumStringValues() []string
GetDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for DetectorRuleSummaryManagedListTypesEnum
func GetEntityTypeEnumStringValues() []string
GetEntityTypeEnumStringValues Enumerates the set of values in String for EntityTypeEnum
func GetEventStatusEnumStringValues() []string
GetEventStatusEnumStringValues Enumerates the set of values in String for EventStatusEnum
func GetFeedProviderTypeEnumStringValues() []string
GetFeedProviderTypeEnumStringValues Enumerates the set of values in String for FeedProviderTypeEnum
func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues() []string
GetGetConditionMetadataTypeConditionMetadataTypeIdEnumStringValues Enumerates the set of values in String for GetConditionMetadataTypeConditionMetadataTypeIdEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListConditionMetadataTypesLifecycleStateEnumStringValues() []string
GetListConditionMetadataTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesLifecycleStateEnum
func GetListConditionMetadataTypesSortByEnumStringValues() []string
GetListConditionMetadataTypesSortByEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortByEnum
func GetListConditionMetadataTypesSortOrderEnumStringValues() []string
GetListConditionMetadataTypesSortOrderEnumStringValues Enumerates the set of values in String for ListConditionMetadataTypesSortOrderEnum
func GetListDataMaskRulesAccessLevelEnumStringValues() []string
GetListDataMaskRulesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataMaskRulesAccessLevelEnum
func GetListDataMaskRulesDataMaskRuleStatusEnumStringValues() []string
GetListDataMaskRulesDataMaskRuleStatusEnumStringValues Enumerates the set of values in String for ListDataMaskRulesDataMaskRuleStatusEnum
func GetListDataMaskRulesLifecycleStateEnumStringValues() []string
GetListDataMaskRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataMaskRulesLifecycleStateEnum
func GetListDataMaskRulesSortByEnumStringValues() []string
GetListDataMaskRulesSortByEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortByEnum
func GetListDataMaskRulesSortOrderEnumStringValues() []string
GetListDataMaskRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDataMaskRulesSortOrderEnum
func GetListDataSourceEventsSortByEnumStringValues() []string
GetListDataSourceEventsSortByEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortByEnum
func GetListDataSourceEventsSortOrderEnumStringValues() []string
GetListDataSourceEventsSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourceEventsSortOrderEnum
func GetListDataSourcesAccessLevelEnumStringValues() []string
GetListDataSourcesAccessLevelEnumStringValues Enumerates the set of values in String for ListDataSourcesAccessLevelEnum
func GetListDataSourcesDataSourceFeedProviderEnumStringValues() []string
GetListDataSourcesDataSourceFeedProviderEnumStringValues Enumerates the set of values in String for ListDataSourcesDataSourceFeedProviderEnum
func GetListDataSourcesLifecycleStateEnumStringValues() []string
GetListDataSourcesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDataSourcesLifecycleStateEnum
func GetListDataSourcesLoggingQueryTypeEnumStringValues() []string
GetListDataSourcesLoggingQueryTypeEnumStringValues Enumerates the set of values in String for ListDataSourcesLoggingQueryTypeEnum
func GetListDataSourcesSortByEnumStringValues() []string
GetListDataSourcesSortByEnumStringValues Enumerates the set of values in String for ListDataSourcesSortByEnum
func GetListDataSourcesSortOrderEnumStringValues() []string
GetListDataSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourcesSortOrderEnum
func GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string
GetListDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesLifecycleStateEnum
func GetListDetectorRecipeDetectorRulesSortByEnumStringValues() []string
GetListDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortByEnum
func GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string
GetListDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipeDetectorRulesSortOrderEnum
func GetListDetectorRecipesAccessLevelEnumStringValues() []string
GetListDetectorRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListDetectorRecipesAccessLevelEnum
func GetListDetectorRecipesLifecycleStateEnumStringValues() []string
GetListDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRecipesLifecycleStateEnum
func GetListDetectorRecipesSortByEnumStringValues() []string
GetListDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortByEnum
func GetListDetectorRecipesSortOrderEnumStringValues() []string
GetListDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRecipesSortOrderEnum
func GetListDetectorRulesLifecycleStateEnumStringValues() []string
GetListDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorRulesLifecycleStateEnum
func GetListDetectorRulesSortByEnumStringValues() []string
GetListDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortByEnum
func GetListDetectorRulesSortOrderEnumStringValues() []string
GetListDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorRulesSortOrderEnum
func GetListDetectorsLifecycleStateEnumStringValues() []string
GetListDetectorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDetectorsLifecycleStateEnum
func GetListDetectorsSortByEnumStringValues() []string
GetListDetectorsSortByEnumStringValues Enumerates the set of values in String for ListDetectorsSortByEnum
func GetListDetectorsSortOrderEnumStringValues() []string
GetListDetectorsSortOrderEnumStringValues Enumerates the set of values in String for ListDetectorsSortOrderEnum
func GetListImpactedResourcesSortByEnumStringValues() []string
GetListImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortByEnum
func GetListImpactedResourcesSortOrderEnumStringValues() []string
GetListImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListImpactedResourcesSortOrderEnum
func GetListManagedListTypesLifecycleStateEnumStringValues() []string
GetListManagedListTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListTypesLifecycleStateEnum
func GetListManagedListTypesSortByEnumStringValues() []string
GetListManagedListTypesSortByEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortByEnum
func GetListManagedListTypesSortOrderEnumStringValues() []string
GetListManagedListTypesSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListTypesSortOrderEnum
func GetListManagedListsAccessLevelEnumStringValues() []string
GetListManagedListsAccessLevelEnumStringValues Enumerates the set of values in String for ListManagedListsAccessLevelEnum
func GetListManagedListsLifecycleStateEnumStringValues() []string
GetListManagedListsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagedListsLifecycleStateEnum
func GetListManagedListsListTypeEnumStringValues() []string
GetListManagedListsListTypeEnumStringValues Enumerates the set of values in String for ListManagedListsListTypeEnum
func GetListManagedListsSortByEnumStringValues() []string
GetListManagedListsSortByEnumStringValues Enumerates the set of values in String for ListManagedListsSortByEnum
func GetListManagedListsSortOrderEnumStringValues() []string
GetListManagedListsSortOrderEnumStringValues Enumerates the set of values in String for ListManagedListsSortOrderEnum
func GetListPoliciesSortByEnumStringValues() []string
GetListPoliciesSortByEnumStringValues Enumerates the set of values in String for ListPoliciesSortByEnum
func GetListPoliciesSortOrderEnumStringValues() []string
GetListPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListPoliciesSortOrderEnum
func GetListProblemEndpointsSortByEnumStringValues() []string
GetListProblemEndpointsSortByEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortByEnum
func GetListProblemEndpointsSortOrderEnumStringValues() []string
GetListProblemEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEndpointsSortOrderEnum
func GetListProblemEntitiesSortByEnumStringValues() []string
GetListProblemEntitiesSortByEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortByEnum
func GetListProblemEntitiesSortOrderEnumStringValues() []string
GetListProblemEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemEntitiesSortOrderEnum
func GetListProblemHistoriesSortByEnumStringValues() []string
GetListProblemHistoriesSortByEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortByEnum
func GetListProblemHistoriesSortOrderEnumStringValues() []string
GetListProblemHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListProblemHistoriesSortOrderEnum
func GetListProblemsAccessLevelEnumStringValues() []string
GetListProblemsAccessLevelEnumStringValues Enumerates the set of values in String for ListProblemsAccessLevelEnum
func GetListProblemsDetectorTypeEnumStringValues() []string
GetListProblemsDetectorTypeEnumStringValues Enumerates the set of values in String for ListProblemsDetectorTypeEnum
func GetListProblemsLifecycleDetailEnumStringValues() []string
GetListProblemsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleDetailEnum
func GetListProblemsLifecycleStateEnumStringValues() []string
GetListProblemsLifecycleStateEnumStringValues Enumerates the set of values in String for ListProblemsLifecycleStateEnum
func GetListProblemsProblemCategoryEnumStringValues() []string
GetListProblemsProblemCategoryEnumStringValues Enumerates the set of values in String for ListProblemsProblemCategoryEnum
func GetListProblemsSortByEnumStringValues() []string
GetListProblemsSortByEnumStringValues Enumerates the set of values in String for ListProblemsSortByEnum
func GetListProblemsSortOrderEnumStringValues() []string
GetListProblemsSortOrderEnumStringValues Enumerates the set of values in String for ListProblemsSortOrderEnum
func GetListRecommendationsAccessLevelEnumStringValues() []string
GetListRecommendationsAccessLevelEnumStringValues Enumerates the set of values in String for ListRecommendationsAccessLevelEnum
func GetListRecommendationsLifecycleDetailEnumStringValues() []string
GetListRecommendationsLifecycleDetailEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleDetailEnum
func GetListRecommendationsLifecycleStateEnumStringValues() []string
GetListRecommendationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListRecommendationsLifecycleStateEnum
func GetListRecommendationsSortByEnumStringValues() []string
GetListRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListRecommendationsSortByEnum
func GetListRecommendationsSortOrderEnumStringValues() []string
GetListRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListRecommendationsSortOrderEnum
func GetListResourceProfileEndpointsSortByEnumStringValues() []string
GetListResourceProfileEndpointsSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortByEnum
func GetListResourceProfileEndpointsSortOrderEnumStringValues() []string
GetListResourceProfileEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileEndpointsSortOrderEnum
func GetListResourceProfileImpactedResourcesSortByEnumStringValues() []string
GetListResourceProfileImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortByEnum
func GetListResourceProfileImpactedResourcesSortOrderEnumStringValues() []string
GetListResourceProfileImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfileImpactedResourcesSortOrderEnum
func GetListResourceProfilesAccessLevelEnumStringValues() []string
GetListResourceProfilesAccessLevelEnumStringValues Enumerates the set of values in String for ListResourceProfilesAccessLevelEnum
func GetListResourceProfilesSortByEnumStringValues() []string
GetListResourceProfilesSortByEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortByEnum
func GetListResourceProfilesSortOrderEnumStringValues() []string
GetListResourceProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceProfilesSortOrderEnum
func GetListResourceTypesDetectorIdEnumStringValues() []string
GetListResourceTypesDetectorIdEnumStringValues Enumerates the set of values in String for ListResourceTypesDetectorIdEnum
func GetListResourceTypesLifecycleStateEnumStringValues() []string
GetListResourceTypesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResourceTypesLifecycleStateEnum
func GetListResourceTypesSortByEnumStringValues() []string
GetListResourceTypesSortByEnumStringValues Enumerates the set of values in String for ListResourceTypesSortByEnum
func GetListResourceTypesSortOrderEnumStringValues() []string
GetListResourceTypesSortOrderEnumStringValues Enumerates the set of values in String for ListResourceTypesSortOrderEnum
func GetListResponderActivitiesSortByEnumStringValues() []string
GetListResponderActivitiesSortByEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortByEnum
func GetListResponderActivitiesSortOrderEnumStringValues() []string
GetListResponderActivitiesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderActivitiesSortOrderEnum
func GetListResponderExecutionsAccessLevelEnumStringValues() []string
GetListResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderExecutionsAccessLevelEnum
func GetListResponderExecutionsResponderExecutionModeEnumStringValues() []string
GetListResponderExecutionsResponderExecutionModeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionModeEnum
func GetListResponderExecutionsResponderExecutionStatusEnumStringValues() []string
GetListResponderExecutionsResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderExecutionStatusEnum
func GetListResponderExecutionsResponderTypeEnumStringValues() []string
GetListResponderExecutionsResponderTypeEnumStringValues Enumerates the set of values in String for ListResponderExecutionsResponderTypeEnum
func GetListResponderExecutionsSortByEnumStringValues() []string
GetListResponderExecutionsSortByEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortByEnum
func GetListResponderExecutionsSortOrderEnumStringValues() []string
GetListResponderExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListResponderExecutionsSortOrderEnum
func GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string
GetListResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesLifecycleStateEnum
func GetListResponderRecipeResponderRulesSortByEnumStringValues() []string
GetListResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortByEnum
func GetListResponderRecipeResponderRulesSortOrderEnumStringValues() []string
GetListResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipeResponderRulesSortOrderEnum
func GetListResponderRecipesAccessLevelEnumStringValues() []string
GetListResponderRecipesAccessLevelEnumStringValues Enumerates the set of values in String for ListResponderRecipesAccessLevelEnum
func GetListResponderRecipesLifecycleStateEnumStringValues() []string
GetListResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRecipesLifecycleStateEnum
func GetListResponderRecipesSortByEnumStringValues() []string
GetListResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortByEnum
func GetListResponderRecipesSortOrderEnumStringValues() []string
GetListResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRecipesSortOrderEnum
func GetListResponderRulesLifecycleStateEnumStringValues() []string
GetListResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListResponderRulesLifecycleStateEnum
func GetListResponderRulesSortByEnumStringValues() []string
GetListResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListResponderRulesSortByEnum
func GetListResponderRulesSortOrderEnumStringValues() []string
GetListResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListResponderRulesSortOrderEnum
func GetListSecurityPoliciesLifecycleStateEnumStringValues() []string
GetListSecurityPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesLifecycleStateEnum
func GetListSecurityPoliciesSortByEnumStringValues() []string
GetListSecurityPoliciesSortByEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortByEnum
func GetListSecurityPoliciesSortOrderEnumStringValues() []string
GetListSecurityPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityPoliciesSortOrderEnum
func GetListSecurityRecipesLifecycleStateEnumStringValues() []string
GetListSecurityRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityRecipesLifecycleStateEnum
func GetListSecurityRecipesSortByEnumStringValues() []string
GetListSecurityRecipesSortByEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortByEnum
func GetListSecurityRecipesSortOrderEnumStringValues() []string
GetListSecurityRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityRecipesSortOrderEnum
func GetListSecurityZonesLifecycleStateEnumStringValues() []string
GetListSecurityZonesLifecycleStateEnumStringValues Enumerates the set of values in String for ListSecurityZonesLifecycleStateEnum
func GetListSecurityZonesSortByEnumStringValues() []string
GetListSecurityZonesSortByEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortByEnum
func GetListSecurityZonesSortOrderEnumStringValues() []string
GetListSecurityZonesSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityZonesSortOrderEnum
func GetListSightingEndpointsSortByEnumStringValues() []string
GetListSightingEndpointsSortByEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortByEnum
func GetListSightingEndpointsSortOrderEnumStringValues() []string
GetListSightingEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingEndpointsSortOrderEnum
func GetListSightingImpactedResourcesSortByEnumStringValues() []string
GetListSightingImpactedResourcesSortByEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortByEnum
func GetListSightingImpactedResourcesSortOrderEnumStringValues() []string
GetListSightingImpactedResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListSightingImpactedResourcesSortOrderEnum
func GetListSightingsAccessLevelEnumStringValues() []string
GetListSightingsAccessLevelEnumStringValues Enumerates the set of values in String for ListSightingsAccessLevelEnum
func GetListSightingsSortByEnumStringValues() []string
GetListSightingsSortByEnumStringValues Enumerates the set of values in String for ListSightingsSortByEnum
func GetListSightingsSortOrderEnumStringValues() []string
GetListSightingsSortOrderEnumStringValues Enumerates the set of values in String for ListSightingsSortOrderEnum
func GetListTacticsLifecycleStateEnumStringValues() []string
GetListTacticsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTacticsLifecycleStateEnum
func GetListTacticsSortByEnumStringValues() []string
GetListTacticsSortByEnumStringValues Enumerates the set of values in String for ListTacticsSortByEnum
func GetListTacticsSortOrderEnumStringValues() []string
GetListTacticsSortOrderEnumStringValues Enumerates the set of values in String for ListTacticsSortOrderEnum
func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues() []string
GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
func GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues() []string
GetListTargetDetectorRecipeDetectorRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortByEnum
func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues() []string
GetListTargetDetectorRecipeDetectorRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipeDetectorRulesSortOrderEnum
func GetListTargetDetectorRecipesLifecycleStateEnumStringValues() []string
GetListTargetDetectorRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesLifecycleStateEnum
func GetListTargetDetectorRecipesSortByEnumStringValues() []string
GetListTargetDetectorRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortByEnum
func GetListTargetDetectorRecipesSortOrderEnumStringValues() []string
GetListTargetDetectorRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetDetectorRecipesSortOrderEnum
func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues() []string
GetListTargetResponderRecipeResponderRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesLifecycleStateEnum
func GetListTargetResponderRecipeResponderRulesSortByEnumStringValues() []string
GetListTargetResponderRecipeResponderRulesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortByEnum
func GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues() []string
GetListTargetResponderRecipeResponderRulesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipeResponderRulesSortOrderEnum
func GetListTargetResponderRecipesLifecycleStateEnumStringValues() []string
GetListTargetResponderRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesLifecycleStateEnum
func GetListTargetResponderRecipesSortByEnumStringValues() []string
GetListTargetResponderRecipesSortByEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortByEnum
func GetListTargetResponderRecipesSortOrderEnumStringValues() []string
GetListTargetResponderRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListTargetResponderRecipesSortOrderEnum
func GetListTargetsAccessLevelEnumStringValues() []string
GetListTargetsAccessLevelEnumStringValues Enumerates the set of values in String for ListTargetsAccessLevelEnum
func GetListTargetsLifecycleStateEnumStringValues() []string
GetListTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTargetsLifecycleStateEnum
func GetListTargetsSortByEnumStringValues() []string
GetListTargetsSortByEnumStringValues Enumerates the set of values in String for ListTargetsSortByEnum
func GetListTargetsSortOrderEnumStringValues() []string
GetListTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListTargetsSortOrderEnum
func GetListTechniquesLifecycleStateEnumStringValues() []string
GetListTechniquesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTechniquesLifecycleStateEnum
func GetListTechniquesSortByEnumStringValues() []string
GetListTechniquesSortByEnumStringValues Enumerates the set of values in String for ListTechniquesSortByEnum
func GetListTechniquesSortOrderEnumStringValues() []string
GetListTechniquesSortOrderEnumStringValues Enumerates the set of values in String for ListTechniquesSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetLoggingQueryOperatorTypeEnumStringValues() []string
GetLoggingQueryOperatorTypeEnumStringValues Enumerates the set of values in String for LoggingQueryOperatorTypeEnum
func GetLoggingQueryTypeEnumStringValues() []string
GetLoggingQueryTypeEnumStringValues Enumerates the set of values in String for LoggingQueryTypeEnum
func GetManagedListTypeEnumStringValues() []string
GetManagedListTypeEnumStringValues Enumerates the set of values in String for ManagedListTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetOperatorTypeEnumStringValues() []string
GetOperatorTypeEnumStringValues Enumerates the set of values in String for OperatorTypeEnum
func GetOwnerTypeEnumStringValues() []string
GetOwnerTypeEnumStringValues Enumerates the set of values in String for OwnerTypeEnum
func GetProblemCategoryEnumEnumStringValues() []string
GetProblemCategoryEnumEnumStringValues Enumerates the set of values in String for ProblemCategoryEnumEnum
func GetProblemDimensionEnumStringValues() []string
GetProblemDimensionEnumStringValues Enumerates the set of values in String for ProblemDimensionEnum
func GetProblemLifecycleDetailEnumStringValues() []string
GetProblemLifecycleDetailEnumStringValues Enumerates the set of values in String for ProblemLifecycleDetailEnum
func GetProblemLifecycleStateEnumStringValues() []string
GetProblemLifecycleStateEnumStringValues Enumerates the set of values in String for ProblemLifecycleStateEnum
func GetQueryReplicationStatusEnumStringValues() []string
GetQueryReplicationStatusEnumStringValues Enumerates the set of values in String for QueryReplicationStatusEnum
func GetRecommendationLifecycleDetailEnumStringValues() []string
GetRecommendationLifecycleDetailEnumStringValues Enumerates the set of values in String for RecommendationLifecycleDetailEnum
func GetRecommendationTypeEnumStringValues() []string
GetRecommendationTypeEnumStringValues Enumerates the set of values in String for RecommendationTypeEnum
func GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues() []string
GetRequestSummarizedActivityProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedActivityProblemsAccessLevelEnum
func GetRequestSummarizedProblemsAccessLevelEnumStringValues() []string
GetRequestSummarizedProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedProblemsAccessLevelEnum
func GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues() []string
GetRequestSummarizedResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedResponderExecutionsAccessLevelEnum
func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues() []string
GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum
func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues() []string
GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumStringValues Enumerates the set of values in String for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum
func GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues() []string
GetRequestSummarizedTrendProblemsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendProblemsAccessLevelEnum
func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues() []string
GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum
func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues() []string
GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumStringValues Enumerates the set of values in String for RequestSummarizedTrendResponderExecutionsAccessLevelEnum
func GetResourceRiskScoreDimensionEnumStringValues() []string
GetResourceRiskScoreDimensionEnumStringValues Enumerates the set of values in String for ResourceRiskScoreDimensionEnum
func GetResponderActivityTypeEnumStringValues() []string
GetResponderActivityTypeEnumStringValues Enumerates the set of values in String for ResponderActivityTypeEnum
func GetResponderDimensionEnumStringValues() []string
GetResponderDimensionEnumStringValues Enumerates the set of values in String for ResponderDimensionEnum
func GetResponderExecutionModesEnumStringValues() []string
GetResponderExecutionModesEnumStringValues Enumerates the set of values in String for ResponderExecutionModesEnum
func GetResponderExecutionStatesEnumStringValues() []string
GetResponderExecutionStatesEnumStringValues Enumerates the set of values in String for ResponderExecutionStatesEnum
func GetResponderExecutionStatusEnumStringValues() []string
GetResponderExecutionStatusEnumStringValues Enumerates the set of values in String for ResponderExecutionStatusEnum
func GetResponderModeTypesEnumStringValues() []string
GetResponderModeTypesEnumStringValues Enumerates the set of values in String for ResponderModeTypesEnum
func GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string
GetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSummarySupportedModesEnum
func GetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string
GetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRecipeResponderRuleSupportedModesEnum
func GetResponderRuleSummarySupportedModesEnumStringValues() []string
GetResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSummarySupportedModesEnum
func GetResponderRuleSupportedModesEnumStringValues() []string
GetResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for ResponderRuleSupportedModesEnum
func GetResponderTypeEnumStringValues() []string
GetResponderTypeEnumStringValues Enumerates the set of values in String for ResponderTypeEnum
func GetRiskLevelEnumStringValues() []string
GetRiskLevelEnumStringValues Enumerates the set of values in String for RiskLevelEnum
func GetSecurityRatingEnumStringValues() []string
GetSecurityRatingEnumStringValues Enumerates the set of values in String for SecurityRatingEnum
func GetSeverityEnumStringValues() []string
GetSeverityEnumStringValues Enumerates the set of values in String for SeverityEnum
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string
GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleManagedListTypesEnum
func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []string
GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues Enumerates the set of values in String for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
func GetTargetResourceTypeEnumStringValues() []string
GetTargetResourceTypeEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnum
func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues() []string
GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSummarySupportedModesEnum
func GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues() []string
GetTargetResponderRecipeResponderRuleSupportedModesEnumStringValues Enumerates the set of values in String for TargetResponderRecipeResponderRuleSupportedModesEnum
func GetTargetSelectedKindEnumStringValues() []string
GetTargetSelectedKindEnumStringValues Enumerates the set of values in String for TargetSelectedKindEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
AbsoluteTimeStartPolicy Policy that defines the exact start time.
type AbsoluteTimeStartPolicy struct { // Time when the query can start, if not specified it can start immediately. QueryStartTime *common.SDKTime `mandatory:"false" json:"queryStartTime"` }
func (m AbsoluteTimeStartPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AbsoluteTimeStartPolicy) String() string
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
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ActivityProblemAggregation Provides the parameters and their corresponding count.
type ActivityProblemAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` PoliticalLocation *PoliticalLocation `mandatory:"true" json:"politicalLocation"` GeographicalLocation *GeographicalLocation `mandatory:"true" json:"geographicalLocation"` // The number of occurences with given dimension/s Count *int `mandatory:"true" json:"count"` }
func (m ActivityProblemAggregation) String() string
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
ActivityProblemAggregationCollection Activity Problem Aggregation Collection.
type ActivityProblemAggregationCollection struct { // The items consists of all the ActivityProblemAggregation objects. Items []ActivityProblemAggregation `mandatory:"true" json:"items"` }
func (m ActivityProblemAggregationCollection) String() string
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
ActorTypeEnum Enum with underlying type: string
type ActorTypeEnum string
Set of constants representing the allowable values for ActorTypeEnum
const ( ActorTypeCloudGuardService ActorTypeEnum = "CLOUD_GUARD_SERVICE" ActorTypeCorrelation ActorTypeEnum = "CORRELATION" ActorTypeResponder ActorTypeEnum = "RESPONDER" ActorTypeUser ActorTypeEnum = "USER" )
func GetActorTypeEnumValues() []ActorTypeEnum
GetActorTypeEnumValues Enumerates the set of values for ActorTypeEnum
func GetMappingActorTypeEnum(val string) (ActorTypeEnum, bool)
GetMappingActorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddCompartmentDetails An existing compartment to add to a security zone
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"` }
func (m AddCompartmentDetails) String() string
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
AddCompartmentRequest wrapper for the AddCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/AddCompartment.go.html to see an example of how to use AddCompartmentRequest.
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 }
func (request AddCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AddCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AddCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AddCompartmentRequest) String() string
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
AddCompartmentResponse wrapper for the AddCompartment operation
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"` }
func (response AddCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AddCompartmentResponse) String() string
AllTargetsSelected All Targets selected.
type AllTargetsSelected struct { }
func (m AllTargetsSelected) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AllTargetsSelected) String() string
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
AttachTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe
type AttachTargetDetectorRecipeDetails struct { // DetectorRecipe Identifier DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"` }
func (m AttachTargetDetectorRecipeDetails) String() string
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
AttachTargetResponderRecipeDetails The information required to create TargetResponderRecipe
type AttachTargetResponderRecipeDetails struct { // ResponderRecipe Identifier ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"` }
func (m AttachTargetResponderRecipeDetails) String() string
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
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
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 }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
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
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
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"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
CandidateResponderRule Candidate Responder Rule list in Detector rule
type CandidateResponderRule struct { // The unique identifier of the Responder rule Id *string `mandatory:"false" json:"id"` // The display name of the Responder rule DisplayName *string `mandatory:"false" json:"displayName"` // Preferred state IsPreferred *bool `mandatory:"false" json:"isPreferred"` }
func (m CandidateResponderRule) String() string
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
ChangeDataSourceCompartmentDetails Changing compartmentId for DataSource
type ChangeDataSourceCompartmentDetails struct { // The OCID of the compartment into which the DataSource should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDataSourceCompartmentDetails) String() string
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
ChangeDataSourceCompartmentRequest wrapper for the ChangeDataSourceCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeDataSourceCompartment.go.html to see an example of how to use ChangeDataSourceCompartmentRequest.
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 }
func (request ChangeDataSourceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDataSourceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDataSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDataSourceCompartmentRequest) String() string
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
ChangeDataSourceCompartmentResponse wrapper for the ChangeDataSourceCompartment operation
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"` }
func (response ChangeDataSourceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDataSourceCompartmentResponse) String() string
ChangeDetectorRecipeCompartmentDetails Changing compartmentId for DetectorRecipe
type ChangeDetectorRecipeCompartmentDetails struct { // The OCID of the compartment into which the DetectorRecipe should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeDetectorRecipeCompartmentDetails) String() string
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
ChangeDetectorRecipeCompartmentRequest wrapper for the ChangeDetectorRecipeCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use ChangeDetectorRecipeCompartmentRequest.
type ChangeDetectorRecipeCompartmentRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // The target compartment id. ChangeDetectorRecipeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeDetectorRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeDetectorRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeDetectorRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeDetectorRecipeCompartmentRequest) String() string
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
ChangeDetectorRecipeCompartmentResponse wrapper for the ChangeDetectorRecipeCompartment operation
type ChangeDetectorRecipeCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeDetectorRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeDetectorRecipeCompartmentResponse) String() string
ChangeManagedListCompartmentDetails Changing compartmentId for ManagedList
type ChangeManagedListCompartmentDetails struct { // The OCID of the compartment into which the ManagedList should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagedListCompartmentDetails) String() string
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
ChangeManagedListCompartmentRequest wrapper for the ChangeManagedListCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartmentRequest.
type ChangeManagedListCompartmentRequest struct { // The cloudguard list OCID to be passed in the request. ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"` // The compartment id of the ManagedList ChangeManagedListCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeManagedListCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeManagedListCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagedListCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagedListCompartmentRequest) String() string
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
ChangeManagedListCompartmentResponse wrapper for the ChangeManagedListCompartment operation
type ChangeManagedListCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeManagedListCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagedListCompartmentResponse) String() string
ChangeResponderRecipeCompartmentDetails Changing compartmentId for ResponderRecipe
type ChangeResponderRecipeCompartmentDetails struct { // The OCID of the compartment into which the ResponderRecipe should be moved CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeResponderRecipeCompartmentDetails) String() string
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
ChangeResponderRecipeCompartmentRequest wrapper for the ChangeResponderRecipeCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use ChangeResponderRecipeCompartmentRequest.
type ChangeResponderRecipeCompartmentRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The target compartment id. ChangeResponderRecipeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeResponderRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeResponderRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeResponderRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeResponderRecipeCompartmentRequest) String() string
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
ChangeResponderRecipeCompartmentResponse wrapper for the ChangeResponderRecipeCompartment operation
type ChangeResponderRecipeCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeResponderRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeResponderRecipeCompartmentResponse) String() string
ChangeSecurityPolicyCompartmentDetails The information to be updated.
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"` }
func (m ChangeSecurityPolicyCompartmentDetails) String() string
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
ChangeSecurityRecipeCompartmentDetails The compartment for the security zone recipe
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"` }
func (m ChangeSecurityRecipeCompartmentDetails) String() string
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
ChangeSecurityRecipeCompartmentRequest wrapper for the ChangeSecurityRecipeCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeSecurityRecipeCompartment.go.html to see an example of how to use ChangeSecurityRecipeCompartmentRequest.
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 }
func (request ChangeSecurityRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeSecurityRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeSecurityRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeSecurityRecipeCompartmentRequest) String() string
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
ChangeSecurityRecipeCompartmentResponse wrapper for the ChangeSecurityRecipeCompartment operation
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"` }
func (response ChangeSecurityRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeSecurityRecipeCompartmentResponse) String() string
ChangeSecurityZoneCompartmentDetails The compartment for the security zone
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"` }
func (m ChangeSecurityZoneCompartmentDetails) String() string
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
ChangeSecurityZoneCompartmentRequest wrapper for the ChangeSecurityZoneCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeSecurityZoneCompartment.go.html to see an example of how to use ChangeSecurityZoneCompartmentRequest.
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 }
func (request ChangeSecurityZoneCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeSecurityZoneCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeSecurityZoneCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeSecurityZoneCompartmentRequest) String() string
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
ChangeSecurityZoneCompartmentResponse wrapper for the ChangeSecurityZoneCompartment operation
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"` }
func (response ChangeSecurityZoneCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeSecurityZoneCompartmentResponse) String() string
ClassificationStatusEnum Enum with underlying type: string
type ClassificationStatusEnum string
Set of constants representing the allowable values for ClassificationStatusEnum
const ( ClassificationStatusFalseNegative ClassificationStatusEnum = "FALSE_NEGATIVE" ClassificationStatusTrueNegative ClassificationStatusEnum = "TRUE_NEGATIVE" ClassificationStatusFalsePositive ClassificationStatusEnum = "FALSE_POSITIVE" ClassificationStatusTruePositive ClassificationStatusEnum = "TRUE_POSITIVE" ClassificationStatusNotClassified ClassificationStatusEnum = "NOT_CLASSIFIED" )
func GetClassificationStatusEnumValues() []ClassificationStatusEnum
GetClassificationStatusEnumValues Enumerates the set of values for ClassificationStatusEnum
func GetMappingClassificationStatusEnum(val string) (ClassificationStatusEnum, bool)
GetMappingClassificationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CloudGuardClient a client for CloudGuard
type CloudGuardClient struct { common.BaseClient // contains filtered or unexported fields }
func NewCloudGuardClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CloudGuardClient, err error)
NewCloudGuardClientWithConfigurationProvider Creates a new default CloudGuard client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewCloudGuardClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CloudGuardClient, err error)
NewCloudGuardClientWithOboToken Creates a new default CloudGuard client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client CloudGuardClient) 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/65.63.2/cloudguard/AddCompartment.go.html to see an example of how to use AddCompartment API.
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/65.63.2/cloudguard/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
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/65.63.2/cloudguard/ChangeDataSourceCompartment.go.html to see an example of how to use ChangeDataSourceCompartment API.
func (client CloudGuardClient) ChangeDetectorRecipeCompartment(ctx context.Context, request ChangeDetectorRecipeCompartmentRequest) (response ChangeDetectorRecipeCompartmentResponse, err error)
ChangeDetectorRecipeCompartment Moves the detector recipe (DetectorRecipe object), identified by detectorRecipeId, from the current compartment to another compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeDetectorRecipeCompartment.go.html to see an example of how to use ChangeDetectorRecipeCompartment API.
func (client CloudGuardClient) ChangeManagedListCompartment(ctx context.Context, request ChangeManagedListCompartmentRequest) (response ChangeManagedListCompartmentResponse, err error)
ChangeManagedListCompartment Moves the managed list (ManagedList object), identified by managedListId, from the current compartment to another compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeManagedListCompartment.go.html to see an example of how to use ChangeManagedListCompartment API.
func (client CloudGuardClient) ChangeResponderRecipeCompartment(ctx context.Context, request ChangeResponderRecipeCompartmentRequest) (response ChangeResponderRecipeCompartmentResponse, err error)
ChangeResponderRecipeCompartment Moves the ResponderRecipe from current compartment to another.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ChangeResponderRecipeCompartment.go.html to see an example of how to use ChangeResponderRecipeCompartment API.
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/65.63.2/cloudguard/ChangeSecurityRecipeCompartment.go.html to see an example of how to use ChangeSecurityRecipeCompartment API.
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/65.63.2/cloudguard/ChangeSecurityZoneCompartment.go.html to see an example of how to use ChangeSecurityZoneCompartment API.
func (client *CloudGuardClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client CloudGuardClient) CreateDataMaskRule(ctx context.Context, request CreateDataMaskRuleRequest) (response CreateDataMaskRuleResponse, err error)
CreateDataMaskRule Creates a new DataMaskRule object definition.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDataMaskRule.go.html to see an example of how to use CreateDataMaskRule API.
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/65.63.2/cloudguard/CreateDataSource.go.html to see an example of how to use CreateDataSource API.
func (client CloudGuardClient) CreateDetectorRecipe(ctx context.Context, request CreateDetectorRecipeRequest) (response CreateDetectorRecipeResponse, err error)
CreateDetectorRecipe Creates a new DetectorRecipe object.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use CreateDetectorRecipe API.
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/65.63.2/cloudguard/CreateDetectorRecipeDetectorRule.go.html to see an example of how to use CreateDetectorRecipeDetectorRule API.
func (client CloudGuardClient) CreateManagedList(ctx context.Context, request CreateManagedListRequest) (response CreateManagedListResponse, err error)
CreateManagedList Creates a new ManagedList object.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateManagedList.go.html to see an example of how to use CreateManagedList API.
func (client CloudGuardClient) CreateResponderRecipe(ctx context.Context, request CreateResponderRecipeRequest) (response CreateResponderRecipeResponse, err error)
CreateResponderRecipe Create a ResponderRecipe.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateResponderRecipe.go.html to see an example of how to use CreateResponderRecipe API.
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/65.63.2/cloudguard/CreateSecurityRecipe.go.html to see an example of how to use CreateSecurityRecipe API.
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/65.63.2/cloudguard/CreateSecurityZone.go.html to see an example of how to use CreateSecurityZone API.
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/65.63.2/cloudguard/CreateTarget.go.html to see an example of how to use CreateTarget API.
func (client CloudGuardClient) CreateTargetDetectorRecipe(ctx context.Context, request CreateTargetDetectorRecipeRequest) (response CreateTargetDetectorRecipeResponse, err error)
CreateTargetDetectorRecipe Attach a DetectorRecipe with the Target
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use CreateTargetDetectorRecipe API.
func (client CloudGuardClient) CreateTargetResponderRecipe(ctx context.Context, request CreateTargetResponderRecipeRequest) (response CreateTargetResponderRecipeResponse, err error)
CreateTargetResponderRecipe Attach a ResponderRecipe with the Target
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use CreateTargetResponderRecipe API.
func (client CloudGuardClient) DeleteDataMaskRule(ctx context.Context, request DeleteDataMaskRuleRequest) (response DeleteDataMaskRuleResponse, err error)
DeleteDataMaskRule Deletes a DataMaskRule object, identified by dataMaskRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDataMaskRule.go.html to see an example of how to use DeleteDataMaskRule API.
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/65.63.2/cloudguard/DeleteDataSource.go.html to see an example of how to use DeleteDataSource API.
func (client CloudGuardClient) DeleteDetectorRecipe(ctx context.Context, request DeleteDetectorRecipeRequest) (response DeleteDetectorRecipeResponse, err error)
DeleteDetectorRecipe Deletes a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipe API.
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/65.63.2/cloudguard/DeleteDetectorRecipeDetectorRule.go.html to see an example of how to use DeleteDetectorRecipeDetectorRule API.
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/65.63.2/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.go.html to see an example of how to use DeleteDetectorRecipeDetectorRuleDataSource API.
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/65.63.2/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedList API.
func (client CloudGuardClient) DeleteResponderRecipe(ctx context.Context, request DeleteResponderRecipeRequest) (response DeleteResponderRecipeResponse, err error)
DeleteResponderRecipe Delete the ResponderRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipe API.
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/65.63.2/cloudguard/DeleteSecurityRecipe.go.html to see an example of how to use DeleteSecurityRecipe API.
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/65.63.2/cloudguard/DeleteSecurityZone.go.html to see an example of how to use DeleteSecurityZone API.
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/65.63.2/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTarget API.
func (client CloudGuardClient) DeleteTargetDetectorRecipe(ctx context.Context, request DeleteTargetDetectorRecipeRequest) (response DeleteTargetDetectorRecipeResponse, err error)
DeleteTargetDetectorRecipe Delete the TargetDetectorRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipe API.
func (client CloudGuardClient) DeleteTargetResponderRecipe(ctx context.Context, request DeleteTargetResponderRecipeRequest) (response DeleteTargetResponderRecipeResponse, err error)
DeleteTargetResponderRecipe Delete the TargetResponderRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipe API.
func (client CloudGuardClient) ExecuteResponderExecution(ctx context.Context, request ExecuteResponderExecutionRequest) (response ExecuteResponderExecutionResponse, err error)
ExecuteResponderExecution Executes the responder execution. When provided, If-Match is checked against ETag values of the resource.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecution API.
func (client CloudGuardClient) GetConditionMetadataType(ctx context.Context, request GetConditionMetadataTypeRequest) (response GetConditionMetadataTypeResponse, err error)
GetConditionMetadataType Returns a ConditionMetatDataType object with its details.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataType API.
func (client CloudGuardClient) GetConfiguration(ctx context.Context, request GetConfigurationRequest) (response GetConfigurationResponse, err error)
GetConfiguration Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfiguration API.
func (client CloudGuardClient) GetDataMaskRule(ctx context.Context, request GetDataMaskRuleRequest) (response GetDataMaskRuleResponse, err error)
GetDataMaskRule Returns a DataMaskRule object, identified by DataMaskRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDataMaskRule.go.html to see an example of how to use GetDataMaskRule API.
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/65.63.2/cloudguard/GetDataSource.go.html to see an example of how to use GetDataSource API.
func (client CloudGuardClient) GetDetector(ctx context.Context, request GetDetectorRequest) (response GetDetectorResponse, err error)
GetDetector Returns a Detector object, identified by detectorId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetector.go.html to see an example of how to use GetDetector API.
func (client CloudGuardClient) GetDetectorRecipe(ctx context.Context, request GetDetectorRecipeRequest) (response GetDetectorRecipeResponse, err error)
GetDetectorRecipe Returns a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipe API.
func (client CloudGuardClient) GetDetectorRecipeDetectorRule(ctx context.Context, request GetDetectorRecipeDetectorRuleRequest) (response GetDetectorRecipeDetectorRuleResponse, err error)
GetDetectorRecipeDetectorRule Returns a detector rule (DetectorRule object) identified by detectorRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) GetDetectorRule(ctx context.Context, request GetDetectorRuleRequest) (response GetDetectorRuleResponse, err error)
GetDetectorRule Returns a detector rule (DetectorRule object) identified by detectorRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRule API.
func (client CloudGuardClient) GetManagedList(ctx context.Context, request GetManagedListRequest) (response GetManagedListResponse, err error)
GetManagedList Returns a managed list identified by managedListId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedList API.
func (client CloudGuardClient) GetProblem(ctx context.Context, request GetProblemRequest) (response GetProblemResponse, err error)
GetProblem Returns the Problem object identified by a problemId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetProblem.go.html to see an example of how to use GetProblem API.
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/65.63.2/cloudguard/GetResourceProfile.go.html to see an example of how to use GetResourceProfile API.
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/65.63.2/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecution API.
func (client CloudGuardClient) GetResponderRecipe(ctx context.Context, request GetResponderRecipeRequest) (response GetResponderRecipeResponse, err error)
GetResponderRecipe Get a ResponderRecipe by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipe API.
func (client CloudGuardClient) GetResponderRecipeResponderRule(ctx context.Context, request GetResponderRecipeResponderRuleRequest) (response GetResponderRecipeResponderRuleResponse, err error)
GetResponderRecipeResponderRule Get ResponderRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRule API.
func (client CloudGuardClient) GetResponderRule(ctx context.Context, request GetResponderRuleRequest) (response GetResponderRuleResponse, err error)
GetResponderRule Get a ResponderRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRule API.
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/65.63.2/cloudguard/GetSecurityPolicy.go.html to see an example of how to use GetSecurityPolicy API.
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/65.63.2/cloudguard/GetSecurityRecipe.go.html to see an example of how to use GetSecurityRecipe API.
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/65.63.2/cloudguard/GetSecurityZone.go.html to see an example of how to use GetSecurityZone API.
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/65.63.2/cloudguard/GetSighting.go.html to see an example of how to use GetSighting API.
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/65.63.2/cloudguard/GetTarget.go.html to see an example of how to use GetTarget API.
func (client CloudGuardClient) GetTargetDetectorRecipe(ctx context.Context, request GetTargetDetectorRecipeRequest) (response GetTargetDetectorRecipeResponse, err error)
GetTargetDetectorRecipe Get a TargetDetectorRecipe by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipe API.
func (client CloudGuardClient) GetTargetDetectorRecipeDetectorRule(ctx context.Context, request GetTargetDetectorRecipeDetectorRuleRequest) (response GetTargetDetectorRecipeDetectorRuleResponse, err error)
GetTargetDetectorRecipeDetectorRule Get DetectorRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) GetTargetResponderRecipe(ctx context.Context, request GetTargetResponderRecipeRequest) (response GetTargetResponderRecipeResponse, err error)
GetTargetResponderRecipe Get a TargetResponderRecipe by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipe API.
func (client CloudGuardClient) GetTargetResponderRecipeResponderRule(ctx context.Context, request GetTargetResponderRecipeResponderRuleRequest) (response GetTargetResponderRecipeResponderRuleResponse, err error)
GetTargetResponderRecipeResponderRule Get ResponderRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRule API.
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/65.63.2/cloudguard/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client CloudGuardClient) ListConditionMetadataTypes(ctx context.Context, request ListConditionMetadataTypesRequest) (response ListConditionMetadataTypesResponse, err error)
ListConditionMetadataTypes Returns a list of ConditionMetadataType objects.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypes API.
func (client CloudGuardClient) ListDataMaskRules(ctx context.Context, request ListDataMaskRulesRequest) (response ListDataMaskRulesResponse, err error)
ListDataMaskRules Returns a list of all DataMaskRule objects in the specified compartmentId (OCID) and its subcompartments.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDataMaskRules.go.html to see an example of how to use ListDataMaskRules API.
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/65.63.2/cloudguard/ListDataSourceEvents.go.html to see an example of how to use ListDataSourceEvents API.
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/65.63.2/cloudguard/ListDataSources.go.html to see an example of how to use ListDataSources API.
func (client CloudGuardClient) ListDetectorRecipeDetectorRules(ctx context.Context, request ListDetectorRecipeDetectorRulesRequest) (response ListDetectorRecipeDetectorRulesResponse, err error)
ListDetectorRecipeDetectorRules Returns a list of detector rules (DetectorRule objects) for a detector recipe (DetectorRecipe object), identified by detectorRecipeId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRules API.
func (client CloudGuardClient) ListDetectorRecipes(ctx context.Context, request ListDetectorRecipesRequest) (response ListDetectorRecipesResponse, err error)
ListDetectorRecipes Returns a list of all detector recipes (DetectorRecipe objects) in a compartment, identified by compartmentId. 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/65.63.2/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipes API.
func (client CloudGuardClient) ListDetectorRules(ctx context.Context, request ListDetectorRulesRequest) (response ListDetectorRulesResponse, err error)
ListDetectorRules Returns a list of detector rules for the DetectorRecipe object identified by detectorId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRules API.
func (client CloudGuardClient) ListDetectors(ctx context.Context, request ListDetectorsRequest) (response ListDetectorsResponse, err error)
ListDetectors Returns a detector catalog (DetectorCollection object) with a list of DetectorSummary objects.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectors API.
func (client CloudGuardClient) ListImpactedResources(ctx context.Context, request ListImpactedResourcesRequest) (response ListImpactedResourcesResponse, err error)
ListImpactedResources Returns a list of impacted resources for a Cloud Guard problem with a specified problem ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResources API.
func (client CloudGuardClient) ListManagedListTypes(ctx context.Context, request ListManagedListTypesRequest) (response ListManagedListTypesResponse, err error)
ListManagedListTypes Returns all managed list types (listType parameter) that Cloud Guard supports.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypes API.
func (client CloudGuardClient) ListManagedLists(ctx context.Context, request ListManagedListsRequest) (response ListManagedListsResponse, err error)
ListManagedLists Returns a list of all ManagedList objects in a compartment, identified by compartmentId. 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/65.63.2/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedLists API.
func (client CloudGuardClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)
ListPolicies Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListPolicies.go.html to see an example of how to use ListPolicies API.
func (client CloudGuardClient) ListProblemEndpoints(ctx context.Context, request ListProblemEndpointsRequest) (response ListProblemEndpointsResponse, err error)
ListProblemEndpoints Returns a list of endpoints associated with a problem, identified by problemId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblemEndpoints.go.html to see an example of how to use ListProblemEndpoints API.
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/65.63.2/cloudguard/ListProblemEntities.go.html to see an example of how to use ListProblemEntities API.
func (client CloudGuardClient) ListProblemHistories(ctx context.Context, request ListProblemHistoriesRequest) (response ListProblemHistoriesResponse, err error)
ListProblemHistories Returns a list of actions taken on a Cloud Guard problem.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistories API.
func (client CloudGuardClient) ListProblems(ctx context.Context, request ListProblemsRequest) (response ListProblemsResponse, err error)
ListProblems Returns a list of all Problems identified by Cloud Guard which are currently in the database and meet the filtering criteria. 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/65.63.2/cloudguard/ListProblems.go.html to see an example of how to use ListProblems API.
func (client CloudGuardClient) ListRecommendations(ctx context.Context, request ListRecommendationsRequest) (response ListRecommendationsResponse, err error)
ListRecommendations Returns a list of all Recommendations.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendations API.
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/65.63.2/cloudguard/ListResourceProfileEndpoints.go.html to see an example of how to use ListResourceProfileEndpoints API.
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/65.63.2/cloudguard/ListResourceProfileImpactedResources.go.html to see an example of how to use ListResourceProfileImpactedResources API.
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/65.63.2/cloudguard/ListResourceProfiles.go.html to see an example of how to use ListResourceProfiles API.
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/65.63.2/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypes API.
func (client CloudGuardClient) ListResponderActivities(ctx context.Context, request ListResponderActivitiesRequest) (response ListResponderActivitiesResponse, err error)
ListResponderActivities Returns a list of Responder activities done on CloudGuard Problem
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivities API.
func (client CloudGuardClient) ListResponderExecutions(ctx context.Context, request ListResponderExecutionsRequest) (response ListResponderExecutionsResponse, err error)
ListResponderExecutions Returns a list of Responder Executions. A Responder Execution is an entity that tracks the collective execution of multiple Responder Rule Executions for a given Problem.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutions API.
func (client CloudGuardClient) ListResponderRecipeResponderRules(ctx context.Context, request ListResponderRecipeResponderRulesRequest) (response ListResponderRecipeResponderRulesResponse, err error)
ListResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRules API.
func (client CloudGuardClient) ListResponderRecipes(ctx context.Context, request ListResponderRecipesRequest) (response ListResponderRecipesResponse, err error)
ListResponderRecipes Returns a list of all ResponderRecipes in a compartment The ListResponderRecipe operation returns only the targets in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipes API.
func (client CloudGuardClient) ListResponderRules(ctx context.Context, request ListResponderRulesRequest) (response ListResponderRulesResponse, err error)
ListResponderRules Returns a list of ResponderRule.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRules API.
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/65.63.2/cloudguard/ListSecurityPolicies.go.html to see an example of how to use ListSecurityPolicies API.
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/65.63.2/cloudguard/ListSecurityRecipes.go.html to see an example of how to use ListSecurityRecipes API.
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/65.63.2/cloudguard/ListSecurityZones.go.html to see an example of how to use ListSecurityZones API.
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/65.63.2/cloudguard/ListSightingEndpoints.go.html to see an example of how to use ListSightingEndpoints API.
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/65.63.2/cloudguard/ListSightingImpactedResources.go.html to see an example of how to use ListSightingImpactedResources API.
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/65.63.2/cloudguard/ListSightings.go.html to see an example of how to use ListSightings API.
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/65.63.2/cloudguard/ListTactics.go.html to see an example of how to use ListTactics API.
func (client CloudGuardClient) ListTargetDetectorRecipeDetectorRules(ctx context.Context, request ListTargetDetectorRecipeDetectorRulesRequest) (response ListTargetDetectorRecipeDetectorRulesResponse, err error)
ListTargetDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe within a Target.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRules API.
func (client CloudGuardClient) ListTargetDetectorRecipes(ctx context.Context, request ListTargetDetectorRecipesRequest) (response ListTargetDetectorRecipesResponse, err error)
ListTargetDetectorRecipes Returns a list of all detector recipes associated with the target identified by targetId
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipes API.
func (client CloudGuardClient) ListTargetResponderRecipeResponderRules(ctx context.Context, request ListTargetResponderRecipeResponderRulesRequest) (response ListTargetResponderRecipeResponderRulesResponse, err error)
ListTargetResponderRecipeResponderRules Returns a list of ResponderRule associated with ResponderRecipe within a Target.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRules API.
func (client CloudGuardClient) ListTargetResponderRecipes(ctx context.Context, request ListTargetResponderRecipesRequest) (response ListTargetResponderRecipesResponse, err error)
ListTargetResponderRecipes Returns a list of all responder recipes associated with the target identified by targetId
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipes API.
func (client CloudGuardClient) ListTargets(ctx context.Context, request ListTargetsRequest) (response ListTargetsResponse, err error)
ListTargets Returns a list of all Targets in a compartment The ListTargets operation returns only the targets in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargets.go.html to see an example of how to use ListTargets API.
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/65.63.2/cloudguard/ListTechniques.go.html to see an example of how to use ListTechniques API.
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/65.63.2/cloudguard/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
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/65.63.2/cloudguard/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
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/65.63.2/cloudguard/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
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/65.63.2/cloudguard/RemoveCompartment.go.html to see an example of how to use RemoveCompartment API.
func (client CloudGuardClient) RequestRiskScores(ctx context.Context, request RequestRiskScoresRequest) (response RequestRiskScoresResponse, err error)
RequestRiskScores Examines the number of problems related to the resource and the relative severity of those problems.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScores API.
func (client CloudGuardClient) RequestSecurityScoreSummarizedTrend(ctx context.Context, request RequestSecurityScoreSummarizedTrendRequest) (response RequestSecurityScoreSummarizedTrendResponse, err error)
RequestSecurityScoreSummarizedTrend Measures the number of resources examined across all regions and compares it with the number of problems detected, for a given time period.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrend API.
func (client CloudGuardClient) RequestSecurityScores(ctx context.Context, request RequestSecurityScoresRequest) (response RequestSecurityScoresResponse, err error)
RequestSecurityScores Measures the number of resources examined across all regions and compares it with the number of problems detected.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScores API.
func (client CloudGuardClient) RequestSummarizedActivityProblems(ctx context.Context, request RequestSummarizedActivityProblemsRequest) (response RequestSummarizedActivityProblemsResponse, err error)
RequestSummarizedActivityProblems Returns the summary of problems generated by OCI Activity Detector rules, identified by parameters specified. 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/65.63.2/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblems API.
func (client CloudGuardClient) RequestSummarizedProblems(ctx context.Context, request RequestSummarizedProblemsRequest) (response RequestSummarizedProblemsResponse, err error)
RequestSummarizedProblems Returns the number of problems matching the key-value pairs in dimensionMap. 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/65.63.2/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblems API.
func (client CloudGuardClient) RequestSummarizedResponderExecutions(ctx context.Context, request RequestSummarizedResponderExecutionsRequest) (response RequestSummarizedResponderExecutionsResponse, err error)
RequestSummarizedResponderExecutions Returns the number of Responder Executions, for a given set of dimensions. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutions API.
func (client CloudGuardClient) RequestSummarizedRiskScores(ctx context.Context, request RequestSummarizedRiskScoresRequest) (response RequestSummarizedRiskScoresResponse, err error)
RequestSummarizedRiskScores DEPRECATED
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScores API.
func (client CloudGuardClient) RequestSummarizedSecurityScores(ctx context.Context, request RequestSummarizedSecurityScoresRequest) (response RequestSummarizedSecurityScoresResponse, err error)
RequestSummarizedSecurityScores DEPRECATED
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScores API.
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/65.63.2/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.go.html to see an example of how to use RequestSummarizedTopTrendResourceProfileRiskScores API.
func (client CloudGuardClient) RequestSummarizedTrendProblems(ctx context.Context, request RequestSummarizedTrendProblemsRequest) (response RequestSummarizedTrendProblemsResponse, err error)
RequestSummarizedTrendProblems Returns a ProblemTrendAggregationCollection resource for a compartment, identified by compartmentId, for the specified time period. The ProblemTrendAggregationCollection resource contains a list of ProblemTrendAggregation resources. 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/65.63.2/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblems API.
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/65.63.2/cloudguard/RequestSummarizedTrendResourceRiskScores.go.html to see an example of how to use RequestSummarizedTrendResourceRiskScores API.
func (client CloudGuardClient) RequestSummarizedTrendResponderExecutions(ctx context.Context, request RequestSummarizedTrendResponderExecutionsRequest) (response RequestSummarizedTrendResponderExecutionsResponse, err error)
RequestSummarizedTrendResponderExecutions Returns the number of remediations performed by Responders, for a given time period. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutions API.
func (client CloudGuardClient) RequestSummarizedTrendSecurityScores(ctx context.Context, request RequestSummarizedTrendSecurityScoresRequest) (response RequestSummarizedTrendSecurityScoresResponse, err error)
RequestSummarizedTrendSecurityScores DEPRECATED
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScores API.
func (client *CloudGuardClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client CloudGuardClient) SkipBulkResponderExecution(ctx context.Context, request SkipBulkResponderExecutionRequest) (response SkipBulkResponderExecutionResponse, err error)
SkipBulkResponderExecution Skips the execution for a bulk of responder executions The operation is atomic in nature
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecution API.
func (client CloudGuardClient) SkipResponderExecution(ctx context.Context, request SkipResponderExecutionRequest) (response SkipResponderExecutionResponse, err error)
SkipResponderExecution Skips the execution of the responder execution. When provided, If-Match is checked against ETag values of the resource.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecution API.
func (client CloudGuardClient) TriggerResponder(ctx context.Context, request TriggerResponderRequest) (response TriggerResponderResponse, err error)
TriggerResponder Sends the problem identified by problemId to the responder engine, to be processed by rule that’s identified by responderRuleId, in the TriggerResponderDetails resource that’s passed.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponder API.
func (client CloudGuardClient) UpdateBulkProblemStatus(ctx context.Context, request UpdateBulkProblemStatusRequest) (response UpdateBulkProblemStatusResponse, err error)
UpdateBulkProblemStatus Changes the status for all problems listed in the problemIds array, passed through the UpdateBulkProblemStatusDetails resource, from the current status to the status set in UpdateBulkProblemStatusDetails.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatus API.
func (client CloudGuardClient) UpdateConfiguration(ctx context.Context, request UpdateConfigurationRequest) (response UpdateConfigurationResponse, err error)
UpdateConfiguration Update configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfiguration API.
func (client CloudGuardClient) UpdateDataMaskRule(ctx context.Context, request UpdateDataMaskRuleRequest) (response UpdateDataMaskRuleResponse, err error)
UpdateDataMaskRule Updates a data mask rule (DataMaskRule object) identified by dataMaskRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDataMaskRule.go.html to see an example of how to use UpdateDataMaskRule API.
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/65.63.2/cloudguard/UpdateDataSource.go.html to see an example of how to use UpdateDataSource API.
func (client CloudGuardClient) UpdateDetectorRecipe(ctx context.Context, request UpdateDetectorRecipeRequest) (response UpdateDetectorRecipeResponse, err error)
UpdateDetectorRecipe Updates a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipe API.
func (client CloudGuardClient) UpdateDetectorRecipeDetectorRule(ctx context.Context, request UpdateDetectorRecipeDetectorRuleRequest) (response UpdateDetectorRecipeDetectorRuleResponse, err error)
UpdateDetectorRecipeDetectorRule Updates a detector rule (DetectorRule object) identified by detectorRuleId.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRule API.
func (client CloudGuardClient) UpdateManagedList(ctx context.Context, request UpdateManagedListRequest) (response UpdateManagedListResponse, err error)
UpdateManagedList Updates a ManagedList object, identified by managedList.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedList API.
func (client CloudGuardClient) UpdateProblemStatus(ctx context.Context, request UpdateProblemStatusRequest) (response UpdateProblemStatusResponse, err error)
UpdateProblemStatus Changes the current status of the problem, identified by problemId, to the status specified in the UpdateProblemStatusDetails resource that you pass.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatus API.
func (client CloudGuardClient) UpdateResponderRecipe(ctx context.Context, request UpdateResponderRecipeRequest) (response UpdateResponderRecipeResponse, err error)
UpdateResponderRecipe Update the ResponderRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipe API.
func (client CloudGuardClient) UpdateResponderRecipeResponderRule(ctx context.Context, request UpdateResponderRecipeResponderRuleRequest) (response UpdateResponderRecipeResponderRuleResponse, err error)
UpdateResponderRecipeResponderRule Update the ResponderRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRule API.
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/65.63.2/cloudguard/UpdateSecurityRecipe.go.html to see an example of how to use UpdateSecurityRecipe API.
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/65.63.2/cloudguard/UpdateSecurityZone.go.html to see an example of how to use UpdateSecurityZone API.
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/65.63.2/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTarget API.
func (client CloudGuardClient) UpdateTargetDetectorRecipe(ctx context.Context, request UpdateTargetDetectorRecipeRequest) (response UpdateTargetDetectorRecipeResponse, err error)
UpdateTargetDetectorRecipe Update the TargetDetectorRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipe API.
func (client CloudGuardClient) UpdateTargetDetectorRecipeDetectorRule(ctx context.Context, request UpdateTargetDetectorRecipeDetectorRuleRequest) (response UpdateTargetDetectorRecipeDetectorRuleResponse, err error)
UpdateTargetDetectorRecipeDetectorRule Update the DetectorRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRule API.
func (client CloudGuardClient) UpdateTargetResponderRecipe(ctx context.Context, request UpdateTargetResponderRecipeRequest) (response UpdateTargetResponderRecipeResponse, err error)
UpdateTargetResponderRecipe Update the TargetResponderRecipe resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipe API.
func (client CloudGuardClient) UpdateTargetResponderRecipeResponderRule(ctx context.Context, request UpdateTargetResponderRecipeResponderRuleRequest) (response UpdateTargetResponderRecipeResponderRuleResponse, err error)
UpdateTargetResponderRecipeResponderRule Update the ResponderRule by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRule API.
CloudGuardStatusEnum Enum with underlying type: string
type CloudGuardStatusEnum string
Set of constants representing the allowable values for CloudGuardStatusEnum
const ( CloudGuardStatusEnabled CloudGuardStatusEnum = "ENABLED" CloudGuardStatusDisabled CloudGuardStatusEnum = "DISABLED" )
func GetCloudGuardStatusEnumValues() []CloudGuardStatusEnum
GetCloudGuardStatusEnumValues Enumerates the set of values for CloudGuardStatusEnum
func GetMappingCloudGuardStatusEnum(val string) (CloudGuardStatusEnum, bool)
GetMappingCloudGuardStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CompositeCondition Composite Condition object with nested Condition
type CompositeCondition struct { LeftOperand Condition `mandatory:"false" json:"leftOperand"` RightOperand Condition `mandatory:"false" json:"rightOperand"` CompositeOperator CompositeConditionCompositeOperatorEnum `mandatory:"false" json:"compositeOperator,omitempty"` }
func (m CompositeCondition) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CompositeCondition) String() string
func (m *CompositeCondition) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CompositeConditionCompositeOperatorEnum Enum with underlying type: string
type CompositeConditionCompositeOperatorEnum string
Set of constants representing the allowable values for CompositeConditionCompositeOperatorEnum
const ( CompositeConditionCompositeOperatorAnd CompositeConditionCompositeOperatorEnum = "AND" CompositeConditionCompositeOperatorOr CompositeConditionCompositeOperatorEnum = "OR" )
func GetCompositeConditionCompositeOperatorEnumValues() []CompositeConditionCompositeOperatorEnum
GetCompositeConditionCompositeOperatorEnumValues Enumerates the set of values for CompositeConditionCompositeOperatorEnum
func GetMappingCompositeConditionCompositeOperatorEnum(val string) (CompositeConditionCompositeOperatorEnum, bool)
GetMappingCompositeConditionCompositeOperatorEnum performs case Insensitive comparison on enum value and return the desired enum
Condition Base condition object
type Condition interface { }
ConditionFilterTypeEnum Enum with underlying type: string
type ConditionFilterTypeEnum string
Set of constants representing the allowable values for ConditionFilterTypeEnum
const ( ConditionFilterTypeCondition ConditionFilterTypeEnum = "CONDITION" ConditionFilterTypeConfig ConditionFilterTypeEnum = "CONFIG" )
func GetConditionFilterTypeEnumValues() []ConditionFilterTypeEnum
GetConditionFilterTypeEnumValues Enumerates the set of values for ConditionFilterTypeEnum
func GetMappingConditionFilterTypeEnum(val string) (ConditionFilterTypeEnum, bool)
GetMappingConditionFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConditionGroup Condition configured on a target
type ConditionGroup struct { // compartment associated with condition CompartmentId *string `mandatory:"true" json:"compartmentId"` Condition Condition `mandatory:"true" json:"condition"` }
func (m ConditionGroup) String() string
func (m *ConditionGroup) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
ConditionKindEnum Enum with underlying type: string
type ConditionKindEnum string
Set of constants representing the allowable values for ConditionKindEnum
const ( ConditionKindComposite ConditionKindEnum = "COMPOSITE" ConditionKindSimple ConditionKindEnum = "SIMPLE" )
func GetConditionKindEnumValues() []ConditionKindEnum
GetConditionKindEnumValues Enumerates the set of values for ConditionKindEnum
func GetMappingConditionKindEnum(val string) (ConditionKindEnum, bool)
GetMappingConditionKindEnum performs case Insensitive comparison on enum value and return the desired enum
ConditionMetadataType The metadata definition of the requested condition type.
type ConditionMetadataType struct { // Name used to identify Name *string `mandatory:"true" json:"name"` // collection of Service type ServiceTypes []ServiceTypeSummary `mandatory:"true" json:"serviceTypes"` }
func (m ConditionMetadataType) String() string
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
ConditionMetadataTypeCollection condition type provided by cloud guard
type ConditionMetadataTypeCollection struct { // collection of condition types Items []ConditionMetadataTypeSummary `mandatory:"true" json:"items"` }
func (m ConditionMetadataTypeCollection) String() string
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
ConditionMetadataTypeSummary condition type provided by cloud guard
type ConditionMetadataTypeSummary struct { // Name used to identify Id *string `mandatory:"true" json:"id"` // Display name of the condition type Description *string `mandatory:"true" json:"description"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ConditionMetadataTypeSummary) String() string
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
ConditionOperator Conditions related to the parameter data type
type ConditionOperator struct { // operator name Name ConditionOperatorNameEnum `mandatory:"true" json:"name"` // display name of the operator DisplayName *string `mandatory:"true" json:"displayName"` }
func (m ConditionOperator) String() string
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
ConditionOperatorNameEnum Enum with underlying type: string
type ConditionOperatorNameEnum string
Set of constants representing the allowable values for ConditionOperatorNameEnum
const ( ConditionOperatorNameAnd ConditionOperatorNameEnum = "AND" ConditionOperatorNameOr ConditionOperatorNameEnum = "OR" ConditionOperatorNameIn ConditionOperatorNameEnum = "IN" ConditionOperatorNameNotIn ConditionOperatorNameEnum = "NOT_IN" ConditionOperatorNameEquals ConditionOperatorNameEnum = "EQUALS" ConditionOperatorNameNotEquals ConditionOperatorNameEnum = "NOT_EQUALS" ConditionOperatorNameLessThan ConditionOperatorNameEnum = "LESS_THAN" ConditionOperatorNameGreaterThan ConditionOperatorNameEnum = "GREATER_THAN" ConditionOperatorNameRange ConditionOperatorNameEnum = "RANGE" )
func GetConditionOperatorNameEnumValues() []ConditionOperatorNameEnum
GetConditionOperatorNameEnumValues Enumerates the set of values for ConditionOperatorNameEnum
func GetMappingConditionOperatorNameEnum(val string) (ConditionOperatorNameEnum, bool)
GetMappingConditionOperatorNameEnum performs case Insensitive comparison on enum value and return the desired enum
ConditionTypeEnumEnum Enum with underlying type: string
type ConditionTypeEnumEnum string
Set of constants representing the allowable values for ConditionTypeEnumEnum
const ( ConditionTypeEnumActivityCondition ConditionTypeEnumEnum = "ActivityCondition" ConditionTypeEnumSecurityCondition ConditionTypeEnumEnum = "SecurityCondition" ConditionTypeEnumCloudGuardCondition ConditionTypeEnumEnum = "CloudGuardCondition" ConditionTypeEnumThreatCondition ConditionTypeEnumEnum = "ThreatCondition" )
func GetConditionTypeEnumEnumValues() []ConditionTypeEnumEnum
GetConditionTypeEnumEnumValues Enumerates the set of values for ConditionTypeEnumEnum
func GetMappingConditionTypeEnumEnum(val string) (ConditionTypeEnumEnum, bool)
GetMappingConditionTypeEnumEnum performs case Insensitive comparison on enum value and return the desired enum
ConditionValueTypeEnum Enum with underlying type: string
type ConditionValueTypeEnum string
Set of constants representing the allowable values for ConditionValueTypeEnum
const ( ConditionValueTypeManaged ConditionValueTypeEnum = "MANAGED" ConditionValueTypeCustom ConditionValueTypeEnum = "CUSTOM" )
func GetConditionValueTypeEnumValues() []ConditionValueTypeEnum
GetConditionValueTypeEnumValues Enumerates the set of values for ConditionValueTypeEnum
func GetMappingConditionValueTypeEnum(val string) (ConditionValueTypeEnum, bool)
GetMappingConditionValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConfidenceEnum Enum with underlying type: string
type ConfidenceEnum string
Set of constants representing the allowable values for ConfidenceEnum
const ( ConfidenceCritical ConfidenceEnum = "CRITICAL" ConfidenceHigh ConfidenceEnum = "HIGH" ConfidenceMedium ConfidenceEnum = "MEDIUM" ConfidenceLow ConfidenceEnum = "LOW" ConfidenceMinor ConfidenceEnum = "MINOR" )
func GetConfidenceEnumValues() []ConfidenceEnum
GetConfidenceEnumValues Enumerates the set of values for ConfidenceEnum
func GetMappingConfidenceEnum(val string) (ConfidenceEnum, bool)
GetMappingConfidenceEnum performs case Insensitive comparison on enum value and return the desired enum
ConfigValue configuration item for multi list data type
type ConfigValue struct { // configuration list item type, either CUSTOM or MANAGED ListType ConfigurationListItemTypeEnum `mandatory:"true" json:"listType"` // type of the managed list ManagedListType *string `mandatory:"true" json:"managedListType"` // configuration value Value *string `mandatory:"true" json:"value"` }
func (m ConfigValue) String() string
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
Configuration Specifies several key settings for a Cloud Guard tenancy, identified by tenancy root compartment OCID.
type Configuration struct { // The reporting region value ReportingRegion *string `mandatory:"true" json:"reportingRegion"` // Status of Cloud Guard Tenant Status CloudGuardStatusEnum `mandatory:"false" json:"status,omitempty"` // Identifies if Oracle managed resources were created by customers SelfManageResources *bool `mandatory:"false" json:"selfManageResources"` }
func (m Configuration) String() string
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
ConfigurationListItemTypeEnum Enum with underlying type: string
type ConfigurationListItemTypeEnum string
Set of constants representing the allowable values for ConfigurationListItemTypeEnum
const ( ConfigurationListItemTypeManaged ConfigurationListItemTypeEnum = "MANAGED" ConfigurationListItemTypeCustom ConfigurationListItemTypeEnum = "CUSTOM" )
func GetConfigurationListItemTypeEnumValues() []ConfigurationListItemTypeEnum
GetConfigurationListItemTypeEnumValues Enumerates the set of values for ConfigurationListItemTypeEnum
func GetMappingConfigurationListItemTypeEnum(val string) (ConfigurationListItemTypeEnum, bool)
GetMappingConfigurationListItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ContinuousQueryStartPolicy Continuous query start policy object
type ContinuousQueryStartPolicy interface { }
ContinuousQueryStartPolicyStartPolicyTypeEnum Enum with underlying type: string
type ContinuousQueryStartPolicyStartPolicyTypeEnum string
Set of constants representing the allowable values for ContinuousQueryStartPolicyStartPolicyTypeEnum
const ( ContinuousQueryStartPolicyStartPolicyTypeNoDelayStartPolicy ContinuousQueryStartPolicyStartPolicyTypeEnum = "NO_DELAY_START_POLICY" ContinuousQueryStartPolicyStartPolicyTypeAbsoluteTimeStartPolicy ContinuousQueryStartPolicyStartPolicyTypeEnum = "ABSOLUTE_TIME_START_POLICY" )
func GetContinuousQueryStartPolicyStartPolicyTypeEnumValues() []ContinuousQueryStartPolicyStartPolicyTypeEnum
GetContinuousQueryStartPolicyStartPolicyTypeEnumValues Enumerates the set of values for ContinuousQueryStartPolicyStartPolicyTypeEnum
func GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum(val string) (ContinuousQueryStartPolicyStartPolicyTypeEnum, bool)
GetMappingContinuousQueryStartPolicyStartPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDataMaskRuleDetails The information about new Data Mask Rule.
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"` }
func (m CreateDataMaskRuleDetails) String() string
func (m *CreateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDataMaskRuleRequest wrapper for the CreateDataMaskRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDataMaskRule.go.html to see an example of how to use 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 }
func (request CreateDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDataMaskRuleRequest) String() string
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
CreateDataMaskRuleResponse wrapper for the CreateDataMaskRule operation
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"` }
func (response CreateDataMaskRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDataMaskRuleResponse) String() string
CreateDataSourceDetails Creation of Data Source.
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"` // Status of DataSource. Default value is DISABLED. 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"` }
func (m CreateDataSourceDetails) String() string
func (m *CreateDataSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDataSourceRequest wrapper for the CreateDataSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDataSource.go.html to see an example of how to use CreateDataSourceRequest.
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 }
func (request CreateDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDataSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDataSourceRequest) String() string
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
CreateDataSourceResponse wrapper for the CreateDataSource operation
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"` }
func (response CreateDataSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDataSourceResponse) String() string
CreateDetectorRecipeDetails Create of Detector recipe.
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"` }
func (m CreateDetectorRecipeDetails) String() string
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
CreateDetectorRecipeDetectorRuleDetails Create detector rule in a detector recipe
type CreateDetectorRecipeDetectorRuleDetails struct { Details *CreateDetectorRuleDetails `mandatory:"false" json:"details"` }
func (m CreateDetectorRecipeDetectorRuleDetails) String() string
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
CreateDetectorRecipeDetectorRuleRequest wrapper for the CreateDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDetectorRecipeDetectorRule.go.html to see an example of how to use CreateDetectorRecipeDetectorRuleRequest.
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 }
func (request CreateDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDetectorRecipeDetectorRuleRequest) String() string
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
CreateDetectorRecipeDetectorRuleResponse wrapper for the CreateDetectorRecipeDetectorRule operation
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"` }
func (response CreateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDetectorRecipeDetectorRuleResponse) String() string
CreateDetectorRecipeRequest wrapper for the CreateDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateDetectorRecipe.go.html to see an example of how to use CreateDetectorRecipeRequest.
type CreateDetectorRecipeRequest struct { // Details for the new DetectorRecipe. CreateDetectorRecipeDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDetectorRecipeRequest) String() string
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
CreateDetectorRecipeResponse wrapper for the CreateDetectorRecipe operation
type CreateDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRecipe instance DetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDetectorRecipeResponse) String() string
CreateDetectorRuleDetails Details of a Detector Rule to be created in Detector Recipe
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"` }
func (m CreateDetectorRuleDetails) String() string
func (m *CreateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateManagedListDetails Create ManagedList
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"` }
func (m CreateManagedListDetails) String() string
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
CreateManagedListRequest wrapper for the CreateManagedList operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateManagedList.go.html to see an example of how to use CreateManagedListRequest.
type CreateManagedListRequest struct { // Details for the new ManagedList. CreateManagedListDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagedListRequest) String() string
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
CreateManagedListResponse wrapper for the CreateManagedList operation
type CreateManagedListResponse struct { // The underlying http response RawResponse *http.Response // The ManagedList instance ManagedList `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagedListResponse) String() string
CreateResponderRecipeDetails Details of ResponderRecipe.
type CreateResponderRecipeDetails struct { // 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"` }
func (m CreateResponderRecipeDetails) String() string
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
CreateResponderRecipeRequest wrapper for the CreateResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateResponderRecipe.go.html to see an example of how to use CreateResponderRecipeRequest.
type CreateResponderRecipeRequest struct { // Details for ResponderRecipe. CreateResponderRecipeDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateResponderRecipeRequest) String() string
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
CreateResponderRecipeResponse wrapper for the CreateResponderRecipe operation
type CreateResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRecipe instance ResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateResponderRecipeResponse) String() string
CreateSecurityPolicyDetails The information about new SecurityPolicy.
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"` }
func (m CreateSecurityPolicyDetails) String() string
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
CreateSecurityRecipeDetails Details about a new security zone recipe
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"` }
func (m CreateSecurityRecipeDetails) String() string
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
CreateSecurityRecipeRequest wrapper for the CreateSecurityRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateSecurityRecipe.go.html to see an example of how to use CreateSecurityRecipeRequest.
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 }
func (request CreateSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSecurityRecipeRequest) String() string
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
CreateSecurityRecipeResponse wrapper for the CreateSecurityRecipe operation
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"` }
func (response CreateSecurityRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSecurityRecipeResponse) String() string
CreateSecurityZoneDetails Details for a new security zone
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"` }
func (m CreateSecurityZoneDetails) String() string
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
CreateSecurityZoneRequest wrapper for the CreateSecurityZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateSecurityZone.go.html to see an example of how to use CreateSecurityZoneRequest.
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 }
func (request CreateSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSecurityZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSecurityZoneRequest) String() string
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
CreateSecurityZoneResponse wrapper for the CreateSecurityZone operation
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"` }
func (response CreateSecurityZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSecurityZoneResponse) String() string
CreateTargetDetails The information about new Target.
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"` }
func (m CreateTargetDetails) String() string
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
CreateTargetDetectorRecipeDetails The information required to create TargetDetectorRecipe
type CreateTargetDetectorRecipeDetails struct { // Identifier for DetectorRecipe. DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"` // Overrides to be applied to Detector Rule associated with the target DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"false" json:"detectorRules"` }
func (m CreateTargetDetectorRecipeDetails) String() string
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
CreateTargetDetectorRecipeRequest wrapper for the CreateTargetDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateTargetDetectorRecipe.go.html to see an example of how to use CreateTargetDetectorRecipeRequest.
type CreateTargetDetectorRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // Details for associating DetectorRecipe to Target AttachTargetDetectorRecipeDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetDetectorRecipeRequest) String() string
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
CreateTargetDetectorRecipeResponse wrapper for the CreateTargetDetectorRecipe operation
type CreateTargetDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetDetectorRecipe instance TargetDetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetDetectorRecipeResponse) String() string
CreateTargetRequest wrapper for the CreateTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateTarget.go.html to see an example of how to use CreateTargetRequest.
type CreateTargetRequest struct { // Details for the new Target. CreateTargetDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetRequest) String() string
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
CreateTargetResponderRecipeDetails The information required to create TargetResponderRecipe
type CreateTargetResponderRecipeDetails struct { // Identifier for ResponderRecipe. ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"` // Override responder rules associated with reponder recipe in a target. ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"false" json:"responderRules"` }
func (m CreateTargetResponderRecipeDetails) String() string
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
CreateTargetResponderRecipeRequest wrapper for the CreateTargetResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/CreateTargetResponderRecipe.go.html to see an example of how to use CreateTargetResponderRecipeRequest.
type CreateTargetResponderRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // Details for associating ResponderRecipe to Target AttachTargetResponderRecipeDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTargetResponderRecipeRequest) String() string
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
CreateTargetResponderRecipeResponse wrapper for the CreateTargetResponderRecipe operation
type CreateTargetResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetResponderRecipe instance TargetResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetResponderRecipeResponse) String() string
CreateTargetResponse wrapper for the CreateTarget operation
type CreateTargetResponse struct { // The underlying http response RawResponse *http.Response // The Target instance Target `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTargetResponse) String() string
DataMaskCategoryEnum Enum with underlying type: string
type DataMaskCategoryEnum string
Set of constants representing the allowable values for DataMaskCategoryEnum
const ( DataMaskCategoryActor DataMaskCategoryEnum = "ACTOR" DataMaskCategoryPii DataMaskCategoryEnum = "PII" DataMaskCategoryPhi DataMaskCategoryEnum = "PHI" DataMaskCategoryFinancial DataMaskCategoryEnum = "FINANCIAL" DataMaskCategoryLocation DataMaskCategoryEnum = "LOCATION" DataMaskCategoryCustom DataMaskCategoryEnum = "CUSTOM" )
func GetDataMaskCategoryEnumValues() []DataMaskCategoryEnum
GetDataMaskCategoryEnumValues Enumerates the set of values for DataMaskCategoryEnum
func GetMappingDataMaskCategoryEnum(val string) (DataMaskCategoryEnum, bool)
GetMappingDataMaskCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
DataMaskRule A data mask rule specifies the conditions in which the value for a sensitive data field in the UI is to be hidden or displayed when viewed by specified groups of users. The DataMaskRule object contains the parameters for a data mask rule.
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"` }
func (m DataMaskRule) String() string
func (m *DataMaskRule) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DataMaskRuleCollection Collection of Data Mask Rule
type DataMaskRuleCollection struct { // List of Data Mask Rule Summary Items []DataMaskRuleSummary `mandatory:"true" json:"items"` }
func (m DataMaskRuleCollection) String() string
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
DataMaskRuleStatusEnum Enum with underlying type: string
type DataMaskRuleStatusEnum string
Set of constants representing the allowable values for DataMaskRuleStatusEnum
const ( DataMaskRuleStatusEnabled DataMaskRuleStatusEnum = "ENABLED" DataMaskRuleStatusDisabled DataMaskRuleStatusEnum = "DISABLED" )
func GetDataMaskRuleStatusEnumValues() []DataMaskRuleStatusEnum
GetDataMaskRuleStatusEnumValues Enumerates the set of values for DataMaskRuleStatusEnum
func GetMappingDataMaskRuleStatusEnum(val string) (DataMaskRuleStatusEnum, bool)
GetMappingDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DataMaskRuleSummary Summary of DataMaskRule.
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"` }
func (m DataMaskRuleSummary) String() string
func (m *DataMaskRuleSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DataSource Details of Data source
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"` }
func (m DataSource) String() string
func (m *DataSource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DataSourceCollection Summary of the DataSource.
type DataSourceCollection struct { // List of DataSourceSummary Items []DataSourceSummary `mandatory:"true" json:"items"` }
func (m DataSourceCollection) String() string
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
DataSourceDetails Details specific to the data source type.
type DataSourceDetails interface { }
DataSourceEventCollection The collection of datasource events.
type DataSourceEventCollection struct { // List of event related to a DataSource Items []DataSourceEventSummary `mandatory:"true" json:"items"` }
func (m DataSourceEventCollection) String() string
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
DataSourceEventInfo Event info of a data source.
type DataSourceEventInfo interface { }
DataSourceEventInfoStatusEnum Enum with underlying type: string
type DataSourceEventInfoStatusEnum string
Set of constants representing the allowable values for DataSourceEventInfoStatusEnum
const ( DataSourceEventInfoStatusSuccess DataSourceEventInfoStatusEnum = "SUCCESS" DataSourceEventInfoStatusFailure DataSourceEventInfoStatusEnum = "FAILURE" )
func GetDataSourceEventInfoStatusEnumValues() []DataSourceEventInfoStatusEnum
GetDataSourceEventInfoStatusEnumValues Enumerates the set of values for DataSourceEventInfoStatusEnum
func GetMappingDataSourceEventInfoStatusEnum(val string) (DataSourceEventInfoStatusEnum, bool)
GetMappingDataSourceEventInfoStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DataSourceEventSummary The information about Event details of DataSource.
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"` }
func (m DataSourceEventSummary) String() string
func (m *DataSourceEventSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DataSourceFeedProviderEnum Enum with underlying type: string
type DataSourceFeedProviderEnum string
Set of constants representing the allowable values for DataSourceFeedProviderEnum
const ( DataSourceFeedProviderLoggingquery DataSourceFeedProviderEnum = "LOGGINGQUERY" )
func GetDataSourceFeedProviderEnumValues() []DataSourceFeedProviderEnum
GetDataSourceFeedProviderEnumValues Enumerates the set of values for DataSourceFeedProviderEnum
func GetMappingDataSourceFeedProviderEnum(val string) (DataSourceFeedProviderEnum, bool)
GetMappingDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum
DataSourceMappingInfo Detail of resources which are mapped to DataSource.
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"` }
func (m DataSourceMappingInfo) String() string
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
DataSourceStatusEnum Enum with underlying type: string
type DataSourceStatusEnum string
Set of constants representing the allowable values for DataSourceStatusEnum
const ( DataSourceStatusEnabled DataSourceStatusEnum = "ENABLED" DataSourceStatusDisabled DataSourceStatusEnum = "DISABLED" )
func GetDataSourceStatusEnumValues() []DataSourceStatusEnum
GetDataSourceStatusEnumValues Enumerates the set of values for DataSourceStatusEnum
func GetMappingDataSourceStatusEnum(val string) (DataSourceStatusEnum, bool)
GetMappingDataSourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DataSourceSummary Summary of Data Source
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"` }
func (m DataSourceSummary) String() string
func (m *DataSourceSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DataSourceSummaryDetails Summary specific to the data source type.
type DataSourceSummaryDetails interface { }
DeleteDataMaskRuleRequest wrapper for the DeleteDataMaskRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDataMaskRule.go.html to see an example of how to use 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 }
func (request DeleteDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDataMaskRuleRequest) String() string
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
DeleteDataMaskRuleResponse wrapper for the DeleteDataMaskRule operation
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"` }
func (response DeleteDataMaskRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDataMaskRuleResponse) String() string
DeleteDataSourceRequest wrapper for the DeleteDataSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDataSource.go.html to see an example of how to use DeleteDataSourceRequest.
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 }
func (request DeleteDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDataSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDataSourceRequest) String() string
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
DeleteDataSourceResponse wrapper for the DeleteDataSource operation
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"` }
func (response DeleteDataSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDataSourceResponse) String() string
DeleteDetectorRecipeDetectorRuleDataSourceRequest wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.go.html to see an example of how to use DeleteDetectorRecipeDetectorRuleDataSourceRequest.
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 }
func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDetectorRecipeDetectorRuleDataSourceRequest) String() string
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
DeleteDetectorRecipeDetectorRuleDataSourceResponse wrapper for the DeleteDetectorRecipeDetectorRuleDataSource operation
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"` }
func (response DeleteDetectorRecipeDetectorRuleDataSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDetectorRecipeDetectorRuleDataSourceResponse) String() string
DeleteDetectorRecipeDetectorRuleRequest wrapper for the DeleteDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDetectorRecipeDetectorRule.go.html to see an example of how to use DeleteDetectorRecipeDetectorRuleRequest.
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 }
func (request DeleteDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDetectorRecipeDetectorRuleRequest) String() string
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
DeleteDetectorRecipeDetectorRuleResponse wrapper for the DeleteDetectorRecipeDetectorRule operation
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"` }
func (response DeleteDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDetectorRecipeDetectorRuleResponse) String() string
DeleteDetectorRecipeRequest wrapper for the DeleteDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteDetectorRecipe.go.html to see an example of how to use DeleteDetectorRecipeRequest.
type DeleteDetectorRecipeRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDetectorRecipeRequest) String() string
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
DeleteDetectorRecipeResponse wrapper for the DeleteDetectorRecipe operation
type DeleteDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDetectorRecipeResponse) String() string
DeleteManagedListRequest wrapper for the DeleteManagedList operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteManagedList.go.html to see an example of how to use DeleteManagedListRequest.
type DeleteManagedListRequest struct { // The cloudguard list OCID to be passed in the request. ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagedListRequest) String() string
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
DeleteManagedListResponse wrapper for the DeleteManagedList operation
type DeleteManagedListResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagedListResponse) String() string
DeleteResponderRecipeRequest wrapper for the DeleteResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteResponderRecipe.go.html to see an example of how to use DeleteResponderRecipeRequest.
type DeleteResponderRecipeRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteResponderRecipeRequest) String() string
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
DeleteResponderRecipeResponse wrapper for the DeleteResponderRecipe operation
type DeleteResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteResponderRecipeResponse) String() string
DeleteSecurityRecipeRequest wrapper for the DeleteSecurityRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteSecurityRecipe.go.html to see an example of how to use DeleteSecurityRecipeRequest.
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 }
func (request DeleteSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSecurityRecipeRequest) String() string
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
DeleteSecurityRecipeResponse wrapper for the DeleteSecurityRecipe operation
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"` }
func (response DeleteSecurityRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSecurityRecipeResponse) String() string
DeleteSecurityZoneRequest wrapper for the DeleteSecurityZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteSecurityZone.go.html to see an example of how to use DeleteSecurityZoneRequest.
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 }
func (request DeleteSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSecurityZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSecurityZoneRequest) String() string
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
DeleteSecurityZoneResponse wrapper for the DeleteSecurityZone operation
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"` }
func (response DeleteSecurityZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSecurityZoneResponse) String() string
DeleteTargetDetectorRecipeRequest wrapper for the DeleteTargetDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteTargetDetectorRecipe.go.html to see an example of how to use DeleteTargetDetectorRecipeRequest.
type DeleteTargetDetectorRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetDetectorRecipeRequest) String() string
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
DeleteTargetDetectorRecipeResponse wrapper for the DeleteTargetDetectorRecipe operation
type DeleteTargetDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetDetectorRecipeResponse) String() string
DeleteTargetRequest wrapper for the DeleteTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteTarget.go.html to see an example of how to use DeleteTargetRequest.
type DeleteTargetRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetRequest) String() string
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
DeleteTargetResponderRecipeRequest wrapper for the DeleteTargetResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/DeleteTargetResponderRecipe.go.html to see an example of how to use DeleteTargetResponderRecipeRequest.
type DeleteTargetResponderRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTargetResponderRecipeRequest) String() string
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
DeleteTargetResponderRecipeResponse wrapper for the DeleteTargetResponderRecipe operation
type DeleteTargetResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetResponderRecipeResponse) String() string
DeleteTargetResponse wrapper for the DeleteTarget operation
type DeleteTargetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTargetResponse) String() string
Detector Information for a single detector category. For example, IAAS_ACTIVITY_DETECTOR or IAAS_CONFIGURATION_DETECTOR.
type Detector struct { // detector key Id *string `mandatory:"true" json:"id"` // detector description Description *string `mandatory:"true" json:"description"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m Detector) String() string
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
DetectorCollection Summary of the Detector.
type DetectorCollection struct { // List of DetectorSummary Items []DetectorSummary `mandatory:"true" json:"items"` }
func (m DetectorCollection) String() string
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
DetectorConfiguration A single configuration applied to a detector
type DetectorConfiguration struct { // Unique name of the configuration ConfigKey *string `mandatory:"true" json:"configKey"` // configuration name Name *string `mandatory:"true" json:"name"` // configuration value Value *string `mandatory:"false" json:"value"` // configuration data type DataType *string `mandatory:"false" json:"dataType"` // List of configuration values Values []ConfigValue `mandatory:"false" json:"values"` }
func (m DetectorConfiguration) String() string
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
DetectorDetails Details of a Detector Rule
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"` }
func (m DetectorDetails) String() string
func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
DetectorEnumEnum Enum with underlying type: string
type DetectorEnumEnum string
Set of constants representing the allowable values for DetectorEnumEnum
const ( DetectorEnumIaasActivityDetector DetectorEnumEnum = "IAAS_ACTIVITY_DETECTOR" DetectorEnumIaasConfigurationDetector DetectorEnumEnum = "IAAS_CONFIGURATION_DETECTOR" DetectorEnumIaasThreatDetector DetectorEnumEnum = "IAAS_THREAT_DETECTOR" DetectorEnumIaasLogInsightDetector DetectorEnumEnum = "IAAS_LOG_INSIGHT_DETECTOR" )
func GetDetectorEnumEnumValues() []DetectorEnumEnum
GetDetectorEnumEnumValues Enumerates the set of values for DetectorEnumEnum
func GetMappingDetectorEnumEnum(val string) (DetectorEnumEnum, bool)
GetMappingDetectorEnumEnum performs case Insensitive comparison on enum value and return the desired enum
DetectorRecipe A detector recipe is a collection of rules that can be configured to trigger problems that appear on the Cloud Guard Problems page. A DetectorRecipe object contains settings for a specific detector recipe, plus a list of the detector rules (DetectorRecipeDetectorRule objects) belonging to the DetectorRecipe object.
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"` }
func (m DetectorRecipe) String() string
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
DetectorRecipeCollection Summary of the DetectorRecipe.
type DetectorRecipeCollection struct { // List of DetectorRecipeSummary Items []DetectorRecipeSummary `mandatory:"true" json:"items"` }
func (m DetectorRecipeCollection) String() string
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
DetectorRecipeDetectorRule A DetectorRecipeDetectorRule object defines a single recipe rule in the collection for a DetectorRecipe object.
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"` }
func (m DetectorRecipeDetectorRule) String() string
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
DetectorRecipeDetectorRuleCollection Summary of the DetectorRule.
type DetectorRecipeDetectorRuleCollection struct { // List of DetectorRecipeDetectorRuleSummary Items []DetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"` }
func (m DetectorRecipeDetectorRuleCollection) String() string
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
DetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string
type DetectorRecipeDetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum
const ( DetectorRecipeDetectorRuleManagedListTypesCidrBlock DetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" DetectorRecipeDetectorRuleManagedListTypesUsers DetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" DetectorRecipeDetectorRuleManagedListTypesGroups DetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" DetectorRecipeDetectorRuleManagedListTypesIpv4address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" DetectorRecipeDetectorRuleManagedListTypesIpv6address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" DetectorRecipeDetectorRuleManagedListTypesResourceOcid DetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" DetectorRecipeDetectorRuleManagedListTypesRegion DetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" DetectorRecipeDetectorRuleManagedListTypesCountry DetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" DetectorRecipeDetectorRuleManagedListTypesState DetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" DetectorRecipeDetectorRuleManagedListTypesCity DetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" DetectorRecipeDetectorRuleManagedListTypesTags DetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" DetectorRecipeDetectorRuleManagedListTypesGeneric DetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" DetectorRecipeDetectorRuleManagedListTypesFusionAppsRole DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" DetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []DetectorRecipeDetectorRuleManagedListTypesEnum
GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum
func GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleManagedListTypesEnum, bool)
GetMappingDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.
type DetectorRecipeDetectorRuleSummary struct { // The unique identifier of the detector rule Id *string `mandatory:"true" json:"id"` // possible type of detectors Detector DetectorEnumEnum `mandatory:"true" json:"detector"` // DetectorTemplate Identifier, can be renamed DisplayName *string `mandatory:"false" json:"displayName"` // DetectorTemplate Identifier, can be renamed Description *string `mandatory:"false" json:"description"` // Recommendation for DetectorRecipeDetectorRule Recommendation *string `mandatory:"false" json:"recommendation"` // service type of the configuration to which the rule is applied ServiceType *string `mandatory:"false" json:"serviceType"` // resource type of the configuration to which the rule is applied ResourceType *string `mandatory:"false" json:"resourceType"` // List of cloudguard managed list types related to this rule ManagedListTypes []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"` // List of CandidateResponderRule related to this rule CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"` DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"` // The date and time the detector recipe rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the detector recipe rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the detector recipe rule LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // 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"` }
func (m DetectorRecipeDetectorRuleSummary) String() string
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
DetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
const ( DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" DetectorRecipeDetectorRuleSummaryManagedListTypesUsers DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" DetectorRecipeDetectorRuleSummaryManagedListTypesGroups DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" DetectorRecipeDetectorRuleSummaryManagedListTypesRegion DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" DetectorRecipeDetectorRuleSummaryManagedListTypesCountry DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" DetectorRecipeDetectorRuleSummaryManagedListTypesState DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" DetectorRecipeDetectorRuleSummaryManagedListTypesCity DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" DetectorRecipeDetectorRuleSummaryManagedListTypesTags DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum
func GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)
GetMappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DetectorRecipeSummary Summary of Detector recipe
type DetectorRecipeSummary struct { // Ocid for detector recipe Id *string `mandatory:"true" json:"id"` // DisplayName of detector recipe DisplayName *string `mandatory:"true" json:"displayName"` // compartmentId of detector recipe CompartmentId *string `mandatory:"true" json:"compartmentId"` // Owner of detector recipe Owner OwnerTypeEnum `mandatory:"true" json:"owner"` // Type of detector Detector DetectorEnumEnum `mandatory:"true" json:"detector"` // Detector recipe description Description *string `mandatory:"false" json:"description"` // Recipe Ocid of the Source Recipe to be cloned SourceDetectorRecipeId *string `mandatory:"false" json:"sourceDetectorRecipeId"` // List of detetor rules for the detector type DetectorRules []DetectorRecipeDetectorRule `mandatory:"false" json:"detectorRules"` // The date and time the detector recipe was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the detector recipe was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // 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"` }
func (m DetectorRecipeSummary) String() string
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
DetectorRule Information for a detector rule (DetectorRule object).
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"` }
func (m DetectorRule) String() string
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
DetectorRuleCollection Summary of the DetectorRule.
type DetectorRuleCollection struct { // List of DetectorRuleSummary Items []DetectorRuleSummary `mandatory:"true" json:"items"` }
func (m DetectorRuleCollection) String() string
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
DetectorRuleManagedListTypesEnum Enum with underlying type: string
type DetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum
const ( DetectorRuleManagedListTypesCidrBlock DetectorRuleManagedListTypesEnum = "CIDR_BLOCK" DetectorRuleManagedListTypesUsers DetectorRuleManagedListTypesEnum = "USERS" DetectorRuleManagedListTypesGroups DetectorRuleManagedListTypesEnum = "GROUPS" DetectorRuleManagedListTypesIpv4address DetectorRuleManagedListTypesEnum = "IPV4ADDRESS" DetectorRuleManagedListTypesIpv6address DetectorRuleManagedListTypesEnum = "IPV6ADDRESS" DetectorRuleManagedListTypesResourceOcid DetectorRuleManagedListTypesEnum = "RESOURCE_OCID" DetectorRuleManagedListTypesRegion DetectorRuleManagedListTypesEnum = "REGION" DetectorRuleManagedListTypesCountry DetectorRuleManagedListTypesEnum = "COUNTRY" DetectorRuleManagedListTypesState DetectorRuleManagedListTypesEnum = "STATE" DetectorRuleManagedListTypesCity DetectorRuleManagedListTypesEnum = "CITY" DetectorRuleManagedListTypesTags DetectorRuleManagedListTypesEnum = "TAGS" DetectorRuleManagedListTypesGeneric DetectorRuleManagedListTypesEnum = "GENERIC" DetectorRuleManagedListTypesFusionAppsRole DetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" DetectorRuleManagedListTypesFusionAppsPermission DetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetDetectorRuleManagedListTypesEnumValues() []DetectorRuleManagedListTypesEnum
GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum
func GetMappingDetectorRuleManagedListTypesEnum(val string) (DetectorRuleManagedListTypesEnum, bool)
GetMappingDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DetectorRuleSummary Summary of the Detector Rules.
type DetectorRuleSummary struct { // The unique identifier of the detector rule Id *string `mandatory:"true" json:"id"` // possible type of detectors Detector DetectorEnumEnum `mandatory:"true" json:"detector"` // DetectorTemplate Identifier, can be renamed DisplayName *string `mandatory:"false" json:"displayName"` // Description for detector rule Description *string `mandatory:"false" json:"description"` // Recommendation for detector rule Recommendation *string `mandatory:"false" json:"recommendation"` // service type of the configuration to which the rule is applied ServiceType *string `mandatory:"false" json:"serviceType"` // resource type of the configuration to which the rule is applied ResourceType *string `mandatory:"false" json:"resourceType"` // List of cloudguard managed list types related to this rule ManagedListTypes []DetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"` // List of CandidateResponderRule related to this rule CandidateResponderRules []CandidateResponderRule `mandatory:"false" json:"candidateResponderRules"` DetectorDetails *DetectorDetails `mandatory:"false" json:"detectorDetails"` // The date and time the detector rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the detector rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the detector rule LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m DetectorRuleSummary) String() string
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
DetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type DetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum
const ( DetectorRuleSummaryManagedListTypesCidrBlock DetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" DetectorRuleSummaryManagedListTypesUsers DetectorRuleSummaryManagedListTypesEnum = "USERS" DetectorRuleSummaryManagedListTypesGroups DetectorRuleSummaryManagedListTypesEnum = "GROUPS" DetectorRuleSummaryManagedListTypesIpv4address DetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" DetectorRuleSummaryManagedListTypesIpv6address DetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" DetectorRuleSummaryManagedListTypesResourceOcid DetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" DetectorRuleSummaryManagedListTypesRegion DetectorRuleSummaryManagedListTypesEnum = "REGION" DetectorRuleSummaryManagedListTypesCountry DetectorRuleSummaryManagedListTypesEnum = "COUNTRY" DetectorRuleSummaryManagedListTypesState DetectorRuleSummaryManagedListTypesEnum = "STATE" DetectorRuleSummaryManagedListTypesCity DetectorRuleSummaryManagedListTypesEnum = "CITY" DetectorRuleSummaryManagedListTypesTags DetectorRuleSummaryManagedListTypesEnum = "TAGS" DetectorRuleSummaryManagedListTypesGeneric DetectorRuleSummaryManagedListTypesEnum = "GENERIC" DetectorRuleSummaryManagedListTypesFusionAppsRole DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" DetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetDetectorRuleSummaryManagedListTypesEnumValues() []DetectorRuleSummaryManagedListTypesEnum
GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum
func GetMappingDetectorRuleSummaryManagedListTypesEnum(val string) (DetectorRuleSummaryManagedListTypesEnum, bool)
GetMappingDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
DetectorSummary Summary of the Detector.
type DetectorSummary struct { // detector Identifier Id *string `mandatory:"true" json:"id"` // detector description Description *string `mandatory:"false" json:"description"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DetectorSummary) String() string
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
EntitiesMapping Data Source Entities mappings
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"` }
func (m EntitiesMapping) String() string
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
EntityDetails Entities Details for a data source
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"` }
func (m EntityDetails) String() string
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
EntityTypeEnum Enum with underlying type: string
type EntityTypeEnum string
Set of constants representing the allowable values for EntityTypeEnum
const ( EntityTypeExternalIp EntityTypeEnum = "EXTERNAL_IP" EntityTypeInternalIp EntityTypeEnum = "INTERNAL_IP" EntityTypeText EntityTypeEnum = "TEXT" EntityTypeJsonList EntityTypeEnum = "JSON_LIST" )
func GetEntityTypeEnumValues() []EntityTypeEnum
GetEntityTypeEnumValues Enumerates the set of values for EntityTypeEnum
func GetMappingEntityTypeEnum(val string) (EntityTypeEnum, bool)
GetMappingEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
EventStatusEnum Enum with underlying type: string
type EventStatusEnum string
Set of constants representing the allowable values for EventStatusEnum
const ( EventStatusReopen EventStatusEnum = "REOPEN" EventStatusOpen EventStatusEnum = "OPEN" EventStatusUpdate EventStatusEnum = "UPDATE" EventStatusResolve EventStatusEnum = "RESOLVE" EventStatusDismiss EventStatusEnum = "DISMISS" EventStatusDelete EventStatusEnum = "DELETE" )
func GetEventStatusEnumValues() []EventStatusEnum
GetEventStatusEnumValues Enumerates the set of values for EventStatusEnum
func GetMappingEventStatusEnum(val string) (EventStatusEnum, bool)
GetMappingEventStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ExecuteResponderExecutionDetails The details for Responder Configuration
type ExecuteResponderExecutionDetails struct { // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m ExecuteResponderExecutionDetails) String() string
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
ExecuteResponderExecutionRequest wrapper for the ExecuteResponderExecution operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ExecuteResponderExecution.go.html to see an example of how to use ExecuteResponderExecutionRequest.
type ExecuteResponderExecutionRequest struct { // The identifier of the responder execution. ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Details for Responder Configuration ExecuteResponderExecutionDetails `contributesTo:"body"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ExecuteResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExecuteResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExecuteResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExecuteResponderExecutionRequest) String() string
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
ExecuteResponderExecutionResponse wrapper for the ExecuteResponderExecution operation
type ExecuteResponderExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ExecuteResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExecuteResponderExecutionResponse) String() string
FeedProviderTypeEnum Enum with underlying type: string
type FeedProviderTypeEnum string
Set of constants representing the allowable values for FeedProviderTypeEnum
const ( FeedProviderTypeCustomer FeedProviderTypeEnum = "CUSTOMER" FeedProviderTypeOracle FeedProviderTypeEnum = "ORACLE" )
func GetFeedProviderTypeEnumValues() []FeedProviderTypeEnum
GetFeedProviderTypeEnumValues Enumerates the set of values for FeedProviderTypeEnum
func GetMappingFeedProviderTypeEnum(val string) (FeedProviderTypeEnum, bool)
GetMappingFeedProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GeographicalLocation Geographical Location of a problem
type GeographicalLocation struct { // Latitude Latitude *float64 `mandatory:"true" json:"latitude"` // Longitude Longitude *float64 `mandatory:"true" json:"longitude"` }
func (m GeographicalLocation) String() string
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
GetConditionMetadataTypeConditionMetadataTypeIdEnum Enum with underlying type: string
type GetConditionMetadataTypeConditionMetadataTypeIdEnum string
Set of constants representing the allowable values for GetConditionMetadataTypeConditionMetadataTypeIdEnum
const ( GetConditionMetadataTypeConditionMetadataTypeIdActivitycondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ActivityCondition" GetConditionMetadataTypeConditionMetadataTypeIdSecuritycondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "SecurityCondition" GetConditionMetadataTypeConditionMetadataTypeIdCloudguardcondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "CloudGuardCondition" GetConditionMetadataTypeConditionMetadataTypeIdThreatcondition GetConditionMetadataTypeConditionMetadataTypeIdEnum = "ThreatCondition" )
func GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues() []GetConditionMetadataTypeConditionMetadataTypeIdEnum
GetGetConditionMetadataTypeConditionMetadataTypeIdEnumValues Enumerates the set of values for GetConditionMetadataTypeConditionMetadataTypeIdEnum
func GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum(val string) (GetConditionMetadataTypeConditionMetadataTypeIdEnum, bool)
GetMappingGetConditionMetadataTypeConditionMetadataTypeIdEnum performs case Insensitive comparison on enum value and return the desired enum
GetConditionMetadataTypeRequest wrapper for the GetConditionMetadataType operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetConditionMetadataType.go.html to see an example of how to use GetConditionMetadataTypeRequest.
type GetConditionMetadataTypeRequest struct { // The type of the condition meta data. ConditionMetadataTypeId GetConditionMetadataTypeConditionMetadataTypeIdEnum `mandatory:"true" contributesTo:"path" name:"conditionMetadataTypeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // ServiceType filter for the condition meta data. ServiceType *string `mandatory:"false" contributesTo:"query" name:"serviceType"` // Resource filter for the condition meta data. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetConditionMetadataTypeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConditionMetadataTypeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConditionMetadataTypeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConditionMetadataTypeRequest) String() string
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
GetConditionMetadataTypeResponse wrapper for the GetConditionMetadataType operation
type GetConditionMetadataTypeResponse struct { // The underlying http response RawResponse *http.Response // The ConditionMetadataType instance ConditionMetadataType `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetConditionMetadataTypeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConditionMetadataTypeResponse) String() string
GetConfigurationRequest wrapper for the GetConfiguration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetConfiguration.go.html to see an example of how to use GetConfigurationRequest.
type GetConfigurationRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConfigurationRequest) String() string
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
GetConfigurationResponse wrapper for the GetConfiguration operation
type GetConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The Configuration instance Configuration `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConfigurationResponse) String() string
GetDataMaskRuleRequest wrapper for the GetDataMaskRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDataMaskRule.go.html to see an example of how to use 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 }
func (request GetDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataMaskRuleRequest) String() string
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
GetDataMaskRuleResponse wrapper for the GetDataMaskRule operation
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"` }
func (response GetDataMaskRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataMaskRuleResponse) String() string
GetDataSourceRequest wrapper for the GetDataSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDataSource.go.html to see an example of how to use GetDataSourceRequest.
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 }
func (request GetDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDataSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDataSourceRequest) String() string
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
GetDataSourceResponse wrapper for the GetDataSource operation
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"` }
func (response GetDataSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDataSourceResponse) String() string
GetDetectorRecipeDetectorRuleRequest wrapper for the GetDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRecipeDetectorRule.go.html to see an example of how to use GetDetectorRecipeDetectorRuleRequest.
type GetDetectorRecipeDetectorRuleRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // The key of Detector Rule. DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRecipeDetectorRuleRequest) String() string
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
GetDetectorRecipeDetectorRuleResponse wrapper for the GetDetectorRecipeDetectorRule operation
type GetDetectorRecipeDetectorRuleResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRecipeDetectorRule instance DetectorRecipeDetectorRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRecipeDetectorRuleResponse) String() string
GetDetectorRecipeRequest wrapper for the GetDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRecipe.go.html to see an example of how to use GetDetectorRecipeRequest.
type GetDetectorRecipeRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRecipeRequest) String() string
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
GetDetectorRecipeResponse wrapper for the GetDetectorRecipe operation
type GetDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRecipe instance DetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRecipeResponse) String() string
GetDetectorRequest wrapper for the GetDetector operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetector.go.html to see an example of how to use GetDetectorRequest.
type GetDetectorRequest struct { // The Name of Detector. DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDetectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDetectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRequest) String() string
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
GetDetectorResponse wrapper for the GetDetector operation
type GetDetectorResponse struct { // The underlying http response RawResponse *http.Response // The Detector instance Detector `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response GetDetectorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorResponse) String() string
GetDetectorRuleRequest wrapper for the GetDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetDetectorRule.go.html to see an example of how to use GetDetectorRuleRequest.
type GetDetectorRuleRequest struct { // The Name of Detector. DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"` // The key of Detector Rule. DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDetectorRuleRequest) String() string
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
GetDetectorRuleResponse wrapper for the GetDetectorRule operation
type GetDetectorRuleResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRule instance DetectorRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response GetDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDetectorRuleResponse) String() string
GetManagedListRequest wrapper for the GetManagedList operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetManagedList.go.html to see an example of how to use GetManagedListRequest.
type GetManagedListRequest struct { // The cloudguard list OCID to be passed in the request. ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagedListRequest) String() string
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
GetManagedListResponse wrapper for the GetManagedList operation
type GetManagedListResponse struct { // The underlying http response RawResponse *http.Response // The ManagedList instance ManagedList `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagedListResponse) String() string
GetProblemRequest wrapper for the GetProblem operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetProblem.go.html to see an example of how to use GetProblemRequest.
type GetProblemRequest struct { // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProblemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProblemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProblemRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProblemRequest) String() string
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
GetProblemResponse wrapper for the GetProblem operation
type GetProblemResponse struct { // The underlying http response RawResponse *http.Response // The Problem instance Problem `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetProblemResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProblemResponse) String() string
GetResourceProfileRequest wrapper for the GetResourceProfile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResourceProfile.go.html to see an example of how to use 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 }
func (request GetResourceProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResourceProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResourceProfileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResourceProfileRequest) String() string
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
GetResourceProfileResponse wrapper for the GetResourceProfile operation
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"` }
func (response GetResourceProfileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResourceProfileResponse) String() string
GetResponderExecutionRequest wrapper for the GetResponderExecution operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderExecution.go.html to see an example of how to use GetResponderExecutionRequest.
type GetResponderExecutionRequest struct { // The identifier of the responder execution. ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderExecutionRequest) String() string
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
GetResponderExecutionResponse wrapper for the GetResponderExecution operation
type GetResponderExecutionResponse struct { // The underlying http response RawResponse *http.Response // The ResponderExecution instance ResponderExecution `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderExecutionResponse) String() string
GetResponderRecipeRequest wrapper for the GetResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRecipe.go.html to see an example of how to use GetResponderRecipeRequest.
type GetResponderRecipeRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRecipeRequest) String() string
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
GetResponderRecipeResponderRuleRequest wrapper for the GetResponderRecipeResponderRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRecipeResponderRule.go.html to see an example of how to use GetResponderRecipeResponderRuleRequest.
type GetResponderRecipeResponderRuleRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The id of ResponderRule ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRecipeResponderRuleRequest) String() string
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
GetResponderRecipeResponderRuleResponse wrapper for the GetResponderRecipeResponderRule operation
type GetResponderRecipeResponderRuleResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRecipeResponderRule instance ResponderRecipeResponderRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRecipeResponderRuleResponse) String() string
GetResponderRecipeResponse wrapper for the GetResponderRecipe operation
type GetResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRecipe instance ResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRecipeResponse) String() string
GetResponderRuleRequest wrapper for the GetResponderRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetResponderRule.go.html to see an example of how to use GetResponderRuleRequest.
type GetResponderRuleRequest struct { // The id of ResponderRule ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResponderRuleRequest) String() string
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
GetResponderRuleResponse wrapper for the GetResponderRule operation
type GetResponderRuleResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRule instance ResponderRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResponderRuleResponse) String() string
GetSecurityPolicyRequest wrapper for the GetSecurityPolicy operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetSecurityPolicy.go.html to see an example of how to use GetSecurityPolicyRequest.
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 }
func (request GetSecurityPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSecurityPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSecurityPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSecurityPolicyRequest) String() string
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
GetSecurityPolicyResponse wrapper for the GetSecurityPolicy operation
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"` }
func (response GetSecurityPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSecurityPolicyResponse) String() string
GetSecurityRecipeRequest wrapper for the GetSecurityRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetSecurityRecipe.go.html to see an example of how to use GetSecurityRecipeRequest.
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 }
func (request GetSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSecurityRecipeRequest) String() string
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
GetSecurityRecipeResponse wrapper for the GetSecurityRecipe operation
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"` }
func (response GetSecurityRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSecurityRecipeResponse) String() string
GetSecurityZoneRequest wrapper for the GetSecurityZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetSecurityZone.go.html to see an example of how to use GetSecurityZoneRequest.
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 }
func (request GetSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSecurityZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSecurityZoneRequest) String() string
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
GetSecurityZoneResponse wrapper for the GetSecurityZone operation
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"` }
func (response GetSecurityZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSecurityZoneResponse) String() string
GetSightingRequest wrapper for the GetSighting operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetSighting.go.html to see an example of how to use 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 }
func (request GetSightingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSightingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSightingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSightingRequest) String() string
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
GetSightingResponse wrapper for the GetSighting operation
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"` }
func (response GetSightingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSightingResponse) String() string
GetTargetDetectorRecipeDetectorRuleRequest wrapper for the GetTargetDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetDetectorRecipeDetectorRule.go.html to see an example of how to use GetTargetDetectorRecipeDetectorRuleRequest.
type GetTargetDetectorRecipeDetectorRuleRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // The id of DetectorRule DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetDetectorRecipeDetectorRuleRequest) String() string
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
GetTargetDetectorRecipeDetectorRuleResponse wrapper for the GetTargetDetectorRecipeDetectorRule operation
type GetTargetDetectorRecipeDetectorRuleResponse struct { // The underlying http response RawResponse *http.Response // The TargetDetectorRecipeDetectorRule instance TargetDetectorRecipeDetectorRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetDetectorRecipeDetectorRuleResponse) String() string
GetTargetDetectorRecipeRequest wrapper for the GetTargetDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetDetectorRecipe.go.html to see an example of how to use GetTargetDetectorRecipeRequest.
type GetTargetDetectorRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetDetectorRecipeRequest) String() string
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
GetTargetDetectorRecipeResponse wrapper for the GetTargetDetectorRecipe operation
type GetTargetDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetDetectorRecipe instance TargetDetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetDetectorRecipeResponse) String() string
GetTargetRequest wrapper for the GetTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTarget.go.html to see an example of how to use GetTargetRequest.
type GetTargetRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetRequest) String() string
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
GetTargetResponderRecipeRequest wrapper for the GetTargetResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetResponderRecipe.go.html to see an example of how to use GetTargetResponderRecipeRequest.
type GetTargetResponderRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetResponderRecipeRequest) String() string
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
GetTargetResponderRecipeResponderRuleRequest wrapper for the GetTargetResponderRecipeResponderRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetTargetResponderRecipeResponderRule.go.html to see an example of how to use GetTargetResponderRecipeResponderRuleRequest.
type GetTargetResponderRecipeResponderRuleRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // The id of ResponderRule ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetTargetResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTargetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTargetResponderRecipeResponderRuleRequest) String() string
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
GetTargetResponderRecipeResponderRuleResponse wrapper for the GetTargetResponderRecipeResponderRule operation
type GetTargetResponderRecipeResponderRuleResponse struct { // The underlying http response RawResponse *http.Response // The TargetResponderRecipeResponderRule instance TargetResponderRecipeResponderRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponderRecipeResponderRuleResponse) String() string
GetTargetResponderRecipeResponse wrapper for the GetTargetResponderRecipe operation
type GetTargetResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetResponderRecipe instance TargetResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponderRecipeResponse) String() string
GetTargetResponse wrapper for the GetTarget operation
type GetTargetResponse struct { // The underlying http response RawResponse *http.Response // The Target instance Target `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTargetResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
ImpactedResourceCollection Provides the summary of impacted resources
type ImpactedResourceCollection struct { // List of ImpactedResourceSummary Items []ImpactedResourceSummary `mandatory:"true" json:"items"` }
func (m ImpactedResourceCollection) String() string
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
ImpactedResourceSummary A summary of detailed information on a resource that’s been impacted by a detected problem.
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"` }
func (m ImpactedResourceSummary) String() string
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
InsightTypeLoggingQueryDetails Additional details specific to insight type DataSource.
type InsightTypeLoggingQueryDetails struct { // The key entities count used for data source query KeyEntitiesCount *int `mandatory:"false" json:"keyEntitiesCount"` }
func (m InsightTypeLoggingQueryDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InsightTypeLoggingQueryDetails) String() string
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
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateInactive LifecycleStateEnum = "INACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListConditionMetadataTypesLifecycleStateEnum Enum with underlying type: string
type ListConditionMetadataTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesLifecycleStateEnum
const ( ListConditionMetadataTypesLifecycleStateCreating ListConditionMetadataTypesLifecycleStateEnum = "CREATING" ListConditionMetadataTypesLifecycleStateUpdating ListConditionMetadataTypesLifecycleStateEnum = "UPDATING" ListConditionMetadataTypesLifecycleStateActive ListConditionMetadataTypesLifecycleStateEnum = "ACTIVE" ListConditionMetadataTypesLifecycleStateInactive ListConditionMetadataTypesLifecycleStateEnum = "INACTIVE" ListConditionMetadataTypesLifecycleStateDeleting ListConditionMetadataTypesLifecycleStateEnum = "DELETING" ListConditionMetadataTypesLifecycleStateDeleted ListConditionMetadataTypesLifecycleStateEnum = "DELETED" ListConditionMetadataTypesLifecycleStateFailed ListConditionMetadataTypesLifecycleStateEnum = "FAILED" )
func GetListConditionMetadataTypesLifecycleStateEnumValues() []ListConditionMetadataTypesLifecycleStateEnum
GetListConditionMetadataTypesLifecycleStateEnumValues Enumerates the set of values for ListConditionMetadataTypesLifecycleStateEnum
func GetMappingListConditionMetadataTypesLifecycleStateEnum(val string) (ListConditionMetadataTypesLifecycleStateEnum, bool)
GetMappingListConditionMetadataTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListConditionMetadataTypesRequest wrapper for the ListConditionMetadataTypes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListConditionMetadataTypes.go.html to see an example of how to use ListConditionMetadataTypesRequest.
type ListConditionMetadataTypesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListConditionMetadataTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListConditionMetadataTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListConditionMetadataTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListConditionMetadataTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConditionMetadataTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConditionMetadataTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConditionMetadataTypesRequest) String() string
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
ListConditionMetadataTypesResponse wrapper for the ListConditionMetadataTypes operation
type ListConditionMetadataTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of ConditionMetadataTypeCollection instances ConditionMetadataTypeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListConditionMetadataTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConditionMetadataTypesResponse) String() string
ListConditionMetadataTypesSortByEnum Enum with underlying type: string
type ListConditionMetadataTypesSortByEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesSortByEnum
const ( ListConditionMetadataTypesSortByTimecreated ListConditionMetadataTypesSortByEnum = "timeCreated" ListConditionMetadataTypesSortByDisplayname ListConditionMetadataTypesSortByEnum = "displayName" )
func GetListConditionMetadataTypesSortByEnumValues() []ListConditionMetadataTypesSortByEnum
GetListConditionMetadataTypesSortByEnumValues Enumerates the set of values for ListConditionMetadataTypesSortByEnum
func GetMappingListConditionMetadataTypesSortByEnum(val string) (ListConditionMetadataTypesSortByEnum, bool)
GetMappingListConditionMetadataTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListConditionMetadataTypesSortOrderEnum Enum with underlying type: string
type ListConditionMetadataTypesSortOrderEnum string
Set of constants representing the allowable values for ListConditionMetadataTypesSortOrderEnum
const ( ListConditionMetadataTypesSortOrderAsc ListConditionMetadataTypesSortOrderEnum = "ASC" ListConditionMetadataTypesSortOrderDesc ListConditionMetadataTypesSortOrderEnum = "DESC" )
func GetListConditionMetadataTypesSortOrderEnumValues() []ListConditionMetadataTypesSortOrderEnum
GetListConditionMetadataTypesSortOrderEnumValues Enumerates the set of values for ListConditionMetadataTypesSortOrderEnum
func GetMappingListConditionMetadataTypesSortOrderEnum(val string) (ListConditionMetadataTypesSortOrderEnum, bool)
GetMappingListConditionMetadataTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataMaskRulesAccessLevelEnum Enum with underlying type: string
type ListDataMaskRulesAccessLevelEnum string
Set of constants representing the allowable values for ListDataMaskRulesAccessLevelEnum
const ( ListDataMaskRulesAccessLevelRestricted ListDataMaskRulesAccessLevelEnum = "RESTRICTED" ListDataMaskRulesAccessLevelAccessible ListDataMaskRulesAccessLevelEnum = "ACCESSIBLE" )
func GetListDataMaskRulesAccessLevelEnumValues() []ListDataMaskRulesAccessLevelEnum
GetListDataMaskRulesAccessLevelEnumValues Enumerates the set of values for ListDataMaskRulesAccessLevelEnum
func GetMappingListDataMaskRulesAccessLevelEnum(val string) (ListDataMaskRulesAccessLevelEnum, bool)
GetMappingListDataMaskRulesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataMaskRulesDataMaskRuleStatusEnum Enum with underlying type: string
type ListDataMaskRulesDataMaskRuleStatusEnum string
Set of constants representing the allowable values for ListDataMaskRulesDataMaskRuleStatusEnum
const ( ListDataMaskRulesDataMaskRuleStatusEnabled ListDataMaskRulesDataMaskRuleStatusEnum = "ENABLED" ListDataMaskRulesDataMaskRuleStatusDisabled ListDataMaskRulesDataMaskRuleStatusEnum = "DISABLED" )
func GetListDataMaskRulesDataMaskRuleStatusEnumValues() []ListDataMaskRulesDataMaskRuleStatusEnum
GetListDataMaskRulesDataMaskRuleStatusEnumValues Enumerates the set of values for ListDataMaskRulesDataMaskRuleStatusEnum
func GetMappingListDataMaskRulesDataMaskRuleStatusEnum(val string) (ListDataMaskRulesDataMaskRuleStatusEnum, bool)
GetMappingListDataMaskRulesDataMaskRuleStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataMaskRulesLifecycleStateEnum Enum with underlying type: string
type ListDataMaskRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDataMaskRulesLifecycleStateEnum
const ( ListDataMaskRulesLifecycleStateCreating ListDataMaskRulesLifecycleStateEnum = "CREATING" ListDataMaskRulesLifecycleStateUpdating ListDataMaskRulesLifecycleStateEnum = "UPDATING" ListDataMaskRulesLifecycleStateActive ListDataMaskRulesLifecycleStateEnum = "ACTIVE" ListDataMaskRulesLifecycleStateInactive ListDataMaskRulesLifecycleStateEnum = "INACTIVE" ListDataMaskRulesLifecycleStateDeleting ListDataMaskRulesLifecycleStateEnum = "DELETING" ListDataMaskRulesLifecycleStateDeleted ListDataMaskRulesLifecycleStateEnum = "DELETED" ListDataMaskRulesLifecycleStateFailed ListDataMaskRulesLifecycleStateEnum = "FAILED" )
func GetListDataMaskRulesLifecycleStateEnumValues() []ListDataMaskRulesLifecycleStateEnum
GetListDataMaskRulesLifecycleStateEnumValues Enumerates the set of values for ListDataMaskRulesLifecycleStateEnum
func GetMappingListDataMaskRulesLifecycleStateEnum(val string) (ListDataMaskRulesLifecycleStateEnum, bool)
GetMappingListDataMaskRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataMaskRulesRequest wrapper for the ListDataMaskRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDataMaskRules.go.html to see an example of how to use 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 }
func (request ListDataMaskRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataMaskRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataMaskRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataMaskRulesRequest) String() string
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
ListDataMaskRulesResponse wrapper for the ListDataMaskRules operation
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"` }
func (response ListDataMaskRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataMaskRulesResponse) String() string
ListDataMaskRulesSortByEnum Enum with underlying type: string
type ListDataMaskRulesSortByEnum string
Set of constants representing the allowable values for ListDataMaskRulesSortByEnum
const ( ListDataMaskRulesSortByTimecreated ListDataMaskRulesSortByEnum = "timeCreated" ListDataMaskRulesSortByDisplayname ListDataMaskRulesSortByEnum = "displayName" )
func GetListDataMaskRulesSortByEnumValues() []ListDataMaskRulesSortByEnum
GetListDataMaskRulesSortByEnumValues Enumerates the set of values for ListDataMaskRulesSortByEnum
func GetMappingListDataMaskRulesSortByEnum(val string) (ListDataMaskRulesSortByEnum, bool)
GetMappingListDataMaskRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataMaskRulesSortOrderEnum Enum with underlying type: string
type ListDataMaskRulesSortOrderEnum string
Set of constants representing the allowable values for ListDataMaskRulesSortOrderEnum
const ( ListDataMaskRulesSortOrderAsc ListDataMaskRulesSortOrderEnum = "ASC" ListDataMaskRulesSortOrderDesc ListDataMaskRulesSortOrderEnum = "DESC" )
func GetListDataMaskRulesSortOrderEnumValues() []ListDataMaskRulesSortOrderEnum
GetListDataMaskRulesSortOrderEnumValues Enumerates the set of values for ListDataMaskRulesSortOrderEnum
func GetMappingListDataMaskRulesSortOrderEnum(val string) (ListDataMaskRulesSortOrderEnum, bool)
GetMappingListDataMaskRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourceEventsRequest wrapper for the ListDataSourceEvents operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDataSourceEvents.go.html to see an example of how to use ListDataSourceEventsRequest.
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 }
func (request ListDataSourceEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataSourceEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataSourceEventsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataSourceEventsRequest) String() string
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
ListDataSourceEventsResponse wrapper for the ListDataSourceEvents operation
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"` }
func (response ListDataSourceEventsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataSourceEventsResponse) String() string
ListDataSourceEventsSortByEnum Enum with underlying type: string
type ListDataSourceEventsSortByEnum string
Set of constants representing the allowable values for ListDataSourceEventsSortByEnum
const ( ListDataSourceEventsSortByTimecreated ListDataSourceEventsSortByEnum = "timeCreated" )
func GetListDataSourceEventsSortByEnumValues() []ListDataSourceEventsSortByEnum
GetListDataSourceEventsSortByEnumValues Enumerates the set of values for ListDataSourceEventsSortByEnum
func GetMappingListDataSourceEventsSortByEnum(val string) (ListDataSourceEventsSortByEnum, bool)
GetMappingListDataSourceEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourceEventsSortOrderEnum Enum with underlying type: string
type ListDataSourceEventsSortOrderEnum string
Set of constants representing the allowable values for ListDataSourceEventsSortOrderEnum
const ( ListDataSourceEventsSortOrderAsc ListDataSourceEventsSortOrderEnum = "ASC" ListDataSourceEventsSortOrderDesc ListDataSourceEventsSortOrderEnum = "DESC" )
func GetListDataSourceEventsSortOrderEnumValues() []ListDataSourceEventsSortOrderEnum
GetListDataSourceEventsSortOrderEnumValues Enumerates the set of values for ListDataSourceEventsSortOrderEnum
func GetMappingListDataSourceEventsSortOrderEnum(val string) (ListDataSourceEventsSortOrderEnum, bool)
GetMappingListDataSourceEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesAccessLevelEnum Enum with underlying type: string
type ListDataSourcesAccessLevelEnum string
Set of constants representing the allowable values for ListDataSourcesAccessLevelEnum
const ( ListDataSourcesAccessLevelRestricted ListDataSourcesAccessLevelEnum = "RESTRICTED" ListDataSourcesAccessLevelAccessible ListDataSourcesAccessLevelEnum = "ACCESSIBLE" )
func GetListDataSourcesAccessLevelEnumValues() []ListDataSourcesAccessLevelEnum
GetListDataSourcesAccessLevelEnumValues Enumerates the set of values for ListDataSourcesAccessLevelEnum
func GetMappingListDataSourcesAccessLevelEnum(val string) (ListDataSourcesAccessLevelEnum, bool)
GetMappingListDataSourcesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesDataSourceFeedProviderEnum Enum with underlying type: string
type ListDataSourcesDataSourceFeedProviderEnum string
Set of constants representing the allowable values for ListDataSourcesDataSourceFeedProviderEnum
const ( ListDataSourcesDataSourceFeedProviderLoggingquery ListDataSourcesDataSourceFeedProviderEnum = "LOGGINGQUERY" )
func GetListDataSourcesDataSourceFeedProviderEnumValues() []ListDataSourcesDataSourceFeedProviderEnum
GetListDataSourcesDataSourceFeedProviderEnumValues Enumerates the set of values for ListDataSourcesDataSourceFeedProviderEnum
func GetMappingListDataSourcesDataSourceFeedProviderEnum(val string) (ListDataSourcesDataSourceFeedProviderEnum, bool)
GetMappingListDataSourcesDataSourceFeedProviderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesLifecycleStateEnum Enum with underlying type: string
type ListDataSourcesLifecycleStateEnum string
Set of constants representing the allowable values for ListDataSourcesLifecycleStateEnum
const ( ListDataSourcesLifecycleStateCreating ListDataSourcesLifecycleStateEnum = "CREATING" ListDataSourcesLifecycleStateUpdating ListDataSourcesLifecycleStateEnum = "UPDATING" ListDataSourcesLifecycleStateActive ListDataSourcesLifecycleStateEnum = "ACTIVE" ListDataSourcesLifecycleStateInactive ListDataSourcesLifecycleStateEnum = "INACTIVE" ListDataSourcesLifecycleStateDeleting ListDataSourcesLifecycleStateEnum = "DELETING" ListDataSourcesLifecycleStateDeleted ListDataSourcesLifecycleStateEnum = "DELETED" ListDataSourcesLifecycleStateFailed ListDataSourcesLifecycleStateEnum = "FAILED" )
func GetListDataSourcesLifecycleStateEnumValues() []ListDataSourcesLifecycleStateEnum
GetListDataSourcesLifecycleStateEnumValues Enumerates the set of values for ListDataSourcesLifecycleStateEnum
func GetMappingListDataSourcesLifecycleStateEnum(val string) (ListDataSourcesLifecycleStateEnum, bool)
GetMappingListDataSourcesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesLoggingQueryTypeEnum Enum with underlying type: string
type ListDataSourcesLoggingQueryTypeEnum string
Set of constants representing the allowable values for ListDataSourcesLoggingQueryTypeEnum
const ( ListDataSourcesLoggingQueryTypeInsight ListDataSourcesLoggingQueryTypeEnum = "INSIGHT" )
func GetListDataSourcesLoggingQueryTypeEnumValues() []ListDataSourcesLoggingQueryTypeEnum
GetListDataSourcesLoggingQueryTypeEnumValues Enumerates the set of values for ListDataSourcesLoggingQueryTypeEnum
func GetMappingListDataSourcesLoggingQueryTypeEnum(val string) (ListDataSourcesLoggingQueryTypeEnum, bool)
GetMappingListDataSourcesLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesRequest wrapper for the ListDataSources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDataSources.go.html to see an example of how to use ListDataSourcesRequest.
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 }
func (request ListDataSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDataSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDataSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDataSourcesRequest) String() string
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
ListDataSourcesResponse wrapper for the ListDataSources operation
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"` }
func (response ListDataSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDataSourcesResponse) String() string
ListDataSourcesSortByEnum Enum with underlying type: string
type ListDataSourcesSortByEnum string
Set of constants representing the allowable values for ListDataSourcesSortByEnum
const ( ListDataSourcesSortByTimecreated ListDataSourcesSortByEnum = "timeCreated" ListDataSourcesSortByDisplayname ListDataSourcesSortByEnum = "displayName" )
func GetListDataSourcesSortByEnumValues() []ListDataSourcesSortByEnum
GetListDataSourcesSortByEnumValues Enumerates the set of values for ListDataSourcesSortByEnum
func GetMappingListDataSourcesSortByEnum(val string) (ListDataSourcesSortByEnum, bool)
GetMappingListDataSourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDataSourcesSortOrderEnum Enum with underlying type: string
type ListDataSourcesSortOrderEnum string
Set of constants representing the allowable values for ListDataSourcesSortOrderEnum
const ( ListDataSourcesSortOrderAsc ListDataSourcesSortOrderEnum = "ASC" ListDataSourcesSortOrderDesc ListDataSourcesSortOrderEnum = "DESC" )
func GetListDataSourcesSortOrderEnumValues() []ListDataSourcesSortOrderEnum
GetListDataSourcesSortOrderEnumValues Enumerates the set of values for ListDataSourcesSortOrderEnum
func GetMappingListDataSourcesSortOrderEnum(val string) (ListDataSourcesSortOrderEnum, bool)
GetMappingListDataSourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesLifecycleStateEnum
const ( ListDetectorRecipeDetectorRulesLifecycleStateCreating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING" ListDetectorRecipeDetectorRulesLifecycleStateUpdating ListDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING" ListDetectorRecipeDetectorRulesLifecycleStateActive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE" ListDetectorRecipeDetectorRulesLifecycleStateInactive ListDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE" ListDetectorRecipeDetectorRulesLifecycleStateDeleting ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING" ListDetectorRecipeDetectorRulesLifecycleStateDeleted ListDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED" ListDetectorRecipeDetectorRulesLifecycleStateFailed ListDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListDetectorRecipeDetectorRulesLifecycleStateEnum
GetListDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesLifecycleStateEnum
func GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListDetectorRecipeDetectorRulesLifecycleStateEnum, bool)
GetMappingListDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipeDetectorRulesRequest wrapper for the ListDetectorRecipeDetectorRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectorRecipeDetectorRules.go.html to see an example of how to use ListDetectorRecipeDetectorRulesRequest.
type ListDetectorRecipeDetectorRulesRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDetectorRecipeDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRecipeDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRecipeDetectorRulesRequest) String() string
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
ListDetectorRecipeDetectorRulesResponse wrapper for the ListDetectorRecipeDetectorRules operation
type ListDetectorRecipeDetectorRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of DetectorRecipeDetectorRuleCollection instances DetectorRecipeDetectorRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRecipeDetectorRulesResponse) String() string
ListDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortByEnum
const ( ListDetectorRecipeDetectorRulesSortByDisplayname ListDetectorRecipeDetectorRulesSortByEnum = "displayName" ListDetectorRecipeDetectorRulesSortByRisklevel ListDetectorRecipeDetectorRulesSortByEnum = "riskLevel" )
func GetListDetectorRecipeDetectorRulesSortByEnumValues() []ListDetectorRecipeDetectorRulesSortByEnum
GetListDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortByEnum
func GetMappingListDetectorRecipeDetectorRulesSortByEnum(val string) (ListDetectorRecipeDetectorRulesSortByEnum, bool)
GetMappingListDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string
type ListDetectorRecipeDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRecipeDetectorRulesSortOrderEnum
const ( ListDetectorRecipeDetectorRulesSortOrderAsc ListDetectorRecipeDetectorRulesSortOrderEnum = "ASC" ListDetectorRecipeDetectorRulesSortOrderDesc ListDetectorRecipeDetectorRulesSortOrderEnum = "DESC" )
func GetListDetectorRecipeDetectorRulesSortOrderEnumValues() []ListDetectorRecipeDetectorRulesSortOrderEnum
GetListDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipeDetectorRulesSortOrderEnum
func GetMappingListDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListDetectorRecipeDetectorRulesSortOrderEnum, bool)
GetMappingListDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipesAccessLevelEnum Enum with underlying type: string
type ListDetectorRecipesAccessLevelEnum string
Set of constants representing the allowable values for ListDetectorRecipesAccessLevelEnum
const ( ListDetectorRecipesAccessLevelRestricted ListDetectorRecipesAccessLevelEnum = "RESTRICTED" ListDetectorRecipesAccessLevelAccessible ListDetectorRecipesAccessLevelEnum = "ACCESSIBLE" )
func GetListDetectorRecipesAccessLevelEnumValues() []ListDetectorRecipesAccessLevelEnum
GetListDetectorRecipesAccessLevelEnumValues Enumerates the set of values for ListDetectorRecipesAccessLevelEnum
func GetMappingListDetectorRecipesAccessLevelEnum(val string) (ListDetectorRecipesAccessLevelEnum, bool)
GetMappingListDetectorRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRecipesLifecycleStateEnum
const ( ListDetectorRecipesLifecycleStateCreating ListDetectorRecipesLifecycleStateEnum = "CREATING" ListDetectorRecipesLifecycleStateUpdating ListDetectorRecipesLifecycleStateEnum = "UPDATING" ListDetectorRecipesLifecycleStateActive ListDetectorRecipesLifecycleStateEnum = "ACTIVE" ListDetectorRecipesLifecycleStateInactive ListDetectorRecipesLifecycleStateEnum = "INACTIVE" ListDetectorRecipesLifecycleStateDeleting ListDetectorRecipesLifecycleStateEnum = "DELETING" ListDetectorRecipesLifecycleStateDeleted ListDetectorRecipesLifecycleStateEnum = "DELETED" ListDetectorRecipesLifecycleStateFailed ListDetectorRecipesLifecycleStateEnum = "FAILED" )
func GetListDetectorRecipesLifecycleStateEnumValues() []ListDetectorRecipesLifecycleStateEnum
GetListDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRecipesLifecycleStateEnum
func GetMappingListDetectorRecipesLifecycleStateEnum(val string) (ListDetectorRecipesLifecycleStateEnum, bool)
GetMappingListDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipesRequest wrapper for the ListDetectorRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectorRecipes.go.html to see an example of how to use ListDetectorRecipesRequest.
type ListDetectorRecipesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Default is false. // When set to true, the list of all Oracle Managed Resources // Metadata supported by Cloud Guard 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 }
func (request ListDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRecipesRequest) String() string
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
ListDetectorRecipesResponse wrapper for the ListDetectorRecipes operation
type ListDetectorRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of DetectorRecipeCollection instances DetectorRecipeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDetectorRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRecipesResponse) String() string
ListDetectorRecipesSortByEnum Enum with underlying type: string
type ListDetectorRecipesSortByEnum string
Set of constants representing the allowable values for ListDetectorRecipesSortByEnum
const ( ListDetectorRecipesSortByTimecreated ListDetectorRecipesSortByEnum = "timeCreated" ListDetectorRecipesSortByDisplayname ListDetectorRecipesSortByEnum = "displayName" )
func GetListDetectorRecipesSortByEnumValues() []ListDetectorRecipesSortByEnum
GetListDetectorRecipesSortByEnumValues Enumerates the set of values for ListDetectorRecipesSortByEnum
func GetMappingListDetectorRecipesSortByEnum(val string) (ListDetectorRecipesSortByEnum, bool)
GetMappingListDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRecipesSortOrderEnum Enum with underlying type: string
type ListDetectorRecipesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRecipesSortOrderEnum
const ( ListDetectorRecipesSortOrderAsc ListDetectorRecipesSortOrderEnum = "ASC" ListDetectorRecipesSortOrderDesc ListDetectorRecipesSortOrderEnum = "DESC" )
func GetListDetectorRecipesSortOrderEnumValues() []ListDetectorRecipesSortOrderEnum
GetListDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListDetectorRecipesSortOrderEnum
func GetMappingListDetectorRecipesSortOrderEnum(val string) (ListDetectorRecipesSortOrderEnum, bool)
GetMappingListDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorRulesLifecycleStateEnum
const ( ListDetectorRulesLifecycleStateCreating ListDetectorRulesLifecycleStateEnum = "CREATING" ListDetectorRulesLifecycleStateUpdating ListDetectorRulesLifecycleStateEnum = "UPDATING" ListDetectorRulesLifecycleStateActive ListDetectorRulesLifecycleStateEnum = "ACTIVE" ListDetectorRulesLifecycleStateInactive ListDetectorRulesLifecycleStateEnum = "INACTIVE" ListDetectorRulesLifecycleStateDeleting ListDetectorRulesLifecycleStateEnum = "DELETING" ListDetectorRulesLifecycleStateDeleted ListDetectorRulesLifecycleStateEnum = "DELETED" ListDetectorRulesLifecycleStateFailed ListDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListDetectorRulesLifecycleStateEnumValues() []ListDetectorRulesLifecycleStateEnum
GetListDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListDetectorRulesLifecycleStateEnum
func GetMappingListDetectorRulesLifecycleStateEnum(val string) (ListDetectorRulesLifecycleStateEnum, bool)
GetMappingListDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRulesRequest wrapper for the ListDetectorRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectorRules.go.html to see an example of how to use ListDetectorRulesRequest.
type ListDetectorRulesRequest struct { // The Name of Detector. DetectorId *string `mandatory:"true" contributesTo:"path" name:"detectorId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorRulesRequest) String() string
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
ListDetectorRulesResponse wrapper for the ListDetectorRules operation
type ListDetectorRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of DetectorRuleCollection instances DetectorRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorRulesResponse) String() string
ListDetectorRulesSortByEnum Enum with underlying type: string
type ListDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListDetectorRulesSortByEnum
const ( ListDetectorRulesSortByTimecreated ListDetectorRulesSortByEnum = "timeCreated" ListDetectorRulesSortByDisplayname ListDetectorRulesSortByEnum = "displayName" )
func GetListDetectorRulesSortByEnumValues() []ListDetectorRulesSortByEnum
GetListDetectorRulesSortByEnumValues Enumerates the set of values for ListDetectorRulesSortByEnum
func GetMappingListDetectorRulesSortByEnum(val string) (ListDetectorRulesSortByEnum, bool)
GetMappingListDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorRulesSortOrderEnum Enum with underlying type: string
type ListDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListDetectorRulesSortOrderEnum
const ( ListDetectorRulesSortOrderAsc ListDetectorRulesSortOrderEnum = "ASC" ListDetectorRulesSortOrderDesc ListDetectorRulesSortOrderEnum = "DESC" )
func GetListDetectorRulesSortOrderEnumValues() []ListDetectorRulesSortOrderEnum
GetListDetectorRulesSortOrderEnumValues Enumerates the set of values for ListDetectorRulesSortOrderEnum
func GetMappingListDetectorRulesSortOrderEnum(val string) (ListDetectorRulesSortOrderEnum, bool)
GetMappingListDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorsLifecycleStateEnum Enum with underlying type: string
type ListDetectorsLifecycleStateEnum string
Set of constants representing the allowable values for ListDetectorsLifecycleStateEnum
const ( ListDetectorsLifecycleStateCreating ListDetectorsLifecycleStateEnum = "CREATING" ListDetectorsLifecycleStateUpdating ListDetectorsLifecycleStateEnum = "UPDATING" ListDetectorsLifecycleStateActive ListDetectorsLifecycleStateEnum = "ACTIVE" ListDetectorsLifecycleStateInactive ListDetectorsLifecycleStateEnum = "INACTIVE" ListDetectorsLifecycleStateDeleting ListDetectorsLifecycleStateEnum = "DELETING" ListDetectorsLifecycleStateDeleted ListDetectorsLifecycleStateEnum = "DELETED" ListDetectorsLifecycleStateFailed ListDetectorsLifecycleStateEnum = "FAILED" )
func GetListDetectorsLifecycleStateEnumValues() []ListDetectorsLifecycleStateEnum
GetListDetectorsLifecycleStateEnumValues Enumerates the set of values for ListDetectorsLifecycleStateEnum
func GetMappingListDetectorsLifecycleStateEnum(val string) (ListDetectorsLifecycleStateEnum, bool)
GetMappingListDetectorsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorsRequest wrapper for the ListDetectors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListDetectors.go.html to see an example of how to use ListDetectorsRequest.
type ListDetectorsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListDetectorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDetectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListDetectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDetectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDetectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDetectorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDetectorsRequest) String() string
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
ListDetectorsResponse wrapper for the ListDetectors operation
type ListDetectorsResponse struct { // The underlying http response RawResponse *http.Response // A list of DetectorCollection instances DetectorCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDetectorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDetectorsResponse) String() string
ListDetectorsSortByEnum Enum with underlying type: string
type ListDetectorsSortByEnum string
Set of constants representing the allowable values for ListDetectorsSortByEnum
const ( ListDetectorsSortByTimecreated ListDetectorsSortByEnum = "timeCreated" ListDetectorsSortByDisplayname ListDetectorsSortByEnum = "displayName" )
func GetListDetectorsSortByEnumValues() []ListDetectorsSortByEnum
GetListDetectorsSortByEnumValues Enumerates the set of values for ListDetectorsSortByEnum
func GetMappingListDetectorsSortByEnum(val string) (ListDetectorsSortByEnum, bool)
GetMappingListDetectorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDetectorsSortOrderEnum Enum with underlying type: string
type ListDetectorsSortOrderEnum string
Set of constants representing the allowable values for ListDetectorsSortOrderEnum
const ( ListDetectorsSortOrderAsc ListDetectorsSortOrderEnum = "ASC" ListDetectorsSortOrderDesc ListDetectorsSortOrderEnum = "DESC" )
func GetListDetectorsSortOrderEnumValues() []ListDetectorsSortOrderEnum
GetListDetectorsSortOrderEnumValues Enumerates the set of values for ListDetectorsSortOrderEnum
func GetMappingListDetectorsSortOrderEnum(val string) (ListDetectorsSortOrderEnum, bool)
GetMappingListDetectorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListImpactedResourcesRequest wrapper for the ListImpactedResources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListImpactedResources.go.html to see an example of how to use ListImpactedResourcesRequest.
type ListImpactedResourcesRequest struct { // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListImpactedResourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. SortBy ListImpactedResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListImpactedResourcesRequest) String() string
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
ListImpactedResourcesResponse wrapper for the ListImpactedResources operation
type ListImpactedResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of ImpactedResourceCollection instances ImpactedResourceCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListImpactedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListImpactedResourcesResponse) String() string
ListImpactedResourcesSortByEnum Enum with underlying type: string
type ListImpactedResourcesSortByEnum string
Set of constants representing the allowable values for ListImpactedResourcesSortByEnum
const ( ListImpactedResourcesSortByTimecreated ListImpactedResourcesSortByEnum = "timeCreated" )
func GetListImpactedResourcesSortByEnumValues() []ListImpactedResourcesSortByEnum
GetListImpactedResourcesSortByEnumValues Enumerates the set of values for ListImpactedResourcesSortByEnum
func GetMappingListImpactedResourcesSortByEnum(val string) (ListImpactedResourcesSortByEnum, bool)
GetMappingListImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListImpactedResourcesSortOrderEnum Enum with underlying type: string
type ListImpactedResourcesSortOrderEnum string
Set of constants representing the allowable values for ListImpactedResourcesSortOrderEnum
const ( ListImpactedResourcesSortOrderAsc ListImpactedResourcesSortOrderEnum = "ASC" ListImpactedResourcesSortOrderDesc ListImpactedResourcesSortOrderEnum = "DESC" )
func GetListImpactedResourcesSortOrderEnumValues() []ListImpactedResourcesSortOrderEnum
GetListImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListImpactedResourcesSortOrderEnum
func GetMappingListImpactedResourcesSortOrderEnum(val string) (ListImpactedResourcesSortOrderEnum, bool)
GetMappingListImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListTypesLifecycleStateEnum Enum with underlying type: string
type ListManagedListTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedListTypesLifecycleStateEnum
const ( ListManagedListTypesLifecycleStateCreating ListManagedListTypesLifecycleStateEnum = "CREATING" ListManagedListTypesLifecycleStateUpdating ListManagedListTypesLifecycleStateEnum = "UPDATING" ListManagedListTypesLifecycleStateActive ListManagedListTypesLifecycleStateEnum = "ACTIVE" ListManagedListTypesLifecycleStateInactive ListManagedListTypesLifecycleStateEnum = "INACTIVE" ListManagedListTypesLifecycleStateDeleting ListManagedListTypesLifecycleStateEnum = "DELETING" ListManagedListTypesLifecycleStateDeleted ListManagedListTypesLifecycleStateEnum = "DELETED" ListManagedListTypesLifecycleStateFailed ListManagedListTypesLifecycleStateEnum = "FAILED" )
func GetListManagedListTypesLifecycleStateEnumValues() []ListManagedListTypesLifecycleStateEnum
GetListManagedListTypesLifecycleStateEnumValues Enumerates the set of values for ListManagedListTypesLifecycleStateEnum
func GetMappingListManagedListTypesLifecycleStateEnum(val string) (ListManagedListTypesLifecycleStateEnum, bool)
GetMappingListManagedListTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListTypesRequest wrapper for the ListManagedListTypes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListManagedListTypes.go.html to see an example of how to use ListManagedListTypesRequest.
type ListManagedListTypesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListManagedListTypesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagedListTypesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListManagedListTypesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagedListTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedListTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedListTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedListTypesRequest) String() string
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
ListManagedListTypesResponse wrapper for the ListManagedListTypes operation
type ListManagedListTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedListTypeCollection instances ManagedListTypeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedListTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedListTypesResponse) String() string
ListManagedListTypesSortByEnum Enum with underlying type: string
type ListManagedListTypesSortByEnum string
Set of constants representing the allowable values for ListManagedListTypesSortByEnum
const ( ListManagedListTypesSortByDisplayname ListManagedListTypesSortByEnum = "displayName" ListManagedListTypesSortByRisklevel ListManagedListTypesSortByEnum = "riskLevel" )
func GetListManagedListTypesSortByEnumValues() []ListManagedListTypesSortByEnum
GetListManagedListTypesSortByEnumValues Enumerates the set of values for ListManagedListTypesSortByEnum
func GetMappingListManagedListTypesSortByEnum(val string) (ListManagedListTypesSortByEnum, bool)
GetMappingListManagedListTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListTypesSortOrderEnum Enum with underlying type: string
type ListManagedListTypesSortOrderEnum string
Set of constants representing the allowable values for ListManagedListTypesSortOrderEnum
const ( ListManagedListTypesSortOrderAsc ListManagedListTypesSortOrderEnum = "ASC" ListManagedListTypesSortOrderDesc ListManagedListTypesSortOrderEnum = "DESC" )
func GetListManagedListTypesSortOrderEnumValues() []ListManagedListTypesSortOrderEnum
GetListManagedListTypesSortOrderEnumValues Enumerates the set of values for ListManagedListTypesSortOrderEnum
func GetMappingListManagedListTypesSortOrderEnum(val string) (ListManagedListTypesSortOrderEnum, bool)
GetMappingListManagedListTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListsAccessLevelEnum Enum with underlying type: string
type ListManagedListsAccessLevelEnum string
Set of constants representing the allowable values for ListManagedListsAccessLevelEnum
const ( ListManagedListsAccessLevelRestricted ListManagedListsAccessLevelEnum = "RESTRICTED" ListManagedListsAccessLevelAccessible ListManagedListsAccessLevelEnum = "ACCESSIBLE" )
func GetListManagedListsAccessLevelEnumValues() []ListManagedListsAccessLevelEnum
GetListManagedListsAccessLevelEnumValues Enumerates the set of values for ListManagedListsAccessLevelEnum
func GetMappingListManagedListsAccessLevelEnum(val string) (ListManagedListsAccessLevelEnum, bool)
GetMappingListManagedListsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListsLifecycleStateEnum Enum with underlying type: string
type ListManagedListsLifecycleStateEnum string
Set of constants representing the allowable values for ListManagedListsLifecycleStateEnum
const ( ListManagedListsLifecycleStateCreating ListManagedListsLifecycleStateEnum = "CREATING" ListManagedListsLifecycleStateUpdating ListManagedListsLifecycleStateEnum = "UPDATING" ListManagedListsLifecycleStateActive ListManagedListsLifecycleStateEnum = "ACTIVE" ListManagedListsLifecycleStateInactive ListManagedListsLifecycleStateEnum = "INACTIVE" ListManagedListsLifecycleStateDeleting ListManagedListsLifecycleStateEnum = "DELETING" ListManagedListsLifecycleStateDeleted ListManagedListsLifecycleStateEnum = "DELETED" ListManagedListsLifecycleStateFailed ListManagedListsLifecycleStateEnum = "FAILED" )
func GetListManagedListsLifecycleStateEnumValues() []ListManagedListsLifecycleStateEnum
GetListManagedListsLifecycleStateEnumValues Enumerates the set of values for ListManagedListsLifecycleStateEnum
func GetMappingListManagedListsLifecycleStateEnum(val string) (ListManagedListsLifecycleStateEnum, bool)
GetMappingListManagedListsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListsListTypeEnum Enum with underlying type: string
type ListManagedListsListTypeEnum string
Set of constants representing the allowable values for ListManagedListsListTypeEnum
const ( ListManagedListsListTypeCidrBlock ListManagedListsListTypeEnum = "CIDR_BLOCK" ListManagedListsListTypeUsers ListManagedListsListTypeEnum = "USERS" ListManagedListsListTypeGroups ListManagedListsListTypeEnum = "GROUPS" ListManagedListsListTypeIpv4address ListManagedListsListTypeEnum = "IPV4ADDRESS" ListManagedListsListTypeIpv6address ListManagedListsListTypeEnum = "IPV6ADDRESS" ListManagedListsListTypeResourceOcid ListManagedListsListTypeEnum = "RESOURCE_OCID" ListManagedListsListTypeRegion ListManagedListsListTypeEnum = "REGION" ListManagedListsListTypeCountry ListManagedListsListTypeEnum = "COUNTRY" ListManagedListsListTypeState ListManagedListsListTypeEnum = "STATE" ListManagedListsListTypeCity ListManagedListsListTypeEnum = "CITY" ListManagedListsListTypeTags ListManagedListsListTypeEnum = "TAGS" ListManagedListsListTypeGeneric ListManagedListsListTypeEnum = "GENERIC" ListManagedListsListTypeFusionAppsRole ListManagedListsListTypeEnum = "FUSION_APPS_ROLE" ListManagedListsListTypeFusionAppsPermission ListManagedListsListTypeEnum = "FUSION_APPS_PERMISSION" )
func GetListManagedListsListTypeEnumValues() []ListManagedListsListTypeEnum
GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum
func GetMappingListManagedListsListTypeEnum(val string) (ListManagedListsListTypeEnum, bool)
GetMappingListManagedListsListTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListsRequest wrapper for the ListManagedLists operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListManagedLists.go.html to see an example of how to use ListManagedListsRequest.
type ListManagedListsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Default is false. // When set to true, the list of all Oracle Managed Resources // Metadata supported by Cloud Guard 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 }
func (request ListManagedListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListManagedListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagedListsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagedListsRequest) String() string
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
ListManagedListsResponse wrapper for the ListManagedLists operation
type ListManagedListsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedListCollection instances ManagedListCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagedListsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagedListsResponse) String() string
ListManagedListsSortByEnum Enum with underlying type: string
type ListManagedListsSortByEnum string
Set of constants representing the allowable values for ListManagedListsSortByEnum
const ( ListManagedListsSortByTimecreated ListManagedListsSortByEnum = "timeCreated" ListManagedListsSortByDisplayname ListManagedListsSortByEnum = "displayName" )
func GetListManagedListsSortByEnumValues() []ListManagedListsSortByEnum
GetListManagedListsSortByEnumValues Enumerates the set of values for ListManagedListsSortByEnum
func GetMappingListManagedListsSortByEnum(val string) (ListManagedListsSortByEnum, bool)
GetMappingListManagedListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListManagedListsSortOrderEnum Enum with underlying type: string
type ListManagedListsSortOrderEnum string
Set of constants representing the allowable values for ListManagedListsSortOrderEnum
const ( ListManagedListsSortOrderAsc ListManagedListsSortOrderEnum = "ASC" ListManagedListsSortOrderDesc ListManagedListsSortOrderEnum = "DESC" )
func GetListManagedListsSortOrderEnumValues() []ListManagedListsSortOrderEnum
GetListManagedListsSortOrderEnumValues Enumerates the set of values for ListManagedListsSortOrderEnum
func GetMappingListManagedListsSortOrderEnum(val string) (ListManagedListsSortOrderEnum, bool)
GetMappingListManagedListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPoliciesRequest wrapper for the ListPolicies operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListPolicies.go.html to see an example of how to use 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 }
func (request ListPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPoliciesRequest) String() string
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
ListPoliciesResponse wrapper for the ListPolicies operation
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"` }
func (response ListPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPoliciesResponse) String() string
ListPoliciesSortByEnum Enum with underlying type: string
type ListPoliciesSortByEnum string
Set of constants representing the allowable values for ListPoliciesSortByEnum
const ( ListPoliciesSortByTimecreated ListPoliciesSortByEnum = "timeCreated" ListPoliciesSortByDisplayname ListPoliciesSortByEnum = "displayName" )
func GetListPoliciesSortByEnumValues() []ListPoliciesSortByEnum
GetListPoliciesSortByEnumValues Enumerates the set of values for ListPoliciesSortByEnum
func GetMappingListPoliciesSortByEnum(val string) (ListPoliciesSortByEnum, bool)
GetMappingListPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPoliciesSortOrderEnum Enum with underlying type: string
type ListPoliciesSortOrderEnum string
Set of constants representing the allowable values for ListPoliciesSortOrderEnum
const ( ListPoliciesSortOrderAsc ListPoliciesSortOrderEnum = "ASC" ListPoliciesSortOrderDesc ListPoliciesSortOrderEnum = "DESC" )
func GetListPoliciesSortOrderEnumValues() []ListPoliciesSortOrderEnum
GetListPoliciesSortOrderEnumValues Enumerates the set of values for ListPoliciesSortOrderEnum
func GetMappingListPoliciesSortOrderEnum(val string) (ListPoliciesSortOrderEnum, bool)
GetMappingListPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemEndpointsRequest wrapper for the ListProblemEndpoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblemEndpoints.go.html to see an example of how to use 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 }
func (request ListProblemEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProblemEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemEndpointsRequest) String() string
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
ListProblemEndpointsResponse wrapper for the ListProblemEndpoints operation
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"` }
func (response ListProblemEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemEndpointsResponse) String() string
ListProblemEndpointsSortByEnum Enum with underlying type: string
type ListProblemEndpointsSortByEnum string
Set of constants representing the allowable values for ListProblemEndpointsSortByEnum
const ( ListProblemEndpointsSortByTimecreated ListProblemEndpointsSortByEnum = "timeCreated" )
func GetListProblemEndpointsSortByEnumValues() []ListProblemEndpointsSortByEnum
GetListProblemEndpointsSortByEnumValues Enumerates the set of values for ListProblemEndpointsSortByEnum
func GetMappingListProblemEndpointsSortByEnum(val string) (ListProblemEndpointsSortByEnum, bool)
GetMappingListProblemEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemEndpointsSortOrderEnum Enum with underlying type: string
type ListProblemEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListProblemEndpointsSortOrderEnum
const ( ListProblemEndpointsSortOrderAsc ListProblemEndpointsSortOrderEnum = "ASC" ListProblemEndpointsSortOrderDesc ListProblemEndpointsSortOrderEnum = "DESC" )
func GetListProblemEndpointsSortOrderEnumValues() []ListProblemEndpointsSortOrderEnum
GetListProblemEndpointsSortOrderEnumValues Enumerates the set of values for ListProblemEndpointsSortOrderEnum
func GetMappingListProblemEndpointsSortOrderEnum(val string) (ListProblemEndpointsSortOrderEnum, bool)
GetMappingListProblemEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemEntitiesRequest wrapper for the ListProblemEntities operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblemEntities.go.html to see an example of how to use ListProblemEntitiesRequest.
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 }
func (request ListProblemEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProblemEntitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemEntitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemEntitiesRequest) String() string
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
ListProblemEntitiesResponse wrapper for the ListProblemEntities operation
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"` }
func (response ListProblemEntitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemEntitiesResponse) String() string
ListProblemEntitiesSortByEnum Enum with underlying type: string
type ListProblemEntitiesSortByEnum string
Set of constants representing the allowable values for ListProblemEntitiesSortByEnum
const ( ListProblemEntitiesSortByTimecreated ListProblemEntitiesSortByEnum = "timeCreated" )
func GetListProblemEntitiesSortByEnumValues() []ListProblemEntitiesSortByEnum
GetListProblemEntitiesSortByEnumValues Enumerates the set of values for ListProblemEntitiesSortByEnum
func GetMappingListProblemEntitiesSortByEnum(val string) (ListProblemEntitiesSortByEnum, bool)
GetMappingListProblemEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemEntitiesSortOrderEnum Enum with underlying type: string
type ListProblemEntitiesSortOrderEnum string
Set of constants representing the allowable values for ListProblemEntitiesSortOrderEnum
const ( ListProblemEntitiesSortOrderAsc ListProblemEntitiesSortOrderEnum = "ASC" ListProblemEntitiesSortOrderDesc ListProblemEntitiesSortOrderEnum = "DESC" )
func GetListProblemEntitiesSortOrderEnumValues() []ListProblemEntitiesSortOrderEnum
GetListProblemEntitiesSortOrderEnumValues Enumerates the set of values for ListProblemEntitiesSortOrderEnum
func GetMappingListProblemEntitiesSortOrderEnum(val string) (ListProblemEntitiesSortOrderEnum, bool)
GetMappingListProblemEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemHistoriesRequest wrapper for the ListProblemHistories operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblemHistories.go.html to see an example of how to use ListProblemHistoriesRequest.
type ListProblemHistoriesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListProblemHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. SortBy ListProblemHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProblemHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProblemHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemHistoriesRequest) String() string
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
ListProblemHistoriesResponse wrapper for the ListProblemHistories operation
type ListProblemHistoriesResponse struct { // The underlying http response RawResponse *http.Response // A list of ProblemHistoryCollection instances ProblemHistoryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProblemHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemHistoriesResponse) String() string
ListProblemHistoriesSortByEnum Enum with underlying type: string
type ListProblemHistoriesSortByEnum string
Set of constants representing the allowable values for ListProblemHistoriesSortByEnum
const ( ListProblemHistoriesSortByTimecreated ListProblemHistoriesSortByEnum = "timeCreated" )
func GetListProblemHistoriesSortByEnumValues() []ListProblemHistoriesSortByEnum
GetListProblemHistoriesSortByEnumValues Enumerates the set of values for ListProblemHistoriesSortByEnum
func GetMappingListProblemHistoriesSortByEnum(val string) (ListProblemHistoriesSortByEnum, bool)
GetMappingListProblemHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemHistoriesSortOrderEnum Enum with underlying type: string
type ListProblemHistoriesSortOrderEnum string
Set of constants representing the allowable values for ListProblemHistoriesSortOrderEnum
const ( ListProblemHistoriesSortOrderAsc ListProblemHistoriesSortOrderEnum = "ASC" ListProblemHistoriesSortOrderDesc ListProblemHistoriesSortOrderEnum = "DESC" )
func GetListProblemHistoriesSortOrderEnumValues() []ListProblemHistoriesSortOrderEnum
GetListProblemHistoriesSortOrderEnumValues Enumerates the set of values for ListProblemHistoriesSortOrderEnum
func GetMappingListProblemHistoriesSortOrderEnum(val string) (ListProblemHistoriesSortOrderEnum, bool)
GetMappingListProblemHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsAccessLevelEnum Enum with underlying type: string
type ListProblemsAccessLevelEnum string
Set of constants representing the allowable values for ListProblemsAccessLevelEnum
const ( ListProblemsAccessLevelRestricted ListProblemsAccessLevelEnum = "RESTRICTED" ListProblemsAccessLevelAccessible ListProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetListProblemsAccessLevelEnumValues() []ListProblemsAccessLevelEnum
GetListProblemsAccessLevelEnumValues Enumerates the set of values for ListProblemsAccessLevelEnum
func GetMappingListProblemsAccessLevelEnum(val string) (ListProblemsAccessLevelEnum, bool)
GetMappingListProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsDetectorTypeEnum Enum with underlying type: string
type ListProblemsDetectorTypeEnum string
Set of constants representing the allowable values for ListProblemsDetectorTypeEnum
const ( ListProblemsDetectorTypeActivityDetector ListProblemsDetectorTypeEnum = "IAAS_ACTIVITY_DETECTOR" ListProblemsDetectorTypeConfigurationDetector ListProblemsDetectorTypeEnum = "IAAS_CONFIGURATION_DETECTOR" ListProblemsDetectorTypeThreatDetector ListProblemsDetectorTypeEnum = "IAAS_THREAT_DETECTOR" ListProblemsDetectorTypeLogInsightDetector ListProblemsDetectorTypeEnum = "IAAS_LOG_INSIGHT_DETECTOR" )
func GetListProblemsDetectorTypeEnumValues() []ListProblemsDetectorTypeEnum
GetListProblemsDetectorTypeEnumValues Enumerates the set of values for ListProblemsDetectorTypeEnum
func GetMappingListProblemsDetectorTypeEnum(val string) (ListProblemsDetectorTypeEnum, bool)
GetMappingListProblemsDetectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsLifecycleDetailEnum Enum with underlying type: string
type ListProblemsLifecycleDetailEnum string
Set of constants representing the allowable values for ListProblemsLifecycleDetailEnum
const ( ListProblemsLifecycleDetailOpen ListProblemsLifecycleDetailEnum = "OPEN" ListProblemsLifecycleDetailResolved ListProblemsLifecycleDetailEnum = "RESOLVED" ListProblemsLifecycleDetailDismissed ListProblemsLifecycleDetailEnum = "DISMISSED" ListProblemsLifecycleDetailDeleted ListProblemsLifecycleDetailEnum = "DELETED" )
func GetListProblemsLifecycleDetailEnumValues() []ListProblemsLifecycleDetailEnum
GetListProblemsLifecycleDetailEnumValues Enumerates the set of values for ListProblemsLifecycleDetailEnum
func GetMappingListProblemsLifecycleDetailEnum(val string) (ListProblemsLifecycleDetailEnum, bool)
GetMappingListProblemsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsLifecycleStateEnum Enum with underlying type: string
type ListProblemsLifecycleStateEnum string
Set of constants representing the allowable values for ListProblemsLifecycleStateEnum
const ( ListProblemsLifecycleStateActive ListProblemsLifecycleStateEnum = "ACTIVE" ListProblemsLifecycleStateInactive ListProblemsLifecycleStateEnum = "INACTIVE" )
func GetListProblemsLifecycleStateEnumValues() []ListProblemsLifecycleStateEnum
GetListProblemsLifecycleStateEnumValues Enumerates the set of values for ListProblemsLifecycleStateEnum
func GetMappingListProblemsLifecycleStateEnum(val string) (ListProblemsLifecycleStateEnum, bool)
GetMappingListProblemsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsProblemCategoryEnum Enum with underlying type: string
type ListProblemsProblemCategoryEnum string
Set of constants representing the allowable values for ListProblemsProblemCategoryEnum
const ( ListProblemsProblemCategorySecurityZone ListProblemsProblemCategoryEnum = "SECURITY_ZONE" )
func GetListProblemsProblemCategoryEnumValues() []ListProblemsProblemCategoryEnum
GetListProblemsProblemCategoryEnumValues Enumerates the set of values for ListProblemsProblemCategoryEnum
func GetMappingListProblemsProblemCategoryEnum(val string) (ListProblemsProblemCategoryEnum, bool)
GetMappingListProblemsProblemCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsRequest wrapper for the ListProblems operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListProblems.go.html to see an example of how to use ListProblemsRequest.
type ListProblemsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Start time for a filter. If start time is not specified, start time will be set to 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 }
func (request ListProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProblemsRequest) String() string
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
ListProblemsResponse wrapper for the ListProblems operation
type ListProblemsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProblemCollection instances ProblemCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProblemsResponse) String() string
ListProblemsSortByEnum Enum with underlying type: string
type ListProblemsSortByEnum string
Set of constants representing the allowable values for ListProblemsSortByEnum
const ( ListProblemsSortByRisklevel ListProblemsSortByEnum = "riskLevel" ListProblemsSortByTimelastdetected ListProblemsSortByEnum = "timeLastDetected" ListProblemsSortByResourcename ListProblemsSortByEnum = "resourceName" )
func GetListProblemsSortByEnumValues() []ListProblemsSortByEnum
GetListProblemsSortByEnumValues Enumerates the set of values for ListProblemsSortByEnum
func GetMappingListProblemsSortByEnum(val string) (ListProblemsSortByEnum, bool)
GetMappingListProblemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListProblemsSortOrderEnum Enum with underlying type: string
type ListProblemsSortOrderEnum string
Set of constants representing the allowable values for ListProblemsSortOrderEnum
const ( ListProblemsSortOrderAsc ListProblemsSortOrderEnum = "ASC" ListProblemsSortOrderDesc ListProblemsSortOrderEnum = "DESC" )
func GetListProblemsSortOrderEnumValues() []ListProblemsSortOrderEnum
GetListProblemsSortOrderEnumValues Enumerates the set of values for ListProblemsSortOrderEnum
func GetMappingListProblemsSortOrderEnum(val string) (ListProblemsSortOrderEnum, bool)
GetMappingListProblemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListRecommendationsAccessLevelEnum Enum with underlying type: string
type ListRecommendationsAccessLevelEnum string
Set of constants representing the allowable values for ListRecommendationsAccessLevelEnum
const ( ListRecommendationsAccessLevelRestricted ListRecommendationsAccessLevelEnum = "RESTRICTED" ListRecommendationsAccessLevelAccessible ListRecommendationsAccessLevelEnum = "ACCESSIBLE" )
func GetListRecommendationsAccessLevelEnumValues() []ListRecommendationsAccessLevelEnum
GetListRecommendationsAccessLevelEnumValues Enumerates the set of values for ListRecommendationsAccessLevelEnum
func GetMappingListRecommendationsAccessLevelEnum(val string) (ListRecommendationsAccessLevelEnum, bool)
GetMappingListRecommendationsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListRecommendationsLifecycleDetailEnum Enum with underlying type: string
type ListRecommendationsLifecycleDetailEnum string
Set of constants representing the allowable values for ListRecommendationsLifecycleDetailEnum
const ( ListRecommendationsLifecycleDetailOpen ListRecommendationsLifecycleDetailEnum = "OPEN" ListRecommendationsLifecycleDetailResolved ListRecommendationsLifecycleDetailEnum = "RESOLVED" ListRecommendationsLifecycleDetailDismissed ListRecommendationsLifecycleDetailEnum = "DISMISSED" )
func GetListRecommendationsLifecycleDetailEnumValues() []ListRecommendationsLifecycleDetailEnum
GetListRecommendationsLifecycleDetailEnumValues Enumerates the set of values for ListRecommendationsLifecycleDetailEnum
func GetMappingListRecommendationsLifecycleDetailEnum(val string) (ListRecommendationsLifecycleDetailEnum, bool)
GetMappingListRecommendationsLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum
ListRecommendationsLifecycleStateEnum Enum with underlying type: string
type ListRecommendationsLifecycleStateEnum string
Set of constants representing the allowable values for ListRecommendationsLifecycleStateEnum
const ( ListRecommendationsLifecycleStateCreating ListRecommendationsLifecycleStateEnum = "CREATING" ListRecommendationsLifecycleStateUpdating ListRecommendationsLifecycleStateEnum = "UPDATING" ListRecommendationsLifecycleStateActive ListRecommendationsLifecycleStateEnum = "ACTIVE" ListRecommendationsLifecycleStateInactive ListRecommendationsLifecycleStateEnum = "INACTIVE" ListRecommendationsLifecycleStateDeleting ListRecommendationsLifecycleStateEnum = "DELETING" ListRecommendationsLifecycleStateDeleted ListRecommendationsLifecycleStateEnum = "DELETED" ListRecommendationsLifecycleStateFailed ListRecommendationsLifecycleStateEnum = "FAILED" )
func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum
GetListRecommendationsLifecycleStateEnumValues Enumerates the set of values for ListRecommendationsLifecycleStateEnum
func GetMappingListRecommendationsLifecycleStateEnum(val string) (ListRecommendationsLifecycleStateEnum, bool)
GetMappingListRecommendationsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListRecommendationsRequest wrapper for the ListRecommendations operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListRecommendations.go.html to see an example of how to use ListRecommendationsRequest.
type ListRecommendationsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel is default. SortBy ListRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The ID of the target in which to list resources. TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"` // Default is false. // When set to true, the hierarchy of compartments is traversed // and all compartments and subcompartments in the tenancy are // returned depending on the the setting of `accessLevel`. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. // Setting this to `ACCESSIBLE` returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). // When set to `RESTRICTED` permissions are checked and no partial results are displayed. AccessLevel ListRecommendationsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListRecommendationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleDetail ListRecommendationsLifecycleDetailEnum `mandatory:"false" contributesTo:"query" name:"lifecycleDetail" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRecommendationsRequest) String() string
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
ListRecommendationsResponse wrapper for the ListRecommendations operation
type ListRecommendationsResponse struct { // The underlying http response RawResponse *http.Response // A list of RecommendationSummaryCollection instances RecommendationSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListRecommendationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRecommendationsResponse) String() string
ListRecommendationsSortByEnum Enum with underlying type: string
type ListRecommendationsSortByEnum string
Set of constants representing the allowable values for ListRecommendationsSortByEnum
const ( ListRecommendationsSortByRisklevel ListRecommendationsSortByEnum = "riskLevel" ListRecommendationsSortByTimecreated ListRecommendationsSortByEnum = "timeCreated" )
func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum
GetListRecommendationsSortByEnumValues Enumerates the set of values for ListRecommendationsSortByEnum
func GetMappingListRecommendationsSortByEnum(val string) (ListRecommendationsSortByEnum, bool)
GetMappingListRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListRecommendationsSortOrderEnum Enum with underlying type: string
type ListRecommendationsSortOrderEnum string
Set of constants representing the allowable values for ListRecommendationsSortOrderEnum
const ( ListRecommendationsSortOrderAsc ListRecommendationsSortOrderEnum = "ASC" ListRecommendationsSortOrderDesc ListRecommendationsSortOrderEnum = "DESC" )
func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum
GetListRecommendationsSortOrderEnumValues Enumerates the set of values for ListRecommendationsSortOrderEnum
func GetMappingListRecommendationsSortOrderEnum(val string) (ListRecommendationsSortOrderEnum, bool)
GetMappingListRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfileEndpointsRequest wrapper for the ListResourceProfileEndpoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResourceProfileEndpoints.go.html to see an example of how to use 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 }
func (request ListResourceProfileEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceProfileEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceProfileEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceProfileEndpointsRequest) String() string
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
ListResourceProfileEndpointsResponse wrapper for the ListResourceProfileEndpoints operation
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"` }
func (response ListResourceProfileEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceProfileEndpointsResponse) String() string
ListResourceProfileEndpointsSortByEnum Enum with underlying type: string
type ListResourceProfileEndpointsSortByEnum string
Set of constants representing the allowable values for ListResourceProfileEndpointsSortByEnum
const ( ListResourceProfileEndpointsSortByTimecreated ListResourceProfileEndpointsSortByEnum = "timeCreated" )
func GetListResourceProfileEndpointsSortByEnumValues() []ListResourceProfileEndpointsSortByEnum
GetListResourceProfileEndpointsSortByEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortByEnum
func GetMappingListResourceProfileEndpointsSortByEnum(val string) (ListResourceProfileEndpointsSortByEnum, bool)
GetMappingListResourceProfileEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfileEndpointsSortOrderEnum Enum with underlying type: string
type ListResourceProfileEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListResourceProfileEndpointsSortOrderEnum
const ( ListResourceProfileEndpointsSortOrderAsc ListResourceProfileEndpointsSortOrderEnum = "ASC" ListResourceProfileEndpointsSortOrderDesc ListResourceProfileEndpointsSortOrderEnum = "DESC" )
func GetListResourceProfileEndpointsSortOrderEnumValues() []ListResourceProfileEndpointsSortOrderEnum
GetListResourceProfileEndpointsSortOrderEnumValues Enumerates the set of values for ListResourceProfileEndpointsSortOrderEnum
func GetMappingListResourceProfileEndpointsSortOrderEnum(val string) (ListResourceProfileEndpointsSortOrderEnum, bool)
GetMappingListResourceProfileEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfileImpactedResourcesRequest wrapper for the ListResourceProfileImpactedResources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResourceProfileImpactedResources.go.html to see an example of how to use 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 }
func (request ListResourceProfileImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceProfileImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceProfileImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceProfileImpactedResourcesRequest) String() string
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
ListResourceProfileImpactedResourcesResponse wrapper for the ListResourceProfileImpactedResources operation
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"` }
func (response ListResourceProfileImpactedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceProfileImpactedResourcesResponse) String() string
ListResourceProfileImpactedResourcesSortByEnum Enum with underlying type: string
type ListResourceProfileImpactedResourcesSortByEnum string
Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortByEnum
const ( ListResourceProfileImpactedResourcesSortByTimecreated ListResourceProfileImpactedResourcesSortByEnum = "timeCreated" )
func GetListResourceProfileImpactedResourcesSortByEnumValues() []ListResourceProfileImpactedResourcesSortByEnum
GetListResourceProfileImpactedResourcesSortByEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortByEnum
func GetMappingListResourceProfileImpactedResourcesSortByEnum(val string) (ListResourceProfileImpactedResourcesSortByEnum, bool)
GetMappingListResourceProfileImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfileImpactedResourcesSortOrderEnum Enum with underlying type: string
type ListResourceProfileImpactedResourcesSortOrderEnum string
Set of constants representing the allowable values for ListResourceProfileImpactedResourcesSortOrderEnum
const ( ListResourceProfileImpactedResourcesSortOrderAsc ListResourceProfileImpactedResourcesSortOrderEnum = "ASC" ListResourceProfileImpactedResourcesSortOrderDesc ListResourceProfileImpactedResourcesSortOrderEnum = "DESC" )
func GetListResourceProfileImpactedResourcesSortOrderEnumValues() []ListResourceProfileImpactedResourcesSortOrderEnum
GetListResourceProfileImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListResourceProfileImpactedResourcesSortOrderEnum
func GetMappingListResourceProfileImpactedResourcesSortOrderEnum(val string) (ListResourceProfileImpactedResourcesSortOrderEnum, bool)
GetMappingListResourceProfileImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfilesAccessLevelEnum Enum with underlying type: string
type ListResourceProfilesAccessLevelEnum string
Set of constants representing the allowable values for ListResourceProfilesAccessLevelEnum
const ( ListResourceProfilesAccessLevelRestricted ListResourceProfilesAccessLevelEnum = "RESTRICTED" ListResourceProfilesAccessLevelAccessible ListResourceProfilesAccessLevelEnum = "ACCESSIBLE" )
func GetListResourceProfilesAccessLevelEnumValues() []ListResourceProfilesAccessLevelEnum
GetListResourceProfilesAccessLevelEnumValues Enumerates the set of values for ListResourceProfilesAccessLevelEnum
func GetMappingListResourceProfilesAccessLevelEnum(val string) (ListResourceProfilesAccessLevelEnum, bool)
GetMappingListResourceProfilesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfilesRequest wrapper for the ListResourceProfiles operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResourceProfiles.go.html to see an example of how to use 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 }
func (request ListResourceProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceProfilesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceProfilesRequest) String() string
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
ListResourceProfilesResponse wrapper for the ListResourceProfiles operation
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"` }
func (response ListResourceProfilesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceProfilesResponse) String() string
ListResourceProfilesSortByEnum Enum with underlying type: string
type ListResourceProfilesSortByEnum string
Set of constants representing the allowable values for ListResourceProfilesSortByEnum
const ( ListResourceProfilesSortByRiskscore ListResourceProfilesSortByEnum = "riskScore" ListResourceProfilesSortByRiskscoregrowth ListResourceProfilesSortByEnum = "riskScoreGrowth" ListResourceProfilesSortByTimefirstdetected ListResourceProfilesSortByEnum = "timeFirstDetected" ListResourceProfilesSortByTimelastdetected ListResourceProfilesSortByEnum = "timeLastDetected" ListResourceProfilesSortBySightingscount ListResourceProfilesSortByEnum = "sightingsCount" ListResourceProfilesSortByDisplayname ListResourceProfilesSortByEnum = "displayName" ListResourceProfilesSortByType ListResourceProfilesSortByEnum = "type" )
func GetListResourceProfilesSortByEnumValues() []ListResourceProfilesSortByEnum
GetListResourceProfilesSortByEnumValues Enumerates the set of values for ListResourceProfilesSortByEnum
func GetMappingListResourceProfilesSortByEnum(val string) (ListResourceProfilesSortByEnum, bool)
GetMappingListResourceProfilesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceProfilesSortOrderEnum Enum with underlying type: string
type ListResourceProfilesSortOrderEnum string
Set of constants representing the allowable values for ListResourceProfilesSortOrderEnum
const ( ListResourceProfilesSortOrderAsc ListResourceProfilesSortOrderEnum = "ASC" ListResourceProfilesSortOrderDesc ListResourceProfilesSortOrderEnum = "DESC" )
func GetListResourceProfilesSortOrderEnumValues() []ListResourceProfilesSortOrderEnum
GetListResourceProfilesSortOrderEnumValues Enumerates the set of values for ListResourceProfilesSortOrderEnum
func GetMappingListResourceProfilesSortOrderEnum(val string) (ListResourceProfilesSortOrderEnum, bool)
GetMappingListResourceProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceTypesDetectorIdEnum Enum with underlying type: string
type ListResourceTypesDetectorIdEnum string
Set of constants representing the allowable values for ListResourceTypesDetectorIdEnum
const ( ListResourceTypesDetectorIdActivityDetector ListResourceTypesDetectorIdEnum = "IAAS_ACTIVITY_DETECTOR" ListResourceTypesDetectorIdConfigurationDetector ListResourceTypesDetectorIdEnum = "IAAS_CONFIGURATION_DETECTOR" ListResourceTypesDetectorIdThreatDetector ListResourceTypesDetectorIdEnum = "IAAS_THREAT_DETECTOR" ListResourceTypesDetectorIdLogInsightDetector ListResourceTypesDetectorIdEnum = "IAAS_LOG_INSIGHT_DETECTOR" )
func GetListResourceTypesDetectorIdEnumValues() []ListResourceTypesDetectorIdEnum
GetListResourceTypesDetectorIdEnumValues Enumerates the set of values for ListResourceTypesDetectorIdEnum
func GetMappingListResourceTypesDetectorIdEnum(val string) (ListResourceTypesDetectorIdEnum, bool)
GetMappingListResourceTypesDetectorIdEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceTypesLifecycleStateEnum Enum with underlying type: string
type ListResourceTypesLifecycleStateEnum string
Set of constants representing the allowable values for ListResourceTypesLifecycleStateEnum
const ( ListResourceTypesLifecycleStateCreating ListResourceTypesLifecycleStateEnum = "CREATING" ListResourceTypesLifecycleStateUpdating ListResourceTypesLifecycleStateEnum = "UPDATING" ListResourceTypesLifecycleStateActive ListResourceTypesLifecycleStateEnum = "ACTIVE" ListResourceTypesLifecycleStateInactive ListResourceTypesLifecycleStateEnum = "INACTIVE" ListResourceTypesLifecycleStateDeleting ListResourceTypesLifecycleStateEnum = "DELETING" ListResourceTypesLifecycleStateDeleted ListResourceTypesLifecycleStateEnum = "DELETED" ListResourceTypesLifecycleStateFailed ListResourceTypesLifecycleStateEnum = "FAILED" )
func GetListResourceTypesLifecycleStateEnumValues() []ListResourceTypesLifecycleStateEnum
GetListResourceTypesLifecycleStateEnumValues Enumerates the set of values for ListResourceTypesLifecycleStateEnum
func GetMappingListResourceTypesLifecycleStateEnum(val string) (ListResourceTypesLifecycleStateEnum, bool)
GetMappingListResourceTypesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceTypesRequest wrapper for the ListResourceTypes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResourceTypes.go.html to see an example of how to use ListResourceTypesRequest.
type ListResourceTypesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // 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 }
func (request ListResourceTypesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResourceTypesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResourceTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResourceTypesRequest) String() string
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
ListResourceTypesResponse wrapper for the ListResourceTypes operation
type ListResourceTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of ResourceTypeCollection instances ResourceTypeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResourceTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResourceTypesResponse) String() string
ListResourceTypesSortByEnum Enum with underlying type: string
type ListResourceTypesSortByEnum string
Set of constants representing the allowable values for ListResourceTypesSortByEnum
const ( ListResourceTypesSortByDisplayname ListResourceTypesSortByEnum = "displayName" ListResourceTypesSortByRisklevel ListResourceTypesSortByEnum = "riskLevel" )
func GetListResourceTypesSortByEnumValues() []ListResourceTypesSortByEnum
GetListResourceTypesSortByEnumValues Enumerates the set of values for ListResourceTypesSortByEnum
func GetMappingListResourceTypesSortByEnum(val string) (ListResourceTypesSortByEnum, bool)
GetMappingListResourceTypesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResourceTypesSortOrderEnum Enum with underlying type: string
type ListResourceTypesSortOrderEnum string
Set of constants representing the allowable values for ListResourceTypesSortOrderEnum
const ( ListResourceTypesSortOrderAsc ListResourceTypesSortOrderEnum = "ASC" ListResourceTypesSortOrderDesc ListResourceTypesSortOrderEnum = "DESC" )
func GetListResourceTypesSortOrderEnumValues() []ListResourceTypesSortOrderEnum
GetListResourceTypesSortOrderEnumValues Enumerates the set of values for ListResourceTypesSortOrderEnum
func GetMappingListResourceTypesSortOrderEnum(val string) (ListResourceTypesSortOrderEnum, bool)
GetMappingListResourceTypesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderActivitiesRequest wrapper for the ListResponderActivities operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderActivities.go.html to see an example of how to use ListResponderActivitiesRequest.
type ListResponderActivitiesRequest struct { // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListResponderActivitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default. SortBy ListResponderActivitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListResponderActivitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResponderActivitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderActivitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderActivitiesRequest) String() string
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
ListResponderActivitiesResponse wrapper for the ListResponderActivities operation
type ListResponderActivitiesResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderActivityCollection instances ResponderActivityCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResponderActivitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderActivitiesResponse) String() string
ListResponderActivitiesSortByEnum Enum with underlying type: string
type ListResponderActivitiesSortByEnum string
Set of constants representing the allowable values for ListResponderActivitiesSortByEnum
const ( ListResponderActivitiesSortByTimecreated ListResponderActivitiesSortByEnum = "timeCreated" ListResponderActivitiesSortByResponderrulename ListResponderActivitiesSortByEnum = "responderRuleName" )
func GetListResponderActivitiesSortByEnumValues() []ListResponderActivitiesSortByEnum
GetListResponderActivitiesSortByEnumValues Enumerates the set of values for ListResponderActivitiesSortByEnum
func GetMappingListResponderActivitiesSortByEnum(val string) (ListResponderActivitiesSortByEnum, bool)
GetMappingListResponderActivitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderActivitiesSortOrderEnum Enum with underlying type: string
type ListResponderActivitiesSortOrderEnum string
Set of constants representing the allowable values for ListResponderActivitiesSortOrderEnum
const ( ListResponderActivitiesSortOrderAsc ListResponderActivitiesSortOrderEnum = "ASC" ListResponderActivitiesSortOrderDesc ListResponderActivitiesSortOrderEnum = "DESC" )
func GetListResponderActivitiesSortOrderEnumValues() []ListResponderActivitiesSortOrderEnum
GetListResponderActivitiesSortOrderEnumValues Enumerates the set of values for ListResponderActivitiesSortOrderEnum
func GetMappingListResponderActivitiesSortOrderEnum(val string) (ListResponderActivitiesSortOrderEnum, bool)
GetMappingListResponderActivitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsAccessLevelEnum Enum with underlying type: string
type ListResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for ListResponderExecutionsAccessLevelEnum
const ( ListResponderExecutionsAccessLevelRestricted ListResponderExecutionsAccessLevelEnum = "RESTRICTED" ListResponderExecutionsAccessLevelAccessible ListResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetListResponderExecutionsAccessLevelEnumValues() []ListResponderExecutionsAccessLevelEnum
GetListResponderExecutionsAccessLevelEnumValues Enumerates the set of values for ListResponderExecutionsAccessLevelEnum
func GetMappingListResponderExecutionsAccessLevelEnum(val string) (ListResponderExecutionsAccessLevelEnum, bool)
GetMappingListResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsRequest wrapper for the ListResponderExecutions operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderExecutions.go.html to see an example of how to use ListResponderExecutionsRequest.
type ListResponderExecutionsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Default is false. // When set to true, the hierarchy of compartments is traversed // and all compartments and subcompartments in the tenancy are // returned depending on the the setting of `accessLevel`. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. // Setting this to `ACCESSIBLE` returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). // When set to `RESTRICTED` permissions are checked and no partial results are displayed. AccessLevel ListResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // Responder Rule Ids filter for the Responder Executions. ResponderRuleIds []string `contributesTo:"query" name:"responderRuleIds" collectionFormat:"multi"` // Creation Start time for filtering TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"` // Creation End time for filtering TimeCreatedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThanOrEqualTo"` // Completion End Time TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"` // Completion Start Time TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"` // The ID of the target in which to list resources. TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"` // Resource Type associated with the resource. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // The field to list the Responder Executions by Responder Type. Valid values are REMEDIATION and NOTIFICATION ResponderType ListResponderExecutionsResponderTypeEnum `mandatory:"false" contributesTo:"query" name:"responderType" omitEmpty:"true"` // The status of the responder execution in which to list responders. ResponderExecutionStatus ListResponderExecutionsResponderExecutionStatusEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionStatus" omitEmpty:"true"` // The mode of the responder execution in which to list responders. ResponderExecutionMode ListResponderExecutionsResponderExecutionModeEnum `mandatory:"false" contributesTo:"query" name:"responderExecutionMode" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListResponderExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default. SortBy ListResponderExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListResponderExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderExecutionsRequest) String() string
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
ListResponderExecutionsResponderExecutionModeEnum Enum with underlying type: string
type ListResponderExecutionsResponderExecutionModeEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionModeEnum
const ( ListResponderExecutionsResponderExecutionModeManual ListResponderExecutionsResponderExecutionModeEnum = "MANUAL" ListResponderExecutionsResponderExecutionModeAutomated ListResponderExecutionsResponderExecutionModeEnum = "AUTOMATED" ListResponderExecutionsResponderExecutionModeAll ListResponderExecutionsResponderExecutionModeEnum = "ALL" )
func GetListResponderExecutionsResponderExecutionModeEnumValues() []ListResponderExecutionsResponderExecutionModeEnum
GetListResponderExecutionsResponderExecutionModeEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionModeEnum
func GetMappingListResponderExecutionsResponderExecutionModeEnum(val string) (ListResponderExecutionsResponderExecutionModeEnum, bool)
GetMappingListResponderExecutionsResponderExecutionModeEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsResponderExecutionStatusEnum Enum with underlying type: string
type ListResponderExecutionsResponderExecutionStatusEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderExecutionStatusEnum
const ( ListResponderExecutionsResponderExecutionStatusStarted ListResponderExecutionsResponderExecutionStatusEnum = "STARTED" ListResponderExecutionsResponderExecutionStatusAwaitingConfirmation ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_CONFIRMATION" ListResponderExecutionsResponderExecutionStatusAwaitingInput ListResponderExecutionsResponderExecutionStatusEnum = "AWAITING_INPUT" ListResponderExecutionsResponderExecutionStatusSucceeded ListResponderExecutionsResponderExecutionStatusEnum = "SUCCEEDED" ListResponderExecutionsResponderExecutionStatusFailed ListResponderExecutionsResponderExecutionStatusEnum = "FAILED" ListResponderExecutionsResponderExecutionStatusSkipped ListResponderExecutionsResponderExecutionStatusEnum = "SKIPPED" ListResponderExecutionsResponderExecutionStatusAll ListResponderExecutionsResponderExecutionStatusEnum = "ALL" )
func GetListResponderExecutionsResponderExecutionStatusEnumValues() []ListResponderExecutionsResponderExecutionStatusEnum
GetListResponderExecutionsResponderExecutionStatusEnumValues Enumerates the set of values for ListResponderExecutionsResponderExecutionStatusEnum
func GetMappingListResponderExecutionsResponderExecutionStatusEnum(val string) (ListResponderExecutionsResponderExecutionStatusEnum, bool)
GetMappingListResponderExecutionsResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsResponderTypeEnum Enum with underlying type: string
type ListResponderExecutionsResponderTypeEnum string
Set of constants representing the allowable values for ListResponderExecutionsResponderTypeEnum
const ( ListResponderExecutionsResponderTypeRemediation ListResponderExecutionsResponderTypeEnum = "REMEDIATION" ListResponderExecutionsResponderTypeNotification ListResponderExecutionsResponderTypeEnum = "NOTIFICATION" )
func GetListResponderExecutionsResponderTypeEnumValues() []ListResponderExecutionsResponderTypeEnum
GetListResponderExecutionsResponderTypeEnumValues Enumerates the set of values for ListResponderExecutionsResponderTypeEnum
func GetMappingListResponderExecutionsResponderTypeEnum(val string) (ListResponderExecutionsResponderTypeEnum, bool)
GetMappingListResponderExecutionsResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsResponse wrapper for the ListResponderExecutions operation
type ListResponderExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderExecutionCollection instances ResponderExecutionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderExecutionsResponse) String() string
ListResponderExecutionsSortByEnum Enum with underlying type: string
type ListResponderExecutionsSortByEnum string
Set of constants representing the allowable values for ListResponderExecutionsSortByEnum
const ( ListResponderExecutionsSortByTimecreated ListResponderExecutionsSortByEnum = "timeCreated" ListResponderExecutionsSortByResponderrulename ListResponderExecutionsSortByEnum = "responderRuleName" ListResponderExecutionsSortByResourcename ListResponderExecutionsSortByEnum = "resourceName" ListResponderExecutionsSortByTimecompleted ListResponderExecutionsSortByEnum = "timeCompleted" )
func GetListResponderExecutionsSortByEnumValues() []ListResponderExecutionsSortByEnum
GetListResponderExecutionsSortByEnumValues Enumerates the set of values for ListResponderExecutionsSortByEnum
func GetMappingListResponderExecutionsSortByEnum(val string) (ListResponderExecutionsSortByEnum, bool)
GetMappingListResponderExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderExecutionsSortOrderEnum Enum with underlying type: string
type ListResponderExecutionsSortOrderEnum string
Set of constants representing the allowable values for ListResponderExecutionsSortOrderEnum
const ( ListResponderExecutionsSortOrderAsc ListResponderExecutionsSortOrderEnum = "ASC" ListResponderExecutionsSortOrderDesc ListResponderExecutionsSortOrderEnum = "DESC" )
func GetListResponderExecutionsSortOrderEnumValues() []ListResponderExecutionsSortOrderEnum
GetListResponderExecutionsSortOrderEnumValues Enumerates the set of values for ListResponderExecutionsSortOrderEnum
func GetMappingListResponderExecutionsSortOrderEnum(val string) (ListResponderExecutionsSortOrderEnum, bool)
GetMappingListResponderExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesLifecycleStateEnum
const ( ListResponderRecipeResponderRulesLifecycleStateCreating ListResponderRecipeResponderRulesLifecycleStateEnum = "CREATING" ListResponderRecipeResponderRulesLifecycleStateUpdating ListResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING" ListResponderRecipeResponderRulesLifecycleStateActive ListResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE" ListResponderRecipeResponderRulesLifecycleStateInactive ListResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE" ListResponderRecipeResponderRulesLifecycleStateDeleting ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETING" ListResponderRecipeResponderRulesLifecycleStateDeleted ListResponderRecipeResponderRulesLifecycleStateEnum = "DELETED" ListResponderRecipeResponderRulesLifecycleStateFailed ListResponderRecipeResponderRulesLifecycleStateEnum = "FAILED" )
func GetListResponderRecipeResponderRulesLifecycleStateEnumValues() []ListResponderRecipeResponderRulesLifecycleStateEnum
GetListResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesLifecycleStateEnum
func GetMappingListResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListResponderRecipeResponderRulesLifecycleStateEnum, bool)
GetMappingListResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipeResponderRulesRequest wrapper for the ListResponderRecipeResponderRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRecipeResponderRules.go.html to see an example of how to use ListResponderRecipeResponderRulesRequest.
type ListResponderRecipeResponderRulesRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListResponderRecipeResponderRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRecipeResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRecipeResponderRulesRequest) String() string
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
ListResponderRecipeResponderRulesResponse wrapper for the ListResponderRecipeResponderRules operation
type ListResponderRecipeResponderRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderRecipeResponderRuleCollection instances ResponderRecipeResponderRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRecipeResponderRulesResponse) String() string
ListResponderRecipeResponderRulesSortByEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesSortByEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortByEnum
const ( ListResponderRecipeResponderRulesSortByDisplayname ListResponderRecipeResponderRulesSortByEnum = "displayName" ListResponderRecipeResponderRulesSortByRisklevel ListResponderRecipeResponderRulesSortByEnum = "riskLevel" )
func GetListResponderRecipeResponderRulesSortByEnumValues() []ListResponderRecipeResponderRulesSortByEnum
GetListResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortByEnum
func GetMappingListResponderRecipeResponderRulesSortByEnum(val string) (ListResponderRecipeResponderRulesSortByEnum, bool)
GetMappingListResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string
type ListResponderRecipeResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRecipeResponderRulesSortOrderEnum
const ( ListResponderRecipeResponderRulesSortOrderAsc ListResponderRecipeResponderRulesSortOrderEnum = "ASC" ListResponderRecipeResponderRulesSortOrderDesc ListResponderRecipeResponderRulesSortOrderEnum = "DESC" )
func GetListResponderRecipeResponderRulesSortOrderEnumValues() []ListResponderRecipeResponderRulesSortOrderEnum
GetListResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRecipeResponderRulesSortOrderEnum
func GetMappingListResponderRecipeResponderRulesSortOrderEnum(val string) (ListResponderRecipeResponderRulesSortOrderEnum, bool)
GetMappingListResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipesAccessLevelEnum Enum with underlying type: string
type ListResponderRecipesAccessLevelEnum string
Set of constants representing the allowable values for ListResponderRecipesAccessLevelEnum
const ( ListResponderRecipesAccessLevelRestricted ListResponderRecipesAccessLevelEnum = "RESTRICTED" ListResponderRecipesAccessLevelAccessible ListResponderRecipesAccessLevelEnum = "ACCESSIBLE" )
func GetListResponderRecipesAccessLevelEnumValues() []ListResponderRecipesAccessLevelEnum
GetListResponderRecipesAccessLevelEnumValues Enumerates the set of values for ListResponderRecipesAccessLevelEnum
func GetMappingListResponderRecipesAccessLevelEnum(val string) (ListResponderRecipesAccessLevelEnum, bool)
GetMappingListResponderRecipesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipesLifecycleStateEnum Enum with underlying type: string
type ListResponderRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRecipesLifecycleStateEnum
const ( ListResponderRecipesLifecycleStateCreating ListResponderRecipesLifecycleStateEnum = "CREATING" ListResponderRecipesLifecycleStateUpdating ListResponderRecipesLifecycleStateEnum = "UPDATING" ListResponderRecipesLifecycleStateActive ListResponderRecipesLifecycleStateEnum = "ACTIVE" ListResponderRecipesLifecycleStateInactive ListResponderRecipesLifecycleStateEnum = "INACTIVE" ListResponderRecipesLifecycleStateDeleting ListResponderRecipesLifecycleStateEnum = "DELETING" ListResponderRecipesLifecycleStateDeleted ListResponderRecipesLifecycleStateEnum = "DELETED" ListResponderRecipesLifecycleStateFailed ListResponderRecipesLifecycleStateEnum = "FAILED" )
func GetListResponderRecipesLifecycleStateEnumValues() []ListResponderRecipesLifecycleStateEnum
GetListResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListResponderRecipesLifecycleStateEnum
func GetMappingListResponderRecipesLifecycleStateEnum(val string) (ListResponderRecipesLifecycleStateEnum, bool)
GetMappingListResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipesRequest wrapper for the ListResponderRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRecipes.go.html to see an example of how to use ListResponderRecipesRequest.
type ListResponderRecipesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Default is false. // When set to true, the list of all Oracle Managed Resources // Metadata supported by Cloud Guard 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 }
func (request ListResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRecipesRequest) String() string
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
ListResponderRecipesResponse wrapper for the ListResponderRecipes operation
type ListResponderRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderRecipeCollection instances ResponderRecipeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResponderRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRecipesResponse) String() string
ListResponderRecipesSortByEnum Enum with underlying type: string
type ListResponderRecipesSortByEnum string
Set of constants representing the allowable values for ListResponderRecipesSortByEnum
const ( ListResponderRecipesSortByTimecreated ListResponderRecipesSortByEnum = "timeCreated" ListResponderRecipesSortByDisplayname ListResponderRecipesSortByEnum = "displayName" )
func GetListResponderRecipesSortByEnumValues() []ListResponderRecipesSortByEnum
GetListResponderRecipesSortByEnumValues Enumerates the set of values for ListResponderRecipesSortByEnum
func GetMappingListResponderRecipesSortByEnum(val string) (ListResponderRecipesSortByEnum, bool)
GetMappingListResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRecipesSortOrderEnum Enum with underlying type: string
type ListResponderRecipesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRecipesSortOrderEnum
const ( ListResponderRecipesSortOrderAsc ListResponderRecipesSortOrderEnum = "ASC" ListResponderRecipesSortOrderDesc ListResponderRecipesSortOrderEnum = "DESC" )
func GetListResponderRecipesSortOrderEnumValues() []ListResponderRecipesSortOrderEnum
GetListResponderRecipesSortOrderEnumValues Enumerates the set of values for ListResponderRecipesSortOrderEnum
func GetMappingListResponderRecipesSortOrderEnum(val string) (ListResponderRecipesSortOrderEnum, bool)
GetMappingListResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListResponderRulesLifecycleStateEnum
const ( ListResponderRulesLifecycleStateCreating ListResponderRulesLifecycleStateEnum = "CREATING" ListResponderRulesLifecycleStateUpdating ListResponderRulesLifecycleStateEnum = "UPDATING" ListResponderRulesLifecycleStateActive ListResponderRulesLifecycleStateEnum = "ACTIVE" ListResponderRulesLifecycleStateInactive ListResponderRulesLifecycleStateEnum = "INACTIVE" ListResponderRulesLifecycleStateDeleting ListResponderRulesLifecycleStateEnum = "DELETING" ListResponderRulesLifecycleStateDeleted ListResponderRulesLifecycleStateEnum = "DELETED" ListResponderRulesLifecycleStateFailed ListResponderRulesLifecycleStateEnum = "FAILED" )
func GetListResponderRulesLifecycleStateEnumValues() []ListResponderRulesLifecycleStateEnum
GetListResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListResponderRulesLifecycleStateEnum
func GetMappingListResponderRulesLifecycleStateEnum(val string) (ListResponderRulesLifecycleStateEnum, bool)
GetMappingListResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRulesRequest wrapper for the ListResponderRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListResponderRules.go.html to see an example of how to use ListResponderRulesRequest.
type ListResponderRulesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListResponderRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResponderRulesRequest) String() string
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
ListResponderRulesResponse wrapper for the ListResponderRules operation
type ListResponderRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderRuleCollection instances ResponderRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResponderRulesResponse) String() string
ListResponderRulesSortByEnum Enum with underlying type: string
type ListResponderRulesSortByEnum string
Set of constants representing the allowable values for ListResponderRulesSortByEnum
const ( ListResponderRulesSortByTimecreated ListResponderRulesSortByEnum = "timeCreated" ListResponderRulesSortByDisplayname ListResponderRulesSortByEnum = "displayName" )
func GetListResponderRulesSortByEnumValues() []ListResponderRulesSortByEnum
GetListResponderRulesSortByEnumValues Enumerates the set of values for ListResponderRulesSortByEnum
func GetMappingListResponderRulesSortByEnum(val string) (ListResponderRulesSortByEnum, bool)
GetMappingListResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListResponderRulesSortOrderEnum Enum with underlying type: string
type ListResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListResponderRulesSortOrderEnum
const ( ListResponderRulesSortOrderAsc ListResponderRulesSortOrderEnum = "ASC" ListResponderRulesSortOrderDesc ListResponderRulesSortOrderEnum = "DESC" )
func GetListResponderRulesSortOrderEnumValues() []ListResponderRulesSortOrderEnum
GetListResponderRulesSortOrderEnumValues Enumerates the set of values for ListResponderRulesSortOrderEnum
func GetMappingListResponderRulesSortOrderEnum(val string) (ListResponderRulesSortOrderEnum, bool)
GetMappingListResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityPoliciesLifecycleStateEnum Enum with underlying type: string
type ListSecurityPoliciesLifecycleStateEnum string
Set of constants representing the allowable values for ListSecurityPoliciesLifecycleStateEnum
const ( ListSecurityPoliciesLifecycleStateCreating ListSecurityPoliciesLifecycleStateEnum = "CREATING" ListSecurityPoliciesLifecycleStateUpdating ListSecurityPoliciesLifecycleStateEnum = "UPDATING" ListSecurityPoliciesLifecycleStateActive ListSecurityPoliciesLifecycleStateEnum = "ACTIVE" ListSecurityPoliciesLifecycleStateInactive ListSecurityPoliciesLifecycleStateEnum = "INACTIVE" ListSecurityPoliciesLifecycleStateDeleting ListSecurityPoliciesLifecycleStateEnum = "DELETING" ListSecurityPoliciesLifecycleStateDeleted ListSecurityPoliciesLifecycleStateEnum = "DELETED" ListSecurityPoliciesLifecycleStateFailed ListSecurityPoliciesLifecycleStateEnum = "FAILED" )
func GetListSecurityPoliciesLifecycleStateEnumValues() []ListSecurityPoliciesLifecycleStateEnum
GetListSecurityPoliciesLifecycleStateEnumValues Enumerates the set of values for ListSecurityPoliciesLifecycleStateEnum
func GetMappingListSecurityPoliciesLifecycleStateEnum(val string) (ListSecurityPoliciesLifecycleStateEnum, bool)
GetMappingListSecurityPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityPoliciesRequest wrapper for the ListSecurityPolicies operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSecurityPolicies.go.html to see an example of how to use ListSecurityPoliciesRequest.
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 }
func (request ListSecurityPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSecurityPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSecurityPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSecurityPoliciesRequest) String() string
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
ListSecurityPoliciesResponse wrapper for the ListSecurityPolicies operation
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"` }
func (response ListSecurityPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSecurityPoliciesResponse) String() string
ListSecurityPoliciesSortByEnum Enum with underlying type: string
type ListSecurityPoliciesSortByEnum string
Set of constants representing the allowable values for ListSecurityPoliciesSortByEnum
const ( ListSecurityPoliciesSortByTimecreated ListSecurityPoliciesSortByEnum = "timeCreated" ListSecurityPoliciesSortByDisplayname ListSecurityPoliciesSortByEnum = "displayName" )
func GetListSecurityPoliciesSortByEnumValues() []ListSecurityPoliciesSortByEnum
GetListSecurityPoliciesSortByEnumValues Enumerates the set of values for ListSecurityPoliciesSortByEnum
func GetMappingListSecurityPoliciesSortByEnum(val string) (ListSecurityPoliciesSortByEnum, bool)
GetMappingListSecurityPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityPoliciesSortOrderEnum Enum with underlying type: string
type ListSecurityPoliciesSortOrderEnum string
Set of constants representing the allowable values for ListSecurityPoliciesSortOrderEnum
const ( ListSecurityPoliciesSortOrderAsc ListSecurityPoliciesSortOrderEnum = "ASC" ListSecurityPoliciesSortOrderDesc ListSecurityPoliciesSortOrderEnum = "DESC" )
func GetListSecurityPoliciesSortOrderEnumValues() []ListSecurityPoliciesSortOrderEnum
GetListSecurityPoliciesSortOrderEnumValues Enumerates the set of values for ListSecurityPoliciesSortOrderEnum
func GetMappingListSecurityPoliciesSortOrderEnum(val string) (ListSecurityPoliciesSortOrderEnum, bool)
GetMappingListSecurityPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityRecipesLifecycleStateEnum Enum with underlying type: string
type ListSecurityRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListSecurityRecipesLifecycleStateEnum
const ( ListSecurityRecipesLifecycleStateCreating ListSecurityRecipesLifecycleStateEnum = "CREATING" ListSecurityRecipesLifecycleStateUpdating ListSecurityRecipesLifecycleStateEnum = "UPDATING" ListSecurityRecipesLifecycleStateActive ListSecurityRecipesLifecycleStateEnum = "ACTIVE" ListSecurityRecipesLifecycleStateInactive ListSecurityRecipesLifecycleStateEnum = "INACTIVE" ListSecurityRecipesLifecycleStateDeleting ListSecurityRecipesLifecycleStateEnum = "DELETING" ListSecurityRecipesLifecycleStateDeleted ListSecurityRecipesLifecycleStateEnum = "DELETED" ListSecurityRecipesLifecycleStateFailed ListSecurityRecipesLifecycleStateEnum = "FAILED" )
func GetListSecurityRecipesLifecycleStateEnumValues() []ListSecurityRecipesLifecycleStateEnum
GetListSecurityRecipesLifecycleStateEnumValues Enumerates the set of values for ListSecurityRecipesLifecycleStateEnum
func GetMappingListSecurityRecipesLifecycleStateEnum(val string) (ListSecurityRecipesLifecycleStateEnum, bool)
GetMappingListSecurityRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityRecipesRequest wrapper for the ListSecurityRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSecurityRecipes.go.html to see an example of how to use ListSecurityRecipesRequest.
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 }
func (request ListSecurityRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSecurityRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSecurityRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSecurityRecipesRequest) String() string
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
ListSecurityRecipesResponse wrapper for the ListSecurityRecipes operation
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"` }
func (response ListSecurityRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSecurityRecipesResponse) String() string
ListSecurityRecipesSortByEnum Enum with underlying type: string
type ListSecurityRecipesSortByEnum string
Set of constants representing the allowable values for ListSecurityRecipesSortByEnum
const ( ListSecurityRecipesSortByTimecreated ListSecurityRecipesSortByEnum = "timeCreated" ListSecurityRecipesSortByDisplayname ListSecurityRecipesSortByEnum = "displayName" )
func GetListSecurityRecipesSortByEnumValues() []ListSecurityRecipesSortByEnum
GetListSecurityRecipesSortByEnumValues Enumerates the set of values for ListSecurityRecipesSortByEnum
func GetMappingListSecurityRecipesSortByEnum(val string) (ListSecurityRecipesSortByEnum, bool)
GetMappingListSecurityRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityRecipesSortOrderEnum Enum with underlying type: string
type ListSecurityRecipesSortOrderEnum string
Set of constants representing the allowable values for ListSecurityRecipesSortOrderEnum
const ( ListSecurityRecipesSortOrderAsc ListSecurityRecipesSortOrderEnum = "ASC" ListSecurityRecipesSortOrderDesc ListSecurityRecipesSortOrderEnum = "DESC" )
func GetListSecurityRecipesSortOrderEnumValues() []ListSecurityRecipesSortOrderEnum
GetListSecurityRecipesSortOrderEnumValues Enumerates the set of values for ListSecurityRecipesSortOrderEnum
func GetMappingListSecurityRecipesSortOrderEnum(val string) (ListSecurityRecipesSortOrderEnum, bool)
GetMappingListSecurityRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityZonesLifecycleStateEnum Enum with underlying type: string
type ListSecurityZonesLifecycleStateEnum string
Set of constants representing the allowable values for ListSecurityZonesLifecycleStateEnum
const ( ListSecurityZonesLifecycleStateCreating ListSecurityZonesLifecycleStateEnum = "CREATING" ListSecurityZonesLifecycleStateUpdating ListSecurityZonesLifecycleStateEnum = "UPDATING" ListSecurityZonesLifecycleStateActive ListSecurityZonesLifecycleStateEnum = "ACTIVE" ListSecurityZonesLifecycleStateInactive ListSecurityZonesLifecycleStateEnum = "INACTIVE" ListSecurityZonesLifecycleStateDeleting ListSecurityZonesLifecycleStateEnum = "DELETING" ListSecurityZonesLifecycleStateDeleted ListSecurityZonesLifecycleStateEnum = "DELETED" ListSecurityZonesLifecycleStateFailed ListSecurityZonesLifecycleStateEnum = "FAILED" )
func GetListSecurityZonesLifecycleStateEnumValues() []ListSecurityZonesLifecycleStateEnum
GetListSecurityZonesLifecycleStateEnumValues Enumerates the set of values for ListSecurityZonesLifecycleStateEnum
func GetMappingListSecurityZonesLifecycleStateEnum(val string) (ListSecurityZonesLifecycleStateEnum, bool)
GetMappingListSecurityZonesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityZonesRequest wrapper for the ListSecurityZones operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSecurityZones.go.html to see an example of how to use ListSecurityZonesRequest.
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 }
func (request ListSecurityZonesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSecurityZonesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSecurityZonesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSecurityZonesRequest) String() string
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
ListSecurityZonesResponse wrapper for the ListSecurityZones operation
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"` }
func (response ListSecurityZonesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSecurityZonesResponse) String() string
ListSecurityZonesSortByEnum Enum with underlying type: string
type ListSecurityZonesSortByEnum string
Set of constants representing the allowable values for ListSecurityZonesSortByEnum
const ( ListSecurityZonesSortByTimecreated ListSecurityZonesSortByEnum = "timeCreated" ListSecurityZonesSortByDisplayname ListSecurityZonesSortByEnum = "displayName" )
func GetListSecurityZonesSortByEnumValues() []ListSecurityZonesSortByEnum
GetListSecurityZonesSortByEnumValues Enumerates the set of values for ListSecurityZonesSortByEnum
func GetMappingListSecurityZonesSortByEnum(val string) (ListSecurityZonesSortByEnum, bool)
GetMappingListSecurityZonesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSecurityZonesSortOrderEnum Enum with underlying type: string
type ListSecurityZonesSortOrderEnum string
Set of constants representing the allowable values for ListSecurityZonesSortOrderEnum
const ( ListSecurityZonesSortOrderAsc ListSecurityZonesSortOrderEnum = "ASC" ListSecurityZonesSortOrderDesc ListSecurityZonesSortOrderEnum = "DESC" )
func GetListSecurityZonesSortOrderEnumValues() []ListSecurityZonesSortOrderEnum
GetListSecurityZonesSortOrderEnumValues Enumerates the set of values for ListSecurityZonesSortOrderEnum
func GetMappingListSecurityZonesSortOrderEnum(val string) (ListSecurityZonesSortOrderEnum, bool)
GetMappingListSecurityZonesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingEndpointsRequest wrapper for the ListSightingEndpoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSightingEndpoints.go.html to see an example of how to use 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 }
func (request ListSightingEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSightingEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSightingEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSightingEndpointsRequest) String() string
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
ListSightingEndpointsResponse wrapper for the ListSightingEndpoints operation
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"` }
func (response ListSightingEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSightingEndpointsResponse) String() string
ListSightingEndpointsSortByEnum Enum with underlying type: string
type ListSightingEndpointsSortByEnum string
Set of constants representing the allowable values for ListSightingEndpointsSortByEnum
const ( ListSightingEndpointsSortByTimecreated ListSightingEndpointsSortByEnum = "timeCreated" )
func GetListSightingEndpointsSortByEnumValues() []ListSightingEndpointsSortByEnum
GetListSightingEndpointsSortByEnumValues Enumerates the set of values for ListSightingEndpointsSortByEnum
func GetMappingListSightingEndpointsSortByEnum(val string) (ListSightingEndpointsSortByEnum, bool)
GetMappingListSightingEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingEndpointsSortOrderEnum Enum with underlying type: string
type ListSightingEndpointsSortOrderEnum string
Set of constants representing the allowable values for ListSightingEndpointsSortOrderEnum
const ( ListSightingEndpointsSortOrderAsc ListSightingEndpointsSortOrderEnum = "ASC" ListSightingEndpointsSortOrderDesc ListSightingEndpointsSortOrderEnum = "DESC" )
func GetListSightingEndpointsSortOrderEnumValues() []ListSightingEndpointsSortOrderEnum
GetListSightingEndpointsSortOrderEnumValues Enumerates the set of values for ListSightingEndpointsSortOrderEnum
func GetMappingListSightingEndpointsSortOrderEnum(val string) (ListSightingEndpointsSortOrderEnum, bool)
GetMappingListSightingEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingImpactedResourcesRequest wrapper for the ListSightingImpactedResources operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSightingImpactedResources.go.html to see an example of how to use 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 }
func (request ListSightingImpactedResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSightingImpactedResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSightingImpactedResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSightingImpactedResourcesRequest) String() string
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
ListSightingImpactedResourcesResponse wrapper for the ListSightingImpactedResources operation
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"` }
func (response ListSightingImpactedResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSightingImpactedResourcesResponse) String() string
ListSightingImpactedResourcesSortByEnum Enum with underlying type: string
type ListSightingImpactedResourcesSortByEnum string
Set of constants representing the allowable values for ListSightingImpactedResourcesSortByEnum
const ( ListSightingImpactedResourcesSortByTimecreated ListSightingImpactedResourcesSortByEnum = "timeCreated" )
func GetListSightingImpactedResourcesSortByEnumValues() []ListSightingImpactedResourcesSortByEnum
GetListSightingImpactedResourcesSortByEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortByEnum
func GetMappingListSightingImpactedResourcesSortByEnum(val string) (ListSightingImpactedResourcesSortByEnum, bool)
GetMappingListSightingImpactedResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingImpactedResourcesSortOrderEnum Enum with underlying type: string
type ListSightingImpactedResourcesSortOrderEnum string
Set of constants representing the allowable values for ListSightingImpactedResourcesSortOrderEnum
const ( ListSightingImpactedResourcesSortOrderAsc ListSightingImpactedResourcesSortOrderEnum = "ASC" ListSightingImpactedResourcesSortOrderDesc ListSightingImpactedResourcesSortOrderEnum = "DESC" )
func GetListSightingImpactedResourcesSortOrderEnumValues() []ListSightingImpactedResourcesSortOrderEnum
GetListSightingImpactedResourcesSortOrderEnumValues Enumerates the set of values for ListSightingImpactedResourcesSortOrderEnum
func GetMappingListSightingImpactedResourcesSortOrderEnum(val string) (ListSightingImpactedResourcesSortOrderEnum, bool)
GetMappingListSightingImpactedResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingsAccessLevelEnum Enum with underlying type: string
type ListSightingsAccessLevelEnum string
Set of constants representing the allowable values for ListSightingsAccessLevelEnum
const ( ListSightingsAccessLevelRestricted ListSightingsAccessLevelEnum = "RESTRICTED" ListSightingsAccessLevelAccessible ListSightingsAccessLevelEnum = "ACCESSIBLE" )
func GetListSightingsAccessLevelEnumValues() []ListSightingsAccessLevelEnum
GetListSightingsAccessLevelEnumValues Enumerates the set of values for ListSightingsAccessLevelEnum
func GetMappingListSightingsAccessLevelEnum(val string) (ListSightingsAccessLevelEnum, bool)
GetMappingListSightingsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingsRequest wrapper for the ListSightings operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListSightings.go.html to see an example of how to use 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 }
func (request ListSightingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSightingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSightingsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSightingsRequest) String() string
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
ListSightingsResponse wrapper for the ListSightings operation
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"` }
func (response ListSightingsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSightingsResponse) String() string
ListSightingsSortByEnum Enum with underlying type: string
type ListSightingsSortByEnum string
Set of constants representing the allowable values for ListSightingsSortByEnum
const ( ListSightingsSortByTimecreated ListSightingsSortByEnum = "timeCreated" )
func GetListSightingsSortByEnumValues() []ListSightingsSortByEnum
GetListSightingsSortByEnumValues Enumerates the set of values for ListSightingsSortByEnum
func GetMappingListSightingsSortByEnum(val string) (ListSightingsSortByEnum, bool)
GetMappingListSightingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListSightingsSortOrderEnum Enum with underlying type: string
type ListSightingsSortOrderEnum string
Set of constants representing the allowable values for ListSightingsSortOrderEnum
const ( ListSightingsSortOrderAsc ListSightingsSortOrderEnum = "ASC" ListSightingsSortOrderDesc ListSightingsSortOrderEnum = "DESC" )
func GetListSightingsSortOrderEnumValues() []ListSightingsSortOrderEnum
GetListSightingsSortOrderEnumValues Enumerates the set of values for ListSightingsSortOrderEnum
func GetMappingListSightingsSortOrderEnum(val string) (ListSightingsSortOrderEnum, bool)
GetMappingListSightingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTacticsLifecycleStateEnum Enum with underlying type: string
type ListTacticsLifecycleStateEnum string
Set of constants representing the allowable values for ListTacticsLifecycleStateEnum
const ( ListTacticsLifecycleStateCreating ListTacticsLifecycleStateEnum = "CREATING" ListTacticsLifecycleStateUpdating ListTacticsLifecycleStateEnum = "UPDATING" ListTacticsLifecycleStateActive ListTacticsLifecycleStateEnum = "ACTIVE" ListTacticsLifecycleStateInactive ListTacticsLifecycleStateEnum = "INACTIVE" ListTacticsLifecycleStateDeleting ListTacticsLifecycleStateEnum = "DELETING" ListTacticsLifecycleStateDeleted ListTacticsLifecycleStateEnum = "DELETED" ListTacticsLifecycleStateFailed ListTacticsLifecycleStateEnum = "FAILED" )
func GetListTacticsLifecycleStateEnumValues() []ListTacticsLifecycleStateEnum
GetListTacticsLifecycleStateEnumValues Enumerates the set of values for ListTacticsLifecycleStateEnum
func GetMappingListTacticsLifecycleStateEnum(val string) (ListTacticsLifecycleStateEnum, bool)
GetMappingListTacticsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTacticsRequest wrapper for the ListTactics operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTactics.go.html to see an example of how to use 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 }
func (request ListTacticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTacticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTacticsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTacticsRequest) String() string
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
ListTacticsResponse wrapper for the ListTactics operation
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"` }
func (response ListTacticsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTacticsResponse) String() string
ListTacticsSortByEnum Enum with underlying type: string
type ListTacticsSortByEnum string
Set of constants representing the allowable values for ListTacticsSortByEnum
const ( ListTacticsSortByDisplayname ListTacticsSortByEnum = "displayName" )
func GetListTacticsSortByEnumValues() []ListTacticsSortByEnum
GetListTacticsSortByEnumValues Enumerates the set of values for ListTacticsSortByEnum
func GetMappingListTacticsSortByEnum(val string) (ListTacticsSortByEnum, bool)
GetMappingListTacticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTacticsSortOrderEnum Enum with underlying type: string
type ListTacticsSortOrderEnum string
Set of constants representing the allowable values for ListTacticsSortOrderEnum
const ( ListTacticsSortOrderAsc ListTacticsSortOrderEnum = "ASC" ListTacticsSortOrderDesc ListTacticsSortOrderEnum = "DESC" )
func GetListTacticsSortOrderEnumValues() []ListTacticsSortOrderEnum
GetListTacticsSortOrderEnumValues Enumerates the set of values for ListTacticsSortOrderEnum
func GetMappingListTacticsSortOrderEnum(val string) (ListTacticsSortOrderEnum, bool)
GetMappingListTacticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
const ( ListTargetDetectorRecipeDetectorRulesLifecycleStateCreating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "CREATING" ListTargetDetectorRecipeDetectorRulesLifecycleStateUpdating ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "UPDATING" ListTargetDetectorRecipeDetectorRulesLifecycleStateActive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "ACTIVE" ListTargetDetectorRecipeDetectorRulesLifecycleStateInactive ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "INACTIVE" ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleting ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETING" ListTargetDetectorRecipeDetectorRulesLifecycleStateDeleted ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "DELETED" ListTargetDetectorRecipeDetectorRulesLifecycleStateFailed ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum = "FAILED" )
func GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues() []ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
GetListTargetDetectorRecipeDetectorRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum
func GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum(val string) (ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum, bool)
GetMappingListTargetDetectorRecipeDetectorRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipeDetectorRulesRequest wrapper for the ListTargetDetectorRecipeDetectorRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetDetectorRecipeDetectorRules.go.html to see an example of how to use ListTargetDetectorRecipeDetectorRulesRequest.
type ListTargetDetectorRecipeDetectorRulesRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListTargetDetectorRecipeDetectorRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListTargetDetectorRecipeDetectorRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListTargetDetectorRecipeDetectorRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListTargetDetectorRecipeDetectorRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetDetectorRecipeDetectorRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetDetectorRecipeDetectorRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetDetectorRecipeDetectorRulesRequest) String() string
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
ListTargetDetectorRecipeDetectorRulesResponse wrapper for the ListTargetDetectorRecipeDetectorRules operation
type ListTargetDetectorRecipeDetectorRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of TargetDetectorRecipeDetectorRuleCollection instances TargetDetectorRecipeDetectorRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTargetDetectorRecipeDetectorRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetDetectorRecipeDetectorRulesResponse) String() string
ListTargetDetectorRecipeDetectorRulesSortByEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesSortByEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortByEnum
const ( ListTargetDetectorRecipeDetectorRulesSortByDisplayname ListTargetDetectorRecipeDetectorRulesSortByEnum = "displayName" ListTargetDetectorRecipeDetectorRulesSortByRisklevel ListTargetDetectorRecipeDetectorRulesSortByEnum = "riskLevel" )
func GetListTargetDetectorRecipeDetectorRulesSortByEnumValues() []ListTargetDetectorRecipeDetectorRulesSortByEnum
GetListTargetDetectorRecipeDetectorRulesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortByEnum
func GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortByEnum, bool)
GetMappingListTargetDetectorRecipeDetectorRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipeDetectorRulesSortOrderEnum Enum with underlying type: string
type ListTargetDetectorRecipeDetectorRulesSortOrderEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum
const ( ListTargetDetectorRecipeDetectorRulesSortOrderAsc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "ASC" ListTargetDetectorRecipeDetectorRulesSortOrderDesc ListTargetDetectorRecipeDetectorRulesSortOrderEnum = "DESC" )
func GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues() []ListTargetDetectorRecipeDetectorRulesSortOrderEnum
GetListTargetDetectorRecipeDetectorRulesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipeDetectorRulesSortOrderEnum
func GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum(val string) (ListTargetDetectorRecipeDetectorRulesSortOrderEnum, bool)
GetMappingListTargetDetectorRecipeDetectorRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipesLifecycleStateEnum Enum with underlying type: string
type ListTargetDetectorRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesLifecycleStateEnum
const ( ListTargetDetectorRecipesLifecycleStateCreating ListTargetDetectorRecipesLifecycleStateEnum = "CREATING" ListTargetDetectorRecipesLifecycleStateUpdating ListTargetDetectorRecipesLifecycleStateEnum = "UPDATING" ListTargetDetectorRecipesLifecycleStateActive ListTargetDetectorRecipesLifecycleStateEnum = "ACTIVE" ListTargetDetectorRecipesLifecycleStateInactive ListTargetDetectorRecipesLifecycleStateEnum = "INACTIVE" ListTargetDetectorRecipesLifecycleStateDeleting ListTargetDetectorRecipesLifecycleStateEnum = "DELETING" ListTargetDetectorRecipesLifecycleStateDeleted ListTargetDetectorRecipesLifecycleStateEnum = "DELETED" ListTargetDetectorRecipesLifecycleStateFailed ListTargetDetectorRecipesLifecycleStateEnum = "FAILED" )
func GetListTargetDetectorRecipesLifecycleStateEnumValues() []ListTargetDetectorRecipesLifecycleStateEnum
GetListTargetDetectorRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetDetectorRecipesLifecycleStateEnum
func GetMappingListTargetDetectorRecipesLifecycleStateEnum(val string) (ListTargetDetectorRecipesLifecycleStateEnum, bool)
GetMappingListTargetDetectorRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipesRequest wrapper for the ListTargetDetectorRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetDetectorRecipes.go.html to see an example of how to use ListTargetDetectorRecipesRequest.
type ListTargetDetectorRecipesRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListTargetDetectorRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListTargetDetectorRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListTargetDetectorRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListTargetDetectorRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetDetectorRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetDetectorRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetDetectorRecipesRequest) String() string
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
ListTargetDetectorRecipesResponse wrapper for the ListTargetDetectorRecipes operation
type ListTargetDetectorRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of TargetDetectorRecipeCollection instances TargetDetectorRecipeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTargetDetectorRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetDetectorRecipesResponse) String() string
ListTargetDetectorRecipesSortByEnum Enum with underlying type: string
type ListTargetDetectorRecipesSortByEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesSortByEnum
const ( ListTargetDetectorRecipesSortByTimecreated ListTargetDetectorRecipesSortByEnum = "timeCreated" ListTargetDetectorRecipesSortByDisplayname ListTargetDetectorRecipesSortByEnum = "displayName" )
func GetListTargetDetectorRecipesSortByEnumValues() []ListTargetDetectorRecipesSortByEnum
GetListTargetDetectorRecipesSortByEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortByEnum
func GetMappingListTargetDetectorRecipesSortByEnum(val string) (ListTargetDetectorRecipesSortByEnum, bool)
GetMappingListTargetDetectorRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetDetectorRecipesSortOrderEnum Enum with underlying type: string
type ListTargetDetectorRecipesSortOrderEnum string
Set of constants representing the allowable values for ListTargetDetectorRecipesSortOrderEnum
const ( ListTargetDetectorRecipesSortOrderAsc ListTargetDetectorRecipesSortOrderEnum = "ASC" ListTargetDetectorRecipesSortOrderDesc ListTargetDetectorRecipesSortOrderEnum = "DESC" )
func GetListTargetDetectorRecipesSortOrderEnumValues() []ListTargetDetectorRecipesSortOrderEnum
GetListTargetDetectorRecipesSortOrderEnumValues Enumerates the set of values for ListTargetDetectorRecipesSortOrderEnum
func GetMappingListTargetDetectorRecipesSortOrderEnum(val string) (ListTargetDetectorRecipesSortOrderEnum, bool)
GetMappingListTargetDetectorRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipeResponderRulesLifecycleStateEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum
const ( ListTargetResponderRecipeResponderRulesLifecycleStateCreating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "CREATING" ListTargetResponderRecipeResponderRulesLifecycleStateUpdating ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "UPDATING" ListTargetResponderRecipeResponderRulesLifecycleStateActive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "ACTIVE" ListTargetResponderRecipeResponderRulesLifecycleStateInactive ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "INACTIVE" ListTargetResponderRecipeResponderRulesLifecycleStateDeleting ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETING" ListTargetResponderRecipeResponderRulesLifecycleStateDeleted ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "DELETED" ListTargetResponderRecipeResponderRulesLifecycleStateFailed ListTargetResponderRecipeResponderRulesLifecycleStateEnum = "FAILED" )
func GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues() []ListTargetResponderRecipeResponderRulesLifecycleStateEnum
GetListTargetResponderRecipeResponderRulesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesLifecycleStateEnum
func GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum(val string) (ListTargetResponderRecipeResponderRulesLifecycleStateEnum, bool)
GetMappingListTargetResponderRecipeResponderRulesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipeResponderRulesRequest wrapper for the ListTargetResponderRecipeResponderRules operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetResponderRecipeResponderRules.go.html to see an example of how to use ListTargetResponderRecipeResponderRulesRequest.
type ListTargetResponderRecipeResponderRulesRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListTargetResponderRecipeResponderRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListTargetResponderRecipeResponderRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. SortBy ListTargetResponderRecipeResponderRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListTargetResponderRecipeResponderRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetResponderRecipeResponderRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetResponderRecipeResponderRulesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetResponderRecipeResponderRulesRequest) String() string
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
ListTargetResponderRecipeResponderRulesResponse wrapper for the ListTargetResponderRecipeResponderRules operation
type ListTargetResponderRecipeResponderRulesResponse struct { // The underlying http response RawResponse *http.Response // A list of TargetResponderRecipeResponderRuleCollection instances TargetResponderRecipeResponderRuleCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTargetResponderRecipeResponderRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetResponderRecipeResponderRulesResponse) String() string
ListTargetResponderRecipeResponderRulesSortByEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesSortByEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortByEnum
const ( ListTargetResponderRecipeResponderRulesSortByDisplayname ListTargetResponderRecipeResponderRulesSortByEnum = "displayName" ListTargetResponderRecipeResponderRulesSortByRisklevel ListTargetResponderRecipeResponderRulesSortByEnum = "riskLevel" )
func GetListTargetResponderRecipeResponderRulesSortByEnumValues() []ListTargetResponderRecipeResponderRulesSortByEnum
GetListTargetResponderRecipeResponderRulesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortByEnum
func GetMappingListTargetResponderRecipeResponderRulesSortByEnum(val string) (ListTargetResponderRecipeResponderRulesSortByEnum, bool)
GetMappingListTargetResponderRecipeResponderRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipeResponderRulesSortOrderEnum Enum with underlying type: string
type ListTargetResponderRecipeResponderRulesSortOrderEnum string
Set of constants representing the allowable values for ListTargetResponderRecipeResponderRulesSortOrderEnum
const ( ListTargetResponderRecipeResponderRulesSortOrderAsc ListTargetResponderRecipeResponderRulesSortOrderEnum = "ASC" ListTargetResponderRecipeResponderRulesSortOrderDesc ListTargetResponderRecipeResponderRulesSortOrderEnum = "DESC" )
func GetListTargetResponderRecipeResponderRulesSortOrderEnumValues() []ListTargetResponderRecipeResponderRulesSortOrderEnum
GetListTargetResponderRecipeResponderRulesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipeResponderRulesSortOrderEnum
func GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum(val string) (ListTargetResponderRecipeResponderRulesSortOrderEnum, bool)
GetMappingListTargetResponderRecipeResponderRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipesLifecycleStateEnum Enum with underlying type: string
type ListTargetResponderRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesLifecycleStateEnum
const ( ListTargetResponderRecipesLifecycleStateCreating ListTargetResponderRecipesLifecycleStateEnum = "CREATING" ListTargetResponderRecipesLifecycleStateUpdating ListTargetResponderRecipesLifecycleStateEnum = "UPDATING" ListTargetResponderRecipesLifecycleStateActive ListTargetResponderRecipesLifecycleStateEnum = "ACTIVE" ListTargetResponderRecipesLifecycleStateInactive ListTargetResponderRecipesLifecycleStateEnum = "INACTIVE" ListTargetResponderRecipesLifecycleStateDeleting ListTargetResponderRecipesLifecycleStateEnum = "DELETING" ListTargetResponderRecipesLifecycleStateDeleted ListTargetResponderRecipesLifecycleStateEnum = "DELETED" ListTargetResponderRecipesLifecycleStateFailed ListTargetResponderRecipesLifecycleStateEnum = "FAILED" )
func GetListTargetResponderRecipesLifecycleStateEnumValues() []ListTargetResponderRecipesLifecycleStateEnum
GetListTargetResponderRecipesLifecycleStateEnumValues Enumerates the set of values for ListTargetResponderRecipesLifecycleStateEnum
func GetMappingListTargetResponderRecipesLifecycleStateEnum(val string) (ListTargetResponderRecipesLifecycleStateEnum, bool)
GetMappingListTargetResponderRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipesRequest wrapper for the ListTargetResponderRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargetResponderRecipes.go.html to see an example of how to use ListTargetResponderRecipesRequest.
type ListTargetResponderRecipesRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. LifecycleState ListTargetResponderRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListTargetResponderRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListTargetResponderRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListTargetResponderRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetResponderRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetResponderRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetResponderRecipesRequest) String() string
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
ListTargetResponderRecipesResponse wrapper for the ListTargetResponderRecipes operation
type ListTargetResponderRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of TargetResponderRecipeCollection instances TargetResponderRecipeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTargetResponderRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetResponderRecipesResponse) String() string
ListTargetResponderRecipesSortByEnum Enum with underlying type: string
type ListTargetResponderRecipesSortByEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesSortByEnum
const ( ListTargetResponderRecipesSortByTimecreated ListTargetResponderRecipesSortByEnum = "timeCreated" ListTargetResponderRecipesSortByDisplayname ListTargetResponderRecipesSortByEnum = "displayName" )
func GetListTargetResponderRecipesSortByEnumValues() []ListTargetResponderRecipesSortByEnum
GetListTargetResponderRecipesSortByEnumValues Enumerates the set of values for ListTargetResponderRecipesSortByEnum
func GetMappingListTargetResponderRecipesSortByEnum(val string) (ListTargetResponderRecipesSortByEnum, bool)
GetMappingListTargetResponderRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetResponderRecipesSortOrderEnum Enum with underlying type: string
type ListTargetResponderRecipesSortOrderEnum string
Set of constants representing the allowable values for ListTargetResponderRecipesSortOrderEnum
const ( ListTargetResponderRecipesSortOrderAsc ListTargetResponderRecipesSortOrderEnum = "ASC" ListTargetResponderRecipesSortOrderDesc ListTargetResponderRecipesSortOrderEnum = "DESC" )
func GetListTargetResponderRecipesSortOrderEnumValues() []ListTargetResponderRecipesSortOrderEnum
GetListTargetResponderRecipesSortOrderEnumValues Enumerates the set of values for ListTargetResponderRecipesSortOrderEnum
func GetMappingListTargetResponderRecipesSortOrderEnum(val string) (ListTargetResponderRecipesSortOrderEnum, bool)
GetMappingListTargetResponderRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetsAccessLevelEnum Enum with underlying type: string
type ListTargetsAccessLevelEnum string
Set of constants representing the allowable values for ListTargetsAccessLevelEnum
const ( ListTargetsAccessLevelRestricted ListTargetsAccessLevelEnum = "RESTRICTED" ListTargetsAccessLevelAccessible ListTargetsAccessLevelEnum = "ACCESSIBLE" )
func GetListTargetsAccessLevelEnumValues() []ListTargetsAccessLevelEnum
GetListTargetsAccessLevelEnumValues Enumerates the set of values for ListTargetsAccessLevelEnum
func GetMappingListTargetsAccessLevelEnum(val string) (ListTargetsAccessLevelEnum, bool)
GetMappingListTargetsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetsLifecycleStateEnum Enum with underlying type: string
type ListTargetsLifecycleStateEnum string
Set of constants representing the allowable values for ListTargetsLifecycleStateEnum
const ( ListTargetsLifecycleStateCreating ListTargetsLifecycleStateEnum = "CREATING" ListTargetsLifecycleStateUpdating ListTargetsLifecycleStateEnum = "UPDATING" ListTargetsLifecycleStateActive ListTargetsLifecycleStateEnum = "ACTIVE" ListTargetsLifecycleStateInactive ListTargetsLifecycleStateEnum = "INACTIVE" ListTargetsLifecycleStateDeleting ListTargetsLifecycleStateEnum = "DELETING" ListTargetsLifecycleStateDeleted ListTargetsLifecycleStateEnum = "DELETED" ListTargetsLifecycleStateFailed ListTargetsLifecycleStateEnum = "FAILED" )
func GetListTargetsLifecycleStateEnumValues() []ListTargetsLifecycleStateEnum
GetListTargetsLifecycleStateEnumValues Enumerates the set of values for ListTargetsLifecycleStateEnum
func GetMappingListTargetsLifecycleStateEnum(val string) (ListTargetsLifecycleStateEnum, bool)
GetMappingListTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetsRequest wrapper for the ListTargets operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTargets.go.html to see an example of how to use ListTargetsRequest.
type ListTargetsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // 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 }
func (request ListTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTargetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTargetsRequest) String() string
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
ListTargetsResponse wrapper for the ListTargets operation
type ListTargetsResponse struct { // The underlying http response RawResponse *http.Response // A list of TargetCollection instances TargetCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListTargetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTargetsResponse) String() string
ListTargetsSortByEnum Enum with underlying type: string
type ListTargetsSortByEnum string
Set of constants representing the allowable values for ListTargetsSortByEnum
const ( ListTargetsSortByTimecreated ListTargetsSortByEnum = "timeCreated" ListTargetsSortByDisplayname ListTargetsSortByEnum = "displayName" )
func GetListTargetsSortByEnumValues() []ListTargetsSortByEnum
GetListTargetsSortByEnumValues Enumerates the set of values for ListTargetsSortByEnum
func GetMappingListTargetsSortByEnum(val string) (ListTargetsSortByEnum, bool)
GetMappingListTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTargetsSortOrderEnum Enum with underlying type: string
type ListTargetsSortOrderEnum string
Set of constants representing the allowable values for ListTargetsSortOrderEnum
const ( ListTargetsSortOrderAsc ListTargetsSortOrderEnum = "ASC" ListTargetsSortOrderDesc ListTargetsSortOrderEnum = "DESC" )
func GetListTargetsSortOrderEnumValues() []ListTargetsSortOrderEnum
GetListTargetsSortOrderEnumValues Enumerates the set of values for ListTargetsSortOrderEnum
func GetMappingListTargetsSortOrderEnum(val string) (ListTargetsSortOrderEnum, bool)
GetMappingListTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTechniquesLifecycleStateEnum Enum with underlying type: string
type ListTechniquesLifecycleStateEnum string
Set of constants representing the allowable values for ListTechniquesLifecycleStateEnum
const ( ListTechniquesLifecycleStateCreating ListTechniquesLifecycleStateEnum = "CREATING" ListTechniquesLifecycleStateUpdating ListTechniquesLifecycleStateEnum = "UPDATING" ListTechniquesLifecycleStateActive ListTechniquesLifecycleStateEnum = "ACTIVE" ListTechniquesLifecycleStateInactive ListTechniquesLifecycleStateEnum = "INACTIVE" ListTechniquesLifecycleStateDeleting ListTechniquesLifecycleStateEnum = "DELETING" ListTechniquesLifecycleStateDeleted ListTechniquesLifecycleStateEnum = "DELETED" ListTechniquesLifecycleStateFailed ListTechniquesLifecycleStateEnum = "FAILED" )
func GetListTechniquesLifecycleStateEnumValues() []ListTechniquesLifecycleStateEnum
GetListTechniquesLifecycleStateEnumValues Enumerates the set of values for ListTechniquesLifecycleStateEnum
func GetMappingListTechniquesLifecycleStateEnum(val string) (ListTechniquesLifecycleStateEnum, bool)
GetMappingListTechniquesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListTechniquesRequest wrapper for the ListTechniques operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListTechniques.go.html to see an example of how to use 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 }
func (request ListTechniquesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTechniquesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTechniquesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTechniquesRequest) String() string
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
ListTechniquesResponse wrapper for the ListTechniques operation
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"` }
func (response ListTechniquesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTechniquesResponse) String() string
ListTechniquesSortByEnum Enum with underlying type: string
type ListTechniquesSortByEnum string
Set of constants representing the allowable values for ListTechniquesSortByEnum
const ( ListTechniquesSortByDisplayname ListTechniquesSortByEnum = "displayName" )
func GetListTechniquesSortByEnumValues() []ListTechniquesSortByEnum
GetListTechniquesSortByEnumValues Enumerates the set of values for ListTechniquesSortByEnum
func GetMappingListTechniquesSortByEnum(val string) (ListTechniquesSortByEnum, bool)
GetMappingListTechniquesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTechniquesSortOrderEnum Enum with underlying type: string
type ListTechniquesSortOrderEnum string
Set of constants representing the allowable values for ListTechniquesSortOrderEnum
const ( ListTechniquesSortOrderAsc ListTechniquesSortOrderEnum = "ASC" ListTechniquesSortOrderDesc ListTechniquesSortOrderEnum = "DESC" )
func GetListTechniquesSortOrderEnumValues() []ListTechniquesSortOrderEnum
GetListTechniquesSortOrderEnumValues Enumerates the set of values for ListTechniquesSortOrderEnum
func GetMappingListTechniquesSortOrderEnum(val string) (ListTechniquesSortOrderEnum, bool)
GetMappingListTechniquesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
LoggingEventInfo The information about new Logging event detail of DataSource.
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"` }
func (m LoggingEventInfo) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoggingEventInfo) String() string
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
LoggingQueryDataSourceDetails The information about new Logging Query of type DataSource.
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"` }
func (m LoggingQueryDataSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoggingQueryDataSourceDetails) String() string
func (m *LoggingQueryDataSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
LoggingQueryDataSourceSummaryDetails The information about new Logging Query of type DataSourceSummary.
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"` }
func (m LoggingQueryDataSourceSummaryDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoggingQueryDataSourceSummaryDetails) String() string
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
LoggingQueryDetails Additional details specific to the data source type (Sighting/Insight).
type LoggingQueryDetails interface { }
LoggingQueryOperatorTypeEnum Enum with underlying type: string
type LoggingQueryOperatorTypeEnum string
Set of constants representing the allowable values for LoggingQueryOperatorTypeEnum
const ( LoggingQueryOperatorTypeEqual LoggingQueryOperatorTypeEnum = "EQUAL" LoggingQueryOperatorTypeGreater LoggingQueryOperatorTypeEnum = "GREATER" LoggingQueryOperatorTypeGreaterthanequalto LoggingQueryOperatorTypeEnum = "GREATERTHANEQUALTO" LoggingQueryOperatorTypeLess LoggingQueryOperatorTypeEnum = "LESS" LoggingQueryOperatorTypeLessthanequalto LoggingQueryOperatorTypeEnum = "LESSTHANEQUALTO" )
func GetLoggingQueryOperatorTypeEnumValues() []LoggingQueryOperatorTypeEnum
GetLoggingQueryOperatorTypeEnumValues Enumerates the set of values for LoggingQueryOperatorTypeEnum
func GetMappingLoggingQueryOperatorTypeEnum(val string) (LoggingQueryOperatorTypeEnum, bool)
GetMappingLoggingQueryOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
LoggingQueryTypeEnum Enum with underlying type: string
type LoggingQueryTypeEnum string
Set of constants representing the allowable values for LoggingQueryTypeEnum
const ( LoggingQueryTypeInsight LoggingQueryTypeEnum = "INSIGHT" )
func GetLoggingQueryTypeEnumValues() []LoggingQueryTypeEnum
GetLoggingQueryTypeEnumValues Enumerates the set of values for LoggingQueryTypeEnum
func GetMappingLoggingQueryTypeEnum(val string) (LoggingQueryTypeEnum, bool)
GetMappingLoggingQueryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedList A managed list is a reusable list of parameters that makes it easier to set the scope for detector and responder rules. A ManagedList object contains the reusable list of parameters, plus metadata for the list.
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"` }
func (m ManagedList) String() string
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
ManagedListCollection Summary of the ManagedList.
type ManagedListCollection struct { // List of ManagedListSummary Items []ManagedListSummary `mandatory:"true" json:"items"` }
func (m ManagedListCollection) String() string
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
ManagedListSummary Summary of ManagedList
type ManagedListSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // ManagedList display name DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier where the resource is created CompartmentId *string `mandatory:"true" json:"compartmentId"` // type of the list ListType ManagedListTypeEnum `mandatory:"true" json:"listType"` // provider of the feed FeedProvider FeedProviderTypeEnum `mandatory:"true" json:"feedProvider"` // List of ManagedListItem ListItems []string `mandatory:"true" json:"listItems"` // ManagedList description Description *string `mandatory:"false" json:"description"` // OCID of the Source ManagedList SourceManagedListId *string `mandatory:"false" json:"sourceManagedListId"` // If this list is editable or not IsEditable *bool `mandatory:"false" json:"isEditable"` // The date and time the managed list was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the managed list was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` // 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"` }
func (m ManagedListSummary) String() string
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
ManagedListTypeCollection Summary of the ManagedListType.
type ManagedListTypeCollection struct { // List of ManagedListTypeSummary Items []ManagedListTypeSummary `mandatory:"true" json:"items"` }
func (m ManagedListTypeCollection) String() string
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
ManagedListTypeEnum Enum with underlying type: string
type ManagedListTypeEnum string
Set of constants representing the allowable values for ManagedListTypeEnum
const ( ManagedListTypeCidrBlock ManagedListTypeEnum = "CIDR_BLOCK" ManagedListTypeUsers ManagedListTypeEnum = "USERS" ManagedListTypeGroups ManagedListTypeEnum = "GROUPS" ManagedListTypeIpv4Address ManagedListTypeEnum = "IPV4ADDRESS" ManagedListTypeIpv6Address ManagedListTypeEnum = "IPV6ADDRESS" ManagedListTypeResourceOcid ManagedListTypeEnum = "RESOURCE_OCID" ManagedListTypeRegion ManagedListTypeEnum = "REGION" ManagedListTypeCountry ManagedListTypeEnum = "COUNTRY" ManagedListTypeState ManagedListTypeEnum = "STATE" ManagedListTypeCity ManagedListTypeEnum = "CITY" ManagedListTypeTags ManagedListTypeEnum = "TAGS" ManagedListTypeGeneric ManagedListTypeEnum = "GENERIC" ManagedListTypeFusionAppsRole ManagedListTypeEnum = "FUSION_APPS_ROLE" ManagedListTypeFusionAppsPermission ManagedListTypeEnum = "FUSION_APPS_PERMISSION" )
func GetManagedListTypeEnumValues() []ManagedListTypeEnum
GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum
func GetMappingManagedListTypeEnum(val string) (ManagedListTypeEnum, bool)
GetMappingManagedListTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ManagedListTypeSummary A managed list type summary (ManagedListTypeSummary object) contains summary information for a managed list type (ManagedListType object).
type ManagedListTypeSummary struct { // ManagedListType Identifier Id *string `mandatory:"true" json:"id"` // ManagedListType description Description *string `mandatory:"false" json:"description"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ManagedListTypeSummary) String() string
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
NoDelayStartPolicy Continuous query start policy that starts the query immediately.
type NoDelayStartPolicy struct { }
func (m NoDelayStartPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NoDelayStartPolicy) String() string
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
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreate OperationTypeEnum = "CREATE" OperationTypeUpdate OperationTypeEnum = "UPDATE" OperationTypeDelete OperationTypeEnum = "DELETE" OperationTypeMove OperationTypeEnum = "MOVE" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
OperatorSummary Summary of Operator
type OperatorSummary struct { // name of the operand Name *string `mandatory:"true" json:"name"` // display name of the operand DisplayName *string `mandatory:"true" json:"displayName"` // data type of operand Datatype *string `mandatory:"true" json:"datatype"` // operand list type ManagedListtype *string `mandatory:"true" json:"managedListtype"` // Filter type can be config filter or condition filter FilterType ConditionFilterTypeEnum `mandatory:"true" json:"filterType"` // List of parameters Operators []ConditionOperator `mandatory:"true" json:"operators"` // configuration value type list for multilist data type MultiListTypes []string `mandatory:"false" json:"multiListTypes"` }
func (m OperatorSummary) String() string
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
OperatorTypeEnum Enum with underlying type: string
type OperatorTypeEnum string
Set of constants representing the allowable values for OperatorTypeEnum
const ( OperatorTypeIn OperatorTypeEnum = "IN" OperatorTypeNotIn OperatorTypeEnum = "NOT_IN" OperatorTypeEquals OperatorTypeEnum = "EQUALS" OperatorTypeNotEquals OperatorTypeEnum = "NOT_EQUALS" )
func GetMappingOperatorTypeEnum(val string) (OperatorTypeEnum, bool)
GetMappingOperatorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperatorTypeEnumValues() []OperatorTypeEnum
GetOperatorTypeEnumValues Enumerates the set of values for OperatorTypeEnum
OwnerTypeEnum Enum with underlying type: string
type OwnerTypeEnum string
Set of constants representing the allowable values for OwnerTypeEnum
const ( OwnerTypeCustomer OwnerTypeEnum = "CUSTOMER" OwnerTypeOracle OwnerTypeEnum = "ORACLE" )
func GetMappingOwnerTypeEnum(val string) (OwnerTypeEnum, bool)
GetMappingOwnerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOwnerTypeEnumValues() []OwnerTypeEnum
GetOwnerTypeEnumValues Enumerates the set of values for OwnerTypeEnum
PolicyCollection Collection of policy statements required by cloud guard
type PolicyCollection struct { // List of global policy statements Items []PolicySummary `mandatory:"true" json:"items"` }
func (m PolicyCollection) String() string
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
PolicySummary A policy summary (PolicySummary object) contains a list of all current global policy statements (policy attributes).
type PolicySummary struct { // Global policy statement Policy *string `mandatory:"true" json:"policy"` }
func (m PolicySummary) String() string
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
PoliticalLocation Political location of a problem
type PoliticalLocation struct { // City City *string `mandatory:"true" json:"city"` // State State *string `mandatory:"true" json:"state"` // Country Country *string `mandatory:"true" json:"country"` }
func (m PoliticalLocation) String() string
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
Problem Problems are at the core of Cloud Guard’s functionality. A Problem object is created whenever an action or a configuration on a resource triggers a rule in a detector that’s attached to the target containing the compartment where the resource is located. Each Problem object contains all the details for a single problem. This is the information for the problem that appears on the Cloud Guard Problems page.
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"` }
func (m Problem) String() string
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
ProblemAggregation Provides aggregated information on counts of problems by specified parameters.
type ProblemAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // The number of occurences with given dimension/s Count *int `mandatory:"true" json:"count"` }
func (m ProblemAggregation) String() string
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
ProblemAggregationCollection Problem Analytics data.
type ProblemAggregationCollection struct { // The items consist of all the ProblemAggregation objects. Items []ProblemAggregation `mandatory:"true" json:"items"` }
func (m ProblemAggregationCollection) String() string
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
ProblemCategoryEnumEnum Enum with underlying type: string
type ProblemCategoryEnumEnum string
Set of constants representing the allowable values for ProblemCategoryEnumEnum
const ( ProblemCategoryEnumSecurityZone ProblemCategoryEnumEnum = "SECURITY_ZONE" )
func GetMappingProblemCategoryEnumEnum(val string) (ProblemCategoryEnumEnum, bool)
GetMappingProblemCategoryEnumEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProblemCategoryEnumEnumValues() []ProblemCategoryEnumEnum
GetProblemCategoryEnumEnumValues Enumerates the set of values for ProblemCategoryEnumEnum
ProblemCollection Collection of Problem
type ProblemCollection struct { // List of ProblemSummary Items []ProblemSummary `mandatory:"true" json:"items"` }
func (m ProblemCollection) String() string
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
ProblemDimensionEnum Enum with underlying type: string
type ProblemDimensionEnum string
Set of constants representing the allowable values for ProblemDimensionEnum
const ( ProblemDimensionResourceType ProblemDimensionEnum = "RESOURCE_TYPE" ProblemDimensionRegion ProblemDimensionEnum = "REGION" ProblemDimensionCompartmentId ProblemDimensionEnum = "COMPARTMENT_ID" ProblemDimensionRiskLevel ProblemDimensionEnum = "RISK_LEVEL" )
func GetMappingProblemDimensionEnum(val string) (ProblemDimensionEnum, bool)
GetMappingProblemDimensionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProblemDimensionEnumValues() []ProblemDimensionEnum
GetProblemDimensionEnumValues Enumerates the set of values for ProblemDimensionEnum
ProblemEndpointCollection Provides the list of problem endpoints
type ProblemEndpointCollection struct { // List of problem endpoints Items []ProblemEndpointSummary `mandatory:"true" json:"items"` }
func (m ProblemEndpointCollection) String() string
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
ProblemEndpointSummary Summary information for endpoints associated with a problem (Problem object).
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"` }
func (m ProblemEndpointSummary) String() string
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
ProblemEntityCollection The collection of problem entities detail related to a data source.
type ProblemEntityCollection struct { // List of problem entities summaries related to a data source. Items []ProblemEntitySummary `mandatory:"true" json:"items"` }
func (m ProblemEntityCollection) String() string
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
ProblemEntitySummary The information about problem entities details of DataSource for a CloudGuard Problem.
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"` }
func (m ProblemEntitySummary) String() string
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
ProblemHistoryCollection Collection of Problem History
type ProblemHistoryCollection struct { // List of ProblemHistorySummary Items []ProblemHistorySummary `mandatory:"true" json:"items"` }
func (m ProblemHistoryCollection) String() string
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
ProblemHistorySummary Problem History Definition.
type ProblemHistorySummary struct { // Unique identifier for the history record Id *string `mandatory:"true" json:"id"` // problemId for which history is associated to. ProblemId *string `mandatory:"true" json:"problemId"` // Actor type who performed the operation ActorType ActorTypeEnum `mandatory:"true" json:"actorType"` // Resource Name who performed activity ActorName *string `mandatory:"true" json:"actorName"` // Activity explanation details Explanation *string `mandatory:"true" json:"explanation"` // Problem Lifecycle Detail Status LifecycleDetail ProblemLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"` // Type of the Entity TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Impacted Resource Names in a comma-separated string. Delta *string `mandatory:"true" json:"delta"` // Event status EventStatus EventStatusEnum `mandatory:"false" json:"eventStatus,omitempty"` // User Defined Comments Comment *string `mandatory:"false" json:"comment"` }
func (m ProblemHistorySummary) String() string
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
ProblemLifecycleDetailEnum Enum with underlying type: string
type ProblemLifecycleDetailEnum string
Set of constants representing the allowable values for ProblemLifecycleDetailEnum
const ( ProblemLifecycleDetailOpen ProblemLifecycleDetailEnum = "OPEN" ProblemLifecycleDetailResolved ProblemLifecycleDetailEnum = "RESOLVED" ProblemLifecycleDetailDismissed ProblemLifecycleDetailEnum = "DISMISSED" ProblemLifecycleDetailDeleted ProblemLifecycleDetailEnum = "DELETED" )
func GetMappingProblemLifecycleDetailEnum(val string) (ProblemLifecycleDetailEnum, bool)
GetMappingProblemLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProblemLifecycleDetailEnumValues() []ProblemLifecycleDetailEnum
GetProblemLifecycleDetailEnumValues Enumerates the set of values for ProblemLifecycleDetailEnum
ProblemLifecycleStateEnum Enum with underlying type: string
type ProblemLifecycleStateEnum string
Set of constants representing the allowable values for ProblemLifecycleStateEnum
const ( ProblemLifecycleStateActive ProblemLifecycleStateEnum = "ACTIVE" ProblemLifecycleStateInactive ProblemLifecycleStateEnum = "INACTIVE" )
func GetMappingProblemLifecycleStateEnum(val string) (ProblemLifecycleStateEnum, bool)
GetMappingProblemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProblemLifecycleStateEnumValues() []ProblemLifecycleStateEnum
GetProblemLifecycleStateEnumValues Enumerates the set of values for ProblemLifecycleStateEnum
ProblemSummary Summary of the Problem.
type ProblemSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // Compartment Identifier where the resource is created CompartmentId *string `mandatory:"true" json:"compartmentId"` // Identifier of the rule DetectorRuleId *string `mandatory:"false" json:"detectorRuleId"` // The Risk Level RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"` // 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"` }
func (m ProblemSummary) String() string
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
ProblemTrendAggregation Provides aggregated information on trends for counts of problems by specified parameters.
type ProblemTrendAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // Start Time in epoch seconds StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"` // Duration DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"` // The number of occurences with for the corresponding time range and dimensions. Count *int `mandatory:"true" json:"count"` }
func (m ProblemTrendAggregation) String() string
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
ProblemTrendAggregationCollection Problem Trend Aggregation Collection.
type ProblemTrendAggregationCollection struct { // The items consist of all the ProblemTrendAggregation objects. Items []ProblemTrendAggregation `mandatory:"true" json:"items"` }
func (m ProblemTrendAggregationCollection) String() string
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
QueryReplicationStatusEnum Enum with underlying type: string
type QueryReplicationStatusEnum string
Set of constants representing the allowable values for QueryReplicationStatusEnum
const ( QueryReplicationStatusProvisioning QueryReplicationStatusEnum = "PROVISIONING" QueryReplicationStatusFailed QueryReplicationStatusEnum = "FAILED" QueryReplicationStatusSucceeded QueryReplicationStatusEnum = "SUCCEEDED" )
func GetMappingQueryReplicationStatusEnum(val string) (QueryReplicationStatusEnum, bool)
GetMappingQueryReplicationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetQueryReplicationStatusEnumValues() []QueryReplicationStatusEnum
GetQueryReplicationStatusEnumValues Enumerates the set of values for QueryReplicationStatusEnum
RecommendationLifecycleDetailEnum Enum with underlying type: string
type RecommendationLifecycleDetailEnum string
Set of constants representing the allowable values for RecommendationLifecycleDetailEnum
const ( RecommendationLifecycleDetailOpen RecommendationLifecycleDetailEnum = "OPEN" RecommendationLifecycleDetailResolved RecommendationLifecycleDetailEnum = "RESOLVED" RecommendationLifecycleDetailDismissed RecommendationLifecycleDetailEnum = "DISMISSED" )
func GetMappingRecommendationLifecycleDetailEnum(val string) (RecommendationLifecycleDetailEnum, bool)
GetMappingRecommendationLifecycleDetailEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRecommendationLifecycleDetailEnumValues() []RecommendationLifecycleDetailEnum
GetRecommendationLifecycleDetailEnumValues Enumerates the set of values for RecommendationLifecycleDetailEnum
RecommendationSummary Recommendation Definition.
type RecommendationSummary struct { // Unique identifier for Recommendation Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // targetId associated with the problem TargetId *string `mandatory:"true" json:"targetId"` // Recommendation details Details map[string]string `mandatory:"true" json:"details"` // Count number of the problem ProblemCount *int64 `mandatory:"true" json:"problemCount"` // The current state of the Recommendation. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The lifecycleDetail will give more detail on the substate of the lifecycleState. LifecycleDetail RecommendationLifecycleDetailEnum `mandatory:"true" json:"lifecycleDetail"` // recommendation string showing on UX Name *string `mandatory:"true" json:"name"` // description of the recommendation Description *string `mandatory:"true" json:"description"` // Recommendation type Type RecommendationTypeEnum `mandatory:"false" json:"type,omitempty"` // Tenant Identifier TenantId *string `mandatory:"false" json:"tenantId"` // The Risk Level RiskLevel RiskLevelEnum `mandatory:"false" json:"riskLevel,omitempty"` // problem creating time TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // problem updating time TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` }
func (m RecommendationSummary) String() string
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
RecommendationSummaryCollection Collection of the RecommendationSummary
type RecommendationSummaryCollection struct { // List of Recommendation Items []RecommendationSummary `mandatory:"true" json:"items"` }
func (m RecommendationSummaryCollection) String() string
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
RecommendationTypeEnum Enum with underlying type: string
type RecommendationTypeEnum string
Set of constants representing the allowable values for RecommendationTypeEnum
const ( RecommendationTypeDetectorProblems RecommendationTypeEnum = "DETECTOR_PROBLEMS" RecommendationTypeResolvedProblems RecommendationTypeEnum = "RESOLVED_PROBLEMS" )
func GetMappingRecommendationTypeEnum(val string) (RecommendationTypeEnum, bool)
GetMappingRecommendationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRecommendationTypeEnumValues() []RecommendationTypeEnum
GetRecommendationTypeEnumValues Enumerates the set of values for RecommendationTypeEnum
RegionStatusDetail Status of Region query replication.
type RegionStatusDetail struct { // Data Source replication region. Region *string `mandatory:"true" json:"region"` // Data Source replication region status. Status QueryReplicationStatusEnum `mandatory:"true" json:"status"` }
func (m RegionStatusDetail) String() string
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
RemoveCompartmentDetails An existing compartment to remove from a security zone
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"` }
func (m RemoveCompartmentDetails) String() string
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
RemoveCompartmentRequest wrapper for the RemoveCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RemoveCompartment.go.html to see an example of how to use RemoveCompartmentRequest.
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 }
func (request RemoveCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RemoveCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RemoveCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RemoveCompartmentRequest) String() string
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
RemoveCompartmentResponse wrapper for the RemoveCompartment operation
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"` }
func (response RemoveCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RemoveCompartmentResponse) String() string
RequestRiskScoresRequest wrapper for the RequestRiskScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestRiskScores.go.html to see an example of how to use RequestRiskScoresRequest.
type RequestRiskScoresRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestRiskScoresRequest) String() string
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
RequestRiskScoresResponse wrapper for the RequestRiskScores operation
type RequestRiskScoresResponse struct { // The underlying http response RawResponse *http.Response // A list of RiskScoreAggregationCollection instances RiskScoreAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestRiskScoresResponse) String() string
RequestSecurityScoreSummarizedTrendRequest wrapper for the RequestSecurityScoreSummarizedTrend operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSecurityScoreSummarizedTrend.go.html to see an example of how to use RequestSecurityScoreSummarizedTrendRequest.
type RequestSecurityScoreSummarizedTrendRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"` // End time for a filter. If end time is not specified, end time will be set to today's current time. TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSecurityScoreSummarizedTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSecurityScoreSummarizedTrendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSecurityScoreSummarizedTrendRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSecurityScoreSummarizedTrendRequest) String() string
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
RequestSecurityScoreSummarizedTrendResponse wrapper for the RequestSecurityScoreSummarizedTrend operation
type RequestSecurityScoreSummarizedTrendResponse struct { // The underlying http response RawResponse *http.Response // A list of SecurityScoreTrendAggregationCollection instances SecurityScoreTrendAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSecurityScoreSummarizedTrendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSecurityScoreSummarizedTrendResponse) String() string
RequestSecurityScoresRequest wrapper for the RequestSecurityScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSecurityScores.go.html to see an example of how to use RequestSecurityScoresRequest.
type RequestSecurityScoresRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSecurityScoresRequest) String() string
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
RequestSecurityScoresResponse wrapper for the RequestSecurityScores operation
type RequestSecurityScoresResponse struct { // The underlying http response RawResponse *http.Response // A list of SecurityScoreAggregationCollection instances SecurityScoreAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSecurityScoresResponse) String() string
RequestSummarizedActivityProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedActivityProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedActivityProblemsAccessLevelEnum
const ( RequestSummarizedActivityProblemsAccessLevelRestricted RequestSummarizedActivityProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedActivityProblemsAccessLevelAccessible RequestSummarizedActivityProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedActivityProblemsAccessLevelEnum(val string) (RequestSummarizedActivityProblemsAccessLevelEnum, bool)
GetMappingRequestSummarizedActivityProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedActivityProblemsAccessLevelEnumValues() []RequestSummarizedActivityProblemsAccessLevelEnum
GetRequestSummarizedActivityProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedActivityProblemsAccessLevelEnum
RequestSummarizedActivityProblemsRequest wrapper for the RequestSummarizedActivityProblems operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedActivityProblems.go.html to see an example of how to use RequestSummarizedActivityProblemsRequest.
type RequestSummarizedActivityProblemsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Default is false. // When set to true, the hierarchy of compartments is traversed // and all compartments and subcompartments in the tenancy are // returned depending on the the setting of `accessLevel`. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. // Setting this to `ACCESSIBLE` returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). // When set to `RESTRICTED` permissions are checked and no partial results are displayed. AccessLevel RequestSummarizedActivityProblemsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Default is false. // When set to true, the summary of activity problems that has unknown values for // city, state or country will be included. IncludeUnknownLocations *bool `mandatory:"false" contributesTo:"query" name:"includeUnknownLocations"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSummarizedActivityProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedActivityProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedActivityProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedActivityProblemsRequest) String() string
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
RequestSummarizedActivityProblemsResponse wrapper for the RequestSummarizedActivityProblems operation
type RequestSummarizedActivityProblemsResponse struct { // The underlying http response RawResponse *http.Response // A list of ActivityProblemAggregationCollection instances ActivityProblemAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedActivityProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedActivityProblemsResponse) String() string
RequestSummarizedProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedProblemsAccessLevelEnum
const ( RequestSummarizedProblemsAccessLevelRestricted RequestSummarizedProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedProblemsAccessLevelAccessible RequestSummarizedProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedProblemsAccessLevelEnum(val string) (RequestSummarizedProblemsAccessLevelEnum, bool)
GetMappingRequestSummarizedProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedProblemsAccessLevelEnumValues() []RequestSummarizedProblemsAccessLevelEnum
GetRequestSummarizedProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedProblemsAccessLevelEnum
RequestSummarizedProblemsRequest wrapper for the RequestSummarizedProblems operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedProblems.go.html to see an example of how to use RequestSummarizedProblemsRequest.
type RequestSummarizedProblemsRequest struct { // The possible attributes based on which the problems can be distinguished. ListDimensions []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 }
func (request RequestSummarizedProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedProblemsRequest) String() string
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
RequestSummarizedProblemsResponse wrapper for the RequestSummarizedProblems operation
type RequestSummarizedProblemsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProblemAggregationCollection instances ProblemAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedProblemsResponse) String() string
RequestSummarizedResponderExecutionsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedResponderExecutionsAccessLevelEnum
const ( RequestSummarizedResponderExecutionsAccessLevelRestricted RequestSummarizedResponderExecutionsAccessLevelEnum = "RESTRICTED" RequestSummarizedResponderExecutionsAccessLevelAccessible RequestSummarizedResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedResponderExecutionsAccessLevelEnum, bool)
GetMappingRequestSummarizedResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedResponderExecutionsAccessLevelEnumValues() []RequestSummarizedResponderExecutionsAccessLevelEnum
GetRequestSummarizedResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedResponderExecutionsAccessLevelEnum
RequestSummarizedResponderExecutionsRequest wrapper for the RequestSummarizedResponderExecutions operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedResponderExecutions.go.html to see an example of how to use RequestSummarizedResponderExecutionsRequest.
type RequestSummarizedResponderExecutionsRequest struct { // The possible attributes based on which the responder executions can be distinguished ResponderExecutionsDimensions []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 }
func (request RequestSummarizedResponderExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedResponderExecutionsRequest) String() string
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
RequestSummarizedResponderExecutionsResponse wrapper for the RequestSummarizedResponderExecutions operation
type RequestSummarizedResponderExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderExecutionAggregationCollection instances ResponderExecutionAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedResponderExecutionsResponse) String() string
RequestSummarizedRiskScoresRequest wrapper for the RequestSummarizedRiskScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedRiskScores.go.html to see an example of how to use RequestSummarizedRiskScoresRequest.
type RequestSummarizedRiskScoresRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSummarizedRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedRiskScoresRequest) String() string
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
RequestSummarizedRiskScoresResponse wrapper for the RequestSummarizedRiskScores operation
type RequestSummarizedRiskScoresResponse struct { // The underlying http response RawResponse *http.Response // A list of RiskScoreAggregationCollection instances RiskScoreAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedRiskScoresResponse) String() string
RequestSummarizedSecurityScoresRequest wrapper for the RequestSummarizedSecurityScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedSecurityScores.go.html to see an example of how to use RequestSummarizedSecurityScoresRequest.
type RequestSummarizedSecurityScoresRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSummarizedSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedSecurityScoresRequest) String() string
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
RequestSummarizedSecurityScoresResponse wrapper for the RequestSummarizedSecurityScores operation
type RequestSummarizedSecurityScoresResponse struct { // The underlying http response RawResponse *http.Response // A list of SecurityScoreAggregationCollection instances SecurityScoreAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedSecurityScoresResponse) String() string
RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum
const ( RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelRestricted RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "RESTRICTED" RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelAccessible RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum, bool)
GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum
GetRequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresAccessLevelEnum
RequestSummarizedTopTrendResourceProfileRiskScoresRequest wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.go.html to see an example of how to use 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 }
func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) String() string
func (request RequestSummarizedTopTrendResourceProfileRiskScoresRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestSummarizedTopTrendResourceProfileRiskScoresResponse wrapper for the RequestSummarizedTopTrendResourceProfileRiskScores operation
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"` }
func (response RequestSummarizedTopTrendResourceProfileRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTopTrendResourceProfileRiskScoresResponse) String() string
RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum Enum with underlying type: string
type RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum string
Set of constants representing the allowable values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum
const ( RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscore RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScore" RequestSummarizedTopTrendResourceProfileRiskScoresSortByRiskscoregrowth RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "riskScoreGrowth" RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimefirstdetected RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeFirstDetected" RequestSummarizedTopTrendResourceProfileRiskScoresSortByTimelastdetected RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum = "timeLastDetected" )
func GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum(val string) (RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum, bool)
GetMappingRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues() []RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum
GetRequestSummarizedTopTrendResourceProfileRiskScoresSortByEnumValues Enumerates the set of values for RequestSummarizedTopTrendResourceProfileRiskScoresSortByEnum
RequestSummarizedTrendProblemsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTrendProblemsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTrendProblemsAccessLevelEnum
const ( RequestSummarizedTrendProblemsAccessLevelRestricted RequestSummarizedTrendProblemsAccessLevelEnum = "RESTRICTED" RequestSummarizedTrendProblemsAccessLevelAccessible RequestSummarizedTrendProblemsAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedTrendProblemsAccessLevelEnum(val string) (RequestSummarizedTrendProblemsAccessLevelEnum, bool)
GetMappingRequestSummarizedTrendProblemsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedTrendProblemsAccessLevelEnumValues() []RequestSummarizedTrendProblemsAccessLevelEnum
GetRequestSummarizedTrendProblemsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendProblemsAccessLevelEnum
RequestSummarizedTrendProblemsRequest wrapper for the RequestSummarizedTrendProblems operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendProblems.go.html to see an example of how to use RequestSummarizedTrendProblemsRequest.
type RequestSummarizedTrendProblemsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Start time for a filter. If start time is not specified, start time will be set to 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 }
func (request RequestSummarizedTrendProblemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedTrendProblemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendProblemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendProblemsRequest) String() string
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
RequestSummarizedTrendProblemsResponse wrapper for the RequestSummarizedTrendProblems operation
type RequestSummarizedTrendProblemsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProblemTrendAggregationCollection instances ProblemTrendAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedTrendProblemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendProblemsResponse) String() string
RequestSummarizedTrendResourceRiskScoresAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTrendResourceRiskScoresAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum
const ( RequestSummarizedTrendResourceRiskScoresAccessLevelRestricted RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "RESTRICTED" RequestSummarizedTrendResourceRiskScoresAccessLevelAccessible RequestSummarizedTrendResourceRiskScoresAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum(val string) (RequestSummarizedTrendResourceRiskScoresAccessLevelEnum, bool)
GetMappingRequestSummarizedTrendResourceRiskScoresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues() []RequestSummarizedTrendResourceRiskScoresAccessLevelEnum
GetRequestSummarizedTrendResourceRiskScoresAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResourceRiskScoresAccessLevelEnum
RequestSummarizedTrendResourceRiskScoresDetails ResourceRiskScores filter.
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"` }
func (m RequestSummarizedTrendResourceRiskScoresDetails) String() string
func (m RequestSummarizedTrendResourceRiskScoresDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestSummarizedTrendResourceRiskScoresRequest wrapper for the RequestSummarizedTrendResourceRiskScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendResourceRiskScores.go.html to see an example of how to use 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 }
func (request RequestSummarizedTrendResourceRiskScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedTrendResourceRiskScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendResourceRiskScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendResourceRiskScoresRequest) String() string
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
RequestSummarizedTrendResourceRiskScoresResponse wrapper for the RequestSummarizedTrendResourceRiskScores operation
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"` }
func (response RequestSummarizedTrendResourceRiskScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendResourceRiskScoresResponse) String() string
RequestSummarizedTrendResponderExecutionsAccessLevelEnum Enum with underlying type: string
type RequestSummarizedTrendResponderExecutionsAccessLevelEnum string
Set of constants representing the allowable values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum
const ( RequestSummarizedTrendResponderExecutionsAccessLevelRestricted RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "RESTRICTED" RequestSummarizedTrendResponderExecutionsAccessLevelAccessible RequestSummarizedTrendResponderExecutionsAccessLevelEnum = "ACCESSIBLE" )
func GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum(val string) (RequestSummarizedTrendResponderExecutionsAccessLevelEnum, bool)
GetMappingRequestSummarizedTrendResponderExecutionsAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues() []RequestSummarizedTrendResponderExecutionsAccessLevelEnum
GetRequestSummarizedTrendResponderExecutionsAccessLevelEnumValues Enumerates the set of values for RequestSummarizedTrendResponderExecutionsAccessLevelEnum
RequestSummarizedTrendResponderExecutionsRequest wrapper for the RequestSummarizedTrendResponderExecutions operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendResponderExecutions.go.html to see an example of how to use RequestSummarizedTrendResponderExecutionsRequest.
type RequestSummarizedTrendResponderExecutionsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Completion End Time TimeCompletedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedGreaterThanOrEqualTo"` // Completion Start Time TimeCompletedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCompletedLessThanOrEqualTo"` // Default is false. // When set to true, the hierarchy of compartments is traversed // and all compartments and subcompartments in the tenancy are // returned depending on the the setting of `accessLevel`. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. // Setting this to `ACCESSIBLE` returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). // When set to `RESTRICTED` permissions are checked and no partial results are displayed. AccessLevel RequestSummarizedTrendResponderExecutionsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSummarizedTrendResponderExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedTrendResponderExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendResponderExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendResponderExecutionsRequest) String() string
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
RequestSummarizedTrendResponderExecutionsResponse wrapper for the RequestSummarizedTrendResponderExecutions operation
type RequestSummarizedTrendResponderExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ResponderExecutionTrendAggregationCollection instances ResponderExecutionTrendAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedTrendResponderExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendResponderExecutionsResponse) String() string
RequestSummarizedTrendSecurityScoresRequest wrapper for the RequestSummarizedTrendSecurityScores operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/RequestSummarizedTrendSecurityScores.go.html to see an example of how to use RequestSummarizedTrendSecurityScoresRequest.
type RequestSummarizedTrendSecurityScoresRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. TimeScoreComputedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedGreaterThanOrEqualTo"` // End time for a filter. If end time is not specified, end time will be set to today's current time. TimeScoreComputedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeScoreComputedLessThanOrEqualTo"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RequestSummarizedTrendSecurityScoresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedTrendSecurityScoresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedTrendSecurityScoresRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedTrendSecurityScoresRequest) String() string
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
RequestSummarizedTrendSecurityScoresResponse wrapper for the RequestSummarizedTrendSecurityScores operation
type RequestSummarizedTrendSecurityScoresResponse struct { // The underlying http response RawResponse *http.Response // A list of SecurityScoreTrendAggregationCollection instances SecurityScoreTrendAggregationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedTrendSecurityScoresResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedTrendSecurityScoresResponse) String() string
ResourceProfile Resource profile details
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"` }
func (m ResourceProfile) String() string
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
ResourceProfileCollection Collection of resource profile summary.
type ResourceProfileCollection struct { // List of resource profiles Items []ResourceProfileSummary `mandatory:"true" json:"items"` }
func (m ResourceProfileCollection) String() string
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
ResourceProfileEndpointCollection Collection of Resource Profile endpoint summaries
type ResourceProfileEndpointCollection struct { // List of ResourceProfileEndpointSummary Items []ResourceProfileEndpointSummary `mandatory:"true" json:"items"` }
func (m ResourceProfileEndpointCollection) String() string
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
ResourceProfileEndpointSummary Resource Profile Endpoints summary.
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"` }
func (m ResourceProfileEndpointSummary) String() string
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
ResourceProfileImpactedResourceCollection Collection of resource profile impacted resource summaries
type ResourceProfileImpactedResourceCollection struct { // List of ResourceProfileImpactedResourceSummary Items []ResourceProfileImpactedResourceSummary `mandatory:"true" json:"items"` }
func (m ResourceProfileImpactedResourceCollection) String() string
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
ResourceProfileImpactedResourceSummary Resource Profile impacted resource summary.
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"` }
func (m ResourceProfileImpactedResourceSummary) String() string
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
ResourceProfileRiskScoreAggregationSummary Resource profile risk score trend-line
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"` }
func (m ResourceProfileRiskScoreAggregationSummary) String() string
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
ResourceProfileRiskScoreAggregationSummaryCollection Collection of resource profile risk score trends.
type ResourceProfileRiskScoreAggregationSummaryCollection struct { // List of ResourceProfileRiskScoreAggregationSummary Items []ResourceProfileRiskScoreAggregationSummary `mandatory:"true" json:"items"` }
func (m ResourceProfileRiskScoreAggregationSummaryCollection) String() string
func (m ResourceProfileRiskScoreAggregationSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ResourceProfileSummary Resource profile summary.
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"` }
func (m ResourceProfileSummary) String() string
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
ResourceRiskScoreAggregation Risk score of a resource.
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"` }
func (m ResourceRiskScoreAggregation) String() string
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
ResourceRiskScoreAggregationCollection Collection of Resource risk scores
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"` }
func (m ResourceRiskScoreAggregationCollection) String() string
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
ResourceRiskScoreDimensionEnum Enum with underlying type: string
type ResourceRiskScoreDimensionEnum string
Set of constants representing the allowable values for ResourceRiskScoreDimensionEnum
const ( ResourceRiskScoreDimensionProblemId ResourceRiskScoreDimensionEnum = "PROBLEM_ID" ResourceRiskScoreDimensionResourceProfileId ResourceRiskScoreDimensionEnum = "RESOURCE_PROFILE_ID" )
func GetMappingResourceRiskScoreDimensionEnum(val string) (ResourceRiskScoreDimensionEnum, bool)
GetMappingResourceRiskScoreDimensionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceRiskScoreDimensionEnumValues() []ResourceRiskScoreDimensionEnum
GetResourceRiskScoreDimensionEnumValues Enumerates the set of values for ResourceRiskScoreDimensionEnum
ResourceTypeCollection resource type provided by cloud guard
type ResourceTypeCollection struct { // collection of resource types Items []ResourceTypeSummary `mandatory:"true" json:"items"` }
func (m ResourceTypeCollection) String() string
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
ResourceTypeSummary Summary of ResourceType
type ResourceTypeSummary struct { // name of the resource Name *string `mandatory:"true" json:"name"` // display name of the resource DisplayName *string `mandatory:"true" json:"displayName"` // List of rules Rules []RuleSummary `mandatory:"false" json:"rules"` }
func (m ResourceTypeSummary) String() string
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
ResponderActivityCollection Provides the summary of responder activities and their corresponding count value.
type ResponderActivityCollection struct { // List of ResponderActivitySummary Items []ResponderActivitySummary `mandatory:"true" json:"items"` }
func (m ResponderActivityCollection) String() string
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
ResponderActivitySummary Responder Activity summary Definition.
type ResponderActivitySummary struct { // Unique id for Responder activity. Id *string `mandatory:"true" json:"id"` // problemId for which Responder activity is associated to. ProblemId *string `mandatory:"true" json:"problemId"` // Id of the responder rule for the problem ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // responder rule type for performing the operation ResponderType ResponderTypeEnum `mandatory:"true" json:"responderType"` // responder rule name ResponderRuleName *string `mandatory:"true" json:"responderRuleName"` // Responder activity types ResponderActivityType ResponderActivityTypeEnum `mandatory:"true" json:"responderActivityType"` // the responder execution status ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"` // responder activity starting time TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // additional message related to this operation Message *string `mandatory:"true" json:"message"` }
func (m ResponderActivitySummary) String() string
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
ResponderActivityTypeEnum Enum with underlying type: string
type ResponderActivityTypeEnum string
Set of constants representing the allowable values for ResponderActivityTypeEnum
const ( ResponderActivityTypeStarted ResponderActivityTypeEnum = "STARTED" ResponderActivityTypeCompleted ResponderActivityTypeEnum = "COMPLETED" )
func GetMappingResponderActivityTypeEnum(val string) (ResponderActivityTypeEnum, bool)
GetMappingResponderActivityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderActivityTypeEnumValues() []ResponderActivityTypeEnum
GetResponderActivityTypeEnumValues Enumerates the set of values for ResponderActivityTypeEnum
ResponderConfiguration A single configuration applied to a responder
type ResponderConfiguration struct { // Unique name of the configuration ConfigKey *string `mandatory:"true" json:"configKey"` // configuration name Name *string `mandatory:"true" json:"name"` // configuration value Value *string `mandatory:"true" json:"value"` }
func (m ResponderConfiguration) String() string
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
ResponderDimensionEnum Enum with underlying type: string
type ResponderDimensionEnum string
Set of constants representing the allowable values for ResponderDimensionEnum
const ( ResponderDimensionResponderRuleType ResponderDimensionEnum = "RESPONDER_RULE_TYPE" ResponderDimensionResponderExecutionStatus ResponderDimensionEnum = "RESPONDER_EXECUTION_STATUS" )
func GetMappingResponderDimensionEnum(val string) (ResponderDimensionEnum, bool)
GetMappingResponderDimensionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderDimensionEnumValues() []ResponderDimensionEnum
GetResponderDimensionEnumValues Enumerates the set of values for ResponderDimensionEnum
ResponderExecution Responder Execution Object.
type ResponderExecution struct { // The unique identifier of the responder execution Id *string `mandatory:"true" json:"id"` // Responder Rule id for the responder execution ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // Rule Type for the responder execution ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"` // Rule name for the responder execution ResponderRuleName *string `mandatory:"true" json:"responderRuleName"` // Problem id associated with the responder execution ProblemId *string `mandatory:"true" json:"problemId"` // region where the problem is found Region *string `mandatory:"true" json:"region"` // targetId of the problem for the responder execution TargetId *string `mandatory:"true" json:"targetId"` // compartment id of the responder execution for the problem CompartmentId *string `mandatory:"true" json:"compartmentId"` // resource type of the problem for the responder execution ResourceType *string `mandatory:"true" json:"resourceType"` // resource name of the problem for the responder execution. TODO-DOC link to resource definition doc ResourceName *string `mandatory:"true" json:"resourceName"` // The date and time the responder execution was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // current execution status of the responder ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"` // execution mode of the responder ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"` // The date and time the responder execution was updated. Format defined by RFC3339. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` // Message about the responder execution. Message *string `mandatory:"false" json:"message"` ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"` }
func (m ResponderExecution) String() string
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
ResponderExecutionAggregation Provides the dimensions and their corresponding count value.
type ResponderExecutionAggregation struct { // The key-value pairs of dimensions and their names. The key corresponds to the Analytic Dimension(s) chosen, and the value corresponds to the value of the dimension from the data. E.g. if the Analytic Dimension chosen is "RISK_LEVEL", then the value will be like "CRITICAL". If the Analytic Dimensions chosen are "RISK_LEVEL" and "RESOURCE_TYPE", then the map will have two key-value pairs of form {"RISK_LEVEL" : "CRITICAL, "RESOURCE_TYPE" : "LOAD_BALANCER"} DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // The number of occurences with given dimension(s) Count *int `mandatory:"true" json:"count"` }
func (m ResponderExecutionAggregation) String() string
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
ResponderExecutionAggregationCollection Collection of ResponderExecutionAggregation objects
type ResponderExecutionAggregationCollection struct { // The items consist of all the ResponderExecutionAggregation objects. Items []ResponderExecutionAggregation `mandatory:"true" json:"items"` }
func (m ResponderExecutionAggregationCollection) String() string
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
ResponderExecutionCollection Provides the summary of responder executions and their corresponding count value.
type ResponderExecutionCollection struct { // List of ResponderExecutionSummary Items []ResponderExecutionSummary `mandatory:"true" json:"items"` }
func (m ResponderExecutionCollection) String() string
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
ResponderExecutionModesEnum Enum with underlying type: string
type ResponderExecutionModesEnum string
Set of constants representing the allowable values for ResponderExecutionModesEnum
const ( ResponderExecutionModesManual ResponderExecutionModesEnum = "MANUAL" ResponderExecutionModesAutomated ResponderExecutionModesEnum = "AUTOMATED" ResponderExecutionModesAll ResponderExecutionModesEnum = "ALL" )
func GetMappingResponderExecutionModesEnum(val string) (ResponderExecutionModesEnum, bool)
GetMappingResponderExecutionModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderExecutionModesEnumValues() []ResponderExecutionModesEnum
GetResponderExecutionModesEnumValues Enumerates the set of values for ResponderExecutionModesEnum
ResponderExecutionStatesEnum Enum with underlying type: string
type ResponderExecutionStatesEnum string
Set of constants representing the allowable values for ResponderExecutionStatesEnum
const ( ResponderExecutionStatesStarted ResponderExecutionStatesEnum = "STARTED" ResponderExecutionStatesAwaitingConfirmation ResponderExecutionStatesEnum = "AWAITING_CONFIRMATION" ResponderExecutionStatesAwaitingInput ResponderExecutionStatesEnum = "AWAITING_INPUT" ResponderExecutionStatesSucceeded ResponderExecutionStatesEnum = "SUCCEEDED" ResponderExecutionStatesFailed ResponderExecutionStatesEnum = "FAILED" ResponderExecutionStatesSkipped ResponderExecutionStatesEnum = "SKIPPED" ResponderExecutionStatesAll ResponderExecutionStatesEnum = "ALL" )
func GetMappingResponderExecutionStatesEnum(val string) (ResponderExecutionStatesEnum, bool)
GetMappingResponderExecutionStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderExecutionStatesEnumValues() []ResponderExecutionStatesEnum
GetResponderExecutionStatesEnumValues Enumerates the set of values for ResponderExecutionStatesEnum
ResponderExecutionStatusEnum Enum with underlying type: string
type ResponderExecutionStatusEnum string
Set of constants representing the allowable values for ResponderExecutionStatusEnum
const ( ResponderExecutionStatusStarted ResponderExecutionStatusEnum = "STARTED" ResponderExecutionStatusAwaitingConfirmation ResponderExecutionStatusEnum = "AWAITING_CONFIRMATION" ResponderExecutionStatusSucceeded ResponderExecutionStatusEnum = "SUCCEEDED" ResponderExecutionStatusFailed ResponderExecutionStatusEnum = "FAILED" ResponderExecutionStatusSkipped ResponderExecutionStatusEnum = "SKIPPED" )
func GetMappingResponderExecutionStatusEnum(val string) (ResponderExecutionStatusEnum, bool)
GetMappingResponderExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderExecutionStatusEnumValues() []ResponderExecutionStatusEnum
GetResponderExecutionStatusEnumValues Enumerates the set of values for ResponderExecutionStatusEnum
ResponderExecutionSummary Summary of the Responder Execution.
type ResponderExecutionSummary struct { // The unique identifier of the responder execution Id *string `mandatory:"true" json:"id"` // Responder Rule id for the responder execution ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // Rule Type for the responder execution ResponderRuleType ResponderTypeEnum `mandatory:"true" json:"responderRuleType"` // Rule name for the responder execution ResponderRuleName *string `mandatory:"true" json:"responderRuleName"` // Problem id associated with the responder execution ProblemId *string `mandatory:"true" json:"problemId"` // Problem name associated with the responder execution ProblemName *string `mandatory:"true" json:"problemName"` // Region where the problem is found Region *string `mandatory:"true" json:"region"` // Target Id of the problem for the responder execution TargetId *string `mandatory:"true" json:"targetId"` // compartment id of the problem for the responder execution CompartmentId *string `mandatory:"true" json:"compartmentId"` // resource type of the problem for the responder execution ResourceType *string `mandatory:"true" json:"resourceType"` // resource name of the problem for the responder execution. TODO-DOC link to resource definition doc ResourceName *string `mandatory:"true" json:"resourceName"` // The date and time the responder execution was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // current execution status of the responder ResponderExecutionStatus ResponderExecutionStatesEnum `mandatory:"true" json:"responderExecutionStatus"` // possible type of responder execution modes ResponderExecutionMode ResponderExecutionModesEnum `mandatory:"true" json:"responderExecutionMode"` // The date and time the responder execution was updated. Format defined by RFC3339. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` // Message about the responder execution. Message *string `mandatory:"false" json:"message"` ResponderRuleExecutionDetails *ResponderRuleExecutionDetails `mandatory:"false" json:"responderRuleExecutionDetails"` }
func (m ResponderExecutionSummary) String() string
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
ResponderExecutionTrendAggregation Provides the timestamps and their corresponding number of remediations.
type ResponderExecutionTrendAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // Start Time in epoch seconds StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"` // Duration DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"` // The number of remediations for a given time. Count *int `mandatory:"true" json:"count"` }
func (m ResponderExecutionTrendAggregation) String() string
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
ResponderExecutionTrendAggregationCollection Responder Execution Trend Collection
type ResponderExecutionTrendAggregationCollection struct { // The items consist of all the ResponderExecutionTrendAggregation objects. Items []ResponderExecutionTrendAggregation `mandatory:"true" json:"items"` }
func (m ResponderExecutionTrendAggregationCollection) String() string
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
ResponderModeTypesEnum Enum with underlying type: string
type ResponderModeTypesEnum string
Set of constants representing the allowable values for ResponderModeTypesEnum
const ( ResponderModeTypesAutoaction ResponderModeTypesEnum = "AUTOACTION" ResponderModeTypesUseraction ResponderModeTypesEnum = "USERACTION" )
func GetMappingResponderModeTypesEnum(val string) (ResponderModeTypesEnum, bool)
GetMappingResponderModeTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderModeTypesEnumValues() []ResponderModeTypesEnum
GetResponderModeTypesEnumValues Enumerates the set of values for ResponderModeTypesEnum
ResponderRecipe Details of ResponderRecipe.
type ResponderRecipe struct { // Identifier for ResponderRecipe. Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // ResponderRecipe display name. DisplayName *string `mandatory:"false" json:"displayName"` // ResponderRecipe description. Description *string `mandatory:"false" json:"description"` // Owner of ResponderRecipe Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"` // List of responder rules associated with the recipe ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"` // List of responder rules associated with the recipe EffectiveResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"effectiveResponderRules"` // The id of the source responder recipe. SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"` // The date and time the responder recipe was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder recipe was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the Example. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` // 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"` }
func (m ResponderRecipe) String() string
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
ResponderRecipeCollection Summary of the ResponderRecipe.
type ResponderRecipeCollection struct { // List of ResponderRecipeSummary Items []ResponderRecipeSummary `mandatory:"true" json:"items"` }
func (m ResponderRecipeCollection) String() string
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
ResponderRecipeResponderRule Details of ResponderRule.
type ResponderRecipeResponderRule struct { // Identifier for ResponderRule. ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // ResponderRule display name. DisplayName *string `mandatory:"false" json:"displayName"` // ResponderRule description. Description *string `mandatory:"false" json:"description"` // Type of Responder Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"` // List of Policy Policies []string `mandatory:"false" json:"policies"` // Supported Execution Modes SupportedModes []ResponderRecipeResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"` Details *ResponderRuleDetails `mandatory:"false" json:"details"` // The date and time the responder recipe rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder recipe rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the ResponderRule. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m ResponderRecipeResponderRule) String() string
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
ResponderRecipeResponderRuleCollection Summary of the ResponderRule within ResponderRecipe.
type ResponderRecipeResponderRuleCollection struct { // List of ResponderRecipeResponderRuleSummary Items []ResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"` }
func (m ResponderRecipeResponderRuleCollection) String() string
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
ResponderRecipeResponderRuleSummary Details of ResponderRule.
type ResponderRecipeResponderRuleSummary struct { // Identifier for ResponderRule. Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // ResponderRule Display Name DisplayName *string `mandatory:"false" json:"displayName"` // ResponderRule Description Description *string `mandatory:"false" json:"description"` // Type of Responder Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"` // List of Policy Policies []string `mandatory:"false" json:"policies"` // Supported Execution Modes SupportedModes []ResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"` Details *ResponderRuleDetails `mandatory:"false" json:"details"` // The date and time the responder recipe rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder recipe rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the ResponderRule. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m ResponderRecipeResponderRuleSummary) String() string
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
ResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type ResponderRecipeResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for ResponderRecipeResponderRuleSummarySupportedModesEnum
const ( ResponderRecipeResponderRuleSummarySupportedModesAutoaction ResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION" ResponderRecipeResponderRuleSummarySupportedModesUseraction ResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (ResponderRecipeResponderRuleSummarySupportedModesEnum, bool)
GetMappingResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []ResponderRecipeResponderRuleSummarySupportedModesEnum
GetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSummarySupportedModesEnum
ResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string
type ResponderRecipeResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for ResponderRecipeResponderRuleSupportedModesEnum
const ( ResponderRecipeResponderRuleSupportedModesAutoaction ResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION" ResponderRecipeResponderRuleSupportedModesUseraction ResponderRecipeResponderRuleSupportedModesEnum = "USERACTION" )
func GetMappingResponderRecipeResponderRuleSupportedModesEnum(val string) (ResponderRecipeResponderRuleSupportedModesEnum, bool)
GetMappingResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderRecipeResponderRuleSupportedModesEnumValues() []ResponderRecipeResponderRuleSupportedModesEnum
GetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRecipeResponderRuleSupportedModesEnum
ResponderRecipeSummary Summary of the ResponderRecipe.
type ResponderRecipeSummary struct { // Identifier for ResponderRecipe. Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // ResponderRecipe display name. DisplayName *string `mandatory:"false" json:"displayName"` // ResponderRecipe description. Description *string `mandatory:"false" json:"description"` // Owner of ResponderRecipe Owner OwnerTypeEnum `mandatory:"false" json:"owner,omitempty"` // List of responder rules associated with the recipe ResponderRules []ResponderRecipeResponderRule `mandatory:"false" json:"responderRules"` // The id of the source responder recipe. SourceResponderRecipeId *string `mandatory:"false" json:"sourceResponderRecipeId"` // The date and time the responder recipe was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder recipe was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the Example. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` // 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"` }
func (m ResponderRecipeSummary) String() string
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
ResponderRule Definition of ResponderRule.
type ResponderRule struct { // Identifier for ResponderRule. Id *string `mandatory:"true" json:"id"` // ResponderRule Display Name DisplayName *string `mandatory:"true" json:"displayName"` // ResponderRule Description Description *string `mandatory:"true" json:"description"` // Type of Responder Type ResponderTypeEnum `mandatory:"true" json:"type"` // List of Policy Policies []string `mandatory:"false" json:"policies"` // Supported Execution Modes SupportedModes []ResponderRuleSupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"` Details *ResponderRuleDetails `mandatory:"false" json:"details"` // The date and time the responder rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the ResponderRule. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m ResponderRule) String() string
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
ResponderRuleCollection Summary of the ResponderRule.
type ResponderRuleCollection struct { // List of ResponderRuleSummary Items []ResponderRuleSummary `mandatory:"true" json:"items"` }
func (m ResponderRuleCollection) String() string
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
ResponderRuleDetails Details of ResponderRule.
type ResponderRuleDetails struct { // Identifies state for ResponderRule IsEnabled *bool `mandatory:"true" json:"isEnabled"` Condition Condition `mandatory:"false" json:"condition"` // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` // Execution Mode for ResponderRule Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"` }
func (m ResponderRuleDetails) String() string
func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
ResponderRuleExecutionDetails Details of ResponderRuleExecution. A Responder Rule Execution is the entity that captures the execution of a Responder Rule for a given Problem.
type ResponderRuleExecutionDetails struct { Condition Condition `mandatory:"false" json:"condition"` // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m ResponderRuleExecutionDetails) String() string
func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
ResponderRuleSummary Summary of the ResponderRule.
type ResponderRuleSummary struct { // Identifier for ResponderRule. Id *string `mandatory:"true" json:"id"` // ResponderRule Display Name DisplayName *string `mandatory:"true" json:"displayName"` // ResponderRule Description Description *string `mandatory:"true" json:"description"` // Type of Responder Type ResponderTypeEnum `mandatory:"true" json:"type"` // List of Policy Policies []string `mandatory:"false" json:"policies"` // Supported Execution Modes SupportedModes []ResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"` Details *ResponderRuleDetails `mandatory:"false" json:"details"` // The date and time the responder rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the responder rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the ResponderRule. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m ResponderRuleSummary) String() string
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
ResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type ResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for ResponderRuleSummarySupportedModesEnum
const ( ResponderRuleSummarySupportedModesAutoaction ResponderRuleSummarySupportedModesEnum = "AUTOACTION" ResponderRuleSummarySupportedModesUseraction ResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetMappingResponderRuleSummarySupportedModesEnum(val string) (ResponderRuleSummarySupportedModesEnum, bool)
GetMappingResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderRuleSummarySupportedModesEnumValues() []ResponderRuleSummarySupportedModesEnum
GetResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for ResponderRuleSummarySupportedModesEnum
ResponderRuleSupportedModesEnum Enum with underlying type: string
type ResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for ResponderRuleSupportedModesEnum
const ( ResponderRuleSupportedModesAutoaction ResponderRuleSupportedModesEnum = "AUTOACTION" ResponderRuleSupportedModesUseraction ResponderRuleSupportedModesEnum = "USERACTION" )
func GetMappingResponderRuleSupportedModesEnum(val string) (ResponderRuleSupportedModesEnum, bool)
GetMappingResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderRuleSupportedModesEnumValues() []ResponderRuleSupportedModesEnum
GetResponderRuleSupportedModesEnumValues Enumerates the set of values for ResponderRuleSupportedModesEnum
ResponderTypeEnum Enum with underlying type: string
type ResponderTypeEnum string
Set of constants representing the allowable values for ResponderTypeEnum
const ( ResponderTypeRemediation ResponderTypeEnum = "REMEDIATION" ResponderTypeNotification ResponderTypeEnum = "NOTIFICATION" )
func GetMappingResponderTypeEnum(val string) (ResponderTypeEnum, bool)
GetMappingResponderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResponderTypeEnumValues() []ResponderTypeEnum
GetResponderTypeEnumValues Enumerates the set of values for ResponderTypeEnum
RiskLevelEnum Enum with underlying type: string
type RiskLevelEnum string
Set of constants representing the allowable values for RiskLevelEnum
const ( RiskLevelCritical RiskLevelEnum = "CRITICAL" RiskLevelHigh RiskLevelEnum = "HIGH" RiskLevelMedium RiskLevelEnum = "MEDIUM" RiskLevelLow RiskLevelEnum = "LOW" RiskLevelMinor RiskLevelEnum = "MINOR" )
func GetMappingRiskLevelEnum(val string) (RiskLevelEnum, bool)
GetMappingRiskLevelEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRiskLevelEnumValues() []RiskLevelEnum
GetRiskLevelEnumValues Enumerates the set of values for RiskLevelEnum
RiskScoreAggregation Provides the dimensions and their corresponding risk score.
type RiskScoreAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // The risk score with given dimensions RiskScore *int `mandatory:"true" json:"riskScore"` }
func (m RiskScoreAggregation) String() string
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
RiskScoreAggregationCollection Risk Score Aggregation Collection.
type RiskScoreAggregationCollection struct { // The items consist of all the RiskScoreAggregation objects. Items []RiskScoreAggregation `mandatory:"true" json:"items"` }
func (m RiskScoreAggregationCollection) String() string
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
RuleSummary Summary of rules
type RuleSummary struct { // id of the rule Id *string `mandatory:"true" json:"id"` // description of the rule Description *string `mandatory:"true" json:"description"` // List of parameters applicable for rule Parameters []OperatorSummary `mandatory:"true" json:"parameters"` }
func (m RuleSummary) String() string
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
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.
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"` }
func (m SecurityPolicy) String() string
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
SecurityPolicyCollection Results of a security policy search. Contains `SecurityPolicySummary` items.
type SecurityPolicyCollection struct { // A list of security policy summaries Items []SecurityPolicySummary `mandatory:"true" json:"items"` }
func (m SecurityPolicyCollection) String() string
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
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.
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"` }
func (m SecurityPolicySummary) String() string
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
SecurityRatingEnum Enum with underlying type: string
type SecurityRatingEnum string
Set of constants representing the allowable values for SecurityRatingEnum
const ( SecurityRatingExcellent SecurityRatingEnum = "EXCELLENT" SecurityRatingGood SecurityRatingEnum = "GOOD" SecurityRatingFair SecurityRatingEnum = "FAIR" SecurityRatingPoor SecurityRatingEnum = "POOR" SecurityRatingNa SecurityRatingEnum = "NA" )
func GetMappingSecurityRatingEnum(val string) (SecurityRatingEnum, bool)
GetMappingSecurityRatingEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSecurityRatingEnumValues() []SecurityRatingEnum
GetSecurityRatingEnumValues Enumerates the set of values for SecurityRatingEnum
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.
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"` }
func (m SecurityRecipe) String() string
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
SecurityRecipeCollection Results of a security zone recipe search. Contains `SecurityRecipeSummary` items.
type SecurityRecipeCollection struct { // A list of security zone recipe summaries Items []SecurityRecipeSummary `mandatory:"true" json:"items"` }
func (m SecurityRecipeCollection) String() string
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
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.
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"` }
func (m SecurityRecipeSummary) String() string
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
SecurityScoreAggregation Provides the dimensions and their corresponding count value.
type SecurityScoreAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // The security rating with given dimension/s SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"` // The security score with given dimension/s SecurityScore *int `mandatory:"true" json:"securityScore"` }
func (m SecurityScoreAggregation) String() string
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
SecurityScoreAggregationCollection Security Score Aggregation Collection.
type SecurityScoreAggregationCollection struct { // The items consist of all the SecurityScoreAggregation objects. Items []SecurityScoreAggregation `mandatory:"true" json:"items"` }
func (m SecurityScoreAggregationCollection) String() string
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
SecurityScoreTrendAggregation Provides the dimensions and their corresponding time and security score.
type SecurityScoreTrendAggregation struct { // The key-value pairs of dimensions and their names. DimensionsMap map[string]string `mandatory:"true" json:"dimensionsMap"` // Start Time in epoch seconds StartTimestamp *float32 `mandatory:"true" json:"startTimestamp"` // Duration DurationInSeconds *int `mandatory:"true" json:"durationInSeconds"` // The security rating with given dimensions and time range SecurityRating SecurityRatingEnum `mandatory:"true" json:"securityRating"` // The security score with given dimensions and time range SecurityScore *int `mandatory:"true" json:"securityScore"` }
func (m SecurityScoreTrendAggregation) String() string
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
SecurityScoreTrendAggregationCollection Security Score Trend Aggregation Collection.
type SecurityScoreTrendAggregationCollection struct { // The items consist of all the SecurityScoreTrendAggregation objects. Items []SecurityScoreTrendAggregation `mandatory:"true" json:"items"` }
func (m SecurityScoreTrendAggregationCollection) String() string
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
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.
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"` }
func (m SecurityZone) String() string
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
SecurityZoneCollection Results of a security zone search. Contains `SecurityZoneSummary` items.
type SecurityZoneCollection struct { // List of security zone summaries Items []SecurityZoneSummary `mandatory:"true" json:"items"` }
func (m SecurityZoneCollection) String() string
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
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.
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"` }
func (m SecurityZoneSummary) String() string
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
SecurityZoneTargetDetails Details about Security Zone Target.
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"` }
func (m SecurityZoneTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SecurityZoneTargetDetails) String() string
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
ServiceTypeSummary Summary of Service type
type ServiceTypeSummary struct { // name of the service type Name *string `mandatory:"true" json:"name"` // List of Resource ResourceTypes []ResourceTypeSummary `mandatory:"true" json:"resourceTypes"` }
func (m ServiceTypeSummary) String() string
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
SeverityEnum Enum with underlying type: string
type SeverityEnum string
Set of constants representing the allowable values for SeverityEnum
const ( SeverityCritical SeverityEnum = "CRITICAL" SeverityHigh SeverityEnum = "HIGH" SeverityMedium SeverityEnum = "MEDIUM" SeverityLow SeverityEnum = "LOW" SeverityMinor SeverityEnum = "MINOR" )
func GetMappingSeverityEnum(val string) (SeverityEnum, bool)
GetMappingSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSeverityEnumValues() []SeverityEnum
GetSeverityEnumValues Enumerates the set of values for SeverityEnum
Sighting Sighting details.
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"` }
func (m Sighting) String() string
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
SightingCollection Provides the summary of sighting
type SightingCollection struct { // List of SightingSummary Items []SightingSummary `mandatory:"true" json:"items"` }
func (m SightingCollection) String() string
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
SightingEndpointCollection Provides the summary of sighting endpoints
type SightingEndpointCollection struct { // List of SightingEndpointSummary Items []SightingEndpointSummary `mandatory:"true" json:"items"` }
func (m SightingEndpointCollection) String() string
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
SightingEndpointSummary Sighting Endpoints summary.
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"` }
func (m SightingEndpointSummary) String() string
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
SightingImpactedResourceCollection Provides the summary of sighting impacted resource
type SightingImpactedResourceCollection struct { // List of SightingImpactedResourceSummary Items []SightingImpactedResourceSummary `mandatory:"true" json:"items"` }
func (m SightingImpactedResourceCollection) String() string
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
SightingImpactedResourceSummary Sighting Impacted Resource summary.
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"` }
func (m SightingImpactedResourceSummary) String() string
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
SightingSummary Sighting summary Definition.
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"` }
func (m SightingSummary) String() string
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
SightingType Specific behavior that can trigger a Sighting
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"` }
func (m SightingType) String() string
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
SimpleCondition Simple Condition object.
type SimpleCondition struct { // parameter Key Parameter *string `mandatory:"false" json:"parameter"` // type of operator Value *string `mandatory:"false" json:"value"` // type of operator Operator OperatorTypeEnum `mandatory:"false" json:"operator,omitempty"` // type of value ValueType ConditionValueTypeEnum `mandatory:"false" json:"valueType,omitempty"` }
func (m SimpleCondition) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SimpleCondition) String() string
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
SkipBulkResponderExecutionDetails List of responder execution ids to skip the execution
type SkipBulkResponderExecutionDetails struct { // List of responder execution ids to skip the execution ResponderExecutionIds []string `mandatory:"true" json:"responderExecutionIds"` }
func (m SkipBulkResponderExecutionDetails) String() string
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
SkipBulkResponderExecutionRequest wrapper for the SkipBulkResponderExecution operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/SkipBulkResponderExecution.go.html to see an example of how to use SkipBulkResponderExecutionRequest.
type SkipBulkResponderExecutionRequest struct { // A list of responder execution ids to skip the execution SkipBulkResponderExecutionDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SkipBulkResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SkipBulkResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipBulkResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipBulkResponderExecutionRequest) String() string
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
SkipBulkResponderExecutionResponse wrapper for the SkipBulkResponderExecution operation
type SkipBulkResponderExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SkipBulkResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipBulkResponderExecutionResponse) String() string
SkipResponderExecutionRequest wrapper for the SkipResponderExecution operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/SkipResponderExecution.go.html to see an example of how to use SkipResponderExecutionRequest.
type SkipResponderExecutionRequest struct { // The identifier of the responder execution. ResponderExecutionId *string `mandatory:"true" contributesTo:"path" name:"responderExecutionId"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request SkipResponderExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SkipResponderExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SkipResponderExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SkipResponderExecutionRequest) String() string
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
SkipResponderExecutionResponse wrapper for the SkipResponderExecution operation
type SkipResponderExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response SkipResponderExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SkipResponderExecutionResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
TacticCollection Collection of tactic summaries in Cloud Guard
type TacticCollection struct { // List of tactic summary. Items []TacticSummary `mandatory:"true" json:"items"` }
func (m TacticCollection) String() string
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
TacticSummary Tactic summary.
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"` }
func (m TacticSummary) String() string
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
Target Description of Target.
type Target struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Compartment Identifier where the resource is created CompartmentId *string `mandatory:"true" json:"compartmentId"` // possible type of targets TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"` // Resource ID which the target uses to monitor TargetResourceId *string `mandatory:"true" json:"targetResourceId"` // Total number of recipes attached to target RecipeCount *int `mandatory:"true" json:"recipeCount"` // Target 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"` }
func (m Target) String() string
func (m *Target) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
TargetCollection Collection of Target
type TargetCollection struct { // List of TargetSummary Items []TargetSummary `mandatory:"true" json:"items"` }
func (m TargetCollection) String() string
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
TargetDetails Details specific to the target type.
type TargetDetails interface { }
TargetDetectorDetails Overriden settings of a Detector Rule applied on target
type TargetDetectorDetails struct { // Enables the control IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The Risk Level RiskLevel RiskLevelEnum `mandatory:"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"` }
func (m TargetDetectorDetails) String() string
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
TargetDetectorRecipe Target Detector recipe
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"` }
func (m TargetDetectorRecipe) String() string
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
TargetDetectorRecipeCollection Summary of the Target DetectorRecipe.
type TargetDetectorRecipeCollection struct { // List of TargetDetectorRecipeSummary Items []TargetDetectorRecipeSummary `mandatory:"true" json:"items"` }
func (m TargetDetectorRecipeCollection) String() string
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
TargetDetectorRecipeDetectorRule Detector Recipe Rule
type TargetDetectorRecipeDetectorRule struct { // The unique identifier of the detector rule. DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"` // detector for the rule Detector DetectorEnumEnum `mandatory:"true" json:"detector"` // service type of the configuration to which the rule is applied ServiceType *string `mandatory:"true" json:"serviceType"` // resource type of the configuration to which the rule is applied ResourceType *string `mandatory:"true" json:"resourceType"` // 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"` }
func (m TargetDetectorRecipeDetectorRule) String() string
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
TargetDetectorRecipeDetectorRuleCollection Summary of the DetectorRule within Target.
type TargetDetectorRecipeDetectorRuleCollection struct { // List of TargetDetectorRecipeDetectorRuleSummary Items []TargetDetectorRecipeDetectorRuleSummary `mandatory:"true" json:"items"` }
func (m TargetDetectorRecipeDetectorRuleCollection) String() string
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
TargetDetectorRecipeDetectorRuleManagedListTypesEnum Enum with underlying type: string
type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string
Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum
const ( TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" TargetDetectorRecipeDetectorRuleManagedListTypesUsers TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" TargetDetectorRecipeDetectorRuleManagedListTypesGroups TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" TargetDetectorRecipeDetectorRuleManagedListTypesRegion TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" TargetDetectorRecipeDetectorRuleManagedListTypesCountry TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" TargetDetectorRecipeDetectorRuleManagedListTypesState TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" TargetDetectorRecipeDetectorRuleManagedListTypesCity TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" TargetDetectorRecipeDetectorRuleManagedListTypesTags TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" TargetDetectorRecipeDetectorRuleManagedListTypesGeneric TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsRole TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleManagedListTypesEnum, bool)
GetMappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleManagedListTypesEnum
GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum
TargetDetectorRecipeDetectorRuleSummary Summary of the Detector Recipe Rule.
type TargetDetectorRecipeDetectorRuleSummary struct { // The unique identifier of the detector rule Id *string `mandatory:"true" json:"id"` // possible type of detectors Detector DetectorEnumEnum `mandatory:"true" json:"detector"` // DetectorTemplate Identifier, can be renamed DisplayName *string `mandatory:"false" json:"displayName"` // DetectorTemplate Identifier, can be renamed Description *string `mandatory:"false" json:"description"` // Recommendation for TargetDetectorRecipeDetectorRule Recommendation *string `mandatory:"false" json:"recommendation"` // service type of the configuration to which the rule is applied ServiceType *string `mandatory:"false" json:"serviceType"` // resource type of the configuration to which the rule is applied ResourceType *string `mandatory:"false" json:"resourceType"` // List of cloudguard managed list types related to this rule ManagedListTypes []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum `mandatory:"false" json:"managedListTypes,omitempty"` DetectorDetails *TargetDetectorDetails `mandatory:"false" json:"detectorDetails"` // The date and time the target detector recipe rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the target detector recipe rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the target detector recipe rule LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // 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"` }
func (m TargetDetectorRecipeDetectorRuleSummary) String() string
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
TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum Enum with underlying type: string
type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string
Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
const ( TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" )
func GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum(val string) (TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum, bool)
GetMappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues() []TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum
TargetDetectorRecipeSummary Summary of DetectorRecipe
type TargetDetectorRecipeSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // DetectorRecipe Identifier Name DisplayName *string `mandatory:"true" json:"displayName"` // DetectorRecipe Description Description *string `mandatory:"true" json:"description"` // Owner of DetectorRecipe Owner OwnerTypeEnum `mandatory:"true" json:"owner"` // Unique identifier for Detector Recipe of which this is an extension DetectorRecipeId *string `mandatory:"true" json:"detectorRecipeId"` // Type of detector Detector DetectorEnumEnum `mandatory:"false" json:"detector,omitempty"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The date and time the target detector recipe was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the target detector recipe was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // The number of days for which source data is retained SourceDataRetention *int `mandatory:"false" json:"sourceDataRetention"` }
func (m TargetDetectorRecipeSummary) String() string
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
TargetIdsSelected Target selection on basis of TargetIds.
type TargetIdsSelected struct { // Ids of Target Values []string `mandatory:"false" json:"values"` }
func (m TargetIdsSelected) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TargetIdsSelected) String() string
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
TargetResourceTypeEnum Enum with underlying type: string
type TargetResourceTypeEnum string
Set of constants representing the allowable values for TargetResourceTypeEnum
const ( TargetResourceTypeCompartment TargetResourceTypeEnum = "COMPARTMENT" TargetResourceTypeErpcloud TargetResourceTypeEnum = "ERPCLOUD" TargetResourceTypeHcmcloud TargetResourceTypeEnum = "HCMCLOUD" TargetResourceTypeSecurityZone TargetResourceTypeEnum = "SECURITY_ZONE" )
func GetMappingTargetResourceTypeEnum(val string) (TargetResourceTypeEnum, bool)
GetMappingTargetResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetResourceTypeEnumValues() []TargetResourceTypeEnum
GetTargetResourceTypeEnumValues Enumerates the set of values for TargetResourceTypeEnum
TargetResourceTypesSelected Target selection on basis of TargetResourceTypes.
type TargetResourceTypesSelected struct { // Types of Targets Values []TargetResourceTypeEnum `mandatory:"false" json:"values,omitempty"` }
func (m TargetResourceTypesSelected) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TargetResourceTypesSelected) String() string
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
TargetResponderRecipe Details of Target ResponderRecipe
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"` }
func (m TargetResponderRecipe) String() string
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
TargetResponderRecipeCollection Collection of TargetResponderRecipe
type TargetResponderRecipeCollection struct { // List of TargetResponderRecipeSummary Items []TargetResponderRecipeSummary `mandatory:"true" json:"items"` }
func (m TargetResponderRecipeCollection) String() string
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
TargetResponderRecipeResponderRule Details of ResponderRule.
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"` }
func (m TargetResponderRecipeResponderRule) String() string
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
TargetResponderRecipeResponderRuleCollection Summary of the ResponderRule within Target.
type TargetResponderRecipeResponderRuleCollection struct { // List of TargetResponderRecipeResponderRuleSummary Items []TargetResponderRecipeResponderRuleSummary `mandatory:"true" json:"items"` }
func (m TargetResponderRecipeResponderRuleCollection) String() string
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
TargetResponderRecipeResponderRuleSummary Summary of ResponderRule.
type TargetResponderRecipeResponderRuleSummary struct { // Identifier for ResponderRule. Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // ResponderRule Display Name DisplayName *string `mandatory:"false" json:"displayName"` // ResponderRule Description Description *string `mandatory:"false" json:"description"` // Type of Responder Type ResponderTypeEnum `mandatory:"false" json:"type,omitempty"` // List of Policy Policies []string `mandatory:"false" json:"policies"` // Supported Execution Modes SupportedModes []TargetResponderRecipeResponderRuleSummarySupportedModesEnum `mandatory:"false" json:"supportedModes,omitempty"` Details *ResponderRuleDetails `mandatory:"false" json:"details"` // The date and time the target responder recipe rule was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the target responder recipe rule was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the ResponderRule. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m TargetResponderRecipeResponderRuleSummary) String() string
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
TargetResponderRecipeResponderRuleSummarySupportedModesEnum Enum with underlying type: string
type TargetResponderRecipeResponderRuleSummarySupportedModesEnum string
Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum
const ( TargetResponderRecipeResponderRuleSummarySupportedModesAutoaction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "AUTOACTION" TargetResponderRecipeResponderRuleSummarySupportedModesUseraction TargetResponderRecipeResponderRuleSummarySupportedModesEnum = "USERACTION" )
func GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSummarySupportedModesEnum, bool)
GetMappingTargetResponderRecipeResponderRuleSummarySupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues() []TargetResponderRecipeResponderRuleSummarySupportedModesEnum
GetTargetResponderRecipeResponderRuleSummarySupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSummarySupportedModesEnum
TargetResponderRecipeResponderRuleSupportedModesEnum Enum with underlying type: string
type TargetResponderRecipeResponderRuleSupportedModesEnum string
Set of constants representing the allowable values for TargetResponderRecipeResponderRuleSupportedModesEnum
const ( TargetResponderRecipeResponderRuleSupportedModesAutoaction TargetResponderRecipeResponderRuleSupportedModesEnum = "AUTOACTION" TargetResponderRecipeResponderRuleSupportedModesUseraction TargetResponderRecipeResponderRuleSupportedModesEnum = "USERACTION" )
func GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum(val string) (TargetResponderRecipeResponderRuleSupportedModesEnum, bool)
GetMappingTargetResponderRecipeResponderRuleSupportedModesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetResponderRecipeResponderRuleSupportedModesEnumValues() []TargetResponderRecipeResponderRuleSupportedModesEnum
GetTargetResponderRecipeResponderRuleSupportedModesEnumValues Enumerates the set of values for TargetResponderRecipeResponderRuleSupportedModesEnum
TargetResponderRecipeSummary Summary of ResponderRecipe
type TargetResponderRecipeSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` // Unique identifier for Responder Recipe of which this is an extension ResponderRecipeId *string `mandatory:"true" json:"responderRecipeId"` // ResponderRecipe Identifier Name DisplayName *string `mandatory:"true" json:"displayName"` // ResponderRecipe Description Description *string `mandatory:"true" json:"description"` // Owner of ResponderRecipe Owner OwnerTypeEnum `mandatory:"true" json:"owner"` // The date and time the target responder recipe was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the target responder recipe was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the Example. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` }
func (m TargetResponderRecipeSummary) String() string
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
TargetSelected Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
type TargetSelected interface { }
TargetSelectedKindEnum Enum with underlying type: string
type TargetSelectedKindEnum string
Set of constants representing the allowable values for TargetSelectedKindEnum
const ( TargetSelectedKindAll TargetSelectedKindEnum = "ALL" TargetSelectedKindTargettypes TargetSelectedKindEnum = "TARGETTYPES" TargetSelectedKindTargetids TargetSelectedKindEnum = "TARGETIDS" )
func GetMappingTargetSelectedKindEnum(val string) (TargetSelectedKindEnum, bool)
GetMappingTargetSelectedKindEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTargetSelectedKindEnumValues() []TargetSelectedKindEnum
GetTargetSelectedKindEnumValues Enumerates the set of values for TargetSelectedKindEnum
TargetSummary Summary of the Target.
type TargetSummary struct { // Unique identifier that is immutable on creation Id *string `mandatory:"true" json:"id"` // Compartment Identifier where the resource is created CompartmentId *string `mandatory:"true" json:"compartmentId"` // possible type of targets(compartment/HCMCloud/ERPCloud) TargetResourceType TargetResourceTypeEnum `mandatory:"true" json:"targetResourceType"` // Resource ID which the target uses to monitor TargetResourceId *string `mandatory:"true" json:"targetResourceId"` // Total number of recipes attached to target RecipeCount *int `mandatory:"true" json:"recipeCount"` // DetectorTemplate Identifier, can be renamed DisplayName *string `mandatory:"false" json:"displayName"` // The date and time the target was created. Format defined by RFC3339. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The date and time the target was updated. Format defined by RFC3339. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` // 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"` }
func (m TargetSummary) String() string
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
TechniqueCollection Collection of technique summaries in Cloud Guard
type TechniqueCollection struct { // List of technique summary. Items []TechniqueSummary `mandatory:"true" json:"items"` }
func (m TechniqueCollection) String() string
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
TechniqueSummary Technique summary.
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"` }
func (m TechniqueSummary) String() string
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
TriggerResponderDetails The Responder details to be pushed to responder
type TriggerResponderDetails struct { // ResponderRule ID ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` // ResponderRule configurations Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` }
func (m TriggerResponderDetails) String() string
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
TriggerResponderRequest wrapper for the TriggerResponder operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/TriggerResponder.go.html to see an example of how to use TriggerResponderRequest.
type TriggerResponderRequest struct { // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The responder may update the problem. TriggerResponderDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request TriggerResponderRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request TriggerResponderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request TriggerResponderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request TriggerResponderRequest) String() string
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
TriggerResponderResponse wrapper for the TriggerResponder operation
type TriggerResponderResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response TriggerResponderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response TriggerResponderResponse) String() string
UpdateBulkProblemStatusDetails List of problem ids to be passed in to update the Problem status.
type UpdateBulkProblemStatusDetails struct { // Action taken by user Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"` // List of ProblemIds to be passed in to update the Problem status. ProblemIds []string `mandatory:"true" json:"problemIds"` // User defined comment to be passed in to update the problem. Comment *string `mandatory:"false" json:"comment"` }
func (m UpdateBulkProblemStatusDetails) String() string
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
UpdateBulkProblemStatusRequest wrapper for the UpdateBulkProblemStatus operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateBulkProblemStatus.go.html to see an example of how to use UpdateBulkProblemStatusRequest.
type UpdateBulkProblemStatusRequest struct { // A list of problem ids to be passed in to update the Problem status UpdateBulkProblemStatusDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateBulkProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateBulkProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBulkProblemStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBulkProblemStatusRequest) String() string
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
UpdateBulkProblemStatusResponse wrapper for the UpdateBulkProblemStatus operation
type UpdateBulkProblemStatusResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateBulkProblemStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBulkProblemStatusResponse) String() string
UpdateConfigurationDetails Update cloud guard configuration details for a tenancy.
type UpdateConfigurationDetails struct { // The reporting region value ReportingRegion *string `mandatory:"true" json:"reportingRegion"` // Status of Cloud Guard Tenant Status CloudGuardStatusEnum `mandatory:"true" json:"status"` // Identifies if Oracle managed resources will be created by customers. // If no value is specified false is the default. SelfManageResources *bool `mandatory:"false" json:"selfManageResources"` }
func (m UpdateConfigurationDetails) String() string
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
UpdateConfigurationRequest wrapper for the UpdateConfiguration operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateConfiguration.go.html to see an example of how to use UpdateConfigurationRequest.
type UpdateConfigurationRequest struct { // Update Configuration Details of Cloud Guard for a Tenancy. UpdateConfigurationDetails `contributesTo:"body"` // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConfigurationRequest) String() string
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
UpdateConfigurationResponse wrapper for the UpdateConfiguration operation
type UpdateConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The Configuration instance Configuration `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConfigurationResponse) String() string
UpdateDataMaskRuleDetails The information to be updated.
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"` }
func (m UpdateDataMaskRuleDetails) String() string
func (m *UpdateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateDataMaskRuleRequest wrapper for the UpdateDataMaskRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDataMaskRule.go.html to see an example of how to use 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 }
func (request UpdateDataMaskRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDataMaskRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDataMaskRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDataMaskRuleRequest) String() string
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
UpdateDataMaskRuleResponse wrapper for the UpdateDataMaskRule operation
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"` }
func (response UpdateDataMaskRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDataMaskRuleResponse) String() string
UpdateDataSourceDetails Update of Data Source
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"` }
func (m UpdateDataSourceDetails) String() string
func (m *UpdateDataSourceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateDataSourceRequest wrapper for the UpdateDataSource operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDataSource.go.html to see an example of how to use UpdateDataSourceRequest.
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 }
func (request UpdateDataSourceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDataSourceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDataSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDataSourceRequest) String() string
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
UpdateDataSourceResponse wrapper for the UpdateDataSource operation
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"` }
func (response UpdateDataSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDataSourceResponse) String() string
UpdateDetectorRecipeDetails Update of detector recipe
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"` }
func (m UpdateDetectorRecipeDetails) String() string
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
UpdateDetectorRecipeDetectorRule The details to be updated in DetectorRule
type UpdateDetectorRecipeDetectorRule struct { // DetectorRecipeRule Identifier DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"` Details *UpdateDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateDetectorRecipeDetectorRule) String() string
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
UpdateDetectorRecipeDetectorRuleDetails Update of detector rule of a detector recipe
type UpdateDetectorRecipeDetectorRuleDetails struct { Details *UpdateDetectorRuleDetails `mandatory:"false" json:"details"` }
func (m UpdateDetectorRecipeDetectorRuleDetails) String() string
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
UpdateDetectorRecipeDetectorRuleRequest wrapper for the UpdateDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateDetectorRecipeDetectorRuleRequest.
type UpdateDetectorRecipeDetectorRuleRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // The key of Detector Rule. DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"` // The details to be updated for DetectorRule. UpdateDetectorRecipeDetectorRuleDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDetectorRecipeDetectorRuleRequest) String() string
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
UpdateDetectorRecipeDetectorRuleResponse wrapper for the UpdateDetectorRecipeDetectorRule operation
type UpdateDetectorRecipeDetectorRuleResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRecipeDetectorRule instance DetectorRecipeDetectorRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDetectorRecipeDetectorRuleResponse) String() string
UpdateDetectorRecipeRequest wrapper for the UpdateDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateDetectorRecipe.go.html to see an example of how to use UpdateDetectorRecipeRequest.
type UpdateDetectorRecipeRequest struct { // DetectorRecipe OCID DetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"detectorRecipeId"` // Details for the DetectorRecipe to be updated UpdateDetectorRecipeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDetectorRecipeRequest) String() string
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
UpdateDetectorRecipeResponse wrapper for the UpdateDetectorRecipe operation
type UpdateDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The DetectorRecipe instance DetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDetectorRecipeResponse) String() string
UpdateDetectorRuleDetails Details of a Detector Rule to be overriden in Detector Recipe
type UpdateDetectorRuleDetails struct { // Enables the control IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The Risk Level RiskLevel RiskLevelEnum `mandatory:"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"` }
func (m UpdateDetectorRuleDetails) String() string
func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateManagedListDetails Update ManagedList
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"` }
func (m UpdateManagedListDetails) String() string
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
UpdateManagedListRequest wrapper for the UpdateManagedList operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateManagedList.go.html to see an example of how to use UpdateManagedListRequest.
type UpdateManagedListRequest struct { // The cloudguard list OCID to be passed in the request. ManagedListId *string `mandatory:"true" contributesTo:"path" name:"managedListId"` // Details for the ManagedList to be updated UpdateManagedListDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagedListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateManagedListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagedListRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagedListRequest) String() string
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
UpdateManagedListResponse wrapper for the UpdateManagedList operation
type UpdateManagedListResponse struct { // The underlying http response RawResponse *http.Response // The ManagedList instance ManagedList `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagedListResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagedListResponse) String() string
UpdateProblemStatusDetails The additional details for the problem
type UpdateProblemStatusDetails struct { // Action taken by user Status ProblemLifecycleDetailEnum `mandatory:"true" json:"status"` // User Comments Comment *string `mandatory:"false" json:"comment"` }
func (m UpdateProblemStatusDetails) String() string
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
UpdateProblemStatusRequest wrapper for the UpdateProblemStatus operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateProblemStatus.go.html to see an example of how to use UpdateProblemStatusRequest.
type UpdateProblemStatusRequest struct { // OCId of the problem. ProblemId *string `mandatory:"true" contributesTo:"path" name:"problemId"` // The additional details for the problem. UpdateProblemStatusDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProblemStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProblemStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProblemStatusRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProblemStatusRequest) String() string
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
UpdateProblemStatusResponse wrapper for the UpdateProblemStatus operation
type UpdateProblemStatusResponse struct { // The underlying http response RawResponse *http.Response // The Problem instance Problem `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProblemStatusResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProblemStatusResponse) String() string
UpdateResponderRecipeDetails The details to be updated in ResponderRecipe
type UpdateResponderRecipeDetails struct { // 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"` }
func (m UpdateResponderRecipeDetails) String() string
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
UpdateResponderRecipeRequest wrapper for the UpdateResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateResponderRecipe.go.html to see an example of how to use UpdateResponderRecipeRequest.
type UpdateResponderRecipeRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The details to be updated. UpdateResponderRecipeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateResponderRecipeRequest) String() string
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
UpdateResponderRecipeResponderRule The details to be updated in ResponderRule
type UpdateResponderRecipeResponderRule struct { // ResponderRecipeRule Identifier ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateResponderRecipeResponderRule) String() string
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
UpdateResponderRecipeResponderRuleDetails The details to be updated in ResponderRule
type UpdateResponderRecipeResponderRuleDetails struct { Details *UpdateResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateResponderRecipeResponderRuleDetails) String() string
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
UpdateResponderRecipeResponderRuleRequest wrapper for the UpdateResponderRecipeResponderRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateResponderRecipeResponderRule.go.html to see an example of how to use UpdateResponderRecipeResponderRuleRequest.
type UpdateResponderRecipeResponderRuleRequest struct { // OCID of ResponderRecipe ResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"responderRecipeId"` // The id of ResponderRule ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"` // The details to be updated for ResponderRule. UpdateResponderRecipeResponderRuleDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateResponderRecipeResponderRuleRequest) String() string
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
UpdateResponderRecipeResponderRuleResponse wrapper for the UpdateResponderRecipeResponderRule operation
type UpdateResponderRecipeResponderRuleResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRecipeResponderRule instance ResponderRecipeResponderRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateResponderRecipeResponderRuleResponse) String() string
UpdateResponderRecipeResponse wrapper for the UpdateResponderRecipe operation
type UpdateResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The ResponderRecipe instance ResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateResponderRecipeResponse) String() string
UpdateResponderRuleDetails Details of UpdateResponderRuleDetails.
type UpdateResponderRuleDetails struct { // Identifies state for ResponderRule IsEnabled *bool `mandatory:"true" json:"isEnabled"` }
func (m UpdateResponderRuleDetails) String() string
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
UpdateSecurityPolicyDetails The information to be updated.
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"` }
func (m UpdateSecurityPolicyDetails) String() string
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
UpdateSecurityRecipeDetails Information to update in an existing security zone recipe
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"` }
func (m UpdateSecurityRecipeDetails) String() string
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
UpdateSecurityRecipeRequest wrapper for the UpdateSecurityRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateSecurityRecipe.go.html to see an example of how to use UpdateSecurityRecipeRequest.
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 }
func (request UpdateSecurityRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateSecurityRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSecurityRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSecurityRecipeRequest) String() string
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
UpdateSecurityRecipeResponse wrapper for the UpdateSecurityRecipe operation
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"` }
func (response UpdateSecurityRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSecurityRecipeResponse) String() string
UpdateSecurityZoneDetails Information to update in an existing security zone
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"` }
func (m UpdateSecurityZoneDetails) String() string
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
UpdateSecurityZoneRequest wrapper for the UpdateSecurityZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateSecurityZone.go.html to see an example of how to use UpdateSecurityZoneRequest.
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 }
func (request UpdateSecurityZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateSecurityZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSecurityZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSecurityZoneRequest) String() string
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
UpdateSecurityZoneResponse wrapper for the UpdateSecurityZone operation
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"` }
func (response UpdateSecurityZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSecurityZoneResponse) String() string
UpdateTargetDetails The information to be updated.
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"` }
func (m UpdateTargetDetails) String() string
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
UpdateTargetDetectorRecipe The information to be updated in attached Target DetectorRecipe
type UpdateTargetDetectorRecipe struct { // Identifier for DetectorRecipe. TargetDetectorRecipeId *string `mandatory:"true" json:"targetDetectorRecipeId"` // Updates to be applied to Detector Rule associated with the target DetectorRules []UpdateTargetRecipeDetectorRuleDetails `mandatory:"true" json:"detectorRules"` }
func (m UpdateTargetDetectorRecipe) String() string
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
UpdateTargetDetectorRecipeDetails The information to be updated in DetectorRecipe
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"` }
func (m UpdateTargetDetectorRecipeDetails) String() string
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
UpdateTargetDetectorRecipeDetectorRuleDetails The details to be updated in DetectorRule
type UpdateTargetDetectorRecipeDetectorRuleDetails struct { Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetDetectorRecipeDetectorRuleDetails) String() string
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
UpdateTargetDetectorRecipeDetectorRuleRequest wrapper for the UpdateTargetDetectorRecipeDetectorRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetDetectorRecipeDetectorRule.go.html to see an example of how to use UpdateTargetDetectorRecipeDetectorRuleRequest.
type UpdateTargetDetectorRecipeDetectorRuleRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // The id of DetectorRule DetectorRuleId *string `mandatory:"true" contributesTo:"path" name:"detectorRuleId"` // The details to be updated for DetectorRule. UpdateTargetDetectorRecipeDetectorRuleDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetDetectorRecipeDetectorRuleRequest) String() string
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
UpdateTargetDetectorRecipeDetectorRuleResponse wrapper for the UpdateTargetDetectorRecipeDetectorRule operation
type UpdateTargetDetectorRecipeDetectorRuleResponse struct { // The underlying http response RawResponse *http.Response // The TargetDetectorRecipeDetectorRule instance TargetDetectorRecipeDetectorRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetDetectorRecipeDetectorRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetDetectorRecipeDetectorRuleResponse) String() string
UpdateTargetDetectorRecipeRequest wrapper for the UpdateTargetDetectorRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetDetectorRecipe.go.html to see an example of how to use UpdateTargetDetectorRecipeRequest.
type UpdateTargetDetectorRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetDetectorRecipe TargetDetectorRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetDetectorRecipeId"` // The details to be updated. UpdateTargetDetectorRecipeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetDetectorRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetDetectorRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetDetectorRecipeRequest) String() string
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
UpdateTargetDetectorRecipeResponse wrapper for the UpdateTargetDetectorRecipe operation
type UpdateTargetDetectorRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetDetectorRecipe instance TargetDetectorRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetDetectorRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetDetectorRecipeResponse) String() string
UpdateTargetDetectorRuleDetails Overriden settings of a Detector Rule applied on target
type UpdateTargetDetectorRuleDetails struct { // Condition group corresponding to each compartment ConditionGroups []ConditionGroup `mandatory:"false" json:"conditionGroups"` }
func (m UpdateTargetDetectorRuleDetails) String() string
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
UpdateTargetRecipeDetectorRuleDetails The details to be updated in TargetDetectorRecipeDetectorRule
type UpdateTargetRecipeDetectorRuleDetails struct { // Identifier for DetectorRule. DetectorRuleId *string `mandatory:"true" json:"detectorRuleId"` Details *UpdateTargetDetectorRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetRecipeDetectorRuleDetails) String() string
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
UpdateTargetRecipeResponderRuleDetails The details to be updated in TargetResponderRecipeResponderRule
type UpdateTargetRecipeResponderRuleDetails struct { // Identifier for ResponderRule. ResponderRuleId *string `mandatory:"true" json:"responderRuleId"` Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetRecipeResponderRuleDetails) String() string
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
UpdateTargetRequest wrapper for the UpdateTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTarget.go.html to see an example of how to use UpdateTargetRequest.
type UpdateTargetRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // The information to be updated. UpdateTargetDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetRequest) String() string
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
UpdateTargetResponderRecipe The information to be updated in attached Target ResponderRecipe
type UpdateTargetResponderRecipe struct { // Identifier for ResponderRecipe. TargetResponderRecipeId *string `mandatory:"true" json:"targetResponderRecipeId"` // Update responder rules associated with reponder recipe in a target. ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"` }
func (m UpdateTargetResponderRecipe) String() string
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
UpdateTargetResponderRecipeDetails The information to be updated in ResponderRecipe.
type UpdateTargetResponderRecipeDetails struct { // Update responder rules associated with responder recipe in a target. ResponderRules []UpdateTargetRecipeResponderRuleDetails `mandatory:"true" json:"responderRules"` }
func (m UpdateTargetResponderRecipeDetails) String() string
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
UpdateTargetResponderRecipeRequest wrapper for the UpdateTargetResponderRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetResponderRecipe.go.html to see an example of how to use UpdateTargetResponderRecipeRequest.
type UpdateTargetResponderRecipeRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // The details to be updated. UpdateTargetResponderRecipeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetResponderRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetResponderRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetResponderRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetResponderRecipeRequest) String() string
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
UpdateTargetResponderRecipeResponderRuleDetails The details to be updated in ResponderRule
type UpdateTargetResponderRecipeResponderRuleDetails struct { Details *UpdateTargetResponderRuleDetails `mandatory:"true" json:"details"` }
func (m UpdateTargetResponderRecipeResponderRuleDetails) String() string
func (m UpdateTargetResponderRecipeResponderRuleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTargetResponderRecipeResponderRuleRequest wrapper for the UpdateTargetResponderRecipeResponderRule operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/cloudguard/UpdateTargetResponderRecipeResponderRule.go.html to see an example of how to use UpdateTargetResponderRecipeResponderRuleRequest.
type UpdateTargetResponderRecipeResponderRuleRequest struct { // OCID of target TargetId *string `mandatory:"true" contributesTo:"path" name:"targetId"` // OCID of TargetResponderRecipe TargetResponderRecipeId *string `mandatory:"true" contributesTo:"path" name:"targetResponderRecipeId"` // The id of ResponderRule ResponderRuleId *string `mandatory:"true" contributesTo:"path" name:"responderRuleId"` // The details to be updated for ResponderRule. UpdateTargetResponderRecipeResponderRuleDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateTargetResponderRecipeResponderRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTargetResponderRecipeResponderRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTargetResponderRecipeResponderRuleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTargetResponderRecipeResponderRuleRequest) String() string
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
UpdateTargetResponderRecipeResponderRuleResponse wrapper for the UpdateTargetResponderRecipeResponderRule operation
type UpdateTargetResponderRecipeResponderRuleResponse struct { // The underlying http response RawResponse *http.Response // The TargetResponderRecipeResponderRule instance TargetResponderRecipeResponderRule `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetResponderRecipeResponderRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponderRecipeResponderRuleResponse) String() string
UpdateTargetResponderRecipeResponse wrapper for the UpdateTargetResponderRecipe operation
type UpdateTargetResponderRecipeResponse struct { // The underlying http response RawResponse *http.Response // The TargetResponderRecipe instance TargetResponderRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetResponderRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponderRecipeResponse) String() string
UpdateTargetResponderRuleDetails Details of ResponderRule.
type UpdateTargetResponderRuleDetails struct { Condition Condition `mandatory:"false" json:"condition"` // Configurations associated with the ResponderRule Configurations []ResponderConfiguration `mandatory:"false" json:"configurations"` // Execution Mode for ResponderRule Mode ResponderModeTypesEnum `mandatory:"false" json:"mode,omitempty"` }
func (m UpdateTargetResponderRuleDetails) String() string
func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateTargetResponse wrapper for the UpdateTarget operation
type UpdateTargetResponse struct { // The underlying http response RawResponse *http.Response // The Target instance Target `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTargetResponse) String() string
WorkRequest A description of workrequest status
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"` }
func (m WorkRequest) String() string
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
WorkRequestError An error encountered while executing a work request.
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"` }
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
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
WorkRequestLogEntry A log message from the execution of a work request.
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"` }
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
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
WorkRequestResource A resource created or operated on by a work request.
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"` }
func (m WorkRequestResource) String() string
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
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
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
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
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